Added client SCM/CMS options
This commit is contained in:
+3
-3
@@ -4,7 +4,7 @@ using Chromium.WebBrowser;
|
||||
using Chromium.WebBrowser.Event;
|
||||
using Client.Config;
|
||||
using Client.Utils;
|
||||
using CMS_Client.View;
|
||||
using Active_Client.View;
|
||||
using Microsoft.Win32;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -18,7 +18,7 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace CMS_Client
|
||||
namespace Active_Client
|
||||
{
|
||||
public static class Program
|
||||
{
|
||||
@@ -121,7 +121,7 @@ namespace CMS_Client
|
||||
{
|
||||
//code if key Not Exist add it and restart
|
||||
Registry.SetValue(keyName, valueName, "GpuPreference=1;");
|
||||
MessageBox.Show("CMS Active has foundthis Graphic Cards:\n\n" + Cardlist +"\nThe graphic configuration has been setted. Press Ok to restart the Application",Application.ProductName);
|
||||
MessageBox.Show("Active has foundthis Graphic Cards:\n\n" + Cardlist +"\nThe graphic configuration has been setted. Press Ok to restart the Application",Application.ProductName);
|
||||
Application.Restart();
|
||||
Environment.Exit(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user