From 40213047b1cee48144c5a1eee1778ada6f609ca1 Mon Sep 17 00:00:00 2001
From: chr <chrry550@163.com>
Date: 星期四, 07 三月 2024 16:06:08 +0800
Subject: [PATCH] 优化InnerWindow的Resize;
---
Models/Step.cs | 52 +++++++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 45 insertions(+), 7 deletions(-)
diff --git a/Models/Step.cs b/Models/Step.cs
index 2c2a346..ec16fbe 100644
--- a/Models/Step.cs
+++ b/Models/Step.cs
@@ -1,19 +1,57 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+锘縰sing System.Xml.Serialization;
namespace WPFProject.Models
{
public class Step : NotifyBase
- {
- private string _Name;
+ {
+ #region 瀛楁
+ [XmlIgnore]
+ public Program Program { get; set; }
+ private int _Index;
+ public int Index
+ {
+ get { return _Index; }
+ set => RaiseAndSetIfChanged(ref _Index, value);
+ }
+
+ private string _Name;
public string Name
{
get { return _Name; }
set => RaiseAndSetIfChanged(ref _Name, value);
}
+
+ private string _DllPath;
+ public string DllPath
+ {
+ get { return _DllPath; }
+ set => RaiseAndSetIfChanged(ref _DllPath, value);
+ }
+
+ private string _ClassName;
+ public string ClassName
+ {
+ get { return _ClassName; }
+ set => RaiseAndSetIfChanged(ref _ClassName, value);
+ }
+
+ private string _MethodName;
+ public string MethodName
+ {
+ get { return _MethodName; }
+ set => RaiseAndSetIfChanged(ref _MethodName, value);
+ }
+
+ private string _Description;
+ public string Description
+ {
+ get { return _Description; }
+ set => RaiseAndSetIfChanged(ref _Description, value);
+ }
+
+ #endregion
+
+
}
}
--
Gitblit v1.9.1