티스토리 뷰
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using WeifenLuo.WinFormsUI.Docking;
namespace DockPanelSample
{
public partial class FormChild : DockContent
{
public FormChild()
{
InitializeComponent();
}
}
}
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using WeifenLuo.WinFormsUI.Docking;
namespace DockPanelSample
{
public partial class FormChild : DockContent
{
public FormChild()
{
InitializeComponent();
}
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using WeifenLuo.WinFormsUI.Docking;
namespace DockPanelSample
{
public partial class FormMain : Form
{
private FormChild formChild1;
private FormChild formChild2;
private FormChild formChild3;
private FormChild formChild4;
public FormMain()
{
InitializeComponent();
InitializeMyComponent();
}
private void InitializeMyComponent()
{
formChild1 = new FormChild();
formChild2 = new FormChild();
formChild3 = new FormChild();
formChild4 = new FormChild();
}
private void FormMain_Load(object sender, EventArgs e)
{
formChild1.Show(dockPanelMain, DockState.DockLeft);
formChild2.Show(dockPanelMain, DockState.DockLeft);
formChild3.Show(dockPanelMain);
formChild4.Show(dockPanelMain);
formChild2.DockPanel.DockLeftPortion = 0.30;
formChild2.DockTo(formChild1.Pane, DockStyle.Bottom, 0);
}
}
}
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using WeifenLuo.WinFormsUI.Docking;
namespace DockPanelSample
{
public partial class FormMain : Form
{
private FormChild formChild1;
private FormChild formChild2;
private FormChild formChild3;
private FormChild formChild4;
public FormMain()
{
InitializeComponent();
InitializeMyComponent();
}
private void InitializeMyComponent()
{
formChild1 = new FormChild();
formChild2 = new FormChild();
formChild3 = new FormChild();
formChild4 = new FormChild();
}
private void FormMain_Load(object sender, EventArgs e)
{
formChild1.Show(dockPanelMain, DockState.DockLeft);
formChild2.Show(dockPanelMain, DockState.DockLeft);
formChild3.Show(dockPanelMain);
formChild4.Show(dockPanelMain);
formChild2.DockPanel.DockLeftPortion = 0.30;
formChild2.DockTo(formChild1.Pane, DockStyle.Bottom, 0);
}
}
}
'Code > C#' 카테고리의 다른 글
[C#] Detect UserControl's Closing (0) | 2009.01.07 |
---|---|
[C#] DockPanel Suite Sample (0) | 2009.01.05 |
[C#] MDI Sample (0) | 2009.01.05 |
[C#] SqlCeDataAdapter, SqlCeCommandBuilder (0) | 2009.01.01 |
[C#] DataSet, Primary Key, Foreign Key Constraint (0) | 2008.12.22 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Microsoft
- Service pack
- Automation
- iText
- WinAutomation
- ScreenHunter
- download.com
- windows
- Rollback Rx
- Phalanger
- autohotkey
- jre
- tagREADYSTATE
- AdSense숨기기
- 애드센스숨기기
- 애드센스감추기
- c#
- AxWebBrowser
- 유틸리티
- Sample Code
- registry
- Regular Expressions
- READYSTATE_COMPLETE
- java
- 스크린캡쳐
- AdSense감추기
- DotNetMagic
- .net framework
- iTextSharp
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함