Example #1
0
        public MainWindow()
        {
            inst_ = this;
            InitializeComponent();
            ContentSource = new Uri("LaunchScreen.xaml", UriKind.Relative);
            LinkNavigator.Commands.Add(new Uri("cmd://showSettings", UriKind.Absolute), new RelayCommand(o => showSettings()));
            errorHandler_ = new ErrorHandler();

            errTimer_ = new Timer();
            errTimer_.Enabled = true;
            errTimer_.AutoReset = true;
            errTimer_.Interval = 200;
            errTimer_.Elapsed += errTimer_Elapsed;
            errTimer_.Start();
        }
Example #2
0
 public ErrorHandler()
 {
     inst_ = this;
 }