Added client SCM/CMS options

This commit is contained in:
Nicola Carminati
2019-04-04 18:33:44 +02:00
parent a681fa31b1
commit 830221b178
39 changed files with 324 additions and 179 deletions
+3 -3
View File
@@ -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);
}