- // Check the system meets the system requirements.\r
- Boolean launch = true;\r
- try\r
- {\r
- // Make sure the screen resolution is not below 1024x768\r
- Screen scr = Screen.PrimaryScreen;\r
- if ((scr.Bounds.Width < 1024) || (scr.Bounds.Height < 720))\r
- {\r
- MessageBox.Show("Your system does not meet the minimum requirements for HandBrake. \n" + "Your screen is running at: " + scr.Bounds.Width + "x" + scr.Bounds.Height + " \nScreen resolution is too Low. Must be 1024x720 or greater", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);\r
- launch = false;\r
- }\r
- }\r
- catch (Exception exc)\r
- {\r
- MessageBox.Show("frmMain.cs - systemCheck() " + exc);\r
- }\r
-\r
- // Either Launch or Close the Application\r
- if (launch)\r
+ Screen scr = Screen.PrimaryScreen;\r
+ if ((scr.Bounds.Width < 1024) || (scr.Bounds.Height < 620))\r
+ MessageBox.Show("Your system does not meet the minimum requirements for HandBrake. \n" + "Your screen is running at: " + scr.Bounds.Width + "x" + scr.Bounds.Height + " \nScreen resolution is too Low. Must be 1024x720 or greater", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);\r
+ else\r