private void btn1_Click(object sender, EventArgs e) { //MessageBox.Show("1클릭"); form1.Show(); form2.Hide(); form3.Hide(); form4.Hide(); }
private void button2_Click(object sender, EventArgs e) { panel3.Height = button2.Height; panel3.Top = button2.Top; form6.Hide(); form5.Hide(); showForm(form4); form3.Hide(); }
private void searchHisBtn_Click(object sender, EventArgs e) { if (form2 != null) { form2.BringToFront(); } else { form2 = new Form2(); form2.Show(); if (form3 != null) { form3.Hide(); form3 = null; } } }
private void inboxButton_Click(object sender, EventArgs e) { //form2.ShowDialog(); form3.Hide(); }
public Form1(bool admin, Form3 form3) { form3.Hide(); this.admin = admin; InitializeComponent(); }