コード例 #1
0
 private void UserEmployerButton_Click(object sender, EventArgs e)
 {
     if(Username.Visible)
     {
         MessageBox.Show("Please Log Out");
     }
     else
     {
         Login l = new Login();
         l.setAdminLogin(true);
         this.Hide();
         l.Show();
     }
 }
コード例 #2
0
 private void LoginPicButton_Click(object sender, EventArgs e)
 {
     if (Username.Visible)
     {
         MessageBox.Show("Please Log Out");
     }
     else
     {
         Login l = new Login();
         this.Hide();
         l.Show();
     }
 }