Browse Source

Chore: Formatting

tags/0.1.0
OctaAcid 2 years ago
parent
commit
5c95a4a6ea
2 changed files with 8 additions and 8 deletions
  1. +5
    -5
      installer/Installer/Model.cs
  2. +3
    -3
      installer/Installer/ViewModel.cs

+ 5
- 5
installer/Installer/Model.cs View File

@@ -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


+ 3
- 3
installer/Installer/ViewModel.cs View File

@@ -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…
Cancel
Save