public MainMenu() { if (Settings.Default.SavePath == "") { FileOperations.SelectFolder(); } else { GlobalVariables.SavePath = Settings.Default.SavePath; } MainSettings settings = new MainSettings(); settings.RemoveComments(); GlobalVariables.StartWorkTime = Settings.Default.StartWorkTime == "" ? "Not found" : Settings.Default.StartWorkTime; InitializeComponent(); }