Beispiel #1
0
        protected void OnButtonConfigureClicked(object sender, EventArgs e)
        {
            ConfigureBlinkStickDialog dialog = new ConfigureBlinkStickDialog();

            dialog.DeviceSettings      = DataModel.Devices[0];
            dialog.ApplicationSettings = this.ApplicationSettings;
            dialog.UpdateUI();
            dialog.Run();
            dialog.Destroy();
        }
Beispiel #2
0
        protected void OnButtonConfigureClicked(object sender, EventArgs e)
        {
            ConfigureBlinkStickDialog dialog = new ConfigureBlinkStickDialog();

            dialog.DeviceSettings = deviceComboboxWidget.SelectedBlinkStick;
            dialog.UpdateUI();
            dialog.Run();
            dialog.Destroy();

            UpdateUI();
        }