コード例 #1
0
        // initialize all custom variables
        private void init()
        {
            m_interfaceHandler         = new InterfaceHandler(scrollViewerLog);
            Helper.view                = scrollViewerLog;
            UtorrentHandler.statusIcon = imageUtorrentStatus;
            checkBoxStartup.IsChecked  = ShortcutHandler.isInStartup();

            setupTimer();
            setupNotifyIcon();

            if (Properties.Settings.Default.StartMinimized)
            {
                doMinimize();
            }

            m_bIsInitCompleted = true;
        }
コード例 #2
0
 private void checkBoxStartup_Unchecked(object sender, RoutedEventArgs e)
 {
     ShortcutHandler.removeFromStartup();
 }
コード例 #3
0
 private void checkBoxStartup_Checked(object sender, RoutedEventArgs e)
 {
     ShortcutHandler.addToStartup();
 }