예제 #1
0
 void OnEditUsers(object sender, EventArgs e)
 {
     if (editUsersForm != null)
     {
         editUsersForm.Activate();
     }
     else
     {
         editUsersForm         = new EditUsersForm(gitUserManager);
         editUsersForm.Closed += OnCloseEditUsersForm;
         editUsersForm.Show();
     }
 }
예제 #2
0
 void OnCloseEditUsersForm(object sender, EventArgs e)
 {
     editUsersForm = null;
 }