protected override void OnLoad(EventArgs e) { base.OnLoad(e); MyDocument doc = new MyDocument(); doc.Text = "No:XX"; doc.Show(dockPanel1, AIMS.Libraries.Forms.Docking.DockState.DockLeft); for (int i = 0; i < 10; i++) { MyDocument doc2 = new MyDocument(); doc2.Text = "No:" + i.ToString(); doc2.Show(dockPanel1, AIMS.Libraries.Forms.Docking.DockState.Document); } }
protected override void OnLoad(EventArgs e) { base.OnLoad(e); MyDocument doc = new MyDocument(); doc.Show(dockPanel1, Fireball.Docking.DockState.DockLeft); for (int i = 0; i < 10; i++) { MyDocument doc2 = new MyDocument(); doc2.Show(dockPanel1, Fireball.Docking.DockState.Document); } }