티스토리 뷰
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
- jre
- 유틸리티
- java
- registry
- 애드센스숨기기
- DotNetMagic
- download.com
- 애드센스감추기
- Sample Code
- READYSTATE_COMPLETE
- 스크린캡쳐
- Regular Expressions
- AdSense감추기
- AdSense숨기기
- Microsoft
- windows
- Rollback Rx
- autohotkey
- AxWebBrowser
- Automation
- ScreenHunter
- tagREADYSTATE
- Service pack
- WinAutomation
- .net framework
- iTextSharp
- c#
- iText
- Phalanger
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
글 보관함