public bool CheckInstalled(bool btm) { GameProperty p = RConfig.Instance.getGameProperty(RConfig.Instance.ActiveGame); bool can = p.Installed && p.isEnable(); if (!p.isEnable()) { UpdateStatusLabel(WordEnum.GAME_IS_DISABLED); } else if (!p.Installed) { UpdateStatusLabel(WordEnum.NOT_INSTALLED); } if (btm) { _startButton.Enabled = can; _fullCheck.Enabled = can; } if (can) { UpdateStatusLabel(""); } return(can); }
private void ListDownloadThread() { if (!_property.isEnable()) { GoEnd(WordEnum.GAME_IS_DISABLED); return; } if (Status != Status.FREE || _webClient.IsBusy) { return; } MainForm.Instance.UpdateStatusLabel(WordEnum.STARTING_DOWNLOAD_LIST); MainForm.Instance.SetMainFormState(MainFormState.CHECKING); Status = Status.DOWNLOAD; _webClient.DownloadDataAsync(new Uri(_property.listURL() + "/list.zip")); }