void chbRunWithSystem_Unchecked(object sender, RoutedEventArgs e)
{
System.Diagnostics.ProcessStartInfo ImgstartInfo = new System.Diagnostics.ProcessStartInfo("schtasks");
ImgstartInfo.Arguments = "/delete /tn JXRCGL_SERVER /f "; //JXRCGL_SERVER 程序名称
try
{
System.Diagnostics.Process.Start(ImgstartInfo);
ServerConfig.RunWithSystemStart = false;
}
catch { }
}
void chbRunWithSystem_Checked(object sender, RoutedEventArgs e)
{
string path = Environment.CurrentDirectory.ToString();
System.Diagnostics.ProcessStartInfo ImgstartInfo = new System.Diagnostics.ProcessStartInf