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