티스토리 뷰
using System.Windows.Forms;
namespace BindingSample
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
InitializeMyComponent();
}
private void InitializeMyComponent()
{
this.label1.DataBindings.Add("Text", this.textBox1, "Text");
this.textBoxLeft.DataBindings.Add("Text", this.textBoxRight, "Text");
}
}
}
namespace BindingSample
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
InitializeMyComponent();
}
private void InitializeMyComponent()
{
this.label1.DataBindings.Add("Text", this.textBox1, "Text");
this.textBoxLeft.DataBindings.Add("Text", this.textBoxRight, "Text");
}
}
}
'Code > C#' 카테고리의 다른 글
[C#] DataSet, BindingSource, BindingNavigator, DataGridView.DataError, BindingSource.AddNew (0) | 2008.12.21 |
---|---|
[C#] SQL Compact & DataGridView Binding Sample (0) | 2008.12.20 |
[C#] ADO.NET XML and DataGridView Binding Sample Project (0) | 2008.12.20 |
.NET Compact Framework Project Sample (0) | 2008.08.13 |
Cursor.Position, SetCursorPos, mouse_event 샘플코드 (0) | 2008.04.18 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 스크린캡쳐
- Sample Code
- Regular Expressions
- WinAutomation
- Rollback Rx
- tagREADYSTATE
- jre
- registry
- c#
- AdSense숨기기
- AxWebBrowser
- Service pack
- .net framework
- DotNetMagic
- ScreenHunter
- autohotkey
- 애드센스숨기기
- Phalanger
- Automation
- windows
- download.com
- iText
- 유틸리티
- AdSense감추기
- 애드센스감추기
- READYSTATE_COMPLETE
- java
- iTextSharp
- Microsoft
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
글 보관함