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