public App()
 {
     InitializeComponent();
     tb = (TaskbarIcon)FindResource("iNGenTaskbarIcon");
     tb.TrayMouseDoubleClick += tb_TrayMouseDoubleClick;
     Locator = new ViewModels.ViewModelLocator();
 }
 public App()
 {
     InitializeComponent();
     Debug.WriteLine(GetErrorFile());
     AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
     Tb = (TaskbarIcon)FindResource("iNGenTaskbarIcon");
     if (Tb != null) Tb.TrayMouseDoubleClick += tb_TrayMouseDoubleClick;
     Locator = new ViewModels.ViewModelLocator();
 }
 public App()
 {
     InitializeComponent();
     Debug.WriteLine(GetErrorFile());
     AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
     Tb = (TaskbarIcon)FindResource("iNGenTaskbarIcon");
     if (Tb != null)
     {
         Tb.TrayMouseDoubleClick += tb_TrayMouseDoubleClick;
     }
     Locator = new ViewModels.ViewModelLocator();
 }