Exemplo n.º 1
0
        public void SubMenu_Receive()
        {
            frmCreate    frm = new frmCreate(_core, null);
            DialogResult res = frm.ShowDialog();

            if (frm.DialogResult == System.Windows.Forms.DialogResult.OK)
            {
                _pledgeno = frm.PledgeNo;
                frm.Dispose();

                ReadRecord(_pledgeno);
            }
        }
Exemplo n.º 2
0
        public void SubMenu_Edit()
        {
            frmCreate frm = new frmCreate(_core, null);
            Result    res = frm.Read(_pledgeno);

            if (res != null && res.ResultNo == 0)
            {
                DialogResult dres = frm.ShowDialog();
                if (frm.DialogResult == System.Windows.Forms.DialogResult.OK)
                {
                    _pledgeno = frm.PledgeNo;
                    frm.Dispose();

                    ReadRecord(_pledgeno);
                }
            }
        }