From: Fnee F. <fn...@fr...> - 2007-02-01 07:20:22
|
Hi dukus, I see your plugin on the SVN MP plugins site. What is it purpose ? Is it = to install plugin or something like this ? I download the sources and try to compile it but a reference is missing : ICSharpCode.SharpZipLib Where can I find it ? Can you put it with sources ? Thanks zebons ----- Original Message -----=20 From: <du...@us...> To: <mp-...@li...> Sent: Wednesday, January 31, 2007 11:14 PM Subject: [Mp-plugins-svn] SF.net SVN: mp-plugins: [68] trunk/plugins > Revision: 68 > http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=3D68&vie= w=3Drev > Author: dukus > Date: 2007-01-31 14:14:04 -0800 (Wed, 31 Jan 2007) > > Log Message: > ----------- > > > Added Paths: > ----------- > trunk/plugins/mpinstaler/ > trunk/plugins/mpinstaler/MPInstaler/ > trunk/plugins/mpinstaler/MPInstaler/Build dialog.Designer.cs > trunk/plugins/mpinstaler/MPInstaler/Build dialog.cs > trunk/plugins/mpinstaler/MPInstaler/Build dialog.resx > trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs > trunk/plugins/mpinstaler/MPInstaler/Form1.cs > trunk/plugins/mpinstaler/MPInstaler/Form1.resx > trunk/plugins/mpinstaler/MPInstaler/Form2.Designer.cs > trunk/plugins/mpinstaler/MPInstaler/Form2.cs > trunk/plugins/mpinstaler/MPInstaler/Form2.resx > trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj > trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj.user > trunk/plugins/mpinstaler/MPInstaler/MPInstaler_TemporaryKey.pfx > trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs > trunk/plugins/mpinstaler/MPInstaler/OptionForm.Designer.cs > trunk/plugins/mpinstaler/MPInstaler/OptionForm.cs > trunk/plugins/mpinstaler/MPInstaler/OptionForm.resx > trunk/plugins/mpinstaler/MPInstaler/Program.cs > trunk/plugins/mpinstaler/MPInstaler/Properties/ > trunk/plugins/mpinstaler/MPInstaler/Properties/AssemblyInfo.cs > trunk/plugins/mpinstaler/MPInstaler/Properties/Resources.Designer.cs > trunk/plugins/mpinstaler/MPInstaler/Properties/Resources.resx > trunk/plugins/mpinstaler/MPInstaler/Properties/Settings.Designer.cs > trunk/plugins/mpinstaler/MPInstaler/Properties/Settings.settings > trunk/plugins/mpinstaler/MPInstaler/Properties/app.manifest > trunk/plugins/mpinstaler/MPInstaler/SkinSelect.Designer.cs > trunk/plugins/mpinstaler/MPInstaler/SkinSelect.cs > trunk/plugins/mpinstaler/MPInstaler/SkinSelect.resx > trunk/plugins/mpinstaler/MPInstaler/bin/ > trunk/plugins/mpinstaler/MPInstaler/bin/Debug/ > > trunk/plugins/mpinstaler/MPInstaler/bin/Debug/ICSharpCode.SharpZipLib.d= ll > trunk/plugins/mpinstaler/MPInstaler/bin/Debug/MPInstaler.application > trunk/plugins/mpinstaler/MPInstaler/bin/Debug/MPInstaler.exe > trunk/plugins/mpinstaler/MPInstaler/bin/Debug/MPInstaler.exe.manifes= t > trunk/plugins/mpinstaler/MPInstaler/bin/Debug/MPInstaler.pdb > > trunk/plugins/mpinstaler/MPInstaler/bin/Debug/MPInstaler.vshost.applica= tion > trunk/plugins/mpinstaler/MPInstaler/bin/Debug/MPInstaler.vshost.exe > > trunk/plugins/mpinstaler/MPInstaler/bin/Debug/MPInstaler.vshost.exe.man= ifest > trunk/plugins/mpinstaler/MPInstaler/bin/Release/ > > trunk/plugins/mpinstaler/MPInstaler/bin/Release/ICSharpCode.SharpZipLib= .dll > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.applicati= on > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.exe > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.exe.manif= est > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.pdb > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.publish/ > > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.publish/MPIn= staler.application > > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.publish/MPIn= staler_1_0_0_0/ > > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.publish/MPIn= staler_1_0_0_0/AxInterop.WMPLib.dll.deploy > > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.publish/MPIn= staler_1_0_0_0/Core.dll.deploy > > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.publish/MPIn= staler_1_0_0_0/Databases.dll.deploy > > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.publish/MPIn= staler_1_0_0_0/Dialogs.dll.deploy > > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.publish/MPIn= staler_1_0_0_0/DirectShowLib.dll.deploy > > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.publish/MPIn= staler_1_0_0_0/ICSharpCode.SharpZipLib.DLL.deploy > > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.publish/MPIn= staler_1_0_0_0/Interop.WMPLib.dll.deploy > > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.publish/MPIn= staler_1_0_0_0/MPInstaler.exe.deploy > > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.publish/MPIn= staler_1_0_0_0/MPInstaler.exe.manifest > > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.publish/MPIn= staler_1_0_0_0/MediaPortal.Support.dll.deploy > > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.publish/MPIn= staler_1_0_0_0/Utils.dll.deploy > > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.publish/MPIn= staler_1_0_0_0/edtftpnet-1.2.2.dll.deploy > > trunk/plugins/mpinstaler/MPInstaler/bin/Release/MPInstaler.publish/setu= p.exe > trunk/plugins/mpinstaler/MPInstaler/bin/Release/q > trunk/plugins/mpinstaler/MPInstaler/obj/ > trunk/plugins/mpinstaler/MPInstaler/obj/Debug/ > > trunk/plugins/mpinstaler/MPInstaler/obj/Debug/MPInstaler.Build_dialog.r= esources > > trunk/plugins/mpinstaler/MPInstaler/obj/Debug/MPInstaler.Form1.resource= s > > trunk/plugins/mpinstaler/MPInstaler/obj/Debug/MPInstaler.Form2.resource= s > > trunk/plugins/mpinstaler/MPInstaler/obj/Debug/MPInstaler.OptionForm.res= ources > > trunk/plugins/mpinstaler/MPInstaler/obj/Debug/MPInstaler.Properties.Res= ources.resources > > trunk/plugins/mpinstaler/MPInstaler/obj/Debug/MPInstaler.SkinSelect.res= ources > trunk/plugins/mpinstaler/MPInstaler/obj/Debug/MPInstaler.TrustInfo.x= ml > trunk/plugins/mpinstaler/MPInstaler/obj/Debug/MPInstaler.application > > trunk/plugins/mpinstaler/MPInstaler/obj/Debug/MPInstaler.csproj.Generat= eResource.Cache > trunk/plugins/mpinstaler/MPInstaler/obj/Debug/MPInstaler.exe > trunk/plugins/mpinstaler/MPInstaler/obj/Debug/MPInstaler.exe.manifes= t > trunk/plugins/mpinstaler/MPInstaler/obj/Debug/MPInstaler.pdb > > trunk/plugins/mpinstaler/MPInstaler/obj/Debug/ResolveAssemblyReference.= cache > trunk/plugins/mpinstaler/MPInstaler/obj/Debug/TempPE/ > trunk/plugins/mpinstaler/MPInstaler/obj/MPInstaler.csproj.FileList.t= xt > trunk/plugins/mpinstaler/MPInstaler/obj/Release/ > > trunk/plugins/mpinstaler/MPInstaler/obj/Release/MPInstaler.Build_dialog= .resources > > trunk/plugins/mpinstaler/MPInstaler/obj/Release/MPInstaler.Form1.resour= ces > > trunk/plugins/mpinstaler/MPInstaler/obj/Release/MPInstaler.Form2.resour= ces > > trunk/plugins/mpinstaler/MPInstaler/obj/Release/MPInstaler.OptionForm.r= esources > > trunk/plugins/mpinstaler/MPInstaler/obj/Release/MPInstaler.Properties.R= esources.resources > > trunk/plugins/mpinstaler/MPInstaler/obj/Release/MPInstaler.SkinSelect.r= esources > > trunk/plugins/mpinstaler/MPInstaler/obj/Release/MPInstaler.TrustInfo.xm= l > trunk/plugins/mpinstaler/MPInstaler/obj/Release/MPInstaler.applicati= on > > trunk/plugins/mpinstaler/MPInstaler/obj/Release/MPInstaler.csproj.Gener= ateResource.Cache > trunk/plugins/mpinstaler/MPInstaler/obj/Release/MPInstaler.exe > trunk/plugins/mpinstaler/MPInstaler/obj/Release/MPInstaler.exe.manif= est > trunk/plugins/mpinstaler/MPInstaler/obj/Release/MPInstaler.pdb > trunk/plugins/mpinstaler/MPInstaler/obj/Release/Refactor/ > > trunk/plugins/mpinstaler/MPInstaler/obj/Release/ResolveAssemblyReferenc= e.cache > trunk/plugins/mpinstaler/MPInstaler/obj/Release/TempPE/ > trunk/plugins/mpinstaler/MPInstaler/publish/ > trunk/plugins/mpinstaler/MPInstaler/publish/MPInstaler.application > trunk/plugins/mpinstaler/MPInstaler/publish/MPInstaler_1_0_0_0/ > > trunk/plugins/mpinstaler/MPInstaler/publish/MPInstaler_1_0_0_0/AxIntero= p.WMPLib.dll.deploy > > trunk/plugins/mpinstaler/MPInstaler/publish/MPInstaler_1_0_0_0/Core.dll= .deploy > > trunk/plugins/mpinstaler/MPInstaler/publish/MPInstaler_1_0_0_0/Database= s.dll.deploy > > trunk/plugins/mpinstaler/MPInstaler/publish/MPInstaler_1_0_0_0/Dialogs.= dll.deploy > > trunk/plugins/mpinstaler/MPInstaler/publish/MPInstaler_1_0_0_0/DirectSh= owLib.dll.deploy > > trunk/plugins/mpinstaler/MPInstaler/publish/MPInstaler_1_0_0_0/ICSharpC= ode.SharpZipLib.DLL.deploy > > trunk/plugins/mpinstaler/MPInstaler/publish/MPInstaler_1_0_0_0/Interop.= WMPLib.dll.deploy > > trunk/plugins/mpinstaler/MPInstaler/publish/MPInstaler_1_0_0_0/MPInstal= er.exe.deploy > > trunk/plugins/mpinstaler/MPInstaler/publish/MPInstaler_1_0_0_0/MPInstal= er.exe.manifest > > trunk/plugins/mpinstaler/MPInstaler/publish/MPInstaler_1_0_0_0/MediaPor= tal.Support.dll.deploy > > trunk/plugins/mpinstaler/MPInstaler/publish/MPInstaler_1_0_0_0/Utils.dl= l.deploy > > trunk/plugins/mpinstaler/MPInstaler/publish/MPInstaler_1_0_0_0/edtftpne= t-1.2.2.dll.deploy > > trunk/plugins/mpinstaler/MPInstaler/publish/MPInstaler_1_0_0_0.applicat= ion > trunk/plugins/mpinstaler/MPInstaler/publish/setup.exe > trunk/plugins/mpinstaler/MPInstaler.sln > trunk/plugins/mpinstaler/MPInstaler.suo > > Added: trunk/plugins/mpinstaler/MPInstaler/Build dialog.Designer.cs > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- trunk/plugins/mpinstaler/MPInstaler/Build dialog.Designer.cs > (rev 0) > +++ trunk/plugins/mpinstaler/MPInstaler/Build dialog.Designer.cs > 2007-01-31 22:14:04 UTC (rev 68) > @@ -0,0 +1,118 @@ > +namespace MPInstaler > +{ > + partial class Build_dialog > + { > + /// <summary> > + /// Required designer variable. > + /// </summary> > + private System.ComponentModel.IContainer components =3D null; > + > + /// <summary> > + /// Clean up any resources being used. > + /// </summary> > + /// <param name=3D"disposing">true if managed resources should be > disposed; otherwise, false.</param> > + protected override void Dispose(bool disposing) > + { > + if (disposing && (components !=3D null)) > + { > + components.Dispose(); > + } > + base.Dispose(disposing); > + } > + > + #region Windows Form Designer generated code > + > + /// <summary> > + /// Required method for Designer support - do not modify > + /// the contents of this method with the code editor. > + /// </summary> > + private void InitializeComponent() > + { > + this.saveFileDialog1 =3D new System.Windows.Forms.SaveFileDialog= (); > + this.textBox1 =3D new System.Windows.Forms.TextBox(); > + this.label1 =3D new System.Windows.Forms.Label(); > + this.button1 =3D new System.Windows.Forms.Button(); > + this.button2 =3D new System.Windows.Forms.Button(); > + this.button3 =3D new System.Windows.Forms.Button(); > + this.SuspendLayout(); > + // > + // saveFileDialog1 > + // > + this.saveFileDialog1.DefaultExt =3D "mpi"; > + this.saveFileDialog1.Filter =3D "MPI files|*.mpi|ZIP files|*.zip= |All > files|*.*"; > + // > + // textBox1 > + // > + this.textBox1.Location =3D new System.Drawing.Point(12, 23); > + this.textBox1.Name =3D "textBox1"; > + this.textBox1.Size =3D new System.Drawing.Size(484, 20); > + this.textBox1.TabIndex =3D 0; > + // > + // label1 > + // > + this.label1.AutoSize =3D true; > + this.label1.Location =3D new System.Drawing.Point(9, 7); > + this.label1.Name =3D "label1"; > + this.label1.Size =3D new System.Drawing.Size(58, 13); > + this.label1.TabIndex =3D 1; > + this.label1.Text =3D "File name :"; > + // > + // button1 > + // > + this.button1.Location =3D new System.Drawing.Point(502, 23); > + this.button1.Name =3D "button1"; > + this.button1.Size =3D new System.Drawing.Size(27, 23); > + this.button1.TabIndex =3D 2; > + this.button1.Text =3D "..."; > + this.button1.UseVisualStyleBackColor =3D true; > + this.button1.Click +=3D new System.EventHandler(this.button1_Cli= ck); > + // > + // button2 > + // > + this.button2.Location =3D new System.Drawing.Point(12, 136); > + this.button2.Name =3D "button2"; > + this.button2.Size =3D new System.Drawing.Size(75, 23); > + this.button2.TabIndex =3D 3; > + this.button2.Text =3D "Build"; > + this.button2.UseVisualStyleBackColor =3D true; > + this.button2.Click +=3D new System.EventHandler(this.button2_Cli= ck); > + // > + // button3 > + // > + this.button3.Location =3D new System.Drawing.Point(421, 136); > + this.button3.Name =3D "button3"; > + this.button3.Size =3D new System.Drawing.Size(75, 23); > + this.button3.TabIndex =3D 4; > + this.button3.Text =3D "OK"; > + this.button3.UseVisualStyleBackColor =3D true; > + this.button3.Click +=3D new System.EventHandler(this.button3_Cli= ck); > + // > + // Build_dialog > + // > + this.AutoScaleDimensions =3D new System.Drawing.SizeF(6F, 13F); > + this.AutoScaleMode =3D System.Windows.Forms.AutoScaleMode.Font; > + this.ClientSize =3D new System.Drawing.Size(537, 171); > + this.Controls.Add(this.button3); > + this.Controls.Add(this.button2); > + this.Controls.Add(this.button1); > + this.Controls.Add(this.label1); > + this.Controls.Add(this.textBox1); > + this.MaximizeBox =3D false; > + this.MinimizeBox =3D false; > + this.Name =3D "Build_dialog"; > + this.Text =3D "Build"; > + this.ResumeLayout(false); > + this.PerformLayout(); > + > + } > + > + #endregion > + > + private System.Windows.Forms.SaveFileDialog saveFileDialog1; > + private System.Windows.Forms.TextBox textBox1; > + private System.Windows.Forms.Label label1; > + private System.Windows.Forms.Button button1; > + private System.Windows.Forms.Button button2; > + private System.Windows.Forms.Button button3; > + } > +} > \ No newline at end of file > > Added: trunk/plugins/mpinstaler/MPInstaler/Build dialog.cs > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- trunk/plugins/mpinstaler/MPInstaler/Build dialog.cs > (rev 0) > +++ trunk/plugins/mpinstaler/MPInstaler/Build dialog.cs 2007-01-31 > 22:14:04 UTC (rev 68) > @@ -0,0 +1,50 @@ > +using System; > +using System.Collections.Generic; > +using System.ComponentModel; > +using System.Data; > +using System.Drawing; > +using System.Text; > +using System.Windows.Forms; > + > +namespace MPInstaler > +{ > + public partial class Build_dialog : Form > + { > + public MPinstalerStruct _struct =3D new MPinstalerStruct(); > + public Build_dialog() > + { > + InitializeComponent(); > + } > + public Build_dialog(MPinstalerStruct st) > + { > + _struct =3D st; > + InitializeComponent(); > + textBox1.Text =3D _struct.BuildFileName; > + } > + > + private void button1_Click(object sender, EventArgs e) > + { > + if (saveFileDialog1.ShowDialog(this) =3D=3D DialogResult.OK) > + { > + textBox1.Text =3D saveFileDialog1.FileName; > + } > + > + } > + > + private void button3_Click(object sender, EventArgs e) > + { > + _struct.BuildFileName =3D textBox1.Text; > + this.Hide(); > + } > + > + private void button2_Click(object sender, EventArgs e) > + { > + _struct.BuildFileName =3D textBox1.Text; > + _struct.BuilFile(); > + } > + public void onbuild() > + { > + > + } > + } > +} > \ No newline at end of file > > Added: trunk/plugins/mpinstaler/MPInstaler/Build dialog.resx > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- trunk/plugins/mpinstaler/MPInstaler/Build dialog.resx > (rev 0) > +++ trunk/plugins/mpinstaler/MPInstaler/Build dialog.resx 2007-01-31 > 22:14:04 UTC (rev 68) > @@ -0,0 +1,123 @@ > +<?xml version=3D"1.0" encoding=3D"utf-8"?> > +<root> > + <!--=20 > + Microsoft ResX Schema > + > + Version 2.0 > + > + The primary goals of this format is to allow a simple XML format > + that is mostly human readable. The generation and parsing of the > + various data types are done through the TypeConverter classes > + associated with the data types. > + > + Example: > + > + ... ado.net/XML headers & schema ... > + <resheader name=3D"resmimetype">text/microsoft-resx</resheader> > + <resheader name=3D"version">2.0</resheader> > + <resheader name=3D"reader">System.Resources.ResXResourceReader, > System.Windows.Forms, ...</resheader> > + <resheader name=3D"writer">System.Resources.ResXResourceWriter, > System.Windows.Forms, ...</resheader> > + <data name=3D"Name1"><value>this is my long string</value><comment= >this > is a comment</comment></data> > + <data name=3D"Color1" type=3D"System.Drawing.Color, > System.Drawing">Blue</data> > + <data name=3D"Bitmap1" > mimetype=3D"application/x-microsoft.net.object.binary.base64"> > + <value>[base64 mime encoded serialized .NET Framework > object]</value> > + </data> > + <data name=3D"Icon1" type=3D"System.Drawing.Icon, System.Drawing" > mimetype=3D"application/x-microsoft.net.object.bytearray.base64"> > + <value>[base64 mime encoded string representing a byte array f= orm > of the .NET Framework object]</value> > + <comment>This is a comment</comment> > + </data> > + > + There are any number of "resheader" rows that contain simple > + name/value pairs. > + > + Each data row contains a name, and value. The row also contains a > + type or mimetype. Type corresponds to a .NET class that support > + text/value conversion through the TypeConverter architecture. > + Classes that don't support this are serialized and stored with the > + mimetype set. > + > + The mimetype is used for serialized objects, and tells the > + ResXResourceReader how to depersist the object. This is currently = not > + extensible. For a given mimetype the value must be set accordingly= : > + > + Note - application/x-microsoft.net.object.binary.base64 is the for= mat > + that the ResXResourceWriter will generate, however the reader can > + read any of the formats listed below. > + > + mimetype: application/x-microsoft.net.object.binary.base64 > + value : The object must be serialized with > + : > System.Runtime.Serialization.Formatters.Binary.BinaryFormatter > + : and then encoded with base64 encoding. > + > + mimetype: application/x-microsoft.net.object.soap.base64 > + value : The object must be serialized with > + : System.Runtime.Serialization.Formatters.Soap.SoapFormatt= er > + : and then encoded with base64 encoding. > + > + mimetype: application/x-microsoft.net.object.bytearray.base64 > + value : The object must be serialized into a byte array > + : using a System.ComponentModel.TypeConverter > + : and then encoded with base64 encoding. > + --> > + <xsd:schema id=3D"root" xmlns=3D"" > xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" > xmlns:msdata=3D"urn:schemas-microsoft-com:xml-msdata"> > + <xsd:import namespace=3D"http://www.w3.org/XML/1998/namespace" /> > + <xsd:element name=3D"root" msdata:IsDataSet=3D"true"> > + <xsd:complexType> > + <xsd:choice maxOccurs=3D"unbounded"> > + <xsd:element name=3D"metadata"> > + <xsd:complexType> > + <xsd:sequence> > + <xsd:element name=3D"value" type=3D"xsd:string" minOcc= urs=3D"0" > /> > + </xsd:sequence> > + <xsd:attribute name=3D"name" use=3D"required" type=3D"xs= d:string" > /> > + <xsd:attribute name=3D"type" type=3D"xsd:string" /> > + <xsd:attribute name=3D"mimetype" type=3D"xsd:string" /> > + <xsd:attribute ref=3D"xml:space" /> > + </xsd:complexType> > + </xsd:element> > + <xsd:element name=3D"assembly"> > + <xsd:complexType> > + <xsd:attribute name=3D"alias" type=3D"xsd:string" /> > + <xsd:attribute name=3D"name" type=3D"xsd:string" /> > + </xsd:complexType> > + </xsd:element> > + <xsd:element name=3D"data"> > + <xsd:complexType> > + <xsd:sequence> > + <xsd:element name=3D"value" type=3D"xsd:string" minOcc= urs=3D"0" > msdata:Ordinal=3D"1" /> > + <xsd:element name=3D"comment" type=3D"xsd:string" > minOccurs=3D"0" msdata:Ordinal=3D"2" /> > + </xsd:sequence> > + <xsd:attribute name=3D"name" type=3D"xsd:string" use=3D"= required" > msdata:Ordinal=3D"1" /> > + <xsd:attribute name=3D"type" type=3D"xsd:string" > msdata:Ordinal=3D"3" /> > + <xsd:attribute name=3D"mimetype" type=3D"xsd:string" > msdata:Ordinal=3D"4" /> > + <xsd:attribute ref=3D"xml:space" /> > + </xsd:complexType> > + </xsd:element> > + <xsd:element name=3D"resheader"> > + <xsd:complexType> > + <xsd:sequence> > + <xsd:element name=3D"value" type=3D"xsd:string" minOcc= urs=3D"0" > msdata:Ordinal=3D"1" /> > + </xsd:sequence> > + <xsd:attribute name=3D"name" type=3D"xsd:string" use=3D"= required" > /> > + </xsd:complexType> > + </xsd:element> > + </xsd:choice> > + </xsd:complexType> > + </xsd:element> > + </xsd:schema> > + <resheader name=3D"resmimetype"> > + <value>text/microsoft-resx</value> > + </resheader> > + <resheader name=3D"version"> > + <value>2.0</value> > + </resheader> > + <resheader name=3D"reader"> > + <value>System.Resources.ResXResourceReader, System.Windows.Forms, > Version=3D2.0.0.0, Culture=3Dneutral, PublicKeyToken=3Db77a5c561934e089= </value> > + </resheader> > + <resheader name=3D"writer"> > + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, > Version=3D2.0.0.0, Culture=3Dneutral, PublicKeyToken=3Db77a5c561934e089= </value> > + </resheader> > + <metadata name=3D"saveFileDialog1.TrayLocation" > type=3D"System.Drawing.Point, System.Drawing, Version=3D2.0.0.0, > Culture=3Dneutral, PublicKeyToken=3Db03f5f7f11d50a3a"> > + <value>17, 17</value> > + </metadata> > +</root> > \ No newline at end of file > > Added: trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs > (rev 0) > +++ trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs 2007-01-31 > 22:14:04 UTC (rev 68) > @@ -0,0 +1,380 @@ > +namespace MPInstaler > +{ > + partial class Form1 > + { > + /// <summary> > + /// Required designer variable. > + /// </summary> > + private System.ComponentModel.IContainer components =3D null; > + > + /// <summary> > + /// Clean up any resources being used. > + /// </summary> > + /// <param name=3D"disposing">true if managed resources should= be > disposed; otherwise, false.</param> > + protected override void Dispose(bool disposing) > + { > + if (disposing && (components !=3D null)) > + { > + components.Dispose(); > + } > + base.Dispose(disposing); > + } > + > + #region Windows Form Designer generated code > + > + /// <summary> > + /// Required method for Designer support - do not modify > + /// the contents of this method with the code editor. > + /// </summary> > + private void InitializeComponent() > + { > + this.components =3D new System.ComponentModel.Container(); > + this.menuStrip1 =3D new System.Windows.Forms.MenuStrip(); > + this.fileToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.newToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.openProiectToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.sToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.saveProiectAsToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.buildToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.toolStripSeparator1 =3D new > System.Windows.Forms.ToolStripSeparator(); > + this.optionsToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.toolStripSeparator2 =3D new > System.Windows.Forms.ToolStripSeparator(); > + this.exitToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.addToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.windowPluginToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.windowToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.procesToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.subtitleToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.tagReadersToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.externalPlayersToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.skinToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.componentToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.mediaToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.fullToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.languageToolStripMenuItem =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.bossview =3D new System.Windows.Forms.ListView(); > + this.columnHeader1 =3D new System.Windows.Forms.ColumnHeader= (); > + this.columnHeader2 =3D new System.Windows.Forms.ColumnHeader= (); > + this.columnHeader3 =3D new System.Windows.Forms.ColumnHeader= (); > + this.columnHeader4 =3D new System.Windows.Forms.ColumnHeader= (); > + this.columnHeader5 =3D new System.Windows.Forms.ColumnHeader= (); > + this.contextMenuStrip1 =3D new > System.Windows.Forms.ContextMenuStrip(this.components); > + this.toolStripComboBox1 =3D new > System.Windows.Forms.ToolStripMenuItem(); > + this.openFileDialog1 =3D new > System.Windows.Forms.OpenFileDialog(); > + this.saveFileDialog1 =3D new > System.Windows.Forms.SaveFileDialog(); > + this.groupBox1 =3D new System.Windows.Forms.GroupBox(); > + this.menuStrip1.SuspendLayout(); > + this.contextMenuStrip1.SuspendLayout(); > + this.SuspendLayout(); > + // > + // menuStrip1 > + // > + this.menuStrip1.Items.AddRange(new > System.Windows.Forms.ToolStripItem[] { > + this.fileToolStripMenuItem, > + this.addToolStripMenuItem}); > + this.menuStrip1.Location =3D new System.Drawing.Point(0, 0); > + this.menuStrip1.Name =3D "menuStrip1"; > + this.menuStrip1.Size =3D new System.Drawing.Size(675, 24); > + this.menuStrip1.TabIndex =3D 1; > + this.menuStrip1.Text =3D "menuStrip1"; > + // > + // fileToolStripMenuItem > + // > + this.fileToolStripMenuItem.DropDownItems.AddRange(new > System.Windows.Forms.ToolStripItem[] { > + this.newToolStripMenuItem, > + this.openProiectToolStripMenuItem, > + this.sToolStripMenuItem, > + this.saveProiectAsToolStripMenuItem, > + this.buildToolStripMenuItem, > + this.toolStripSeparator1, > + this.optionsToolStripMenuItem, > + this.toolStripSeparator2, > + this.exitToolStripMenuItem}); > + this.fileToolStripMenuItem.Name =3D "fileToolStripMenuItem"; > + this.fileToolStripMenuItem.Size =3D new System.Drawing.Size(= 35, > 20); > + this.fileToolStripMenuItem.Text =3D "File"; > + // > + // newToolStripMenuItem > + // > + this.newToolStripMenuItem.Name =3D "newToolStripMenuItem"; > + this.newToolStripMenuItem.Size =3D new System.Drawing.Size(1= 68, > 22); > + this.newToolStripMenuItem.Text =3D "New Proiect"; > + this.newToolStripMenuItem.Click +=3D new > System.EventHandler(this.newToolStripMenuItem_Click); > + // > + // openProiectToolStripMenuItem > + // > + this.openProiectToolStripMenuItem.Name =3D > "openProiectToolStripMenuItem"; > + this.openProiectToolStripMenuItem.Size =3D new > System.Drawing.Size(168, 22); > + this.openProiectToolStripMenuItem.Text =3D "Open Proiect .."= ; > + this.openProiectToolStripMenuItem.Click +=3D new > System.EventHandler(this.openProiectToolStripMenuItem_Click); > + // > + // sToolStripMenuItem > + // > + this.sToolStripMenuItem.Name =3D "sToolStripMenuItem"; > + this.sToolStripMenuItem.Size =3D new System.Drawing.Size(168= , > 22); > + this.sToolStripMenuItem.Text =3D "Save Proiect"; > + this.sToolStripMenuItem.Click +=3D new > System.EventHandler(this.sToolStripMenuItem_Click); > + // > + // saveProiectAsToolStripMenuItem > + // > + this.saveProiectAsToolStripMenuItem.Name =3D > "saveProiectAsToolStripMenuItem"; > + this.saveProiectAsToolStripMenuItem.Size =3D new > System.Drawing.Size(168, 22); > + this.saveProiectAsToolStripMenuItem.Text =3D "Save Proiect A= s.."; > + // > + // buildToolStripMenuItem > + // > + this.buildToolStripMenuItem.Name =3D "buildToolStripMenuItem= "; > + this.buildToolStripMenuItem.Size =3D new System.Drawing.Size= (168, > 22); > + this.buildToolStripMenuItem.Text =3D "Build"; > + this.buildToolStripMenuItem.Click +=3D new > System.EventHandler(this.buildToolStripMenuItem_Click); > + // > + // toolStripSeparator1 > + // > + this.toolStripSeparator1.Name =3D "toolStripSeparator1"; > + this.toolStripSeparator1.Size =3D new System.Drawing.Size(16= 5, > 6); > + // > + // optionsToolStripMenuItem > + // > + this.optionsToolStripMenuItem.Name =3D > "optionsToolStripMenuItem"; > + this.optionsToolStripMenuItem.Size =3D new > System.Drawing.Size(168, 22); > + this.optionsToolStripMenuItem.Text =3D "Options"; > + this.optionsToolStripMenuItem.Click +=3D new > System.EventHandler(this.optionsToolStripMenuItem_Click); > + // > + // toolStripSeparator2 > + // > + this.toolStripSeparator2.Name =3D "toolStripSeparator2"; > + this.toolStripSeparator2.Size =3D new System.Drawing.Size(16= 5, > 6); > + // > + // exitToolStripMenuItem > + // > + this.exitToolStripMenuItem.Name =3D "exitToolStripMenuItem"; > + this.exitToolStripMenuItem.Size =3D new System.Drawing.Size(= 168, > 22); > + this.exitToolStripMenuItem.Text =3D "Exit"; > + // > + // addToolStripMenuItem > + // > + this.addToolStripMenuItem.DropDownItems.AddRange(new > System.Windows.Forms.ToolStripItem[] { > + this.windowPluginToolStripMenuItem, > + this.skinToolStripMenuItem, > + this.languageToolStripMenuItem}); > + this.addToolStripMenuItem.Name =3D "addToolStripMenuItem"; > + this.addToolStripMenuItem.Size =3D new System.Drawing.Size(3= 8, > 20); > + this.addToolStripMenuItem.Text =3D "Add"; > + // > + // windowPluginToolStripMenuItem > + // > + this.windowPluginToolStripMenuItem.DropDownItems.AddRange(ne= w > System.Windows.Forms.ToolStripItem[] { > + this.windowToolStripMenuItem, > + this.procesToolStripMenuItem, > + this.subtitleToolStripMenuItem, > + this.tagReadersToolStripMenuItem, > + this.externalPlayersToolStripMenuItem}); > + this.windowPluginToolStripMenuItem.Name =3D > "windowPluginToolStripMenuItem"; > + this.windowPluginToolStripMenuItem.Size =3D new > System.Drawing.Size(132, 22); > + this.windowPluginToolStripMenuItem.Text =3D "Plugin"; > + // > + // windowToolStripMenuItem > + // > + this.windowToolStripMenuItem.Name =3D "windowToolStripMenuIt= em"; > + this.windowToolStripMenuItem.Size =3D new > System.Drawing.Size(160, 22); > + this.windowToolStripMenuItem.Text =3D "Window"; > + this.windowToolStripMenuItem.Click +=3D new > System.EventHandler(this.windowToolStripMenuItem_Click); > + // > + // procesToolStripMenuItem > + // > + this.procesToolStripMenuItem.Name =3D "procesToolStripMenuIt= em"; > + this.procesToolStripMenuItem.Size =3D new > System.Drawing.Size(160, 22); > + this.procesToolStripMenuItem.Text =3D "Process"; > + this.procesToolStripMenuItem.Click +=3D new > System.EventHandler(this.procesToolStripMenuItem_Click); > + // > + // subtitleToolStripMenuItem > + // > + this.subtitleToolStripMenuItem.Name =3D > "subtitleToolStripMenuItem"; > + this.subtitleToolStripMenuItem.Size =3D new > System.Drawing.Size(160, 22); > + this.subtitleToolStripMenuItem.Text =3D "Subtitle"; > + this.subtitleToolStripMenuItem.Click +=3D new > System.EventHandler(this.subtitleToolStripMenuItem_Click); > + // > + // tagReadersToolStripMenuItem > + // > + this.tagReadersToolStripMenuItem.Name =3D > "tagReadersToolStripMenuItem"; > + this.tagReadersToolStripMenuItem.Size =3D new > System.Drawing.Size(160, 22); > + this.tagReadersToolStripMenuItem.Text =3D "TagReaders"; > + this.tagReadersToolStripMenuItem.Click +=3D new > System.EventHandler(this.tagReadersToolStripMenuItem_Click); > + // > + // externalPlayersToolStripMenuItem > + // > + this.externalPlayersToolStripMenuItem.Name =3D > "externalPlayersToolStripMenuItem"; > + this.externalPlayersToolStripMenuItem.Size =3D new > System.Drawing.Size(160, 22); > + this.externalPlayersToolStripMenuItem.Text =3D "ExternalPlay= ers"; > + this.externalPlayersToolStripMenuItem.Click +=3D new > System.EventHandler(this.externalPlayersToolStripMenuItem_Click); > + // > + // skinToolStripMenuItem > + // > + this.skinToolStripMenuItem.DropDownItems.AddRange(new > System.Windows.Forms.ToolStripItem[] { > + this.componentToolStripMenuItem, > + this.mediaToolStripMenuItem, > + this.fullToolStripMenuItem}); > + this.skinToolStripMenuItem.Name =3D "skinToolStripMenuItem"; > + this.skinToolStripMenuItem.Size =3D new System.Drawing.Size(= 132, > 22); > + this.skinToolStripMenuItem.Text =3D "Skin"; > + // > + // componentToolStripMenuItem > + // > + this.componentToolStripMenuItem.Name =3D > "componentToolStripMenuItem"; > + this.componentToolStripMenuItem.Size =3D new > System.Drawing.Size(140, 22); > + this.componentToolStripMenuItem.Text =3D "Component"; > + this.componentToolStripMenuItem.Click +=3D new > System.EventHandler(this.componentToolStripMenuItem_Click); > + // > + // mediaToolStripMenuItem > + // > + this.mediaToolStripMenuItem.Name =3D "mediaToolStripMenuItem= "; > + this.mediaToolStripMenuItem.Size =3D new System.Drawing.Size= (140, > 22); > + this.mediaToolStripMenuItem.Text =3D "Media"; > + this.mediaToolStripMenuItem.Click +=3D new > System.EventHandler(this.mediaToolStripMenuItem_Click); > + // > + // fullToolStripMenuItem > + // > + this.fullToolStripMenuItem.Name =3D "fullToolStripMenuItem"; > + this.fullToolStripMenuItem.Size =3D new System.Drawing.Size(= 140, > 22); > + this.fullToolStripMenuItem.Text =3D "Full"; > + this.fullToolStripMenuItem.Visible =3D false; > + // > + // languageToolStripMenuItem > + // > + this.languageToolStripMenuItem.Name =3D > "languageToolStripMenuItem"; > + this.languageToolStripMenuItem.Size =3D new > System.Drawing.Size(132, 22); > + this.languageToolStripMenuItem.Text =3D "Language"; > + this.languageToolStripMenuItem.Click +=3D new > System.EventHandler(this.languageToolStripMenuItem_Click); > + // > + // bossview > + // > + this.bossview.CheckBoxes =3D true; > + this.bossview.Columns.AddRange(new > System.Windows.Forms.ColumnHeader[] { > + this.columnHeader1, > + this.columnHeader2, > + this.columnHeader3, > + this.columnHeader4, > + this.columnHeader5}); > + this.bossview.ContextMenuStrip =3D this.contextMenuStrip1; > + this.bossview.FullRowSelect =3D true; > + this.bossview.GridLines =3D true; > + this.bossview.Location =3D new System.Drawing.Point(12, 40); > + this.bossview.Name =3D "bossview"; > + this.bossview.Size =3D new System.Drawing.Size(663, 267); > + this.bossview.TabIndex =3D 2; > + this.bossview.UseCompatibleStateImageBehavior =3D false; > + this.bossview.View =3D System.Windows.Forms.View.Details; > + // > + // columnHeader1 > + // > + this.columnHeader1.Text =3D "File"; > + this.columnHeader1.Width =3D 116; > + // > + // columnHeader2 > + // > + this.columnHeader2.Text =3D "Type"; > + this.columnHeader2.Width =3D 115; > + // > + // columnHeader3 > + // > + this.columnHeader3.Text =3D "Subtype"; > + this.columnHeader3.Width =3D 108; > + // > + // columnHeader4 > + // > + this.columnHeader4.Text =3D "Path"; > + this.columnHeader4.Width =3D 170; > + // > + // columnHeader5 > + // > + this.columnHeader5.Text =3D "Id"; > + // > + // contextMenuStrip1 > + // > + this.contextMenuStrip1.Items.AddRange(new > System.Windows.Forms.ToolStripItem[] { > + this.toolStripComboBox1}); > + this.contextMenuStrip1.Name =3D "contextMenuStrip1"; > + this.contextMenuStrip1.Size =3D new System.Drawing.Size(153,= 48); > + // > + // toolStripComboBox1 > + // > + this.toolStripComboBox1.Name =3D "toolStripComboBox1"; > + this.toolStripComboBox1.Size =3D new System.Drawing.Size(152= , > 22); > + this.toolStripComboBox1.Text =3D "Remove"; > + this.toolStripComboBox1.Click +=3D new > System.EventHandler(this.toolStripComboBox1_Click); > + // > + // openFileDialog1 > + // > + this.openFileDialog1.Filter =3D "\"Dll files|*.dll|All > files|*.*\""; > + // > + // saveFileDialog1 > + // > + this.saveFileDialog1.DefaultExt =3D "xml"; > + // > + // groupBox1 > + // > + this.groupBox1.Location =3D new System.Drawing.Point(213, 32= 2); > + this.groupBox1.Name =3D "groupBox1"; > + this.groupBox1.Size =3D new System.Drawing.Size(450, 97); > + this.groupBox1.TabIndex =3D 3; > + this.groupBox1.TabStop =3D false; > + this.groupBox1.Text =3D "Properties"; > + // > + // Form1 > + // > + this.AutoScaleDimensions =3D new System.Drawing.SizeF(6F, 13= F); > + this.AutoScaleMode =3D System.Windows.Forms.AutoScaleMode.Fo= nt; > + this.ClientSize =3D new System.Drawing.Size(675, 431); > + this.Controls.Add(this.bossview); > + this.Controls.Add(this.groupBox1); > + this.Controls.Add(this.menuStrip1); > + this.MainMenuStrip =3D this.menuStrip1; > + this.Name =3D "Form1"; > + this.Text =3D "Form1"; > + this.menuStrip1.ResumeLayout(false); > + this.menuStrip1.PerformLayout(); > + this.contextMenuStrip1.ResumeLayout(false); > + this.ResumeLayout(false); > + this.PerformLayout(); > + > + } > + > + #endregion > + > + private System.Windows.Forms.MenuStrip menuStrip1; > + private System.Windows.Forms.ToolStripMenuItem > fileToolStripMenuItem; > + private System.Windows.Forms.ToolStripMenuItem > newToolStripMenuItem; > + private System.Windows.Forms.ListView bossview; > + private System.Windows.Forms.ColumnHeader columnHeader1; > + private System.Windows.Forms.ColumnHeader columnHeader2; > + private System.Windows.Forms.ColumnHeader columnHeader3; > + private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; > + private System.Windows.Forms.ToolStripMenuItem > addToolStripMenuItem; > + private System.Windows.Forms.ToolStripMenuItem > windowPluginToolStripMenuItem; > + private System.Windows.Forms.ToolStripMenuItem > windowToolStripMenuItem; > + private System.Windows.Forms.ToolStripMenuItem > procesToolStripMenuItem; > + private System.Windows.Forms.ToolStripMenuItem > subtitleToolStripMenuItem; > + private System.Windows.Forms.ToolStripMenuItem > tagReadersToolStripMenuItem; > + private System.Windows.Forms.ToolStripMenuItem > externalPlayersToolStripMenuItem; > + private System.Windows.Forms.ColumnHeader columnHeader4; > + private System.Windows.Forms.ToolStripMenuItem > skinToolStripMenuItem; > + private System.Windows.Forms.ToolStripMenuItem > componentToolStripMenuItem; > + private System.Windows.Forms.ToolStripMenuItem > mediaToolStripMenuItem; > + private System.Windows.Forms.ToolStripMenuItem > fullToolStripMenuItem; > + private System.Windows.Forms.ToolStripMenuItem > openProiectToolStripMenuItem; > + private System.Windows.Forms.ToolStripMenuItem > sToolStripMenuItem; > + private System.Windows.Forms.ToolStripMenuItem > saveProiectAsToolStripMenuItem; > + private System.Windows.Forms.ToolStripSeparator > toolStripSeparator1; > + private System.Windows.Forms.ToolStripMenuItem > optionsToolStripMenuItem; > + private System.Windows.Forms.ToolStripSeparator > toolStripSeparator2; > + private System.Windows.Forms.ToolStripMenuItem > exitToolStripMenuItem; > + private System.Windows.Forms.OpenFileDialog openFileDialog1; > + private System.Windows.Forms.ColumnHeader columnHeader5; > + private System.Windows.Forms.SaveFileDialog saveFileDialog1; > + private System.Windows.Forms.ToolStripMenuItem > languageToolStripMenuItem; > + private System.Windows.Forms.ToolStripMenuItem > buildToolStripMenuItem; > + private System.Windows.Forms.ToolStripMenuItem toolStripComboBox= 1; > + private System.Windows.Forms.GroupBox groupBox1; > + } > +} > + > > Added: trunk/plugins/mpinstaler/MPInstaler/Form1.cs > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- trunk/plugins/mpinstaler/MPInstaler/Form1.cs > (rev 0) > +++ trunk/plugins/mpinstaler/MPInstaler/Form1.cs 2007-01-31 22:14:04 UT= C > (rev 68) > @@ -0,0 +1,249 @@ > +using System; > +using System.Collections.Generic; > +using System.ComponentModel; > +using System.Data; > +using System.Drawing; > +using System.Text; > +using System.Windows.Forms; > +using System.Xml; > +using System.IO; > +using ICSharpCode.SharpZipLib.Zip; > + > +namespace MPInstaler > +{ > + public partial class Form1 : Form > + { > + private MPinstalerStruct _struct =3D new MPinstalerStruct(); > + public Form1() > + { > + InitializeComponent(); > + } > + > + private void button1_Click(object sender, EventArgs e) > + { > + } > + > + private void sToolStripMenuItem_Click(object sender, EventArgs e) > + { > + Stream myStream; > + > + if (saveFileDialog1.ShowDialog(this) =3D=3D DialogResult.OK) > + { > + if ((myStream =3D saveFileDialog1.OpenFile()) !=3D null) > + { > + // Code to write the stream goes here. > + XmlDocument doc =3D new XmlDocument(); > + XmlWriter writer =3D null; > + _struct.AddFileList(bossview); > + try > + { > + // Create an XmlWriterSettings object with the correct > options. > + XmlWriterSettings settings =3D new XmlWriterSettings(); > + string st =3D string.Empty; > + settings.Indent =3D true; > + settings.IndentChars =3D ("\t"); > + settings.OmitXmlDeclaration =3D true; > + // Create the XmlWriter object and write some content. > + writer =3D XmlWriter.Create(myStream, settings); > + writer.WriteStartElement("MPinstaler"); > + writer.WriteElementString("ver", "1.00.000"); > + writer.WriteStartElement("FileList"); > + for (int i =3D 0; i < _struct.FileList.Count; i++) > + { > + MPIFileList it=3D(MPIFileList)_struct.FileList[i]; > + writer.WriteStartElement("File"); > + > writer.WriteElementString("FileName",Path.GetFileName(it.FileName)); > + writer.WriteElementString("Type", it.Type); > + writer.WriteElementString("SubType", it.SubType); > + writer.WriteElementString("Path", > Path.GetDirectoryName(it.FileName)); > + writer.WriteElementString("Id", it.ID); > + writer.WriteEndElement(); > + st =3D st + bossview.Items[i].SubItems[3].Text + @"\" + > bossview.Items[i].Text + ";"; > + } > + writer.WriteEndElement(); > + writer.WriteStartElement("Option"); > + writer.WriteElementString("BuildFileName", > _struct.BuildFileName); > + writer.WriteEndElement(); > + writer.WriteEndElement(); > + writer.Flush(); > + > + //------------------------------------- > + //------------------------------------- > + } > + finally > + { > + if (writer !=3D null) > + writer.Close(); > + } > + myStream.Close(); > + > + } > + > + } > + > + } > + > + private void windowToolStripMenuItem_Click(object sender, EventArg= s > e) > + { > + addplugin(1); > + } > + > + private void addplugin(int type) > + { > + /* > + 1 - 10 PLUGINS > + 1 - window > + 2 - process > + 3 - subtitle > + 4 - tagreader > + 5 - external player > + */ > + string fil; > + openFileDialog1.Filter =3D "Dll files|*.dll|All files|*.*"; > + if (openFileDialog1.ShowDialog(this) =3D=3D DialogResult.OK) > + { > + fil =3D openFileDialog1.FileName; > + switch (type) > + { > + case 1: > + addrow(Path.GetFileName(fil), MPinstalerStruct.PLUGIN_TYPE= , > MPinstalerStruct.PLUGIN_WINDOW_SUBTYPE, Path.GetDirectoryName(fil), > "01010"); > + break; > + case 2: > + addrow(Path.GetFileName(fil), MPinstalerStruct.PLUGIN_TYPE= , > MPinstalerStruct.PLUGIN_PROCESS_SUBTYPE, Path.GetDirectoryName(fil), > "01020"); > + break; > + case 3: > + addrow(Path.GetFileName(fil), MPinstalerStruct.PLUGIN_TYPE= , > MPinstalerStruct.PLUGIN_SUBTITLE_SUBTYPE, Path.GetDirectoryName(fil), > "01030"); > + break; > + case 4: > + addrow(Path.GetFileName(fil), MPinstalerStruct.PLUGIN_TYPE= , > MPinstalerStruct.PLUGIN_TAGREADER_SUBTYPE, Path.GetDirectoryName(fil), > "01040"); > + break; > + case 5: > + addrow(Path.GetFileName(fil), MPinstalerStruct.PLUGIN_TYPE= , > MPinstalerStruct.PLUGIN_PLAYER_SUBTYPE, Path.GetDirectoryName(fil), > "01050"); > + break; > + default: > + break; > + } > + } > + } > + > + private void addskin(int type) > + { > +// string fil; > + openFileDialog1.Filter =3D "xml files|*.xml|png files|*.png|bmp > files|*.bmp|All files|*.*"; > + openFileDialog1.Multiselect =3D true; > + if (openFileDialog1.ShowDialog(this) =3D=3D DialogResult.OK) > + { > + foreach(string fil in openFileDialog1.FileNames) > + switch (type) > + { > + case 1: addrow(Path.GetFileName(fil), > MPinstalerStruct.SKIN_TYPE, MPinstalerStruct.SKIN_XML_SUBTYPE, > Path.GetDirectoryName(fil), "02010"); > + break; > + case 2: addrow(Path.GetFileName(fil), > MPinstalerStruct.SKIN_MEDIA_TYPE, MPinstalerStruct.SKIN_XML_SUBTYPE, > Path.GetDirectoryName(fil), "02020"); > + break; > + default: > + break; > + } > + } > + } > + > + private void subtitleToolStripMenuItem_Click(object sender, EventA= rgs > e) > + { > + addplugin(3); > + } > + > + private void procesToolStripMenuItem_Click(object sender, EventArg= s > e) > + { > + addplugin(2); > + } > + > + private void tagReadersToolStripMenuItem_Click(object sender, > EventArgs e) > + { > + addplugin(4); > + } > + > + private void externalPlayersToolStripMenuItem_Click(object sender, > EventArgs e) > + { > + addplugin(5); > + } > + > + private void addrow(string file, string type, string subtype, stri= ng > path, string id) > + { > + ListViewItem item1 =3D new ListViewItem(file, 0); > + item1.SubItems.Add(type); > + item1.SubItems.Add(subtype); > + item1.SubItems.Add(path); > + item1.SubItems.Add(id); > + bossview.Items.AddRange(new ListViewItem[] { item1 }); > + } > + > + private void openProiectToolStripMenuItem_Click(object sender, > EventArgs e) > + { > + string fil; > + openFileDialog1.Filter =3D "XML files|*.xml|All files|*.*"; > + if (openFileDialog1.ShowDialog(this) =3D=3D DialogResult.OK) > + { > + fil =3D openFileDialog1.FileName; > + XmlDocument doc =3D new XmlDocument(); > + doc.Load(fil); > + XmlNode ver =3D > doc.DocumentElement.SelectSingleNode("/MPinstaler"); > + bossview.Items.Clear(); > + XmlNodeList fileList =3D ver.SelectNodes("FileList/File"); > + foreach (XmlNode nodefile in fileList) > + { > + addrow(nodefile.SelectSingleNode("FileName").InnerText, > + nodefile.SelectSingleNode("Type").InnerText, > + nodefile.SelectSingleNode("SubType").InnerText, > + nodefile.SelectSingleNode("Path").InnerText, > + nodefile.SelectSingleNode("Id").InnerText); > + } > + > _struct.BuildFileName=3Dver.SelectSingleNode("Option/BuildFileName").In= nerText; > + } > + _struct.AddFileList(bossview); > + } > + > + private void languageToolStripMenuItem_Click(object sender, EventA= rgs > e) > + { > + Form2 StrForm =3D new Form2(); > + StrForm.ShowDialog(); > + } > + > + private void optionsToolStripMenuItem_Click(object sender, EventAr= gs > e) > + { > + OptionForm opForm =3D new OptionForm(); > + opForm.ShowDialog(); > + } > + > + private void buildToolStripMenuItem_Click(object sender, EventArgs= e) > + { > + Build_dialog buildfrm =3D new Build_dialog(this._struct); > + buildfrm.ShowDialog(); > + this._struct =3D buildfrm._struct; > + } > + > + private void newToolStripMenuItem_Click(object sender, EventArgs e= ) > + { > + bossview.Items.Clear(); > + _struct.Clear(); > + } > + > + private void componentToolStripMenuItem_Click(object sender, > EventArgs e) > + { > + addskin(1); > + } > + > + private void mediaToolStripMenuItem_Click(object sender, EventArgs= e) > + { > + addskin(2); > + } > + > + private void toolStripComboBox1_Click(object sender, EventArgs e) > + { > + for (int i =3D 0; i < bossview.Items.Count; i++) > + if (bossview.Items[i].Selected) bossview.Items.RemoveAt(i); > + } > + > + > + > + > + } > +} > \ No newline at end of file > > Added: trunk/plugins/mpinstaler/MPInstaler/Form1.resx > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- trunk/plugins/mpinstaler/MPInstaler/Form1.resx > (rev 0) > +++ trunk/plugins/mpinstaler/MPInstaler/Form1.resx 2007-01-31 22:14:04 = UTC > (rev 68) > @@ -0,0 +1,132 @@ > +<?xml version=3D"1.0" encoding=3D"utf-8"?> > +<root> > + <!--=20 > + Microsoft ResX Schema > + > + Version 2.0 > + > + The primary goals of this format is to allow a simple XML format > + that is mostly human readable. The generation and parsing of the > + various data types are done through the TypeConverter classes > + associated with the data types. > + > + Example: > + > + ... ado.net/XML headers & schema ... > + <resheader name=3D"resmimetype">text/microsoft-resx</resheader> > + <resheader name=3D"version">2.0</resheader> > + <resheader name=3D"reader">System.Resources.ResXResourceReader, > System.Windows.Forms, ...</resheader> > + <resheader name=3D"writer">System.Resources.ResXResourceWriter, > System.Windows.Forms, ...</resheader> > + <data name=3D"Name1"><value>this is my long string</value><comment= >this > is a comment</comment></data> > + <data name=3D"Color1" type=3D"System.Drawing.Color, > System.Drawing">Blue</data> > + <data name=3D"Bitmap1" > mimetype=3D"application/x-microsoft.net.object.binary.base64"> > + <value>[base64 mime encoded serialized .NET Framework > object]</value> > + </data> > + <data name=3D"Icon1" type=3D"System.Drawing.Icon, System.Drawing" > mimetype=3D"application/x-microsoft.net.object.bytearray.base64"> > + <value>[base64 mime encoded string representing a byte array f= orm > of the .NET Framework object]</value> > + <comment>This is a comment</comment> > + </data> > + > + There are any number of "resheader" rows that contain simple > + name/value pairs. > + > + Each data row contains a name, and value. The row also contains a > + type or mimetype. Type corresponds to a .NET class that support > + text/value conversion through the TypeConverter architecture. > + Classes that don't support this are serialized and stored with the > + mimetype set. > + > + The mimetype is used for serialized objects, and tells the > + ResXResourceReader how to depersist the object. This is currently = not > + extensible. For a given mimetype the value must be set accordingly= : > + > + Note - application/x-microsoft.net.object.binary.base64 is the for= mat > + that the ResXResourceWriter will generate, however the reader can > + read any of the formats listed below. > + > + mimetype: application/x-microsoft.net.object.binary.base64 > + value : The object must be serialized with > + : > System.Runtime.Serialization.Formatters.Binary.BinaryFormatter > + : and then encoded with base64 encoding. > + > + mimetype: application/x-microsoft.net.object.soap.base64 > + value : The object must be serialized with > + : System.Runtime.Serialization.Formatters.Soap.SoapFormatt= er > + : and then encoded with base64 encoding. > + > + mimetype: application/x-microsoft.net.object.bytearray.base64 > + value : The object must be serialized into a byte array > + : using a System.ComponentModel.TypeConverter > + : and then encoded with base64 encoding. > + --> > + <xsd:schema id=3D"root" xmlns=3D"" > xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" > xmlns:msdata=3D"urn:schemas-microsoft-com:xml-msdata"> > + <xsd:import namespace=3D"http://www.w3.org/XML/1998/namespace" /> > + <xsd:element name=3D"root" msdata:IsDataSet=3D"true"> > + <xsd:complexType> > + <xsd:choice maxOccurs=3D"unbounded"> > + <xsd:element name=3D"metadata"> > + <xsd:complexType> > + <xsd:sequence> > + <xsd:element name=3D"value" type=3D"xsd:string" minOcc= urs=3D"0" > /> > + </xsd:sequence> > + <xsd:attribute name=3D"name" use=3D"required" type=3D"xs= d:string" > /> > + <xsd:attribute name=3D"type" type=3D"xsd:string" /> > + <xsd:attribute name=3D"mimetype" type=3D"xsd:string" /> > + <xsd:attribute ref=3D"xml:space" /> > + </xsd:complexType> > + </xsd:element> > + <xsd:element name=3D"assembly"> > + <xsd:complexType> > + <xsd:attribute name=3D"alias" type=3D"xsd:string" /> > + <xsd:attribute name=3D"name" type=3D"xsd:string" /> > + </xsd:complexType> > + </xsd:element> > + <xsd:element name=3D"data"> > + <xsd:complexType> > + <xsd:sequence> > + <xsd:element name=3D"value" type=3D"xsd:string" minOcc= urs=3D"0" > msdata:Ordinal=3D"1" /> > + <xsd:element name=3D"comment" type=3D"xsd:string" > minOccurs=3D"0" msdata:Ordinal=3D"2" /> > + </xsd:sequence> > + <xsd:attribute name=3D"name" type=3D"xsd:string" use=3D"= required" > msdata:Ordinal=3D"1" /> > + <xsd:attribute name=3D"type" type=3D"xsd:string" > msdata:Ordinal=3D"3" /> > + <xsd:attribute name=3D"mimetype" type=3D"xsd:string" > msdata:Ordinal=3D"4" /> > + <xsd:attribute ref=3D"xml:space" /> > + </xsd:complexType> > + </xsd:element> > + <xsd:element name=3D"resheader"> > + <xsd:complexType> > + <xsd:sequence> > + <xsd:element name=3D"value" type=3D"xsd:string" minOcc= urs=3D"0" > msdata:Ordinal=3D"1" /> > + </xsd:sequence> > + <xsd:attribute name=3D"name" type=3D"xsd:string" use=3D"= required" > /> > + </xsd:complexType> > + </xsd:element> > + </xsd:choice> > + </xsd:complexType> > + </xsd:element> > + </xsd:schema> > + <resheader name=3D"resmimetype"> > + <value>text/microsoft-resx</value> > + </resheader> > + <resheader name=3D"version"> > + <value>2.0</value> > + </resheader> > + <resheader name=3D"reader"> > + <value>System.Resources.ResXResourceReader, System.Windows.Forms, > Version=3D2.0.0.0, Culture=3Dneutral, PublicKeyToken=3Db77a5c561934e089= </value> > + </resheader> > + <resheader name=3D"writer"> > + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, > Version=3D2.0.0.0, Culture=3Dneutral, PublicKeyToken=3Db77a5c561934e089= </value> > + </resheader> > + <metadata name=3D"menuStrip1.TrayLocation" type=3D"System.Drawing.Po= int, > System.Drawing, Version=3D2.0.0.0, Culture=3Dneutral, > PublicKeyToken=3Db03f5f7f11d50a3a"> > + <value>17, 17</value> > + </metadata> > + <metadata name=3D"contextMenuStrip1.TrayLocation" > type=3D"System.Dr... [truncated message content] |