private void newTableMappingMenuItem_Click(object sender, EventArgs e) { var f = new frmTableMappingField(); f.TableID = this.ID; MainFormPopupNewItemForm(f); }
private void showProperties() { if (lvFieldMappings.SelectedIndices.Count == 1) { var f = new frmTableMappingField(); f.ID = Toolkit.ToInt32(lvFieldMappings.SelectedItems[0].Tag, -1); if (MainFormPopupForm(f, this, false) == DialogResult.OK) { RefreshData(); } } }