/// <summary> /// New /// </summary> public override void New() { frmPopup20902 frm = new frmPopup20902(); frm.ShowDialog(); if (frm.IsRequireRefresh) { this.RefreshData(); this.ScrollRow(frm.TopicVo.fieldId); } }
/// <summary> /// edit /// </summary> public override void Edit() { if (this.gridView.SelectedRowsCount > 0) { frmPopup20902 frm = new frmPopup20902(this.gridView.GetRow(this.gridView.GetSelectedRows()[0]) as EntityDicQnSummary); frm.ShowDialog(); if (frm.IsRequireRefresh) { this.RefreshData(); this.ScrollRow(frm.TopicVo.fieldId); } } else { DialogBox.Msg("请选择要编辑的记录."); } }