コード例 #1
0
ファイル: DormancyDB.cs プロジェクト: mrtotz1129/capstoneproj
 private void btnNew_Click(object sender, EventArgs e)
 {
     SLS.Static.ID = 0;
     var child = new SLS.SavingsDeposit.Application.Dormancy();
     child.FormClosed += closedDormancy;
     child.ShowDialog();
 }
コード例 #2
0
ファイル: DormancyDB.cs プロジェクト: mrtotz1129/capstoneproj
 private void btnUpdate_Click(object sender, EventArgs e)
 {
     if (SLS.Static.ID != 0)
     {
         var child = new SLS.SavingsDeposit.Application.Dormancy();
         child.FormClosed += closedDormancy;
         child.ShowDialog();
     }
     else
     {
         MessageBox.Show("Please select data from the database.", "Error", MessageBoxButtons.OK);
     }
 }