mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
36 lines
822 B
C#
36 lines
822 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
using AIStudio.Wpf.DiagramApp.Models;
|
|||
|
|
using AIStudio.Wpf.DiagramDesigner;
|
|||
|
|
|
|||
|
|
namespace AIStudio.Wpf.DiagramApp.ViewModels
|
|||
|
|
{
|
|||
|
|
public class ScriptViewModel : PageViewModel
|
|||
|
|
{
|
|||
|
|
public ScriptViewModel(string title, string status, DiagramType diagramType) : base(title, status, diagramType)
|
|||
|
|
{
|
|||
|
|
Init(true);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public ScriptViewModel(string filename, DiagramDocument diagramDocument) : base(filename, diagramDocument)
|
|||
|
|
{
|
|||
|
|
if (DiagramViewModel != null)
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
protected override void InitDiagramViewModel()
|
|||
|
|
{
|
|||
|
|
base.InitDiagramViewModel();
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|