Fix project options & setup

This commit is contained in:
Lucio Maranta
2019-04-10 17:22:55 +02:00
parent cef729a0ef
commit 8d6c1fd39a
10 changed files with 16178 additions and 149 deletions
+8 -8
View File
@@ -155,17 +155,17 @@ namespace Step.UI
MessageServices.Current.Publish(SEND_STOP_SERVER);
}
public static void StartCMSClient(string url)
public static void StartCMSClient(string url)
{
//Setup the Path Variable
String CMSClientPath = "";
string CMSClientPath = "";
if (!ClientIsRunning())
{
//Check if the system is 64/32 bit
if (Environment.Is64BitOperatingSystem && File.Exists(BASE_PATH + @"\Client\x64\" + CLIENT_EXE_NAME))
CMSClientPath = BASE_PATH + @"\Client\x64\" + CLIENT_EXE_NAME;
else if (File.Exists(BASE_PATH + @"\Client\x86\" + CLIENT_EXE_NAME))
CMSClientPath = BASE_PATH + @"\Client\x86\" + CLIENT_EXE_NAME;
// Check if the system is 64/32 bit
if (Environment.Is64BitOperatingSystem && File.Exists(CLIENT_PATH_64))
CMSClientPath = CLIENT_PATH_64;
else if (File.Exists(CLIENT_PATH_86))
CMSClientPath = CLIENT_PATH_86;
if (!String.IsNullOrEmpty(CMSClientPath))
Process.Start(CMSClientPath, url);
@@ -238,7 +238,7 @@ namespace Step.UI
{
// Show balloon with new status
StepNotifyIcon.ShowBalloonTip(1000, title, message, toolTipIcon);
TXTstatus.Text = "[" + DateTime.Now.ToString("T") + "] " + title;
TXTstatus.Text = "[" + DateTime.Now.ToString("T") + "] " + title;
});
}