Example #1
0
 private void utorrentEnabled_Checked(object sender, RoutedEventArgs e)
 {
     if (!m_bIsInitCompleted)
     {
         return;
     }
     UtorrentHandler.SetupUtorrentConnection();
 }
Example #2
0
        public MainWindow()
        {
            InitializeComponent();
            init();
            UpdateChecker.checkForNewerVersion(updateNotifier);

            // temporary workaround... will come up with something better
            if (Properties.Settings.Default.uTorrentControlEnabled)
            {
                UtorrentHandler.SetupUtorrentConnection();
            }
        }