Beispiel #1
0
        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();
        }