Пример #1
0
        void AddButtonClick(object sender, EventArgs e)
        {
            var widgetCreator = new WidgetCreator();
            var result        = widgetCreator.ShowDialog();

            if (result == DialogResult.OK)
            {
                Log.Info("user made a new widget");
                Log.Info("clearing and refilling MainTableLayoutPanel");
                MainTableLayoutPanel.Controls.Clear();
                ReadyPanels.Clear();
                GetWidgetsAsync(true);
            }
        }
Пример #2
0
 public BoolCreatorWindows(WidgetCreator parent, BoolQuestionManager elementManagerLeaf) : base(parent, elementManagerLeaf)
 {
 }
Пример #3
0
 public IntCreatorWindows(WidgetCreator parent, IntQuestionManager elementManagerLeaf) : base(parent, elementManagerLeaf)
 {
 }
Пример #4
0
 public MoneyCreatorWindows(WidgetCreator parent, MoneyQuestionManager elementManagerLeaf) : base(parent, elementManagerLeaf)
 {
 }
Пример #5
0
 public StringCreatorWindows(WidgetCreator parent, StringQuestionManager elementManagerLeaf) : base(parent, elementManagerLeaf)
 {
 }