Пример #1
0
 static void Main()
 {
     try
     {
         using (Debug = new TextTraceListener(@"\mobileremote.log"))
         {
             if (null != Properties.Resources.ResourceManager)
             {
                 Thread splashThread = new Thread(new ThreadStart(ShowSplash));
                 splashThread.Start();
                 Application.Run(new MobileRemoteUI());
             }
             Properties.Settings.Default.Save();
         }
     }
     catch (Exception ex)
     {
         Program.Debug.WriteLine(ex.ToString());
         MessageBox.Show(ex.ToString(), "Error Launching MobileRemote");
     }
 }
Пример #2
0
 static void Main()
 {
     try
     {
         using (Debug = new TextTraceListener(@"\mobileremote.log"))
         {
             if (null != Properties.Resources.ResourceManager)
             {
                 Thread splashThread = new Thread(new ThreadStart(ShowSplash));
                 splashThread.Start();
                 Application.Run(new MobileRemoteUI());
             }
             Properties.Settings.Default.Save();
         }
     }
     catch (Exception ex)
     {
         Program.Debug.WriteLine(ex.ToString());
         MessageBox.Show(ex.ToString(), "Error Launching MobileRemote");
     }
 }