//splitterControl3.SetBounds(((arlcStaff.Location.X + arlcContacts.Size.Width) / 2), 0, splitterControl3.Width, splitterControl3.Height);
//splitterControl3.Location = new System.Drawing.Point((splitterControl3.Location.X + arlcContacts.Size.Width) / 2,0);
//splitterControl3.Location = new System.Drawing.Point(500, 0);
//splitterControl3.Refresh();
//this.arlcContacts.MinimumSize = (this.arlcContacts.Width + this.arlcStaff.Width) / 2;
//this.arlcStaff.MinimumSize = (this.arlcContacts.Width + this.arlcStaff.Width) / 2;
//this.panel3.MinimumSize =
//splitterControl3.SetBounds(250,0,splitterControl3.Width,splitterControl3.Height);
//splitterControl3.Location = new System.Drawing.Point(250, 250);
//splitterControl3.Left += 100;
private void panel1_SizeChanged(object sender, EventArgs e)
{
panel3.MinimumSize = new System.Drawing.Size(((panel3.Width + panel4.Width) / 2), panel3.Height);
panel3.MaximumSize = new System.Drawing.Size(((panel3.Width + panel4.Width) / 2), panel3.Height);
}