private void buttonchgsummary_Click(object sender, EventArgs e) { //splitContainer1.Panel2Collapsed = !splitContainer1.Panel2Collapsed; ChargeForm cf = new ChargeForm(); cf.qid = Session.Current_QID; cf.panel2.Enabled = false; cf.ShowDialog(); }