Fix project options & setup
This commit is contained in:
@@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user