private void toolStripButton1_Click(object sender, EventArgs e) { splitContainer1.Panel2Collapsed = !splitContainer1.Panel2Collapsed; }