From 6bcafc823e836ecd5790f87178a906333699f868 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期四, 10 四月 2025 10:46:47 +0800
Subject: [PATCH] 优化插件结构;
---
Plugin.TestBuilder/Container/FunctionSetting.xaml.cs | 28 +++++++---------------------
1 files changed, 7 insertions(+), 21 deletions(-)
diff --git a/WPFProject/UI/Test/FunctionSetting.xaml.cs b/Plugin.TestBuilder/Container/FunctionSetting.xaml.cs
similarity index 76%
rename from WPFProject/UI/Test/FunctionSetting.xaml.cs
rename to Plugin.TestBuilder/Container/FunctionSetting.xaml.cs
index 45dd614..7f2b261 100644
--- a/WPFProject/UI/Test/FunctionSetting.xaml.cs
+++ b/Plugin.TestBuilder/Container/FunctionSetting.xaml.cs
@@ -1,25 +1,11 @@
-锘縰sing System;
-using System.Collections.Generic;
+锘縰sing Plugin.TestBuilder.Model;
+using Plugin.TestBuilder.UI;
using System.Collections.ObjectModel;
using System.ComponentModel;
-using System.Linq;
using System.Runtime.CompilerServices;
-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.Navigation;
-using System.Windows.Shapes;
-using System.Xml.Serialization;
-using WPFProject.Models;
-using WPFProject.Utils;
-namespace WPFProject.UI.Test
+namespace Plugin.TestBuilder
{
/// <summary>
/// FunctionSetting.xaml 鐨勪氦浜掗�昏緫
@@ -50,11 +36,11 @@
public DdDragHandler dragHandler { get; set; } = new DdDragHandler();
- private ObservableCollection<FuncModel> _FuncModels = new ObservableCollection<FuncModel>() {
-
- new FuncModel(){
+ private ObservableCollection<FuncModel> _FuncModels = new ObservableCollection<FuncModel>() {
+
+ new FuncModel(){
Name = "111",
- Children = new ObservableCollection<FuncModel>(){
+ Children = new ObservableCollection<FuncModel>(){
new FuncModel(){ Name = "1123"},
new FuncModel(){ Name = "1223"},
}
--
Gitblit v1.9.1