Ejemplo n.º 1
0
 private void prepareBill_button_Click(object sender, EventArgs e)
 {
     if (member.type == "A" || member.type == "M")
     {
         Home_Admin_Bill hb = new Home_Admin_Bill();
         hb.giveMemberUserName(userName);
         hb.Show();
         this.Hide();
     }
     else
     {
         MessageBox.Show("Access denied");
     }
 }
Ejemplo n.º 2
0
 private void remove_client_pnl_MouseClick(object sender, MouseEventArgs e)
 {
     if (member.type == "A" || member.type=="M")
     {
         Home_Admin_Bill hb = new Home_Admin_Bill();
         hb.giveMemberUserName(userName);
         hb.Show();
         this.Hide();
     }
     else
     {
         MessageBox.Show("Access denied");
     }
 }