Beispiel #1
0
 private void UserListFormButton_Click(object sender, EventArgs e)
 {
     using (var f = new UserListForm())
     {
         f.ShowDialog();
     }
 }
Beispiel #2
0
 private void btnUserForm_Click(object sender, EventArgs e)
 {
     using (UserListForm userListForm = new UserListForm())
     {
         //処理が進む
         //userSaveForm.Show();
         //処理が止まる
         userListForm.ShowDialog();
     }
 }