H
hOSAM
Hi all,
I need to find if there is a way to programmatically place splitter
controls. I am asking this, because I have been trying for several hours to
do something like this:
this.SuspendLayout();
TreeView trvTables = new TableSelector();
trvTables.Location = new Point(0,0);
trvTables.Size = new Size(100,200);
trvTables.Dock = DockStyle.Left;
this.Controls.Add(trvTables);
DataGrid grdView = new DataGrid();
grdView.Location = new Point(200, 0);
grdView.Size = new Size(100,200);
grdView.Dock = DockStyle.Fill;
this.Controls.Add(grdView);
Splitter sp = new Splitter();
this.Controls.Add(sp);
this.ResumeLayout();
I need to find if there is a way to programmatically place splitter
controls. I am asking this, because I have been trying for several hours to
do something like this:
this.SuspendLayout();
TreeView trvTables = new TableSelector();
trvTables.Location = new Point(0,0);
trvTables.Size = new Size(100,200);
trvTables.Dock = DockStyle.Left;
this.Controls.Add(trvTables);
DataGrid grdView = new DataGrid();
grdView.Location = new Point(200, 0);
grdView.Size = new Size(100,200);
grdView.Dock = DockStyle.Fill;
this.Controls.Add(grdView);
Splitter sp = new Splitter();
this.Controls.Add(sp);
this.ResumeLayout();