public Launcher() { FormBorderStyle = FormBorderStyle.FixedSingle; MaximizeBox = false; bool exit = false; string error = string.Empty; if (!launcherController.CheckPaths()) { error += "Insert launcher in DemulShooter Folder\n"; exit = true; } if (!launcherController.CheckAdmin()) { error += "Start with administrator\n"; exit = true; } if (exit) { MessageBox.Show("Error!\n" + error); Environment.Exit(-1); } InitializeComponent(); }