protected override void New() { base.New(); frmEditCraftwork myEditCraftwork = new frmEditCraftwork(); myEditCraftwork.New(); myEditCraftwork.ShowDialog(); myEditCraftwork.Dispose(); BindData(); }
protected override void Edit() { if (gvBase.FocusedRowHandle < 0) { return; } base.Edit(); DataRow dr = gvBase.GetDataRow(gvBase.FocusedRowHandle); frmEditCraftwork myEditCraftwork = new frmEditCraftwork(); myEditCraftwork.Edit(dr["F_ID"].ToString()); myEditCraftwork.ShowDialog(); myEditCraftwork.Dispose(); BindData(); }