Пример #1
0
        private void tsbAdd_Click(object sender, EventArgs e)
        {
            frmStkOut frmStkOut = new frmStkOut();

            frmStkOut.ShowDialog();
            frmStkOut.BringToFront();
            frmStkOut.RefreshParentForm += delegate { BindSuperGrid(pgStkOut.PageIndex); };
        }
Пример #2
0
        private void tsbEdit_Click(object sender, EventArgs e)
        {
            frmStkOut frmStkOut = new frmStkOut();

            frmStkOut.StkOutGuid    = stkOutGuid;
            frmStkOut.StartPosition = FormStartPosition.CenterScreen;
            frmStkOut.BringToFront();
            frmStkOut.ShowDialog();
            frmStkOut.RefreshParentForm += delegate { BindSuperGrid(pgStkOut.PageIndex); };
        }