命名空间调整

This commit is contained in:
GG Z
2025-09-04 22:39:00 +08:00
parent 85435fb676
commit 36234cb529
58 changed files with 933 additions and 2241 deletions

View File

@@ -86,12 +86,12 @@ public partial class MainWindow
.Select(i => new Area(i, GetJapaneseRegionName(i)))
.ToArray();
public IEnumerable<RadioItem> Items { get; set; }
public ObservableCollection<RadioItem> Items { get; set; }
public struct RadioItem
public class RadioItem
{
public string Label;
public string Value;
public string Label { get; set; }
public string Value { get; set; }
}
#endregion
@@ -156,7 +156,7 @@ public partial class MainWindow
InitializeStaffData();
// 初始化单选项
Items = new[]
Items = new ObservableCollection<RadioItem>()
{
new RadioItem { Label = "Apple", Value = "Apple" },
new RadioItem { Label = "Pear", Value = "Pear" },