diff options
Diffstat (limited to 'win/C#/Program.cs')
-rw-r--r-- | win/C#/Program.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/C#/Program.cs b/win/C#/Program.cs index 6ab76bbae..809626df5 100644 --- a/win/C#/Program.cs +++ b/win/C#/Program.cs @@ -22,7 +22,7 @@ namespace Handbrake try
{
// Make sure the screen resolution is not below 1024x768
- System.Windows.Forms.Screen scr = System.Windows.Forms.Screen.PrimaryScreen;
+ System.Windows.Forms.Screen scr = Screen.PrimaryScreen;
if ((scr.Bounds.Width < 1024) || (scr.Bounds.Height < 720))
{
MessageBox.Show("Your system does not meet the minimum requirements for HandBrake. \n" + "Your screen is running at: " + scr.Bounds.Width.ToString() + "x" + scr.Bounds.Height.ToString() + " \nScreen resolution is too Low. Must be 1024x720 or greater", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
@@ -35,7 +35,7 @@ namespace Handbrake }
// Either Launch or Close the Application
- if (launch == true)
+ if (launch)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
|