Added: update icon + progress bar

This commit is contained in:
Ray committed 2021-09-30 22:26:17 +01:00
1 parent 90473e092d
commit f56072eebc
18 files changed
+1125 -55

No files matched your search

@@ -1,4 +1,7 @@
namespace RyzStudio.Windows.ThemedForms
using RyzStudio.Windows.Forms;
using System.Windows.Forms;
namespace RyzStudio.Windows.ThemedForms
{
public class TYesNoPickerBox : TPickerBox
{
@@ -11,7 +14,14 @@
if (this.ComboBox.Items.Count > 0) this.ComboBox.SelectedIndex = 0;
}
public bool Value { get => (this.ComboBox.SelectedIndex == 1); set =>this.ComboBox.SelectedIndex = (value ? 1 : 0); }
public ComboBox InnerControl { get => this.ComboBox; }
public bool Value
{
get => (ThreadControl.GetValue(this.ComboBox) == 1);
set => ThreadControl.SetValue(this.ComboBox, (value ? 1 : 0));
}
}
}