终端一体化运控平台
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

MainWindow.xaml.cs 611 B

2 年前
2 年前
2 年前
1234567891011121314151617181920
  1. using BeDesignerSCADA.Controls;
  2. using System.Windows;
  3. namespace BeDesignerSCADA
  4. {
  5. /// <summary>
  6. /// Interaction logic for MainWindow.xaml
  7. /// </summary>
  8. public partial class MainWindow : Window
  9. {
  10. CanvasPanelNew mainCanvas = new CanvasPanelNew($"{System.AppDomain.CurrentDomain.BaseDirectory}Layouts\\可视化界面菜单布局.yf");
  11. CodeCanvasPanel codeCanvasPanel = new CodeCanvasPanel();
  12. public MainWindow()
  13. {
  14. InitializeComponent();
  15. grid.Child = mainCanvas;
  16. //gridCode.Child = codeCanvasPanel;
  17. }
  18. }
  19. }