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