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 cee6dfa4d..885a36988 100644 --- a/win/C#/Program.cs +++ b/win/C#/Program.cs @@ -22,10 +22,10 @@ namespace Handbrake try
{
// Make sure the screen resolution is not below 1024x768
- System.Windows.Forms.Screen scr = Screen.PrimaryScreen;
+ 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 + "x" + scr.Bounds.Height.ToString() + " \nScreen resolution is too Low. Must be 1024x720 or greater", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ 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);
launch = false;
}
}
|