private void Ok_Button_Click(object sender, EventArgs e)
 {
     Home_Admin_PartyLedger hp = new Home_Admin_PartyLedger();
     hp.giveMemberUserName(userName);
     hp.Show();
     this.Hide();
 }
Пример #2
0
 private void update_user_pnl_MouseClick(object sender, MouseEventArgs e)
 {
     if (member.type == "A")
     {
         Home_Admin_PartyLedger hp = new Home_Admin_PartyLedger();
         hp.giveMemberUserName(userName);
         hp.Show();
         this.Hide();
     }
     else
     {
         MessageBox.Show("Access denied");
     }
 }