46 lines
1.1 KiB
C#
46 lines
1.1 KiB
C#
using EBS_POC.Controls;
|
|
using EBS_POC.Models;
|
|
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;
|
|
|
|
namespace EBS_POC
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for MainWindow.xaml
|
|
/// </summary>
|
|
public partial class MainWindow : Window
|
|
{
|
|
public static MainWindow Current { get; set; }
|
|
public MainWindow()
|
|
{
|
|
InitializeComponent();
|
|
Current = this;
|
|
}
|
|
|
|
private void Window_Loaded(object sender, RoutedEventArgs e)
|
|
{
|
|
if (!File.Exists("config.config"))
|
|
{
|
|
frameMain.Navigate(new Start_Page());
|
|
}
|
|
else
|
|
{
|
|
// Use config settings.
|
|
}
|
|
}
|
|
}
|
|
}
|