示例#1
0
 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();
 }
示例#3
0
 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;
         }
     }
 }
示例#4
0
 private void inboxButton_Click(object sender, EventArgs e)
 {
     //form2.ShowDialog();
     form3.Hide();
 }
示例#5
0
 public Form1(bool admin, Form3 form3)
 {
     form3.Hide();
     this.admin = admin;
     InitializeComponent();
 }