// 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; }
private void checkBoxStartup_Unchecked(object sender, RoutedEventArgs e) { ShortcutHandler.removeFromStartup(); }
private void checkBoxStartup_Checked(object sender, RoutedEventArgs e) { ShortcutHandler.addToStartup(); }