private void utorrentEnabled_Checked(object sender, RoutedEventArgs e) { if (!m_bIsInitCompleted) { return; } UtorrentHandler.SetupUtorrentConnection(); }
public MainWindow() { InitializeComponent(); init(); UpdateChecker.checkForNewerVersion(updateNotifier); // temporary workaround... will come up with something better if (Properties.Settings.Default.uTorrentControlEnabled) { UtorrentHandler.SetupUtorrentConnection(); } }