コード例 #1
0
 private void mnuInsert_Click(object sender, EventArgs e)
 {
     try
     {
         frmStores f = new frmStores();
         f.Form_Load();
         f.op = "Add";
         f.ShowDialog();
     }
     catch
     {
     }
 }
コード例 #2
0
 private void cmbStore_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyValue == 13)
         txtNotice.Focus();
     else if (e.KeyData == Keys.F12)
     {
         try
         {
             frmStores f = new frmStores();
             f.Form_Load();
             f.op = "Add";
             f.ShowDialog();
             Fill_Store();
         }
         catch
         {
         }
     }
 }
コード例 #3
0
 private void cmbW_Destination_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyValue == 13)
     {
         txtTransferee.Focus();
     }
     else if (e.KeyData == Keys.F12)
     {
         try
         {
             frmStores f = new frmStores();
             f.Form_Load();
             f.op = "Add";
             f.ShowDialog();
             Fill_Store();
         }
         catch
         {
         }
     }
 }