private void EditToolStripMenuItem_Click(object sender, EventArgs e) { if (this.tableObjectsListView.SelectedItems != null && this.tableObjectsListView.SelectedItems.Count > 0) { string id = this.tableObjectsListView.SelectedItems[0].Text; Dictionary <string, string> tableObjects = showData.GetTableObjects(id, tableList[currentTableName]); TableObjectsForm objectsForm = new TableObjectsForm(this, tableObjects); objectsForm.Show(); } }
private void AddToolStripMenuItem_Click(object sender, EventArgs e) { TableObjectsForm objectsForm = new TableObjectsForm(this); objectsForm.Show(); }