]> granicus.if.org Git - handbrake/commitdiff
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@616 b64f7644-9d1e-0410-96f1-a4d463...
authorsr55 <sr55.hb@outlook.com>
Wed, 13 Jun 2007 18:00:56 +0000 (18:00 +0000)
committersr55 <sr55.hb@outlook.com>
Wed, 13 Jun 2007 18:00:56 +0000 (18:00 +0000)
win/Handbrake.suo [new file with mode: 0644]
win/Handbrake/My Project/Application.Designer.vb [new file with mode: 0644]
win/Handbrake/My Project/Application.myapp [new file with mode: 0644]
win/Handbrake/My Project/AssemblyInfo.vb [new file with mode: 0644]
win/Handbrake/My Project/Resources.Designer.vb [new file with mode: 0644]
win/Handbrake/My Project/Resources.resx [new file with mode: 0644]
win/Handbrake/My Project/Settings.Designer.vb [new file with mode: 0644]
win/Handbrake/My Project/Settings.settings [new file with mode: 0644]
win/Handbrake/Settings.vb [new file with mode: 0644]

diff --git a/win/Handbrake.suo b/win/Handbrake.suo
new file mode 100644 (file)
index 0000000..1ca2460
Binary files /dev/null and b/win/Handbrake.suo differ
diff --git a/win/Handbrake/My Project/Application.Designer.vb b/win/Handbrake/My Project/Application.Designer.vb
new file mode 100644 (file)
index 0000000..11afa33
--- /dev/null
@@ -0,0 +1,43 @@
+'------------------------------------------------------------------------------\r
+' <auto-generated>\r
+'     This code was generated by a tool.\r
+'     Runtime Version:2.0.50727.42\r
+'\r
+'     Changes to this file may cause incorrect behavior and will be lost if\r
+'     the code is regenerated.\r
+' </auto-generated>\r
+'------------------------------------------------------------------------------\r
+\r
+Option Strict On\r
+Option Explicit On\r
+\r
+\r
+Namespace My\r
+    \r
+    'NOTE: This file is auto-generated; do not modify it directly.  To make changes,\r
+    ' or if you encounter build errors in this file, go to the Project Designer\r
+    ' (go to Project Properties or double-click the My Project node in\r
+    ' Solution Explorer), and make changes on the Application tab.\r
+    '\r
+    Partial Friend Class MyApplication\r
+        \r
+        <Global.System.Diagnostics.DebuggerStepThroughAttribute()>  _\r
+        Public Sub New()\r
+            MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)\r
+            Me.IsSingleInstance = true\r
+            Me.EnableVisualStyles = false\r
+            Me.SaveMySettingsOnExit = true\r
+            Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses\r
+        End Sub\r
+        \r
+        <Global.System.Diagnostics.DebuggerStepThroughAttribute()>  _\r
+        Protected Overrides Sub OnCreateMainForm()\r
+            Me.MainForm = Global.Handbrake.frmMain\r
+        End Sub\r
+        \r
+        <Global.System.Diagnostics.DebuggerStepThroughAttribute()>  _\r
+        Protected Overrides Sub OnCreateSplashScreen()\r
+            Me.SplashScreen = Global.Handbrake.frmSplashScreen\r
+        End Sub\r
+    End Class\r
+End Namespace\r
diff --git a/win/Handbrake/My Project/Application.myapp b/win/Handbrake/My Project/Application.myapp
new file mode 100644 (file)
index 0000000..91f9730
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">\r
+  <MySubMain>true</MySubMain>\r
+  <MainForm>frmMain</MainForm>\r
+  <SingleInstance>true</SingleInstance>\r
+  <ShutdownMode>0</ShutdownMode>\r
+  <EnableVisualStyles>false</EnableVisualStyles>\r
+  <AuthenticationMode>0</AuthenticationMode>\r
+  <SplashScreen>frmSplashScreen</SplashScreen>\r
+  <SaveMySettingsOnExit>true</SaveMySettingsOnExit>\r
+</MyApplicationData>
\ No newline at end of file
diff --git a/win/Handbrake/My Project/AssemblyInfo.vb b/win/Handbrake/My Project/AssemblyInfo.vb
new file mode 100644 (file)
index 0000000..02cdf5b
--- /dev/null
@@ -0,0 +1,35 @@
+Imports System\r
+Imports System.Reflection\r
+Imports System.Runtime.InteropServices\r
+\r
+' General Information about an assembly is controlled through the following \r
+' set of attributes. Change these attribute values to modify the information\r
+' associated with an assembly.\r
+\r
+' Review the values of the assembly attributes\r
+\r
+<Assembly: AssemblyTitle("Handbrake")> \r
+<Assembly: AssemblyDescription("")> \r
+<Assembly: AssemblyCompany("")> \r
+<Assembly: AssemblyProduct("Handbrake")> \r
+<Assembly: AssemblyCopyright("Copyright ©  2007")> \r
+<Assembly: AssemblyTrademark("")> \r
+\r
+<Assembly: ComVisible(False)>\r
+\r
+'The following GUID is for the ID of the typelib if this project is exposed to COM\r
+<Assembly: Guid("2b580b2b-f3e5-48f7-9a37-82e2a7c192d9")> \r
+\r
+' Version information for an assembly consists of the following four values:\r
+'\r
+'      Major Version\r
+'      Minor Version \r
+'      Build Number\r
+'      Revision\r
+'\r
+' You can specify all the values or you can default the Build and Revision Numbers \r
+' by using the '*' as shown below:\r
+' <Assembly: AssemblyVersion("1.0.*")> \r
+\r
+<Assembly: AssemblyVersion("2.5.0.0")> \r
+<Assembly: AssemblyFileVersion("2.5.0.0")> \r
diff --git a/win/Handbrake/My Project/Resources.Designer.vb b/win/Handbrake/My Project/Resources.Designer.vb
new file mode 100644 (file)
index 0000000..5a0ece1
--- /dev/null
@@ -0,0 +1,63 @@
+'------------------------------------------------------------------------------\r
+' <auto-generated>\r
+'     This code was generated by a tool.\r
+'     Runtime Version:2.0.50727.42\r
+'\r
+'     Changes to this file may cause incorrect behavior and will be lost if\r
+'     the code is regenerated.\r
+' </auto-generated>\r
+'------------------------------------------------------------------------------\r
+\r
+Option Strict On\r
+Option Explicit On\r
+\r
+Imports System\r
+\r
+Namespace My.Resources\r
+    \r
+    'This class was auto-generated by the StronglyTypedResourceBuilder\r
+    'class via a tool like ResGen or Visual Studio.\r
+    'To add or remove a member, edit your .ResX file then rerun ResGen\r
+    'with the /str option, or rebuild your VS project.\r
+    '''<summary>\r
+    '''  A strongly-typed resource class, for looking up localized strings, etc.\r
+    '''</summary>\r
+    <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0"),  _\r
+     Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+     Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(),  _\r
+     Global.Microsoft.VisualBasic.HideModuleNameAttribute()>  _\r
+    Friend Module Resources\r
+        \r
+        Private resourceMan As Global.System.Resources.ResourceManager\r
+        \r
+        Private resourceCulture As Global.System.Globalization.CultureInfo\r
+        \r
+        '''<summary>\r
+        '''  Returns the cached ResourceManager instance used by this class.\r
+        '''</summary>\r
+        <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)>  _\r
+        Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager\r
+            Get\r
+                If Object.ReferenceEquals(resourceMan, Nothing) Then\r
+                    Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("Handbrake.Resources", GetType(Resources).Assembly)\r
+                    resourceMan = temp\r
+                End If\r
+                Return resourceMan\r
+            End Get\r
+        End Property\r
+        \r
+        '''<summary>\r
+        '''  Overrides the current thread's CurrentUICulture property for all\r
+        '''  resource lookups using this strongly typed resource class.\r
+        '''</summary>\r
+        <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)>  _\r
+        Friend Property Culture() As Global.System.Globalization.CultureInfo\r
+            Get\r
+                Return resourceCulture\r
+            End Get\r
+            Set\r
+                resourceCulture = value\r
+            End Set\r
+        End Property\r
+    End Module\r
+End Namespace\r
diff --git a/win/Handbrake/My Project/Resources.resx b/win/Handbrake/My Project/Resources.resx
new file mode 100644 (file)
index 0000000..ffecec8
--- /dev/null
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<root>\r
+  <!-- \r
+    Microsoft ResX Schema \r
+    \r
+    Version 2.0\r
+    \r
+    The primary goals of this format is to allow a simple XML format \r
+    that is mostly human readable. The generation and parsing of the \r
+    various data types are done through the TypeConverter classes \r
+    associated with the data types.\r
+    \r
+    Example:\r
+    \r
+    ... ado.net/XML headers & schema ...\r
+    <resheader name="resmimetype">text/microsoft-resx</resheader>\r
+    <resheader name="version">2.0</resheader>\r
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>\r
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>\r
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>\r
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>\r
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">\r
+        <value>[base64 mime encoded serialized .NET Framework object]</value>\r
+    </data>\r
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">\r
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>\r
+        <comment>This is a comment</comment>\r
+    </data>\r
+                \r
+    There are any number of "resheader" rows that contain simple \r
+    name/value pairs.\r
+    \r
+    Each data row contains a name, and value. The row also contains a \r
+    type or mimetype. Type corresponds to a .NET class that support \r
+    text/value conversion through the TypeConverter architecture. \r
+    Classes that don't support this are serialized and stored with the \r
+    mimetype set.\r
+    \r
+    The mimetype is used for serialized objects, and tells the \r
+    ResXResourceReader how to depersist the object. This is currently not \r
+    extensible. For a given mimetype the value must be set accordingly:\r
+    \r
+    Note - application/x-microsoft.net.object.binary.base64 is the format \r
+    that the ResXResourceWriter will generate, however the reader can \r
+    read any of the formats listed below.\r
+    \r
+    mimetype: application/x-microsoft.net.object.binary.base64\r
+    value   : The object must be serialized with \r
+            : System.Serialization.Formatters.Binary.BinaryFormatter\r
+            : and then encoded with base64 encoding.\r
+    \r
+    mimetype: application/x-microsoft.net.object.soap.base64\r
+    value   : The object must be serialized with \r
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter\r
+            : and then encoded with base64 encoding.\r
+\r
+    mimetype: application/x-microsoft.net.object.bytearray.base64\r
+    value   : The object must be serialized into a byte array \r
+            : using a System.ComponentModel.TypeConverter\r
+            : and then encoded with base64 encoding.\r
+    -->\r
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">\r
+    <xsd:element name="root" msdata:IsDataSet="true">\r
+      <xsd:complexType>\r
+        <xsd:choice maxOccurs="unbounded">\r
+          <xsd:element name="metadata">\r
+            <xsd:complexType>\r
+              <xsd:sequence>\r
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />\r
+              </xsd:sequence>\r
+              <xsd:attribute name="name" type="xsd:string" />\r
+              <xsd:attribute name="type" type="xsd:string" />\r
+              <xsd:attribute name="mimetype" type="xsd:string" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+          <xsd:element name="assembly">\r
+            <xsd:complexType>\r
+              <xsd:attribute name="alias" type="xsd:string" />\r
+              <xsd:attribute name="name" type="xsd:string" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+          <xsd:element name="data">\r
+            <xsd:complexType>\r
+              <xsd:sequence>\r
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />\r
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />\r
+              </xsd:sequence>\r
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />\r
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />\r
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+          <xsd:element name="resheader">\r
+            <xsd:complexType>\r
+              <xsd:sequence>\r
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />\r
+              </xsd:sequence>\r
+              <xsd:attribute name="name" type="xsd:string" use="required" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+        </xsd:choice>\r
+      </xsd:complexType>\r
+    </xsd:element>\r
+  </xsd:schema>\r
+  <resheader name="resmimetype">\r
+    <value>text/microsoft-resx</value>\r
+  </resheader>\r
+  <resheader name="version">\r
+    <value>2.0</value>\r
+  </resheader>\r
+  <resheader name="reader">\r
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>\r
+  </resheader>\r
+  <resheader name="writer">\r
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>\r
+  </resheader>\r
+</root>
\ No newline at end of file
diff --git a/win/Handbrake/My Project/Settings.Designer.vb b/win/Handbrake/My Project/Settings.Designer.vb
new file mode 100644 (file)
index 0000000..f9fea98
--- /dev/null
@@ -0,0 +1,481 @@
+'------------------------------------------------------------------------------\r
+' <auto-generated>\r
+'     This code was generated by a tool.\r
+'     Runtime Version:2.0.50727.42\r
+'\r
+'     Changes to this file may cause incorrect behavior and will be lost if\r
+'     the code is regenerated.\r
+' </auto-generated>\r
+'------------------------------------------------------------------------------\r
+\r
+Option Strict On\r
+Option Explicit On\r
+\r
+\r
+Namespace My\r
+    \r
+    <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(),  _\r
+     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0"),  _\r
+     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)>  _\r
+    Partial Friend NotInheritable Class MySettings\r
+        Inherits Global.System.Configuration.ApplicationSettingsBase\r
+        \r
+        Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings),MySettings)\r
+        \r
+#Region "My.Settings Auto-Save Functionality"\r
+#If _MyType = "WindowsForms" Then\r
+    Private Shared addedHandler As Boolean\r
+\r
+    Private Shared addedHandlerLockObject As New Object\r
+\r
+    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _\r
+    Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)\r
+        If My.Application.SaveMySettingsOnExit Then\r
+            My.Settings.Save()\r
+        End If\r
+    End Sub\r
+#End If\r
+#End Region\r
+        \r
+        Public Shared ReadOnly Property [Default]() As MySettings\r
+            Get\r
+                \r
+#If _MyType = "WindowsForms" Then\r
+               If Not addedHandler Then\r
+                    SyncLock addedHandlerLockObject\r
+                        If Not addedHandler Then\r
+                            AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings\r
+                            addedHandler = True\r
+                        End If\r
+                    End SyncLock\r
+                End If\r
+#End If\r
+                Return defaultInstance\r
+            End Get\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("1")>  _\r
+        Public Property StartupUpdate() As Integer\r
+            Get\r
+                Return CType(Me("StartupUpdate"),Integer)\r
+            End Get\r
+            Set\r
+                Me("StartupUpdate") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("2.25")>  _\r
+        Public Property HandbrakeGUIVersion() As String\r
+            Get\r
+                Return CType(Me("HandbrakeGUIVersion"),String)\r
+            End Get\r
+            Set\r
+                Me("HandbrakeGUIVersion") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("0.8.5b1")>  _\r
+        Public Property HandbrakeCLIVersion() As String\r
+            Get\r
+                Return CType(Me("HandbrakeCLIVersion"),String)\r
+            End Get\r
+            Set\r
+                Me("HandbrakeCLIVersion") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property VideoEncoder() As String\r
+            Get\r
+                Return CType(Me("VideoEncoder"),String)\r
+            End Get\r
+            Set\r
+                Me("VideoEncoder") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property AudioEncoder() As String\r
+            Get\r
+                Return CType(Me("AudioEncoder"),String)\r
+            End Get\r
+            Set\r
+                Me("AudioEncoder") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property Width() As String\r
+            Get\r
+                Return CType(Me("Width"),String)\r
+            End Get\r
+            Set\r
+                Me("Width") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property Height() As String\r
+            Get\r
+                Return CType(Me("Height"),String)\r
+            End Get\r
+            Set\r
+                Me("Height") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property CroppingOption() As String\r
+            Get\r
+                Return CType(Me("CroppingOption"),String)\r
+            End Get\r
+            Set\r
+                Me("CroppingOption") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property VideoBitrate() As String\r
+            Get\r
+                Return CType(Me("VideoBitrate"),String)\r
+            End Get\r
+            Set\r
+                Me("VideoBitrate") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property VideoFilesize() As String\r
+            Get\r
+                Return CType(Me("VideoFilesize"),String)\r
+            End Get\r
+            Set\r
+                Me("VideoFilesize") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property VideoQuality() As String\r
+            Get\r
+                Return CType(Me("VideoQuality"),String)\r
+            End Get\r
+            Set\r
+                Me("VideoQuality") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property Framerate() As String\r
+            Get\r
+                Return CType(Me("Framerate"),String)\r
+            End Get\r
+            Set\r
+                Me("Framerate") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property TwoPass() As String\r
+            Get\r
+                Return CType(Me("TwoPass"),String)\r
+            End Get\r
+            Set\r
+                Me("TwoPass") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property DeInterlace() As String\r
+            Get\r
+                Return CType(Me("DeInterlace"),String)\r
+            End Get\r
+            Set\r
+                Me("DeInterlace") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property Grayscale() As String\r
+            Get\r
+                Return CType(Me("Grayscale"),String)\r
+            End Get\r
+            Set\r
+                Me("Grayscale") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property PixelRatio() As String\r
+            Get\r
+                Return CType(Me("PixelRatio"),String)\r
+            End Get\r
+            Set\r
+                Me("PixelRatio") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property AudioBitrate() As String\r
+            Get\r
+                Return CType(Me("AudioBitrate"),String)\r
+            End Get\r
+            Set\r
+                Me("AudioBitrate") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property AudioSampleRate() As String\r
+            Get\r
+                Return CType(Me("AudioSampleRate"),String)\r
+            End Get\r
+            Set\r
+                Me("AudioSampleRate") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property AudioChannels() As String\r
+            Get\r
+                Return CType(Me("AudioChannels"),String)\r
+            End Get\r
+            Set\r
+                Me("AudioChannels") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property FiveChanAudio() As String\r
+            Get\r
+                Return CType(Me("FiveChanAudio"),String)\r
+            End Get\r
+            Set\r
+                Me("FiveChanAudio") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property CRF() As String\r
+            Get\r
+                Return CType(Me("CRF"),String)\r
+            End Get\r
+            Set\r
+                Me("CRF") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property H264() As String\r
+            Get\r
+                Return CType(Me("H264"),String)\r
+            End Get\r
+            Set\r
+                Me("H264") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property DVDSource() As String\r
+            Get\r
+                Return CType(Me("DVDSource"),String)\r
+            End Get\r
+            Set\r
+                Me("DVDSource") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property DVDChapter() As String\r
+            Get\r
+                Return CType(Me("DVDChapter"),String)\r
+            End Get\r
+            Set\r
+                Me("DVDChapter") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property DVDTitle() As String\r
+            Get\r
+                Return CType(Me("DVDTitle"),String)\r
+            End Get\r
+            Set\r
+                Me("DVDTitle") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property VideoDest() As String\r
+            Get\r
+                Return CType(Me("VideoDest"),String)\r
+            End Get\r
+            Set\r
+                Me("VideoDest") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property Processors() As String\r
+            Get\r
+                Return CType(Me("Processors"),String)\r
+            End Get\r
+            Set\r
+                Me("Processors") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property Subtitles() As String\r
+            Get\r
+                Return CType(Me("Subtitles"),String)\r
+            End Get\r
+            Set\r
+                Me("Subtitles") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("0")>  _\r
+        Public Property UseUsersDefaultSettings() As Integer\r
+            Get\r
+                Return CType(Me("UseUsersDefaultSettings"),Integer)\r
+            End Get\r
+            Set\r
+                Me("UseUsersDefaultSettings") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property CropTop() As String\r
+            Get\r
+                Return CType(Me("CropTop"),String)\r
+            End Get\r
+            Set\r
+                Me("CropTop") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property CropBottom() As String\r
+            Get\r
+                Return CType(Me("CropBottom"),String)\r
+            End Get\r
+            Set\r
+                Me("CropBottom") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property CropLeft() As String\r
+            Get\r
+                Return CType(Me("CropLeft"),String)\r
+            End Get\r
+            Set\r
+                Me("CropLeft") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("")>  _\r
+        Public Property CropRight() As String\r
+            Get\r
+                Return CType(Me("CropRight"),String)\r
+            End Get\r
+            Set\r
+                Me("CropRight") = value\r
+            End Set\r
+        End Property\r
+        \r
+        <Global.System.Configuration.UserScopedSettingAttribute(),  _\r
+         Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+         Global.System.Configuration.DefaultSettingValueAttribute("1")>  _\r
+        Public Property ReadDVDatStartup() As Integer\r
+            Get\r
+                Return CType(Me("ReadDVDatStartup"),Integer)\r
+            End Get\r
+            Set\r
+                Me("ReadDVDatStartup") = value\r
+            End Set\r
+        End Property\r
+    End Class\r
+End Namespace\r
+\r
+Namespace My\r
+    \r
+    <Global.Microsoft.VisualBasic.HideModuleNameAttribute(),  _\r
+     Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _\r
+     Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()>  _\r
+    Friend Module MySettingsProperty\r
+        \r
+        <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")>  _\r
+        Friend ReadOnly Property Settings() As Global.Handbrake.My.MySettings\r
+            Get\r
+                Return Global.Handbrake.My.MySettings.Default\r
+            End Get\r
+        End Property\r
+    End Module\r
+End Namespace\r
diff --git a/win/Handbrake/My Project/Settings.settings b/win/Handbrake/My Project/Settings.settings
new file mode 100644 (file)
index 0000000..cc8146b
--- /dev/null
@@ -0,0 +1,108 @@
+<?xml version='1.0' encoding='utf-8'?>\r
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="My" GeneratedClassName="MySettings" UseMySettingsClassName="true">\r
+  <Profiles />\r
+  <Settings>\r
+    <Setting Name="StartupUpdate" Type="System.Int32" Scope="User">\r
+      <Value Profile="(Default)">1</Value>\r
+    </Setting>\r
+    <Setting Name="HandbrakeGUIVersion" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)">2.25</Value>\r
+    </Setting>\r
+    <Setting Name="HandbrakeCLIVersion" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)">0.8.5b1</Value>\r
+    </Setting>\r
+    <Setting Name="VideoEncoder" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="AudioEncoder" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="Width" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="Height" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="CroppingOption" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="VideoBitrate" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="VideoFilesize" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="VideoQuality" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="Framerate" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="TwoPass" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="DeInterlace" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="Grayscale" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="PixelRatio" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="AudioBitrate" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="AudioSampleRate" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="AudioChannels" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="FiveChanAudio" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="CRF" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="H264" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="DVDSource" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="DVDChapter" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="DVDTitle" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="VideoDest" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="Processors" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="Subtitles" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="UseUsersDefaultSettings" Type="System.Int32" Scope="User">\r
+      <Value Profile="(Default)">0</Value>\r
+    </Setting>\r
+    <Setting Name="CropTop" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="CropBottom" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="CropLeft" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="CropRight" Type="System.String" Scope="User">\r
+      <Value Profile="(Default)" />\r
+    </Setting>\r
+    <Setting Name="ReadDVDatStartup" Type="System.Int32" Scope="User">\r
+      <Value Profile="(Default)">1</Value>\r
+    </Setting>\r
+  </Settings>\r
+</SettingsFile>
\ No newline at end of file
diff --git a/win/Handbrake/Settings.vb b/win/Handbrake/Settings.vb
new file mode 100644 (file)
index 0000000..ce7f317
--- /dev/null
@@ -0,0 +1,11 @@
+\r
+Namespace My\r
+    \r
+    'This class allows you to handle specific events on the settings class:\r
+    ' The SettingChanging event is raised before a setting's value is changed.\r
+    ' The PropertyChanged event is raised after a setting's value is changed.\r
+    ' The SettingsLoaded event is raised after the setting values are loaded.\r
+    ' The SettingsSaving event is raised before the setting values are saved.\r
+    Partial Friend NotInheritable Class MySettings\r
+    End Class\r
+End Namespace\r