OSDN Git Service

WinGui:
authorsr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Thu, 17 Apr 2008 20:56:04 +0000 (20:56 +0000)
committersr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Thu, 17 Apr 2008 20:56:04 +0000 (20:56 +0000)
- Removed some now redundant code (for last checkin)

git-svn-id: svn://localhost/HandBrake/trunk@1426 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/C#/frmMain.Designer.cs
win/C#/frmMain.cs

index 2c8f70d..5603b43 100644 (file)
@@ -436,7 +436,6 @@ namespace Handbrake
             this.ToolTip.SetToolTip(this.check_largeFile, "Allows creation of MP4 files greater than 4GB.\r\nWarning: Breaks iPod, Apple TV (V" +\r
                     "ersion 1 only) and PS3 compatibility.\r\nRequires .mp4/.m4v file extension");\r
             this.check_largeFile.UseVisualStyleBackColor = false;\r
-            this.check_largeFile.Click += new System.EventHandler(this.check_largeFile_CheckedChanged);\r
             // \r
             // check_turbo\r
             // \r
@@ -590,7 +589,6 @@ namespace Handbrake
                     " QuickTime can only read the files as long as the file extension is .mp4\r\nCan on" +\r
                     "ly be used with H.264 ");\r
             this.check_optimiseMP4.UseVisualStyleBackColor = false;\r
-            this.check_optimiseMP4.Click += new System.EventHandler(this.check_optimiseMP4_Clicked);\r
             // \r
             // check_iPodAtom\r
             // \r
@@ -605,7 +603,6 @@ namespace Handbrake
             this.ToolTip.SetToolTip(this.check_iPodAtom, "Required for 5th and 6th Generation iPods.\r\nEncodes will not sync if this is not " +\r
                     "enabled for H.264 encodes");\r
             this.check_iPodAtom.UseVisualStyleBackColor = false;\r
-            this.check_iPodAtom.Click += new System.EventHandler(this.check_iPodAtom_CheckedChanged);\r
             // \r
             // data_chpt\r
             // \r
index 2ae2e1b..541af04 100644 (file)
@@ -691,30 +691,6 @@ namespace Handbrake
             }\r
 \r
         }\r
-        private void check_largeFile_CheckedChanged(object sender, EventArgs e)\r
-        {\r
-            if ((!text_destination.Text.Contains(".mp4")) && (!text_destination.Text.Contains(".m4v")))\r
-            {\r
-                MessageBox.Show("You can only use this option with the .mp4/.m4v file container.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
-                check_largeFile.CheckState = CheckState.Unchecked;\r
-            }\r
-        }\r
-        private void check_iPodAtom_CheckedChanged(object sender, EventArgs e)\r
-        {\r
-            if ((!text_destination.Text.Contains(".mp4")) && (!text_destination.Text.Contains(".m4v")))\r
-            {\r
-                MessageBox.Show("You can only use this option with the .mp4/.m4v file container.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
-                check_iPodAtom.CheckState = CheckState.Unchecked;\r
-            }\r
-        }\r
-        private void check_optimiseMP4_Clicked(object sender, EventArgs e)\r
-        {\r
-            if ((!text_destination.Text.Contains(".mp4")) && (!text_destination.Text.Contains(".m4v")))\r
-            {\r
-                MessageBox.Show("You can only use this option with the .mp4/.m4v file container.","Warning",MessageBoxButtons.OK,MessageBoxIcon.Warning);\r
-                check_optimiseMP4.CheckState = CheckState.Unchecked;\r
-            }\r
-        }\r
 \r
         //Video Tab\r
         private void text_bitrate_TextChanged(object sender, EventArgs e)\r
@@ -2210,7 +2186,10 @@ namespace Handbrake
         }\r
 \r
         #endregion\r
-      \r
+\r
+\r
+\r
+\r
         // This is the END of the road ------------------------------------------------------------------------------\r
     }\r
 }
\ No newline at end of file