private void btnCaptions_Click(object sender, EventArgs e)
        {
            LabelControl sc = new LabelControl(parent, table_edit.idT);

            parent.CloseElemsAfter(this, false);
            parent.AddNewElem(sc, Rekod.Properties.Resources.AWT_EditLabel);
        }
Example #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (cbTableType.SelectedItem != null)
            {
                type = ((itemObj)cbTableType.SelectedItem).Id_o;
            }
            else
            {
                type = 1;
            }

            /*EditTable frm = new EditTable(conn, false, 0, type); // Varyag
             * frm.Text = "Создание таблицы";
             * frm.ShowDialog();*/
            prev_selected = false;
            parent.CloseElemsAfter(this, false);
            AddEditTable aet = new AddEditTable(false, 0, type, parent, this);

            parent.AddNewElem(aet, Rekod.Properties.Resources.AET_CreatingTable);
        }