public MainForm() { InitializeComponent(); Text += " (build " + GetBuildTag() + ")"; _closing = false; _discardEvents = false; _selectingApplicationBySet = false; _controlRecentApplicationsForm = null; _controlRecentApplicationsFormClosedAt = DateTime.MinValue; _config = RegistryHandler.LoadConfiguration(); ApplicationControl.Configuration = _config; _timer = new Timer() { Interval = 500 }; _timer.Tick += _timer_Tick; _timer.Start(); toolStripMenuItemSystemTrayOptionsStartWithWindows.Checked = _config.StartWithWindows; listViewApplications.ListViewItemSorter = new ListViewItemComparer(0, 1); FillApplicationList(); }