Esempio n. 1
0
        public override void GenForm()
        {
            ControlGenerator.CreateLabel(10, 10, "Insert");
            Button b = ControlGenerator.CreateButton(10, 40, 100, 50, "Back");

            ControlGenerator.BindNavButton(b, new FormMain());
            ControlGenerator.CreateLabel(120, 10, "Select table");
            ComboBox c = ControlGenerator.CreateComboBox(120, 40, 100);

            ControlGenerator.SetComboBoxToTableList(c);
            b = ControlGenerator.CreateButton(250, 40, 100, 50, "Insert");
            ControlGenerator.BindInsertButton(b);
            ControlGenerator.BindComboBoxLoadTableInfo(c, 10, 100, false);
        }