Exemplo n.º 1
0
 private void pbAddGirl_Click(object sender, EventArgs e)
 {
     if (logIn.userInfo.userId != 0)
     {
         frmAddGirl fAddGirl = new frmAddGirl(logIn.userInfo.userId);
         fAddGirl.ShowDialog();
     }
     else
     {
         MessageBox.Show(sysMessages.msgLogOn,
                         sysMessages.msgLogOn1,
                         MessageBoxButtons.OK,
                         MessageBoxIcon.Stop);
         txtUsername.Focus();
     }
 }
Exemplo n.º 2
0
        private void btnGirls_Click(object sender, EventArgs e)
        {
            frmAddGirl fAddGirl = new frmAddGirl(logIn.userInfo.userId);

            fAddGirl.ShowDialog();
        }