Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
|
- using System;
- using System.Collections.Generic;
- using System.IO;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Input;
- using System.Windows.Media;
- using System.Windows.Media.Imaging;
- using System.Windows.Navigation;
- using System.Windows.Shapes;
- using BPA.Helper;
- using BPASmart.Model;
-
- namespace BPASmart.PageLoad
- {
- /// <summary>
- /// Interaction logic for MainWindow.xaml
- /// </summary>
- public partial class MainWindow : Window
- {
- public MainWindow()
- {
- InitializeComponent();
- this.Loaded += MainWindow_Loaded;
- }
-
- List<FrameworkElement> frameworkElements = new List<FrameworkElement>();
- private void MainWindow_Loaded(object sender, RoutedEventArgs e)
- {
- Serialization<BinConfigFile>.Read();
- if (!string.IsNullOrEmpty(Serialization<BinConfigFile>.Data.StartPageName))
- {
- string path = $"{AppDomain.CurrentDomain.BaseDirectory}{FileConfigModel.PageDirName}\\{Serialization<BinConfigFile>.Data.StartPageName}.lay";
- if (File.Exists(path))
- {
- runCanvas.LoadingData(path);
- }
-
-
- }
- }
- }
- }
|