Example #1
0
        private void tsbAdd_Click(object sender, EventArgs e)
        {
            frmStkIn frmStkIn = new frmStkIn();

            frmStkIn.BringToFront();
            frmStkIn.StartPosition = FormStartPosition.CenterScreen;
            frmStkIn.ShowDialog();
            frmStkIn.RefreshParentForm += delegate { SearchStkIn(pgStkIn.PageIndex); };
        }
Example #2
0
 private void tsbEdit_Click(object sender, EventArgs e)
 {
     if (stkInGuid != null)
     {
         frmStkIn frmStkIn = new frmStkIn();
         frmStkIn.StkInGuid = stkInGuid;
         frmStkIn.BringToFront();
         frmStkIn.StartPosition = FormStartPosition.CenterScreen;
         frmStkIn.ShowDialog();
     }
     else
     {
         this.ShowMessage("请选择要编辑的入库单");
     }
 }