Beispiel #1
0
 private void label1_Click(object sender, EventArgs e)
 {
     if (label1.Text == "login")
     {
         loginform lg = new loginform(this);
         lg.ShowDialog();
         label1.Text = "logout";
     }
     else if (label1.Text == "logout")
     {
         eraseUserData();
         label1.Text = "login";
     }
 }
        private void label1_Click(object sender, EventArgs e)
        {
            loginform lg = new loginform(this);

            lg.ShowDialog();
        }