private void button1_Click(object sender, EventArgs e)
        {
            Form_DANHGIA frm = new Form_DANHGIA(field_id.Text);

            frm.Show();
            this.Hide();
        }
示例#2
0
 private void button6_Click(object sender, EventArgs e)
 {
     if (a == "admin")
     {
         Form_DANHGIA frm = new Form_DANHGIA(chao.Text);
         frm.Show(this);
         this.Hide();
     }
     else
     {
         Form_DANHGIA frm = new Form_DANHGIA();
         frm.Show();
         this.Hide();
     }
 }