private void button8_Click(object sender, EventArgs e) { sidePanel.Height = button8.Height; sidePanel.Top = button8.Top; if (f1 == null || f1.IsDisposed) { f1 = new AddSession(); } f1.Show(); this.Hide(); if (panel2.Height == 140) { } else { panel2.Height = 140; } }
public AddLectures(AddSession f) { InitializeComponent(); this.f1 = f; }
public DashBoard(AddSession f) { InitializeComponent(); this.f1 = f; }