mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-09 10:46:37 +08:00
demo提交
This commit is contained in:
@@ -5,8 +5,17 @@ using AIStudio.Wpf.Flowchart;
|
||||
|
||||
namespace AIStudio.Wpf.DiagramDesigner.Demo.ViewModels
|
||||
{
|
||||
public class FlowchartEditorViewModel : BindableBase
|
||||
class FlowchartEditorViewModel : BaseViewModel
|
||||
{
|
||||
public FlowchartEditorViewModel()
|
||||
{
|
||||
Title = "FlowchartEditor";
|
||||
Info = "Encapsulated flowchart controls";
|
||||
|
||||
GetDataCommand = new SimpleCommand(GetDataExcute);
|
||||
SetDataCommand = new SimpleCommand(SetDataExcute);
|
||||
}
|
||||
|
||||
private List<SelectOption> _users = new List<SelectOption>()
|
||||
{
|
||||
new SelectOption(){ value = "操作员1",text = "操作员1" },
|
||||
@@ -108,12 +117,6 @@ namespace AIStudio.Wpf.DiagramDesigner.Demo.ViewModels
|
||||
get; private set;
|
||||
}
|
||||
|
||||
public FlowchartEditorViewModel()
|
||||
{
|
||||
GetDataCommand = new SimpleCommand(GetDataExcute);
|
||||
SetDataCommand = new SimpleCommand(SetDataExcute);
|
||||
}
|
||||
|
||||
private void GetDataExcute(object obj)
|
||||
{
|
||||
OutputData = GetDataFunc();
|
||||
|
||||
Reference in New Issue
Block a user