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

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