private void button4_Click(object sender, EventArgs e) { this.Hide(); AddSubjects add = new AddSubjects(); add.Show(); }
private void button4_Click(object sender, EventArgs e) { if (s1 == null || s1.IsDisposed) { s1 = new AddSubjects(); } s1.Show(); this.Hide(); }
private void button4_Click(object sender, EventArgs e) { this.Hide(); AddSubjects add = new AddSubjects(); add.Show(); sidePanel.Height = button4.Height; sidePanel.Top = button4.Top; }
private void button4_Click(object sender, EventArgs e) { sidePanel.Height = button4.Height; sidePanel.Top = button4.Top; if (s1 == null || s1.IsDisposed) { s1 = new AddSubjects(); } s1.Show(); this.Hide(); }