public frmLauncher() { InitializeComponent(); CheckForIllegalCrossThreadCalls = false; wbLauncher.ScriptErrorsSuppressed = true; _FormInstance = this; btnStart.Enabled = false; Configs_ = VersionConfig.GetConfigs(); Configs_.LoadLocalConfig(); Configs_.LoadRemoteConfig(); wbLauncher.Navigate(Configs_.BrowserURL); this.Text = Configs_.Title; }
public static VersionConfig GetConfigs() { if (_Instance == null) { _Instance = new VersionConfig(); } return _Instance; }