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

            ff.Show();
        }