Chore: Formatting
This commit is contained in:
parent
a3df9a7c4c
commit
5c95a4a6ea
|
@ -170,7 +170,7 @@ namespace starter.viewmodel.settings
|
|||
}
|
||||
public int Uninst()
|
||||
{
|
||||
return Tencent_cos_download.DeleteAll();
|
||||
return Tencent_cos_download.DeleteAll();
|
||||
}
|
||||
|
||||
public bool Launch()
|
||||
|
@ -292,12 +292,12 @@ namespace starter.viewmodel.settings
|
|||
}
|
||||
public bool RememberMe
|
||||
{
|
||||
get;set;
|
||||
get; set;
|
||||
}
|
||||
public enum LaunchLanguage { cpp,python };
|
||||
public enum LaunchLanguage { cpp, python };
|
||||
public LaunchLanguage launchLanguage
|
||||
{
|
||||
get;set;
|
||||
get; set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -633,7 +633,7 @@ namespace Downloader
|
|||
int newFile = 0, updateFile = 0;
|
||||
int totalnew = newFileName.Count, totalupdate = updateFileName.Count;
|
||||
filenum = totalnew + totalupdate;
|
||||
|
||||
|
||||
if (newFileName.Count > 0 || updateFileName.Count > 0)
|
||||
{
|
||||
try
|
||||
|
|
|
@ -35,7 +35,7 @@ namespace starter.viewmodel.settings
|
|||
|
||||
//实例化BackgroundWorker
|
||||
asyncDownloader = new BackgroundWorker();
|
||||
asyncUpdater= new BackgroundWorker();
|
||||
asyncUpdater = new BackgroundWorker();
|
||||
//指示BackgroundWorker是否可以报告进度更新
|
||||
//当该属性值为True是,将可以成功调用ReportProgress方法,否则将引发InvalidOperationException异常。
|
||||
asyncDownloader.WorkerReportsProgress = true;
|
||||
|
@ -419,7 +419,7 @@ namespace starter.viewmodel.settings
|
|||
|
||||
public Visibility UpdateInfoVis
|
||||
{
|
||||
get;set;
|
||||
get; set;
|
||||
}
|
||||
|
||||
public Visibility LaunchVis
|
||||
|
@ -665,7 +665,7 @@ namespace starter.viewmodel.settings
|
|||
break;
|
||||
|
||||
}
|
||||
|
||||
|
||||
}));
|
||||
}
|
||||
return clickUninstCommand;
|
||||
|
|
Loading…
Reference in New Issue