Exemplo n.º 1
0
 public static void Main()
 {
     if (AppUtil.IsDotNetVersionEG45)
     {
         NTMiner.App app = new NTMiner.App();
         app.InitializeComponent();
         app.Run();
     }
     else
     {
         Process.Start("https://ntminer.com/getDotNet.html");
     }
     // 这个机制在MinerClient程序起作用但在MinerStudio程序中会发生类型初始化错误不起作用,具体原因未知
 }
Exemplo n.º 2
0
        public static void Main()
        {
            SplashScreen splashScreen = new SplashScreen("splashwindow.png");

            splashScreen.Show(true);
            if (AppUtil.IsDotNetVersionEG45)
            {
                NTMiner.App app = new NTMiner.App();
                app.InitializeComponent();
                app.Run();
            }
            else
            {
                Process.Start("https://ntminer.com/getDotNet.html");
            }
            // 这个机制在MinerClient程序起作用但在MinerStudio程序中会发生类型初始化错误不起作用,具体原因未知
        }