private void toolStripButton4_Click(object sender, EventArgs e)
        {
            var form = new SelectTableForm();

            form.Mode     = SelectTableForm.Modes.Table;
            form.DBObject = table;
            form.ShowDialog();

            form.FormClosing += form_FormClosing;
        }
Пример #2
0
        private void createFKToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var form = new SelectTableForm();

            form.FormClosing += form_FormClosing;

            form.Mode     = SelectTableForm.Modes.Column;
            form.DBObject = (SelectedDBObject as DBColumn).Parent;
            form.ShowDialog();
        }