Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- 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);
- }
-
-
- }
- }
- }
- }
|