This commit is contained in:
艾竹
2023-03-24 22:32:42 +08:00
parent 5ff4376674
commit 8a2c742ec4
19 changed files with 776 additions and 648 deletions

View File

@@ -1,5 +1,6 @@
using System;
using System.Linq;
using System.Windows.Input;
using AIStudio.Wpf.DiagramDesigner.Geometrys;
using AIStudio.Wpf.DiagramDesigner.Models;
using SvgPathProperties;
@@ -82,12 +83,12 @@ namespace AIStudio.Wpf.DiagramDesigner
get; set;
}
public SimpleCommand DeleteLabelCommand
public ICommand DeleteLabelCommand
{
get; set;
}
public SimpleCommand EditCommand
public ICommand EditCommand
{
get; private set;
}

View File

@@ -1,4 +1,5 @@
using System;
using System.Windows.Input;
using AIStudio.Wpf.DiagramDesigner.Geometrys;
using AIStudio.Wpf.DiagramDesigner.Models;
@@ -68,7 +69,7 @@ namespace AIStudio.Wpf.DiagramDesigner
public override PointBase MiddlePosition => new PointBase(Connector.Area.Left + Left + ConnectorWidth / 2, Connector.Area.Top + Top + ConnectorHeight / 2);
public SimpleCommand DeleteVertexCommand
public ICommand DeleteVertexCommand
{
get; set;
}

View File

@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Input;
using AIStudio.Wpf.DiagramDesigner.Geometrys;
using AIStudio.Wpf.DiagramDesigner.Models;
@@ -185,11 +186,11 @@ namespace AIStudio.Wpf.DiagramDesigner
#endregion
#region
public SimpleCommand DeleteCommand
public ICommand DeleteCommand
{
get; private set;
}
public SimpleCommand MenuItemCommand
public ICommand MenuItemCommand
{
get; private set;
}