mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-03 23:06:34 +08:00
实现了多画布下,节点的复制粘贴功能
This commit is contained in:
@@ -20,6 +20,7 @@ namespace Serein.Workbench.Views
|
||||
/// </summary>
|
||||
public partial class FlowWorkbenchView : Window
|
||||
{
|
||||
private FlowWorkbenchViewModel ViewModel => ViewModel as FlowWorkbenchViewModel;
|
||||
public FlowWorkbenchView()
|
||||
{
|
||||
this.DataContext = App.GetService<Locator>().FlowWorkbenchViewModel;
|
||||
@@ -40,5 +41,12 @@ namespace Serein.Workbench.Views
|
||||
this.Width = System.Windows.SystemParameters.PrimaryScreenWidth;
|
||||
this.Height = System.Windows.SystemParameters.PrimaryScreenHeight;*/
|
||||
}
|
||||
|
||||
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
|
||||
{
|
||||
// 确保所有窗口关闭
|
||||
LogWindow.Instance.Close();
|
||||
System.Windows.Application.Current.Shutdown();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user