示例#1
0
文件: frmCast.cs 项目: 15831944/erp-1
        protected override void New()
        {
            base.New();
            frmEditCast myEditCast = new frmEditCast();

            myEditCast.New();
            myEditCast.ShowDialog();
            myEditCast.Dispose();
            BindData();
        }
示例#2
0
文件: frmCast.cs 项目: 15831944/erp-1
        protected override void Edit()
        {
            if (gvBase.FocusedRowHandle < 0)
            {
                return;
            }
            base.Edit();
            DataRow     dr         = gvBase.GetDataRow(gvBase.FocusedRowHandle);
            frmEditCast myEditCast = new frmEditCast();

            myEditCast.Edit(dr["F_ID"].ToString());
            myEditCast.ShowDialog();
            myEditCast.Dispose();
            BindData();
        }