Beispiel #1
0
 private void Update_button_Click(object sender, EventArgs e)
 {
     if (newpass_textBox.Visible == true)
     {
         newpass_textBox.Hide();
         Change_button.Hide();
     }
     else
     {
         newpass_textBox.Show();
         Change_button.Show();
     }
 }
Beispiel #2
0
 private void Change_Name_Click(object sender, EventArgs e)
 {
     if (User_List.SelectedIndex == -1)
     {
         MessageBox.Show("Please select any user first");
     }
     else
     {
         changeStatus = 1;
         Write_Box.Show();
         name_Label.Show();
         name_Label.Text = "Please Enter new first name :";
         Change_button.Show();
     }
 }