终端一体化运控平台
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
611 B

  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. }