/// <summary> /// 添加显示项 /// </summary> private void AppendItem() { ModelFieldAppendDialog ModelFieldAppendDialog = new ModelFieldAppendDialog(moduleID, null); if (DialogResult.OK == ModelFieldAppendDialog.ShowDialog()) { if (ModelFieldAppendDialog.view != null) { views.Add(ModelFieldAppendDialog.view); LoadCustomView(); } } }
private void fpSpread1_CellDoubleClick(object sender, CellClickEventArgs e) { Row row = this.fpSpread1.ActiveSheet.ActiveRow; if (row.Tag != null) { JZCustomView view = row.Tag as JZCustomView; if (view != null) { ModelFieldAppendDialog ModelFieldAppendDialog = new ModelFieldAppendDialog(moduleID, view); if (DialogResult.OK == ModelFieldAppendDialog.ShowDialog()) { LoadCustomView(); } } } }