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);
            }
        }
 public BoolCreatorWindows(WidgetCreator parent, BoolQuestionManager elementManagerLeaf) : base(parent, elementManagerLeaf)
 {
 }
 public IntCreatorWindows(WidgetCreator parent, IntQuestionManager elementManagerLeaf) : base(parent, elementManagerLeaf)
 {
 }
Exemple #4
0
 public MoneyCreatorWindows(WidgetCreator parent, MoneyQuestionManager elementManagerLeaf) : base(parent, elementManagerLeaf)
 {
 }
Exemple #5
0
 public StringCreatorWindows(WidgetCreator parent, StringQuestionManager elementManagerLeaf) : base(parent, elementManagerLeaf)
 {
 }