private void информацияToolStripMenuItem_Click(object sender, EventArgs e) { ConnectionsForm addForm = new ConnectionsForm(); addForm.Owner = this; addForm.initOwner(); addForm.ShowDialog(); }
public void initOwner() { owner = this.Owner as ConnectionsForm; db = owner.getDb(); tableName = owner.getTableName(); table = db.getTableByName(tableName); setComboBoxes(); }