添加项目文件。

This commit is contained in:
ShrlAlgo
2025-09-16 16:06:41 +08:00
parent 0e7807b826
commit 98c65ceb3d
922 changed files with 1009489 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace MvdLiteSnoop
{
/// <summary>
/// Window1.xaml 的交互逻辑
/// </summary>
public partial class Window1 : Window
{
public Window1()
{
DataContext = this;
InitializeComponent();
}
public List<string> TypeList { get; set; } = new List<string>
{
"TypeA",
"TypeB",
"TypeC"
};
public ObservableCollection<RowItem> Items { get; set; } = new ObservableCollection<RowItem>
{
new RowItem { Name = "Item1", IsActive = true, Type = "TypeA" },
new RowItem { Name = "Item1", IsActive = true, Type = "TypeA" },
new RowItem { Name = "Item1", IsActive = true, Type = "TypeA" },
new RowItem { Name = "Item2", IsActive = false, Type = "TypeB" },
new RowItem { Name = "Item2", IsActive = false, Type = "TypeB" },
new RowItem { Name = "Item2", IsActive = false, Type = "TypeB" },
new RowItem { Name = "Item2", IsActive = false, Type = "TypeB" },
new RowItem { Name = "Item3", IsActive = true, Type = "TypeC" }
};
}
}