Ejemplo n.º 1
0
 private void ResetWindow()
 {
     IsStopping = false;
     LoadAccountsBtn.Invoke(new Action(() => LoadAccountsBtn.IsEnabled = true));
     LoadProxyBtn.Invoke(new Action(() => LoadProxyBtn.IsEnabled       = true));
     StartBtn.Invoke(new Action(() => StartBtn.IsEnabled         = true));
     StopBtn.Invoke(new Action(() => StopBtn.IsEnabled           = false));
     SettingsBtn.Invoke(new Action(() => SettingsBtn.IsEnabled   = true));
     ProxyTypeBox.Invoke(new Action(() => ProxyTypeBox.IsEnabled = true));
 }