Esempio n. 1
0
 private void advancepaymentHistory_button_Click(object sender, EventArgs e)
 {
     if (member.type == "A")
     {
         Home_Admin_SalaryHistory hs = new Home_Admin_SalaryHistory();
         hs.giveMemberUserName(userName);
         hs.indicator(1);
         hs.Show();
         this.Hide();
     }
     else
     {
         MessageBox.Show("Access denied");
     }
 }
Esempio n. 2
0
 private void pictureBox17_MouseClick(object sender, MouseEventArgs e)
 {
     if (member.type == "A")
     {
         Home_Admin_SalaryHistory hs = new Home_Admin_SalaryHistory();
         hs.giveMemberUserName(userName);
         hs.Show();
         this.Hide();
     }
     else
     {
         MessageBox.Show("Access denied");
     }
 }