Esempio n. 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            ADMINCEO d = new ADMINCEO(label6.Text);

            d.Show();
            Visible = false;
        }
Esempio n. 2
0
 private void button2_Click_1(object sender, EventArgs e)
 {
     if (label3.Text == "ADMIN")
     {
         ADMINCEO d = new ADMINCEO(label3.Text);
         d.Show();
         Visible = false;
     }
     else
     {
         MessageBox.Show(" ID ของคุณไม่สามารถเข้าได้");
     }
 }