mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2025-12-22 01:08:37 +00:00
Misc
This commit is contained in:
@@ -127,11 +127,12 @@ namespace ConfigGenerator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||||
public Enum EnumValue {
|
internal Enum EnumValue {
|
||||||
get {
|
get {
|
||||||
object e = Enum.ToObject(EnumType, GetCurrentValue());
|
object e = Enum.ToObject(EnumType, GetCurrentValue());
|
||||||
return (Enum) e;
|
return (Enum) e;
|
||||||
}
|
}
|
||||||
|
|
||||||
set {
|
set {
|
||||||
|
|
||||||
Items.Clear();
|
Items.Clear();
|
||||||
@@ -148,7 +149,7 @@ namespace ConfigGenerator {
|
|||||||
|
|
||||||
// Represents an item in the checklistbox
|
// Represents an item in the checklistbox
|
||||||
internal sealed class FlagCheckedListBoxItem {
|
internal sealed class FlagCheckedListBoxItem {
|
||||||
public readonly int Value;
|
internal readonly int Value;
|
||||||
|
|
||||||
private readonly string Caption;
|
private readonly string Caption;
|
||||||
|
|
||||||
@@ -166,7 +167,7 @@ namespace ConfigGenerator {
|
|||||||
// The checklistbox
|
// The checklistbox
|
||||||
private readonly FlagCheckedListBox FlagEnumCb;
|
private readonly FlagCheckedListBox FlagEnumCb;
|
||||||
|
|
||||||
public FlagEnumUIEditor() {
|
internal FlagEnumUIEditor() {
|
||||||
FlagEnumCb = new FlagCheckedListBox { BorderStyle = BorderStyle.None };
|
FlagEnumCb = new FlagCheckedListBox { BorderStyle = BorderStyle.None };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user