protected override void New() { base.New(); frmEditCast myEditCast = new frmEditCast(); myEditCast.New(); myEditCast.ShowDialog(); myEditCast.Dispose(); BindData(); }
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(); }