From: <du...@us...> - 2007-04-11 19:10:23
|
Revision: 313 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=313&view=rev Author: dukus Date: 2007-04-11 12:10:20 -0700 (Wed, 11 Apr 2007) Log Message: ----------- Added full skin package support Modified Paths: -------------- trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs trunk/plugins/mpinstaler/MPInstaler/Form1.cs trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs trunk/plugins/mpinstaler/MPInstaler/MPpackageStruct.cs trunk/plugins/mpinstaler/MPInstaler/download_form.Designer.cs trunk/plugins/mpinstaler/MPInstaler/download_form.cs Modified: trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs 2007-04-10 12:11:44 UTC (rev 312) +++ trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs 2007-04-11 19:10:20 UTC (rev 313) @@ -51,12 +51,13 @@ this.skinToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.componentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.mediaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.fullToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.languageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.textToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.textToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.otherToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.customizationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.postSetupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.bossview = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); @@ -104,8 +105,9 @@ this.openToolStripButton = new System.Windows.Forms.ToolStripButton(); this.saveToolStripButton = new System.Windows.Forms.ToolStripButton(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); - this.customizationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.postSetupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.soundsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.animationsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.tetrisToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.menuStrip1.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); this.tabPage_Skin.SuspendLayout(); @@ -231,7 +233,7 @@ this.tagReadersToolStripMenuItem, this.externalPlayersToolStripMenuItem}); this.windowPluginToolStripMenuItem.Name = "windowPluginToolStripMenuItem"; - this.windowPluginToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.windowPluginToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.windowPluginToolStripMenuItem.Text = "Plugin"; // // windowToolStripMenuItem @@ -274,44 +276,38 @@ this.skinToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.componentToolStripMenuItem, this.mediaToolStripMenuItem, - this.fullToolStripMenuItem}); + this.soundsToolStripMenuItem, + this.animationsToolStripMenuItem, + this.tetrisToolStripMenuItem}); this.skinToolStripMenuItem.Name = "skinToolStripMenuItem"; - this.skinToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.skinToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.skinToolStripMenuItem.Text = "Skin"; // // componentToolStripMenuItem // this.componentToolStripMenuItem.Name = "componentToolStripMenuItem"; - this.componentToolStripMenuItem.Size = new System.Drawing.Size(140, 22); + this.componentToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.componentToolStripMenuItem.Text = "Component"; this.componentToolStripMenuItem.Click += new System.EventHandler(this.componentToolStripMenuItem_Click); // // mediaToolStripMenuItem // this.mediaToolStripMenuItem.Name = "mediaToolStripMenuItem"; - this.mediaToolStripMenuItem.Size = new System.Drawing.Size(140, 22); + this.mediaToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.mediaToolStripMenuItem.Text = "Media"; this.mediaToolStripMenuItem.Click += new System.EventHandler(this.mediaToolStripMenuItem_Click); // - // fullToolStripMenuItem - // - this.fullToolStripMenuItem.Enabled = false; - this.fullToolStripMenuItem.Name = "fullToolStripMenuItem"; - this.fullToolStripMenuItem.Size = new System.Drawing.Size(140, 22); - this.fullToolStripMenuItem.Text = "Full"; - this.fullToolStripMenuItem.Visible = false; - // // languageToolStripMenuItem // this.languageToolStripMenuItem.Name = "languageToolStripMenuItem"; - this.languageToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.languageToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.languageToolStripMenuItem.Text = "Language"; this.languageToolStripMenuItem.Click += new System.EventHandler(this.languageToolStripMenuItem_Click); // // textToolStripMenuItem // this.textToolStripMenuItem.Name = "textToolStripMenuItem"; - this.textToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.textToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.textToolStripMenuItem.Text = "Text"; this.textToolStripMenuItem.Click += new System.EventHandler(this.textToolStripMenuItem_Click); // @@ -319,23 +315,38 @@ // this.settingsToolStripMenuItem.Enabled = false; this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; - this.settingsToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.settingsToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.settingsToolStripMenuItem.Text = "Settings"; // // textToolStripMenuItem1 // this.textToolStripMenuItem1.Name = "textToolStripMenuItem1"; - this.textToolStripMenuItem1.Size = new System.Drawing.Size(132, 22); + this.textToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); this.textToolStripMenuItem1.Text = "Thumbs"; this.textToolStripMenuItem1.Click += new System.EventHandler(this.textToolStripMenuItem1_Click); // // otherToolStripMenuItem // this.otherToolStripMenuItem.Name = "otherToolStripMenuItem"; - this.otherToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.otherToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.otherToolStripMenuItem.Text = "Other"; this.otherToolStripMenuItem.Click += new System.EventHandler(this.otherToolStripMenuItem_Click); // + // customizationToolStripMenuItem + // + this.customizationToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.postSetupToolStripMenuItem}); + this.customizationToolStripMenuItem.Name = "customizationToolStripMenuItem"; + this.customizationToolStripMenuItem.Size = new System.Drawing.Size(47, 20); + this.customizationToolStripMenuItem.Text = "Setup"; + // + // postSetupToolStripMenuItem + // + this.postSetupToolStripMenuItem.Name = "postSetupToolStripMenuItem"; + this.postSetupToolStripMenuItem.Size = new System.Drawing.Size(137, 22); + this.postSetupToolStripMenuItem.Text = "Post Setup"; + this.postSetupToolStripMenuItem.Click += new System.EventHandler(this.postSetupToolStripMenuItem_Click); + // // bossview // this.bossview.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) @@ -800,21 +811,27 @@ this.toolStripContainer1.TabIndex = 5; this.toolStripContainer1.Text = "toolStripContainer1"; // - // customizationToolStripMenuItem + // soundsToolStripMenuItem // - this.customizationToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.postSetupToolStripMenuItem}); - this.customizationToolStripMenuItem.Name = "customizationToolStripMenuItem"; - this.customizationToolStripMenuItem.Size = new System.Drawing.Size(47, 20); - this.customizationToolStripMenuItem.Text = "Setup"; + this.soundsToolStripMenuItem.Name = "soundsToolStripMenuItem"; + this.soundsToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.soundsToolStripMenuItem.Text = "Sounds"; + this.soundsToolStripMenuItem.Click += new System.EventHandler(this.soundsToolStripMenuItem_Click); // - // postSetupToolStripMenuItem + // animationsToolStripMenuItem // - this.postSetupToolStripMenuItem.Name = "postSetupToolStripMenuItem"; - this.postSetupToolStripMenuItem.Size = new System.Drawing.Size(152, 22); - this.postSetupToolStripMenuItem.Text = "Post Setup"; - this.postSetupToolStripMenuItem.Click += new System.EventHandler(this.postSetupToolStripMenuItem_Click); + this.animationsToolStripMenuItem.Name = "animationsToolStripMenuItem"; + this.animationsToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.animationsToolStripMenuItem.Text = "Animations"; + this.animationsToolStripMenuItem.Click += new System.EventHandler(this.animationsToolStripMenuItem_Click); // + // tetrisToolStripMenuItem + // + this.tetrisToolStripMenuItem.Name = "tetrisToolStripMenuItem"; + this.tetrisToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.tetrisToolStripMenuItem.Text = "Tetris"; + this.tetrisToolStripMenuItem.Click += new System.EventHandler(this.tetrisToolStripMenuItem_Click); + // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -879,7 +896,6 @@ 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; @@ -936,6 +952,9 @@ private System.Windows.Forms.ToolStripContainer toolStripContainer1; private System.Windows.Forms.ToolStripMenuItem customizationToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem postSetupToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem soundsToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem animationsToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem tetrisToolStripMenuItem; } } Modified: trunk/plugins/mpinstaler/MPInstaler/Form1.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/Form1.cs 2007-04-10 12:11:44 UTC (rev 312) +++ trunk/plugins/mpinstaler/MPInstaler/Form1.cs 2007-04-11 19:10:20 UTC (rev 313) @@ -130,6 +130,15 @@ case 2: openFileDialog1.Filter = "png files (*.png)|*.png|bmp files (*.bmp)|*.bmp|xml files (*.xml)|*.xml|All files (*.*)|*.*"; openFileDialog1.DefaultExt = "*.png"; break; + case 3: openFileDialog1.Filter = "wav files (*.wav)|*.wav|All files (*.*)|*.*"; + openFileDialog1.DefaultExt = "*.wav"; + break; + case 4: openFileDialog1.Filter = "png files (*.png)|*.png|bmp files (*.bmp)|*.bmp|xml files (*.xml)|*.xml|All files (*.*)|*.*"; + openFileDialog1.DefaultExt = "*.png"; + break; + case 5: openFileDialog1.Filter = "png files (*.png)|*.png|bmp files (*.bmp)|*.bmp|xml files (*.xml)|*.xml|All files (*.*)|*.*"; + openFileDialog1.DefaultExt = "*.png"; + break; } if (openFileDialog1.ShowDialog(this) == DialogResult.OK) { @@ -149,6 +158,12 @@ break; case 2: addrow(Path.GetFileName(fil),MPinstalerStruct.SKIN_MEDIA_TYPE, subtype, Path.GetFullPath(fil), "02020",""); break; + case 3: addrow(Path.GetFileName(fil), MPinstalerStruct.SKIN_SOUNDS_TYPE, subtype, Path.GetFullPath(fil), "02030", ""); + break; + case 4: addrow(Path.GetFileName(fil), MPinstalerStruct.SKIN_ANIMATIONS_TYPE, subtype, Path.GetFullPath(fil), "02040", ""); + break; + case 5: addrow(Path.GetFileName(fil), MPinstalerStruct.SKIN_TETRIS_TYPE, subtype, Path.GetFullPath(fil), "02050", ""); + break; default: break; } @@ -536,5 +551,20 @@ dlg._struct = this._struct; dlg.ShowDialog(); } + + private void soundsToolStripMenuItem_Click(object sender, EventArgs e) + { + addskin(3); + } + + private void animationsToolStripMenuItem_Click(object sender, EventArgs e) + { + addskin(4); + } + + private void tetrisToolStripMenuItem_Click(object sender, EventArgs e) + { + addskin(5); + } } } \ No newline at end of file Modified: trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs 2007-04-10 12:11:44 UTC (rev 312) +++ trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs 2007-04-11 19:10:20 UTC (rev 313) @@ -25,6 +25,9 @@ public const string PLUGIN_PLAYER_SUBTYPE = "External Player"; public const string SKIN_TYPE = "Skin"; public const string SKIN_MEDIA_TYPE = "Media"; + public const string SKIN_SOUNDS_TYPE = "Sounds"; + public const string SKIN_ANIMATIONS_TYPE = "Animations"; + public const string SKIN_TETRIS_TYPE = "Tetris"; public const string SKIN_XML_SUBTYPE = "Genskin"; public const string TEXT_TYPE = "Text"; public const string TEXT_EULA_TYPE = "EULA"; @@ -448,6 +451,21 @@ ret = "Release" + @"\" + "Skin" + @"\" + flst.SubType + @"\" + "Media" + @"\" + Path.GetFileName(flst.FileName); } + if (flst.Type == SKIN_SOUNDS_TYPE) + { + ret = "Release" + @"\" + "Skin" + @"\" + flst.SubType + @"\" + "Sounds" + @"\" + Path.GetFileName(flst.FileName); + } + + if (flst.Type == SKIN_ANIMATIONS_TYPE) + { + ret = "Release" + @"\" + "Skin" + @"\" + flst.SubType + @"\" + "Media" + @"\" + "Animations" + @"\" + Path.GetFileName(flst.FileName); + } + + if (flst.Type == SKIN_TETRIS_TYPE) + { + ret = "Release" + @"\" + "Skin" + @"\" + flst.SubType + @"\" + "Media" + @"\" + "Tetris" + @"\" + Path.GetFileName(flst.FileName); + } + if (flst.Type == TEXT_TYPE) { ret = "Release" + @"\" + "Text" + @"\" + flst.SubType + @"\" + Path.GetFileName(flst.FileName); @@ -503,6 +521,20 @@ ret = Config.GetFolder(Config.Dir.Skin) + @"\" + flst.SubType + @"\" + "Media" + @"\" + Path.GetFileName(flst.FileName); } + if (flst.Type == SKIN_SOUNDS_TYPE) + { + ret = Config.GetFolder(Config.Dir.Skin) + @"\" + flst.SubType + @"\" + "Sounds" + @"\" + Path.GetFileName(flst.FileName); + } + + if (flst.Type == SKIN_ANIMATIONS_TYPE) + { + ret = Config.GetFolder(Config.Dir.Skin) + @"\" + flst.SubType + @"\" + "Media" + @"\" + "Animations" + @"\" + Path.GetFileName(flst.FileName); + } + if (flst.Type == SKIN_TETRIS_TYPE) + { + ret = Config.GetFolder(Config.Dir.Skin) + @"\" + flst.SubType + @"\" + "Media" + @"\" + "Tetris" + @"\" + Path.GetFileName(flst.FileName); + } + if (flst.Type == THUMBS_TYPE) { ret = Config.GetFolder(Config.Dir.Thumbs) + @"\" + flst.SubType +@"\" + Path.GetFileName(flst.FileName); Modified: trunk/plugins/mpinstaler/MPInstaler/MPpackageStruct.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/MPpackageStruct.cs 2007-04-10 12:11:44 UTC (rev 312) +++ trunk/plugins/mpinstaler/MPInstaler/MPpackageStruct.cs 2007-04-11 19:10:20 UTC (rev 313) @@ -60,7 +60,7 @@ if (test_file(fl,entry)) { string tpf =Path.GetFullPath(MPinstalerStruct.GetDirEntry(fl)) ; - if (fl.Type == MPinstalerStruct.SKIN_TYPE || fl.Type == MPinstalerStruct.SKIN_MEDIA_TYPE) + if (fl.Type == MPinstalerStruct.SKIN_TYPE || fl.Type == MPinstalerStruct.SKIN_MEDIA_TYPE || fl.Type == MPinstalerStruct.SKIN_SOUNDS_TYPE || fl.Type == MPinstalerStruct.SKIN_ANIMATIONS_TYPE || fl.Type == MPinstalerStruct.SKIN_TETRIS_TYPE) { if (!Directory.Exists(Path.GetDirectoryName(tpf))) Directory.CreateDirectory(Path.GetDirectoryName(tpf)); Modified: trunk/plugins/mpinstaler/MPInstaler/download_form.Designer.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/download_form.Designer.cs 2007-04-10 12:11:44 UTC (rev 312) +++ trunk/plugins/mpinstaler/MPInstaler/download_form.Designer.cs 2007-04-11 19:10:20 UTC (rev 313) @@ -32,6 +32,7 @@ this.button1 = new System.Windows.Forms.Button(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // button1 @@ -49,6 +50,7 @@ this.progressBar1.Location = new System.Drawing.Point(12, 34); this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(419, 23); + this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Continuous; this.progressBar1.TabIndex = 1; // // label1 @@ -60,11 +62,20 @@ this.label1.TabIndex = 2; this.label1.Text = "Downloading"; // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(201, 9); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(0, 13); + this.label2.TabIndex = 3; + // // download_form // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(443, 114); + this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.progressBar1); this.Controls.Add(this.button1); @@ -85,5 +96,6 @@ private System.Windows.Forms.Button button1; private System.Windows.Forms.ProgressBar progressBar1; private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; } } \ No newline at end of file Modified: trunk/plugins/mpinstaler/MPInstaler/download_form.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/download_form.cs 2007-04-10 12:11:44 UTC (rev 312) +++ trunk/plugins/mpinstaler/MPInstaler/download_form.cs 2007-04-11 19:10:20 UTC (rev 313) @@ -52,6 +52,7 @@ // e.TotalBytesToReceive, // e.ProgressPercentage); progressBar1.Value = e.ProgressPercentage; + label2.Text = string.Format("{0}/{1}", e.BytesReceived, e.TotalBytesToReceive); } private void UploadProgressCallback(object sender, UploadProgressChangedEventArgs e) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <du...@us...> - 2007-04-15 13:28:15
|
Revision: 329 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=329&view=rev Author: dukus Date: 2007-04-15 06:28:10 -0700 (Sun, 15 Apr 2007) Log Message: ----------- properties saving Modified Paths: -------------- trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs trunk/plugins/mpinstaler/MPInstaler/properties.cs Modified: trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs 2007-04-14 14:28:15 UTC (rev 328) +++ trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs 2007-04-15 13:28:10 UTC (rev 329) @@ -165,6 +165,7 @@ FileList.Clear(); Language.Clear(); Actions.Clear(); + ProiectProperties.Clear(); BuildFileName = string.Empty; ProiectdFileName = string.Empty; Author = string.Empty; @@ -242,7 +243,10 @@ writer.WriteElementString("Group", this.Group); WriteLogoElement(writer); writer.WriteEndElement(); + writer.WriteStartElement("Properties"); + ProiectProperties.Save(writer); writer.WriteEndElement(); + writer.WriteEndElement(); writer.Flush(); //------------------------------------- @@ -330,6 +334,7 @@ doc.Load(fil); FileList.Clear(); Language.Clear(); + ProiectProperties.Clear(); XmlNode ver = doc.DocumentElement.SelectSingleNode("/MPinstaler"); XmlNodeList fileList = ver.SelectNodes("FileList/File"); foreach (XmlNode nodefile in fileList) @@ -385,6 +390,9 @@ } } + XmlNode nodeproperties = ver.SelectSingleNode("Properties"); + ProiectProperties.Load(nodeproperties); + } public MPIFileList FindList(string typ, string stpy) Modified: trunk/plugins/mpinstaler/MPInstaler/properties.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/properties.cs 2007-04-14 14:28:15 UTC (rev 328) +++ trunk/plugins/mpinstaler/MPInstaler/properties.cs 2007-04-15 13:28:10 UTC (rev 329) @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Text; +using System.Xml; namespace MPInstaler { @@ -11,6 +12,7 @@ public ProiectPropertiesClass() { + Clear(); } public string MPMinVersion @@ -36,5 +38,33 @@ return mpmaxversion; } } + + public void Save(XmlWriter writer) + { + writer.WriteElementString("MPMaxVersion", MPMaxVersion); + writer.WriteElementString("MPMinVersion", MPMinVersion); + } + + public void Load(XmlNode basenode) + { + if (basenode != null) + { + XmlNode node; + node = basenode.SelectSingleNode("MPMaxVersion"); + if (node != null && node.InnerText != null) + MPMaxVersion = node.InnerText; + node = basenode.SelectSingleNode("MPMinVersion"); + if (node != null && node.InnerText != null) + MPMinVersion = node.InnerText; + + } + + } + + public void Clear() + { + MPMaxVersion = String.Empty; + MPMinVersion = String.Empty; + } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <du...@us...> - 2007-04-17 17:42:43
|
Revision: 339 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=339&view=rev Author: dukus Date: 2007-04-17 10:42:39 -0700 (Tue, 17 Apr 2007) Log Message: ----------- Update checker Modified Paths: -------------- trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj trunk/plugins/mpinstaler/MPInstaler/start_form.Designer.cs trunk/plugins/mpinstaler/MPInstaler/start_form.cs trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.Designer.cs trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.resx trunk/plugins/mpinstaler/MPInstaler/wizard/wizard_1.cs Modified: trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj 2007-04-17 17:00:41 UTC (rev 338) +++ trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj 2007-04-17 17:42:39 UTC (rev 339) @@ -147,6 +147,10 @@ <SubType>Designer</SubType> <DependentUpon>start_form.cs</DependentUpon> </EmbeddedResource> + <EmbeddedResource Include="UpdateChecker.resx"> + <SubType>Designer</SubType> + <DependentUpon>UpdateChecker.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="wizard\controlp.resx"> <SubType>Designer</SubType> <DependentUpon>controlp.cs</DependentUpon> @@ -183,6 +187,12 @@ <Compile Include="start_form.Designer.cs"> <DependentUpon>start_form.cs</DependentUpon> </Compile> + <Compile Include="UpdateChecker.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="UpdateChecker.Designer.cs"> + <DependentUpon>UpdateChecker.cs</DependentUpon> + </Compile> <Compile Include="wizard\controlp.cs"> <SubType>Form</SubType> </Compile> Modified: trunk/plugins/mpinstaler/MPInstaler/start_form.Designer.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/start_form.Designer.cs 2007-04-17 17:00:41 UTC (rev 338) +++ trunk/plugins/mpinstaler/MPInstaler/start_form.Designer.cs 2007-04-17 17:42:39 UTC (rev 339) @@ -33,11 +33,12 @@ this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); + this.button4 = new System.Windows.Forms.Button(); this.SuspendLayout(); // // button1 // - this.button1.Location = new System.Drawing.Point(153, 50); + this.button1.Location = new System.Drawing.Point(171, 21); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(109, 32); this.button1.TabIndex = 0; @@ -47,7 +48,7 @@ // // button2 // - this.button2.Location = new System.Drawing.Point(153, 100); + this.button2.Location = new System.Drawing.Point(171, 71); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(109, 32); this.button2.TabIndex = 1; @@ -57,7 +58,7 @@ // // button3 // - this.button3.Location = new System.Drawing.Point(153, 150); + this.button3.Location = new System.Drawing.Point(171, 121); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(109, 32); this.button3.TabIndex = 2; @@ -69,6 +70,16 @@ // this.openFileDialog1.Filter = "MPI files|*.mpi|ZIP files|*.zip|All files|*.*"; // + // button4 + // + this.button4.Location = new System.Drawing.Point(171, 172); + this.button4.Name = "button4"; + this.button4.Size = new System.Drawing.Size(109, 32); + this.button4.TabIndex = 3; + this.button4.Text = "Check for updates"; + this.button4.UseVisualStyleBackColor = true; + this.button4.Click += new System.EventHandler(this.button4_Click_1); + // // start_form // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -76,6 +87,7 @@ this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage"))); this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.ClientSize = new System.Drawing.Size(292, 249); + this.Controls.Add(this.button4); this.Controls.Add(this.button3); this.Controls.Add(this.button2); this.Controls.Add(this.button1); @@ -97,5 +109,6 @@ private System.Windows.Forms.Button button2; private System.Windows.Forms.Button button3; private System.Windows.Forms.OpenFileDialog openFileDialog1; + private System.Windows.Forms.Button button4; } } \ No newline at end of file Modified: trunk/plugins/mpinstaler/MPInstaler/start_form.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/start_form.cs 2007-04-17 17:00:41 UTC (rev 338) +++ trunk/plugins/mpinstaler/MPInstaler/start_form.cs 2007-04-17 17:42:39 UTC (rev 339) @@ -57,5 +57,13 @@ { this.Close(); } + + private void button4_Click_1(object sender, EventArgs e) + { + this.Hide(); + UpdateChecker checker = new UpdateChecker(); + checker.Check(); + this.Show(); + } } } \ No newline at end of file Modified: trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.Designer.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.Designer.cs 2007-04-17 17:00:41 UTC (rev 338) +++ trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.Designer.cs 2007-04-17 17:42:39 UTC (rev 339) @@ -43,7 +43,6 @@ this.button4 = new System.Windows.Forms.Button(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); - this.button6 = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.comboBox2 = new System.Windows.Forms.ComboBox(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); @@ -185,7 +184,6 @@ // // tabPage1 // - this.tabPage1.Controls.Add(this.button6); this.tabPage1.Controls.Add(this.label2); this.tabPage1.Controls.Add(this.comboBox2); this.tabPage1.Controls.Add(this.linkLabel1); @@ -203,16 +201,6 @@ this.tabPage1.UseVisualStyleBackColor = true; this.tabPage1.Enter += new System.EventHandler(this.tabPage1_Enter); // - // button6 - // - this.button6.Location = new System.Drawing.Point(250, 294); - this.button6.Name = "button6"; - this.button6.Size = new System.Drawing.Size(105, 23); - this.button6.TabIndex = 8; - this.button6.Text = "Find updates"; - this.button6.UseVisualStyleBackColor = true; - this.button6.Visible = false; - // // label2 // this.label2.AutoSize = true; @@ -402,7 +390,6 @@ private System.Windows.Forms.Label label2; private System.Windows.Forms.ComboBox comboBox2; private System.Windows.Forms.ColumnHeader columnHeader10; - private System.Windows.Forms.Button button6; private System.Windows.Forms.PictureBox pictureBox1; private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; } Modified: trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.resx =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.resx 2007-04-17 17:00:41 UTC (rev 338) +++ trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.resx 2007-04-17 17:42:39 UTC (rev 339) @@ -126,129 +126,129 @@ LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACS HQAAAk1TRnQBSQFMAwEBAAEEAQABBAEAASABAAEgAQAE/wEhAQAI/wFCAU0BNgcAATYDAAEoAwABgAMA - ASADAAEBAQABIAYAAUAqAAEVATMBfAH/ARYBOQGBAf8BFgE9AYgB/wEXAUMBmQH/ARcBRAGfAf8BFwFK - AbAB/wEXAUwBtgH/ARgBTAG2Af8BGAFMAbYB/wEYAUwBtgH/ARgBTAG2Af8BGAFMAbYB/wEYAUwBtgH/ - ARgBTAG2Af8BFwFIAaoB/wEXAUQBnwH/ARcBQgGWAf8BFgE9AYgB/wEWATcBgQH/ARUBMgF5Af//AKEA - ARcBQQGTAf8BGgFNAbYB/wEfAVMBuAH/ASMB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AbYB/wEaAU0BtgH/ARsBTgG2Af8BGwFOAbYB/wEZAUwBtgH/ARcBTAG2Af8BGAFM - AbYB/wEXAUcBpwH/ARcBRAGfAf8BFwFAAZAB/wEWATwBhQH/ARYBNgGBAf//AJ0AAUIBTQE+BwABPgMA + AcwB/wFyAYEByQH/AV8BgQHFAf8BTAF2AcIB/wFBAW0BwAH/ATYBZQG+Af8BLQFeAb0B/wElAVcBugH/ + ARoBTgG2Af8BFgE2AYEB//8ApQABFwE4AYEB/wEXAT4BiAH/ARgBQwGWAf8BGAFFAZ8B/wEYAUoBrQH/ + ARkBTQG2Af8BGAFNAbYB/wEbAU4BtgH/ARwBTwG2Af8BHAFPAbYB/wEaAU0BtgH/ARgBTQG2Af8BGQFN + AbYB/wEYAUgBpwH/ARgBRQGfAf8BGAFBAZAB/wEXAT0BhQH/ARcBNwGBAf//AJ0AAUIBTQE+BwABPgMA ASgDAAGAAwABIAMAAQEBAAEBBgABAhYAA/8BAAH8AgABPwwAAcACAAEDDAABgAIAAQEMAAGAAgABAQwA AYACAAEBDAABgAIAAQH/AD0AAYACAAEBDAABgAIAAQEMAAGAAgABAQwAAYACAAEBDAABgAIAAQEMAAHA AgABAwwAAf4CAAF/DAAL Modified: trunk/plugins/mpinstaler/MPInstaler/wizard/wizard_1.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/wizard/wizard_1.cs 2007-04-17 17:00:41 UTC (rev 338) +++ trunk/plugins/mpinstaler/MPInstaler/wizard/wizard_1.cs 2007-04-17 17:42:39 UTC (rev 339) @@ -15,6 +15,7 @@ public MPpackageStruct package; MPInstallHelper inst = new MPInstallHelper(); List<ActionInfo> actions = new List<ActionInfo>(); + bool update = false; public wizard_1() { package = new MPpackageStruct(); @@ -29,6 +30,45 @@ if (MessageBox.Show("Extension already installed. Do you want continue ?", "", MessageBoxButtons.YesNo) == DialogResult.Yes) nextStep(1); } + public void StartUpdate() + { + update = true; + inst.LoadFromFile(); + nextStep(1); + //if (!this.Visible) this.Show(); + //this.Text = "MediaPortal extension instaler"; + //skinlister.Items.Clear(); + //foreach (string sk in package.SkinList) + //{ + // skinlister.Items.Add(sk, true); + //} + //if (package._intalerStruct.Logo != null) + //{ + // pictureBox2.Visible = true; + // pictureBox2.Image = package._intalerStruct.Logo; + //} + //else + //{ + // pictureBox2.Visible = false; + //} + //for (int i = 0; i < skinlister.Items.Count; i++) + //{ + // if (skinlister.GetItemChecked(i)) + // package.InstallableSkinList.Add(skinlister.Items[i].ToString()); + //} + //label2.Visible = true; + //progressBar1.Visible = true; + //progressBar2.Visible = true; + //listBox1.Visible = true; ; + //title_label.Text = package._intalerStruct.Name; + //label2.Text = "Instaling ..."; + //button_next.Visible = false; + //button_back.Visible = true; + //richTextBox1.Text = ""; + //richTextBox1.Visible = false; + //step = 7; + //install(); + } public void nextStep(int m) { @@ -142,6 +182,7 @@ } case 7: { + if (!this.Visible) this.ShowDialog(); for (int i = 0; i < skinlister.Items.Count; i++) { if (skinlister.GetItemChecked(i)) @@ -207,6 +248,7 @@ case 1: break; case 2: + if (update) step = 6; if (String.IsNullOrEmpty(package.txt_EULA)) { step+=m; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <du...@us...> - 2007-04-28 21:02:52
|
Revision: 351 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=351&view=rev Author: dukus Date: 2007-04-28 14:02:49 -0700 (Sat, 28 Apr 2007) Log Message: ----------- new file properties Modified Paths: -------------- trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs trunk/plugins/mpinstaler/MPInstaler/Form1.cs trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs trunk/plugins/mpinstaler/MPInstaler/properties.cs Modified: trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs 2007-04-28 16:56:41 UTC (rev 350) +++ trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs 2007-04-28 21:02:49 UTC (rev 351) @@ -28,116 +28,118 @@ /// </summary> private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.menuStrip1 = new System.Windows.Forms.MenuStrip(); - this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.openProiectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.sToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.saveProiectAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.buildToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.addToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.windowPluginToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.windowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.procesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.subtitleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.tagReadersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.externalPlayersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.skinToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.componentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.mediaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.soundsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.animationsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.tetrisToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.languageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.textToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.textToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.otherToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.customizationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.postSetupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.bossview = new System.Windows.Forms.ListView(); - this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); - this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); - this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); - this.columnHeader4 = new System.Windows.Forms.ColumnHeader(); - this.columnHeader5 = new System.Windows.Forms.ColumnHeader(); - this.columnHeader6 = new System.Windows.Forms.ColumnHeader(); - this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); - this.toolStripComboBox1 = new System.Windows.Forms.ToolStripMenuItem(); - this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); - this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); - this.tabPage_Skin = new System.Windows.Forms.TabPage(); - this.label6 = new System.Windows.Forms.Label(); - this.skint_comboBox1 = new System.Windows.Forms.ComboBox(); - this.tabPage_Plugin = new System.Windows.Forms.TabPage(); - this.tabControl1 = new System.Windows.Forms.TabControl(); - this.tabPage_Text = new System.Windows.Forms.TabPage(); - this.textt_comboBox1 = new System.Windows.Forms.ComboBox(); - this.label1 = new System.Windows.Forms.Label(); - this.tabPage_Advanced = new System.Windows.Forms.TabPage(); - this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); - this.button_browse = new System.Windows.Forms.Button(); - this.label11 = new System.Windows.Forms.Label(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.tabPage_Proiect = new System.Windows.Forms.TabPage(); - this.proiectt_textBox6 = new System.Windows.Forms.TextBox(); - this.label10 = new System.Windows.Forms.Label(); - this.label9 = new System.Windows.Forms.Label(); - this.proiectt_textBox5 = new System.Windows.Forms.TextBox(); - this.proiectt_textBox4 = new System.Windows.Forms.TextBox(); - this.label5 = new System.Windows.Forms.Label(); - this.proiectt_textBox3 = new System.Windows.Forms.TextBox(); - this.label4 = new System.Windows.Forms.Label(); - this.proiectt_textBox2 = new System.Windows.Forms.TextBox(); - this.label3 = new System.Windows.Forms.Label(); - this.proiectt_textBox1 = new System.Windows.Forms.TextBox(); - this.label2 = new System.Windows.Forms.Label(); - this.tabPage_Thumbs = new System.Windows.Forms.TabPage(); - this.thumbst_comboBox1 = new System.Windows.Forms.ComboBox(); - this.label7 = new System.Windows.Forms.Label(); - this.tabPage_Other = new System.Windows.Forms.TabPage(); - this.othert_comboBox1 = new System.Windows.Forms.ComboBox(); - this.label8 = new System.Windows.Forms.Label(); - this.toolStrip1 = new System.Windows.Forms.ToolStrip(); - this.newToolStripButton = new System.Windows.Forms.ToolStripButton(); - this.openToolStripButton = new System.Windows.Forms.ToolStripButton(); - this.saveToolStripButton = new System.Windows.Forms.ToolStripButton(); - this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); - this.menuStrip1.SuspendLayout(); - this.contextMenuStrip1.SuspendLayout(); - this.tabPage_Skin.SuspendLayout(); - this.tabControl1.SuspendLayout(); - this.tabPage_Text.SuspendLayout(); - this.tabPage_Advanced.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - this.tabPage_Proiect.SuspendLayout(); - this.tabPage_Thumbs.SuspendLayout(); - this.tabPage_Other.SuspendLayout(); - this.toolStrip1.SuspendLayout(); - this.toolStripContainer1.SuspendLayout(); - this.SuspendLayout(); - // - // menuStrip1 - // - this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); + this.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.openProiectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.sToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.saveProiectAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.buildToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.addToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.windowPluginToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.windowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.procesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.subtitleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.tagReadersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.externalPlayersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.skinToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.componentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.mediaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.soundsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.animationsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.tetrisToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.languageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.textToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.textToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.otherToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.customizationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.postSetupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.bossview = new System.Windows.Forms.ListView(); + this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); + this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); + this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); + this.columnHeader4 = new System.Windows.Forms.ColumnHeader(); + this.columnHeader5 = new System.Windows.Forms.ColumnHeader(); + this.columnHeader6 = new System.Windows.Forms.ColumnHeader(); + this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.toolStripComboBox1 = new System.Windows.Forms.ToolStripMenuItem(); + this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); + this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); + this.tabPage_Skin = new System.Windows.Forms.TabPage(); + this.label6 = new System.Windows.Forms.Label(); + this.skint_comboBox1 = new System.Windows.Forms.ComboBox(); + this.tabPage_Plugin = new System.Windows.Forms.TabPage(); + this.tabControl1 = new System.Windows.Forms.TabControl(); + this.tabPage_Text = new System.Windows.Forms.TabPage(); + this.textt_comboBox1 = new System.Windows.Forms.ComboBox(); + this.label1 = new System.Windows.Forms.Label(); + this.tabPage_Advanced = new System.Windows.Forms.TabPage(); + this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); + this.button_browse = new System.Windows.Forms.Button(); + this.label11 = new System.Windows.Forms.Label(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.tabPage_Proiect = new System.Windows.Forms.TabPage(); + this.proiectt_textBox6 = new System.Windows.Forms.ComboBox(); + this.label10 = new System.Windows.Forms.Label(); + this.label9 = new System.Windows.Forms.Label(); + this.proiectt_textBox5 = new System.Windows.Forms.TextBox(); + this.proiectt_textBox4 = new System.Windows.Forms.TextBox(); + this.label5 = new System.Windows.Forms.Label(); + this.proiectt_textBox3 = new System.Windows.Forms.TextBox(); + this.label4 = new System.Windows.Forms.Label(); + this.proiectt_textBox2 = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.proiectt_textBox1 = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.tabPage_Thumbs = new System.Windows.Forms.TabPage(); + this.thumbst_comboBox1 = new System.Windows.Forms.ComboBox(); + this.label7 = new System.Windows.Forms.Label(); + this.tabPage_Other = new System.Windows.Forms.TabPage(); + this.othert_comboBox1 = new System.Windows.Forms.ComboBox(); + this.label8 = new System.Windows.Forms.Label(); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.newToolStripButton = new System.Windows.Forms.ToolStripButton(); + this.openToolStripButton = new System.Windows.Forms.ToolStripButton(); + this.saveToolStripButton = new System.Windows.Forms.ToolStripButton(); + this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); + this.setupGroupsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.propertyGrid2 = new System.Windows.Forms.PropertyGrid(); + this.menuStrip1.SuspendLayout(); + this.contextMenuStrip1.SuspendLayout(); + this.tabPage_Skin.SuspendLayout(); + this.tabControl1.SuspendLayout(); + this.tabPage_Text.SuspendLayout(); + this.tabPage_Advanced.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.tabPage_Proiect.SuspendLayout(); + this.tabPage_Thumbs.SuspendLayout(); + this.tabPage_Other.SuspendLayout(); + this.toolStrip1.SuspendLayout(); + this.toolStripContainer1.SuspendLayout(); + this.SuspendLayout(); + // + // menuStrip1 + // + this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.addToolStripMenuItem, this.customizationToolStripMenuItem}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); - this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(675, 24); - this.menuStrip1.TabIndex = 1; - this.menuStrip1.Text = "menuStrip1"; - // - // fileToolStripMenuItem - // - this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.menuStrip1.Location = new System.Drawing.Point(0, 0); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.Size = new System.Drawing.Size(675, 24); + this.menuStrip1.TabIndex = 1; + this.menuStrip1.Text = "menuStrip1"; + // + // fileToolStripMenuItem + // + this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newToolStripMenuItem, this.openProiectToolStripMenuItem, this.sToolStripMenuItem, @@ -147,73 +149,73 @@ this.optionsToolStripMenuItem, this.toolStripSeparator2, this.exitToolStripMenuItem}); - this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; - this.fileToolStripMenuItem.Size = new System.Drawing.Size(35, 20); - this.fileToolStripMenuItem.Text = "File"; - // - // newToolStripMenuItem - // - this.newToolStripMenuItem.Name = "newToolStripMenuItem"; - this.newToolStripMenuItem.Size = new System.Drawing.Size(168, 22); - this.newToolStripMenuItem.Text = "New Proiect"; - this.newToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click); - // - // openProiectToolStripMenuItem - // - this.openProiectToolStripMenuItem.Name = "openProiectToolStripMenuItem"; - this.openProiectToolStripMenuItem.Size = new System.Drawing.Size(168, 22); - this.openProiectToolStripMenuItem.Text = "Open Proiect .."; - this.openProiectToolStripMenuItem.Click += new System.EventHandler(this.openProiectToolStripMenuItem_Click); - // - // sToolStripMenuItem - // - this.sToolStripMenuItem.Name = "sToolStripMenuItem"; - this.sToolStripMenuItem.Size = new System.Drawing.Size(168, 22); - this.sToolStripMenuItem.Text = "Save Proiect"; - this.sToolStripMenuItem.Click += new System.EventHandler(this.sToolStripMenuItem_Click); - // - // saveProiectAsToolStripMenuItem - // - this.saveProiectAsToolStripMenuItem.Name = "saveProiectAsToolStripMenuItem"; - this.saveProiectAsToolStripMenuItem.Size = new System.Drawing.Size(168, 22); - this.saveProiectAsToolStripMenuItem.Text = "Save Proiect As.."; - this.saveProiectAsToolStripMenuItem.Click += new System.EventHandler(this.saveProiectAsToolStripMenuItem_Click); - // - // buildToolStripMenuItem - // - this.buildToolStripMenuItem.Name = "buildToolStripMenuItem"; - this.buildToolStripMenuItem.Size = new System.Drawing.Size(168, 22); - this.buildToolStripMenuItem.Text = "Build"; - this.buildToolStripMenuItem.Click += new System.EventHandler(this.buildToolStripMenuItem_Click); - // - // toolStripSeparator1 - // - this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(165, 6); - // - // optionsToolStripMenuItem - // - this.optionsToolStripMenuItem.Enabled = false; - this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem"; - this.optionsToolStripMenuItem.Size = new System.Drawing.Size(168, 22); - this.optionsToolStripMenuItem.Text = "Options"; - this.optionsToolStripMenuItem.Click += new System.EventHandler(this.optionsToolStripMenuItem_Click); - // - // toolStripSeparator2 - // - this.toolStripSeparator2.Name = "toolStripSeparator2"; - this.toolStripSeparator2.Size = new System.Drawing.Size(165, 6); - // - // exitToolStripMenuItem - // - this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; - this.exitToolStripMenuItem.Size = new System.Drawing.Size(168, 22); - this.exitToolStripMenuItem.Text = "Exit"; - this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); - // - // addToolStripMenuItem - // - this.addToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; + this.fileToolStripMenuItem.Size = new System.Drawing.Size(35, 20); + this.fileToolStripMenuItem.Text = "File"; + // + // newToolStripMenuItem + // + this.newToolStripMenuItem.Name = "newToolStripMenuItem"; + this.newToolStripMenuItem.Size = new System.Drawing.Size(168, 22); + this.newToolStripMenuItem.Text = "New Proiect"; + this.newToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click); + // + // openProiectToolStripMenuItem + // + this.openProiectToolStripMenuItem.Name = "openProiectToolStripMenuItem"; + this.openProiectToolStripMenuItem.Size = new System.Drawing.Size(168, 22); + this.openProiectToolStripMenuItem.Text = "Open Proiect .."; + this.openProiectToolStripMenuItem.Click += new System.EventHandler(this.openProiectToolStripMenuItem_Click); + // + // sToolStripMenuItem + // + this.sToolStripMenuItem.Name = "sToolStripMenuItem"; + this.sToolStripMenuItem.Size = new System.Drawing.Size(168, 22); + this.sToolStripMenuItem.Text = "Save Proiect"; + this.sToolStripMenuItem.Click += new System.EventHandler(this.sToolStripMenuItem_Click); + // + // saveProiectAsToolStripMenuItem + // + this.saveProiectAsToolStripMenuItem.Name = "saveProiectAsToolStripMenuItem"; + this.saveProiectAsToolStripMenuItem.Size = new System.Drawing.Size(168, 22); + this.saveProiectAsToolStripMenuItem.Text = "Save Proiect As.."; + this.saveProiectAsToolStripMenuItem.Click += new System.EventHandler(this.saveProiectAsToolStripMenuItem_Click); + // + // buildToolStripMenuItem + // + this.buildToolStripMenuItem.Name = "buildToolStripMenuItem"; + this.buildToolStripMenuItem.Size = new System.Drawing.Size(168, 22); + this.buildToolStripMenuItem.Text = "Build"; + this.buildToolStripMenuItem.Click += new System.EventHandler(this.buildToolStripMenuItem_Click); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(165, 6); + // + // optionsToolStripMenuItem + // + this.optionsToolStripMenuItem.Enabled = false; + this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem"; + this.optionsToolStripMenuItem.Size = new System.Drawing.Size(168, 22); + this.optionsToolStripMenuItem.Text = "Options"; + this.optionsToolStripMenuItem.Click += new System.EventHandler(this.optionsToolStripMenuItem_Click); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(165, 6); + // + // exitToolStripMenuItem + // + this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; + this.exitToolStripMenuItem.Size = new System.Drawing.Size(168, 22); + this.exitToolStripMenuItem.Text = "Exit"; + this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); + // + // addToolStripMenuItem + // + this.addToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.windowPluginToolStripMenuItem, this.skinToolStripMenuItem, this.languageToolStripMenuItem, @@ -221,517 +223,532 @@ this.settingsToolStripMenuItem, this.textToolStripMenuItem1, this.otherToolStripMenuItem}); - this.addToolStripMenuItem.Name = "addToolStripMenuItem"; - this.addToolStripMenuItem.Size = new System.Drawing.Size(38, 20); - this.addToolStripMenuItem.Text = "Add"; - // - // windowPluginToolStripMenuItem - // - this.windowPluginToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.addToolStripMenuItem.Name = "addToolStripMenuItem"; + this.addToolStripMenuItem.Size = new System.Drawing.Size(38, 20); + this.addToolStripMenuItem.Text = "Add"; + // + // windowPluginToolStripMenuItem + // + this.windowPluginToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.windowToolStripMenuItem, this.procesToolStripMenuItem, this.subtitleToolStripMenuItem, this.tagReadersToolStripMenuItem, this.externalPlayersToolStripMenuItem}); - this.windowPluginToolStripMenuItem.Name = "windowPluginToolStripMenuItem"; - this.windowPluginToolStripMenuItem.Size = new System.Drawing.Size(132, 22); - this.windowPluginToolStripMenuItem.Text = "Plugin"; - // - // windowToolStripMenuItem - // - this.windowToolStripMenuItem.Name = "windowToolStripMenuItem"; - this.windowToolStripMenuItem.Size = new System.Drawing.Size(160, 22); - this.windowToolStripMenuItem.Text = "Window"; - this.windowToolStripMenuItem.Click += new System.EventHandler(this.windowToolStripMenuItem_Click); - // - // procesToolStripMenuItem - // - this.procesToolStripMenuItem.Name = "procesToolStripMenuItem"; - this.procesToolStripMenuItem.Size = new System.Drawing.Size(160, 22); - this.procesToolStripMenuItem.Text = "Process"; - this.procesToolStripMenuItem.Click += new System.EventHandler(this.procesToolStripMenuItem_Click); - // - // subtitleToolStripMenuItem - // - this.subtitleToolStripMenuItem.Name = "subtitleToolStripMenuItem"; - this.subtitleToolStripMenuItem.Size = new System.Drawing.Size(160, 22); - this.subtitleToolStripMenuItem.Text = "Subtitle"; - this.subtitleToolStripMenuItem.Click += new System.EventHandler(this.subtitleToolStripMenuItem_Click); - // - // tagReadersToolStripMenuItem - // - this.tagReadersToolStripMenuItem.Name = "tagReadersToolStripMenuItem"; - this.tagReadersToolStripMenuItem.Size = new System.Drawing.Size(160, 22); - this.tagReadersToolStripMenuItem.Text = "TagReaders"; - this.tagReadersToolStripMenuItem.Click += new System.EventHandler(this.tagReadersToolStripMenuItem_Click); - // - // externalPlayersToolStripMenuItem - // - this.externalPlayersToolStripMenuItem.Name = "externalPlayersToolStripMenuItem"; - this.externalPlayersToolStripMenuItem.Size = new System.Drawing.Size(160, 22); - this.externalPlayersToolStripMenuItem.Text = "ExternalPlayers"; - this.externalPlayersToolStripMenuItem.Click += new System.EventHandler(this.externalPlayersToolStripMenuItem_Click); - // - // skinToolStripMenuItem - // - this.skinToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.windowPluginToolStripMenuItem.Name = "windowPluginToolStripMenuItem"; + this.windowPluginToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.windowPluginToolStripMenuItem.Text = "Plugin"; + // + // windowToolStripMenuItem + // + this.windowToolStripMenuItem.Name = "windowToolStripMenuItem"; + this.windowToolStripMenuItem.Size = new System.Drawing.Size(160, 22); + this.windowToolStripMenuItem.Text = "Window"; + this.windowToolStripMenuItem.Click += new System.EventHandler(this.windowToolStripMenuItem_Click); + // + // procesToolStripMenuItem + // + this.procesToolStripMenuItem.Name = "procesToolStripMenuItem"; + this.procesToolStripMenuItem.Size = new System.Drawing.Size(160, 22); + this.procesToolStripMenuItem.Text = "Process"; + this.procesToolStripMenuItem.Click += new System.EventHandler(this.procesToolStripMenuItem_Click); + // + // subtitleToolStripMenuItem + // + this.subtitleToolStripMenuItem.Name = "subtitleToolStripMenuItem"; + this.subtitleToolStripMenuItem.Size = new System.Drawing.Size(160, 22); + this.subtitleToolStripMenuItem.Text = "Subtitle"; + this.subtitleToolStripMenuItem.Click += new System.EventHandler(this.subtitleToolStripMenuItem_Click); + // + // tagReadersToolStripMenuItem + // + this.tagReadersToolStripMenuItem.Name = "tagReadersToolStripMenuItem"; + this.tagReadersToolStripMenuItem.Size = new System.Drawing.Size(160, 22); + this.tagReadersToolStripMenuItem.Text = "TagReaders"; + this.tagReadersToolStripMenuItem.Click += new System.EventHandler(this.tagReadersToolStripMenuItem_Click); + // + // externalPlayersToolStripMenuItem + // + this.externalPlayersToolStripMenuItem.Name = "externalPlayersToolStripMenuItem"; + this.externalPlayersToolStripMenuItem.Size = new System.Drawing.Size(160, 22); + this.externalPlayersToolStripMenuItem.Text = "ExternalPlayers"; + this.externalPlayersToolStripMenuItem.Click += new System.EventHandler(this.externalPlayersToolStripMenuItem_Click); + // + // skinToolStripMenuItem + // + this.skinToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.componentToolStripMenuItem, this.mediaToolStripMenuItem, this.soundsToolStripMenuItem, this.animationsToolStripMenuItem, this.tetrisToolStripMenuItem}); - this.skinToolStripMenuItem.Name = "skinToolStripMenuItem"; - this.skinToolStripMenuItem.Size = new System.Drawing.Size(132, 22); - this.skinToolStripMenuItem.Text = "Skin"; - // - // componentToolStripMenuItem - // - this.componentToolStripMenuItem.Name = "componentToolStripMenuItem"; - this.componentToolStripMenuItem.Size = new System.Drawing.Size(140, 22); - this.componentToolStripMenuItem.Text = "Component"; - this.componentToolStripMenuItem.Click += new System.EventHandler(this.componentToolStripMenuItem_Click); - // - // mediaToolStripMenuItem - // - this.mediaToolStripMenuItem.Name = "mediaToolStripMenuItem"; - this.mediaToolStripMenuItem.Size = new System.Drawing.Size(140, 22); - this.mediaToolStripMenuItem.Text = "Media"; - this.mediaToolStripMenuItem.Click += new System.EventHandler(this.mediaToolStripMenuItem_Click); - // - // soundsToolStripMenuItem - // - this.soundsToolStripMenuItem.Name = "soundsToolStripMenuItem"; - this.soundsToolStripMenuItem.Size = new System.Drawing.Size(140, 22); - this.soundsToolStripMenuItem.Text = "Sounds"; - this.soundsToolStripMenuItem.Click += new System.EventHandler(this.soundsToolStripMenuItem_Click); - // - // animationsToolStripMenuItem - // - this.animationsToolStripMenuItem.Name = "animationsToolStripMenuItem"; - this.animationsToolStripMenuItem.Size = new System.Drawing.Size(140, 22); - this.animationsToolStripMenuItem.Text = "Animations"; - this.animationsToolStripMenuItem.Click += new System.EventHandler(this.animationsToolStripMenuItem_Click); - // - // tetrisToolStripMenuItem - // - this.tetrisToolStripMenuItem.Name = "tetrisToolStripMenuItem"; - this.tetrisToolStripMenuItem.Size = new System.Drawing.Size(140, 22); - this.tetrisToolStripMenuItem.Text = "Tetris"; - this.tetrisToolStripMenuItem.Click += new System.EventHandler(this.tetrisToolStripMenuItem_Click); - // - // languageToolStripMenuItem - // - this.languageToolStripMenuItem.Name = "languageToolStripMenuItem"; - this.languageToolStripMenuItem.Size = new System.Drawing.Size(132, 22); - this.languageToolStripMenuItem.Text = "Language"; - this.languageToolStripMenuItem.Click += new System.EventHandler(this.languageToolStripMenuItem_Click); - // - // textToolStripMenuItem - // - this.textToolStripMenuItem.Name = "textToolStripMenuItem"; - this.textToolStripMenuItem.Size = new System.Drawing.Size(132, 22); - this.textToolStripMenuItem.Text = "Text"; - this.textToolStripMenuItem.Click += new System.EventHandler(this.textToolStripMenuItem_Click); - // - // settingsToolStripMenuItem - // - this.settingsToolStripMenuItem.Enabled = false; - this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; - this.settingsToolStripMenuItem.Size = new System.Drawing.Size(132, 22); - this.settingsToolStripMenuItem.Text = "Settings"; - // - // textToolStripMenuItem1 - // - this.textToolStripMenuItem1.Name = "textToolStripMenuItem1"; - this.textToolStripMenuItem1.Size = new System.Drawing.Size(132, 22); - this.textToolStripMenuItem1.Text = "Thumbs"; - this.textToolStripMenuItem1.Click += new System.EventHandler(this.textToolStripMenuItem1_Click); - // - // otherToolStripMenuItem - // - this.otherToolStripMenuItem.Name = "otherToolStripMenuItem"; - this.otherToolStripMenuItem.Size = new System.Drawing.Size(132, 22); - this.otherToolStripMenuItem.Text = "Other"; - this.otherToolStripMenuItem.Click += new System.EventHandler(this.otherToolStripMenuItem_Click); - // - // customizationToolStripMenuItem - // - this.customizationToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.postSetupToolStripMenuItem}); - this.customizationToolStripMenuItem.Name = "customizationToolStripMenuItem"; - this.customizationToolStripMenuItem.Size = new System.Drawing.Size(47, 20); - this.customizationToolStripMenuItem.Text = "Setup"; - // - // postSetupToolStripMenuItem - // - this.postSetupToolStripMenuItem.Name = "postSetupToolStripMenuItem"; - this.postSetupToolStripMenuItem.Size = new System.Drawing.Size(137, 22); - this.postSetupToolStripMenuItem.Text = "Post Setup"; - this.postSetupToolStripMenuItem.Click += new System.EventHandler(this.postSetupToolStripMenuItem_Click); - // - // bossview - // - this.bossview.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.bossview.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.skinToolStripMenuItem.Name = "skinToolStripMenuItem"; + this.skinToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.skinToolStripMenuItem.Text = "Skin"; + // + // componentToolStripMenuItem + // + this.componentToolStripMenuItem.Name = "componentToolStripMenuItem"; + this.componentToolStripMenuItem.Size = new System.Drawing.Size(140, 22); + this.componentToolStripMenuItem.Text = "Component"; + this.componentToolStripMenuItem.Click += new System.EventHandler(this.componentToolStripMenuItem_Click); + // + // mediaToolStripMenuItem + // + this.mediaToolStripMenuItem.Name = "mediaToolStripMenuItem"; + this.mediaToolStripMenuItem.Size = new System.Drawing.Size(140, 22); + this.mediaToolStripMenuItem.Text = "Media"; + this.mediaToolStripMenuItem.Click += new System.EventHandler(this.mediaToolStripMenuItem_Click); + // + // soundsToolStripMenuItem + // + this.soundsToolStripMenuItem.Name = "soundsToolStripMenuItem"; + this.soundsToolStripMenuItem.Size = new System.Drawing.Size(140, 22); + this.soundsToolStripMenuItem.Text = "Sounds"; + this.soundsToolStripMenuItem.Click += new System.EventHandler(this.soundsToolStripMenuItem_Click); + // + // animationsToolStripMenuItem + // + this.animationsToolStripMenuItem.Name = "animationsToolStripMenuItem"; + this.animationsToolStripMenuItem.Size = new System.Drawing.Size(140, 22); + this.animationsToolStripMenuItem.Text = "Animations"; + this.animationsToolStripMenuItem.Click += new System.EventHandler(this.animationsToolStripMenuItem_Click); + // + // tetrisToolStripMenuItem + // + this.tetrisToolStripMenuItem.Name = "tetrisToolStripMenuItem"; + this.tetrisToolStripMenuItem.Size = new System.Drawing.Size(140, 22); + this.tetrisToolStripMenuItem.Text = "Tetris"; + this.tetrisToolStripMenuItem.Click += new System.EventHandler(this.tetrisToolStripMenuItem_Click); + // + // languageToolStripMenuItem + // + this.languageToolStripMenuItem.Name = "languageToolStripMenuItem"; + this.languageToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.languageToolStripMenuItem.Text = "Language"; + this.languageToolStripMenuItem.Click += new System.EventHandler(this.languageToolStripMenuItem_Click); + // + // textToolStripMenuItem + // + this.textToolStripMenuItem.Name = "textToolStripMenuItem"; + this.textToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.textToolStripMenuItem.Text = "Text"; + this.textToolStripMenuItem.Click += new System.EventHandler(this.textToolStripMenuItem_Click); + // + // settingsToolStripMenuItem + // + this.settingsToolStripMenuItem.Enabled = false; + this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; + this.settingsToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.settingsToolStripMenuItem.Text = "Settings"; + // + // textToolStripMenuItem1 + // + this.textToolStripMenuItem1.Name = "textToolStripMenuItem1"; + this.textToolStripMenuItem1.Size = new System.Drawing.Size(132, 22); + this.textToolStripMenuItem1.Text = "Thumbs"; + this.textToolStripMenuItem1.Click += new System.EventHandler(this.textToolStripMenuItem1_Click); + // + // otherToolStripMenuItem + // + this.otherToolStripMenuItem.Name = "otherToolStripMenuItem"; + this.otherToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.otherToolStripMenuItem.Text = "Other"; + this.otherToolStripMenuItem.Click += new System.EventHandler(this.otherToolStripMenuItem_Click); + // + // customizationToolStripMenuItem + // + this.customizationToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.postSetupToolStripMenuItem, + this.setupGroupsToolStripMenuItem}); + this.customizationToolStripMenuItem.Name = "customizationToolStripMenuItem"; + this.customizationToolStripMenuItem.Size = new System.Drawing.Size(47, 20); + this.customizationToolStripMenuItem.Text = "Setup"; + // + // postSetupToolStripMenuItem + // + this.postSetupToolStripMenuItem.Name = "postSetupToolStripMenuItem"; + this.postSetupToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.postSetupToolStripMenuItem.Text = "Post Setup"; + this.postSetupToolStripMenuItem.Click += new System.EventHandler(this.postSetupToolStripMenuItem_Click); + // + // bossview + // + this.bossview.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.bossview.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2, this.columnHeader3, this.columnHeader4, this.columnHeader5, this.columnHeader6}); - this.bossview.ContextMenuStrip = this.contextMenuStrip1; - this.bossview.FullRowSelect = true; - this.bossview.GridLines = true; - this.bossview.HideSelection = false; - this.bossview.Location = new System.Drawing.Point(12, 52); - this.bossview.Name = "bossview"; - this.bossview.Size = new System.Drawing.Size(651, 215); - this.bossview.Sorting = System.Windows.Forms.SortOrder.Ascending; - this.bossview.TabIndex = 2; - this.bossview.UseCompatibleStateImageBehavior = false; - this.bossview.View = System.Windows.Forms.View.Details; - this.bossview.SelectedIndexChanged += new System.EventHandler(this.bossview_SelectedIndexChanged); - this.bossview.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.bossview_ColumnClick); - // - // columnHeader1 - // - this.columnHeader1.Text = "File"; - this.columnHeader1.Width = 116; - // - // columnHeader2 - // - this.columnHeader2.Text = "Type"; - this.columnHeader2.Width = 115; - // - // columnHeader3 - // - this.columnHeader3.Text = "Subtype"; - this.columnHeader3.Width = 108; - // - // columnHeader4 - // - this.columnHeader4.Text = "Source"; - this.columnHeader4.Width = 170; - // - // columnHeader5 - // - this.columnHeader5.Text = "Id"; - // - // columnHeader6 - // - this.columnHeader6.Text = "Options"; - this.columnHeader6.Width = 89; - // - // contextMenuStrip1 - // - this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bossview.ContextMenuStrip = this.contextMenuStrip1; + this.bossview.FullRowSelect = true; + this.bossview.GridLines = true; + this.bossview.HideSelection = false; + this.bossview.Location = new System.Drawing.Point(12, 52); + this.bossview.Name = "bossview"; + this.bossview.Size = new System.Drawing.Size(651, 182); + this.bossview.Sorting = System.Windows.Forms.SortOrder.Ascending; + this.bossview.TabIndex = 2; + this.bossview.UseCompatibleStateImageBehavior = false; + this.bossview.View = System.Windows.Forms.View.Details; + this.bossview.SelectedIndexChanged += new System.EventHandler(this.bossview_SelectedIndexChanged); + this.bossview.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.bossview_ColumnClick); + // + // columnHeader1 + // + this.columnHeader1.Text = "File"; + this.columnHeader1.Width = 116; + // + // columnHeader2 + // + this.columnHeader2.Text = "Type"; + this.columnHeader2.Width = 115; + // + // columnHeader3 + // + this.columnHeader3.Text = "Subtype"; + this.columnHeader3.Width = 108; + // + // columnHeader4 + // + this.columnHeader4.Text = "Source"; + this.columnHeader4.Width = 170; + // + // columnHeader5 + // + this.columnHeader5.Text = "Id"; + // + // columnHeader6 + // + this.columnHeader6.Text = "Options"; + this.columnHeader6.Width = 89; + // + // contextMenuStrip1 + // + this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripComboBox1}); - this.contextMenuStrip1.Name = "contextMenuStrip1"; - this.contextMenuStrip1.Size = new System.Drawing.Size(125, 26); - // - // toolStripComboBox1 - // - this.toolStripComboBox1.Name = "toolStripComboBox1"; - this.toolStripComboBox1.Size = new System.Drawing.Size(124, 22); - this.toolStripComboBox1.Text = "Remove"; - this.toolStripComboBox1.Click += new System.EventHandler(this.toolStripComboBox1_Click); - // - // openFileDialog1 - // - this.openFileDialog1.Filter = "\"Dll files|*.dll|All files|*.*\""; - // - // saveFileDialog1 - // - this.saveFileDialog1.CreatePrompt = true; - this.saveFileDialog1.DefaultExt = "xml"; - this.saveFileDialog1.Filter = "Proiect files (*.xmp)|*.xmp|All files |*.*"; - // - // tabPage_Skin - // - this.tabPage_Skin.Controls.Add(this.label6); - this.tabPage_Skin.Controls.Add(this.skint_comboBox1); - this.tabPage_Skin.Location = new System.Drawing.Point(4, 22); - this.tabPage_Skin.Name = "tabPage_Skin"; - this.tabPage_Skin.Padding = new System.Windows.Forms.Padding(3); - this.tabPage_Skin.Size = new System.Drawing.Size(643, 120); - this.tabPage_Skin.TabIndex = 1; - this.tabPage_Skin.Text = "Skin Properties"; - this.tabPage_Skin.UseVisualStyleBackColor = true; - // - // label6 - // - this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(6, 14); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(34, 13); - this.label6.TabIndex = 1; - this.label6.Text = "Skin :"; - // - // skint_comboBox1 - // - this.skint_comboBox1.FormattingEnabled = true; - this.skint_comboBox1.Location = new System.Drawing.Point(6, 30); - this.skint_comboBox1.Name = "skint_comboBox1"; - this.skint_comboBox1.Size = new System.Drawing.Size(141, 21); - this.skint_comboBox1.TabIndex = 0; - this.skint_comboBox1.TextChanged += new System.EventHandler(this.tab_skin_change); - // - // tabPage_Plugin - // - this.tabPage_Plugin.Location = new System.Drawing.Point(4, 22); - this.tabPage_Plugin.Name = "tabPage_Plugin"; - this.tabPage_Plugin.Padding = new System.Windows.Forms.Padding(3); - this.tabPage_Plugin.Size = new System.Drawing.Size(643, 120); - this.tabPage_Plugin.TabIndex = 0; - this.tabPage_Plugin.Text = "Plugin Properties"; - this.tabPage_Plugin.UseVisualStyleBackColor = true; - // - // tabControl1 - // - this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.tabControl1.Controls.Add(this.tabPage_Plugin); - this.tabControl1.Controls.Add(this.tabPage_Skin); - this.tabControl1.Controls.Add(this.tabPage_Text); - this.tabControl1.Controls.Add(this.tabPage_Advanced); - this.tabControl1.Controls.Add(this.tabPage_Proiect); - this.tabControl1.Controls.Add(this.tabPage_Thumbs); - this.tabControl1.Controls.Add(this.tabPage_Other); - this.tabControl1.Location = new System.Drawing.Point(12, 273); - this.tabControl1.Name = "tabControl1"; - this.tabControl1.SelectedIndex = 0; - this.tabControl1.Size = new System.Drawing.Size(651, 146); - this.tabControl1.TabIndex = 3; - // - // tabPage_Text - // - this.tabPage_Text.Controls.Add(this.textt_comboBox1); - this.tabPage_Text.Controls.Add(this.label1); - this.tabPage_Text.Location = new System.Drawing.Point(4, 22); - this.tabPage_Text.Name = "tabPage_Text"; - this.tabPage_Text.Size = new System.Drawing.Size(643, 120); - this.tabPage_Text.TabIndex = 2; - this.tabPage_Text.Text = "Text Properties"; - this.tabPage_Text.UseVisualStyleBackColor = true; - // - // textt_comboBox1 - // - this.textt_comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.textt_comboBox1.FormattingEnabled = true; - this.textt_comboBox1.Items.AddRange(new object[] { + this.contextMenuStrip1.Name = "contextMenuStrip1"; + this.contextMenuStrip1.Size = new System.Drawing.Size(125, 26); + // + // toolStripComboBox1 + // + this.toolStripComboBox1.Name = "toolStripComboBox1"; + this.toolStripComboBox1.Size = new System.Drawing.Size(124, 22); + this.toolStripComboBox1.Text = "Remove"; + this.toolStripComboBox1.Click += new System.EventHandler(this.toolStripComboBox1_Click); + // + // openFileDialog1 + // + this.openFileDialog1.Filter = "\"Dll files|*.dll|All files|*.*\""; + // + // saveFileDialog1 + // + this.saveFileDialog1.CreatePrompt = true; + this.saveFileDialog1.DefaultExt = "xml"; + this.saveFileDialog1.Filter = "Proiect files (*.xmp)|*.xmp|All files |*.*"; + // + // tabPage_Skin + // + this.tabPage_Skin.Controls.Add(this.label6); + this.tabPage_Skin.Controls.Add(this.skint_comboBox1); + this.tabPage_Skin.Location = new System.Drawing.Point(4, 22); + this.tabPage_Skin.Name = "tabPage_Skin"; + this.tabPage_Skin.Padding = new System.Windows.Forms.Padding(3); + this.tabPage_Skin.Size = new System.Drawing.Size(643, 153); + this.tabPage_Skin.TabIndex = 1; + this.tabPage_Skin.Text = "Skin Properties"; + this.tabPage_Skin.UseVisualStyleBackColor = true; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(6, 14); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(34, 13); + this.label6.TabIndex = 1; + this.label6.Text = "Skin :"; + // + // skint_comboBox1 + // + this.skint_comboBox1.FormattingEnabled = true; + this.skint_comboBox1.Location = new System.Drawing.Point(6, 30); + this.skint_comboBox1.Name = "skint_comboBox1"; + this.skint_comboBox1.Size = new System.Drawing.Size(141, 21); + this.skint_comboBox1.TabIndex = 0; + this.skint_comboBox1.TextChanged += new System.EventHandler(this.tab_skin_change); + // + // tabPage_Plugin + // + this.tabPage_Plugin.Location = new System.Drawing.Point(4, 22); + this.tabPage_Plugin.Name = "tabPage_Plugin"; + this.tabPage_Plugin.Padding = new System.Windows.Forms.Padding(3); + this.tabPage_Plugin.Size = new System.Drawing.Size(643, 153); + this.tabPage_Plugin.TabIndex = 0; + this.tabPage_Plugin.Text = "Plugin Properties"; + this.tabPage_Plugin.UseVisualStyleBackColor = true; + // + // tabControl1 + // + this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.tabControl1.Controls.Add(this.tabPage_Plugin); + this.tabControl1.Controls.Add(this.tabPage_Skin); + this.tabControl1.Controls.Add(this.tabPage_Text); + this.tabControl1.Controls.Add(this.tabPage_Advanced); + this.tabControl1.Controls.Add(this.tabPage_Proiect); + this.tabControl1.Controls.Add(this.tabPage_Thumbs); + this.tabControl1.Controls.Add(this.tabPage_Other); + this.tabControl1.Location = new System.Drawing.Point(12, 240); + this.tabControl1.Name = "tabControl1"; + this.tabControl1.SelectedIndex = 0; + this.tabControl1.Size = new System.Drawing.Size(651, 179); + this.tabControl1.TabIndex = 3; + // + // tabPage_Text + // + this.tabPage_Text.Controls.Add(this.textt_comboBox1); + this.tabPage_Text.Controls.Add(this.label1); + this.tabPage_Text.Location = new System.Drawing.Point(4, 22); + this.tabPage_Text.Name = "tabPage_Text"; + this.tabPage_Text.Size = new System.Drawing.Size(643, 120); + this.tabPage_Text.TabIndex = 2; + this.tabPage_Text.Text = "Text Properties"; + this.tabPage_Text.UseVisualStyleBackColor = true; + // + // textt_comboBox1 + // + this.textt_comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.textt_comboBox1.FormattingEnabled = true; + this.textt_comboBox1.Items.AddRange(new object[] { "LOG", "EULA", "READ ME"}); - this.textt_comboBox1.Location = new System.Drawing.Point(6, 28); - this.textt_comboBox1.Name = "textt_comboBox1"; - this.textt_comboBox1.Size = new System.Drawing.Size(111, 21); - this.textt_comboBox1.TabIndex = 1; - this.textt_comboBox1.TextChanged += new System.EventHandler(this.tab_text_change); - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(3, 12); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(34, 13); - this.label1.TabIndex = 0; - this.label1.Text = "Type:"; - // - // tabPage_Advanced - // - this.tabPage_Advanced.Controls.Add(this.propertyGrid1); - this.tabPage_Advanced.Controls.Add(this.button_browse); - this.tabPage_Advanced.Controls.Add(this.label11); - this.tabPage_Advanced.Controls.Add(this.pictureBox1); - this.tabPage_Advanced.Location = new System.Drawing.Point(4, 22); - this.tabPage_Advanced.Name = "tabPage_Advanced"; - this.tabPage_Advanced.Size = new System.Drawing.Size(643, 120); - this.tabPage_Advanced.TabIndex = 3; - this.tabPage_Advanced.Text = "Advanced Properties"; - this.tabPage_Advanced.UseVisualStyleBackColor = true; - // - // propertyGrid1 - // - this.propertyGrid1.CommandsVisibleIfAvailable = false; - this.propertyGrid1.Location = new System.Drawing.Point(342, 3); - this.propertyGrid1.Name = "propertyGrid1"; - this.propertyGrid1.PropertySort = System.Windows.Forms.PropertySort.NoSort; - this.propertyGrid1.Size = new System.Drawing.Size(301, 114); - this.propertyGrid1.TabIndex = 3; - this.propertyGrid1.ToolbarVisible = false; - // - // button_browse - // - this.button_browse.Location = new System.Drawing.Point(0, 94); - this.button_browse.Name = "button_browse"; - this.button_browse.Size = new System.Drawing.Size(67, 23); - this.button_browse.TabIndex = 2; - this.button_browse.Text = "Browse..."; - this.button_browse.UseVisualStyleBackColor = true; - this.button_browse.Click += new System.EventHandler(this.button_browse_Click); - // - // label11 - // - this.label11.AutoSize = true; - this.label11.Location = new System.Drawing.Point(3, 10); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(37, 13); - this.label11.TabIndex = 1; - this.label11.Text = "Logo :"; - // - // pictureBox1 - // - this.pictureBox1.Location = new System.Drawing.Point(3, 26); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(64, 64); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox1.TabIndex = 0; - this.pictureBox1.TabStop = false; - this.pictureBox1.LoadCompleted += new System.ComponentModel.AsyncCompletedEventHandler(this.pictureBox1_LoadCompleted); - // - // tabPage_Proiect - // - this.tabPage_Proiect.Controls.Add(this.proiectt_textBox6); - this.tabPage_Proiect.Controls.Add(this.label10); - this.tabPage_Proiect.Controls.Add(this.label9); - this.tabPage_Proiect.Controls.Add(this.proiectt_textBox5); - this.tabPage_Proiect.Controls.Add(this.proiectt_textBox4); - this.tabPage_Proiect.Controls.Add(this.label5); - this.tabPage_Proiect.Controls.Add(this.proiectt_textBox3); - this.tabPage_Proiect.Controls.Add(this.label4); - this.tabPage_Proiect.Controls.Add(this.proiectt_textBox2); - this.tabPage_Proiect.Controls.Add(this.label3); - this.tabPage_Proiect.Controls.Add(this.proiectt_textBox1); - this.tabPage_Proiect.Controls.Add(this.label2); - this.tabPage_Proiect.Location = new System.Drawing.Point(4, 22); - this.tabPage_Proiect.Name = "tabPage_Proiect"; - this.tabPage_Proiect.Size = new System.Drawing.Size(643, 120); - this.tabPage_Proiect.TabIndex = 4; - this.tabPage_Proiect.Text = "Proiect Properties"; - this.tabPage_Proiect.UseVisualStyleBackColor = true; - // - // proiectt_textBox6 - // - this.proiectt_textBox6.Location = new System.Drawing.Point(224, 85); - this.proiectt_textBox6.Name = "proiectt_textBox6"; - this.proiectt_textBox6.Size = new System.Drawing.Size(168, 20); - this.proiectt_textBox6.TabIndex = 11; - this.proiectt_textBox6.TextChanged += new System.EventHandler(this.proiectt_textBox1_TextChanged); - // - // label10 - // - this.label10.AutoSize = true; - this.label10.Location = new System.Drawing.Point(176, 92); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(42, 13); - this.label10.TabIndex = 10; - th... [truncated message content] |
From: <du...@us...> - 2007-04-29 08:04:00
|
Revision: 355 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=355&view=rev Author: dukus Date: 2007-04-29 01:03:56 -0700 (Sun, 29 Apr 2007) Log Message: ----------- Missing files added (UpdateChecker) Modified Paths: -------------- trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs trunk/plugins/mpinstaler/MPInstaler/Form1.cs trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj Added Paths: ----------- trunk/plugins/mpinstaler/MPInstaler/GroupForm.Designer.cs trunk/plugins/mpinstaler/MPInstaler/GroupForm.cs trunk/plugins/mpinstaler/MPInstaler/GroupForm.resx trunk/plugins/mpinstaler/MPInstaler/UpdateChecker.Designer.cs trunk/plugins/mpinstaler/MPInstaler/UpdateChecker.cs trunk/plugins/mpinstaler/MPInstaler/UpdateChecker.resx Modified: trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs 2007-04-28 22:10:10 UTC (rev 354) +++ trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs 2007-04-29 08:03:56 UTC (rev 355) @@ -866,6 +866,7 @@ this.setupGroupsToolStripMenuItem.Name = "setupGroupsToolStripMenuItem"; this.setupGroupsToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.setupGroupsToolStripMenuItem.Text = "Setup Groups"; + this.setupGroupsToolStripMenuItem.Click += new System.EventHandler(this.setupGroupsToolStripMenuItem_Click); // // propertyGrid2 // Modified: trunk/plugins/mpinstaler/MPInstaler/Form1.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/Form1.cs 2007-04-28 22:10:10 UTC (rev 354) +++ trunk/plugins/mpinstaler/MPInstaler/Form1.cs 2007-04-29 08:03:56 UTC (rev 355) @@ -576,5 +576,11 @@ { bossview.SelectedItems[0].SubItems[5].Text = ((FilePropertiesClass)propertyGrid2.SelectedObject).ToString(); } + + private void setupGroupsToolStripMenuItem_Click(object sender, EventArgs e) + { + GroupForm dlg = new GroupForm(); + dlg.ShowDialog(); + } } } \ No newline at end of file Added: trunk/plugins/mpinstaler/MPInstaler/GroupForm.Designer.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/GroupForm.Designer.cs (rev 0) +++ trunk/plugins/mpinstaler/MPInstaler/GroupForm.Designer.cs 2007-04-29 08:03:56 UTC (rev 355) @@ -0,0 +1,99 @@ +namespace MPInstaler +{ + partial class GroupForm + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != 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.tabControl1 = new System.Windows.Forms.TabControl(); + this.tabPage1 = new System.Windows.Forms.TabPage(); + this.tabPage2 = new System.Windows.Forms.TabPage(); + this.button1 = new System.Windows.Forms.Button(); + this.tabControl1.SuspendLayout(); + this.SuspendLayout(); + // + // tabControl1 + // + this.tabControl1.Controls.Add(this.tabPage1); + this.tabControl1.Controls.Add(this.tabPage2); + this.tabControl1.Location = new System.Drawing.Point(4, 5); + this.tabControl1.Name = "tabControl1"; + this.tabControl1.SelectedIndex = 0; + this.tabControl1.Size = new System.Drawing.Size(485, 235); + this.tabControl1.TabIndex = 0; + // + // tabPage1 + // + this.tabPage1.Location = new System.Drawing.Point(4, 22); + this.tabPage1.Name = "tabPage1"; + this.tabPage1.Padding = new System.Windows.Forms.Padding(3); + this.tabPage1.Size = new System.Drawing.Size(477, 209); + this.tabPage1.TabIndex = 0; + this.tabPage1.Text = "tabPage1"; + this.tabPage1.UseVisualStyleBackColor = true; + // + // tabPage2 + // + this.tabPage2.Location = new System.Drawing.Point(4, 22); + this.tabPage2.Name = "tabPage2"; + this.tabPage2.Padding = new System.Windows.Forms.Padding(3); + this.tabPage2.Size = new System.Drawing.Size(477, 209); + this.tabPage2.TabIndex = 1; + this.tabPage2.Text = "tabPage2"; + this.tabPage2.UseVisualStyleBackColor = true; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(406, 257); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(75, 23); + this.button1.TabIndex = 1; + this.button1.Text = "Close"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // GroupForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(493, 292); + this.Controls.Add(this.button1); + this.Controls.Add(this.tabControl1); + this.Name = "GroupForm"; + this.Text = "GroupForm"; + this.tabControl1.ResumeLayout(false); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.TabControl tabControl1; + private System.Windows.Forms.TabPage tabPage1; + private System.Windows.Forms.TabPage tabPage2; + private System.Windows.Forms.Button button1; + } +} \ No newline at end of file Added: trunk/plugins/mpinstaler/MPInstaler/GroupForm.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/GroupForm.cs (rev 0) +++ trunk/plugins/mpinstaler/MPInstaler/GroupForm.cs 2007-04-29 08:03:56 UTC (rev 355) @@ -0,0 +1,23 @@ +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 GroupForm : Form + { + public GroupForm() + { + InitializeComponent(); + } + + private void button1_Click(object sender, EventArgs e) + { + this.Close(); + } + } +} \ No newline at end of file Added: trunk/plugins/mpinstaler/MPInstaler/GroupForm.resx =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/GroupForm.resx (rev 0) +++ trunk/plugins/mpinstaler/MPInstaler/GroupForm.resx 2007-04-29 08:03:56 UTC (rev 355) @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + 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="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form 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 format + 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.SoapFormatter + : 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="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root> \ No newline at end of file Modified: trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj 2007-04-28 22:10:10 UTC (rev 354) +++ trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj 2007-04-29 08:03:56 UTC (rev 355) @@ -81,6 +81,12 @@ <Compile Include="download_form.Designer.cs"> <DependentUpon>download_form.cs</DependentUpon> </Compile> + <Compile Include="GroupForm.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="GroupForm.Designer.cs"> + <DependentUpon>GroupForm.cs</DependentUpon> + </Compile> <Compile Include="MPinstalerStruct.cs" /> <Compile Include="Form1.cs"> <SubType>Form</SubType> @@ -122,6 +128,10 @@ <SubType>Designer</SubType> <DependentUpon>Form1.cs</DependentUpon> </EmbeddedResource> + <EmbeddedResource Include="GroupForm.resx"> + <SubType>Designer</SubType> + <DependentUpon>GroupForm.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="Language dialog.resx"> <SubType>Designer</SubType> <DependentUpon>Language dialog.cs</DependentUpon> Added: trunk/plugins/mpinstaler/MPInstaler/UpdateChecker.Designer.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/UpdateChecker.Designer.cs (rev 0) +++ trunk/plugins/mpinstaler/MPInstaler/UpdateChecker.Designer.cs 2007-04-29 08:03:56 UTC (rev 355) @@ -0,0 +1,119 @@ +namespace MPInstaler +{ + partial class UpdateChecker + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != 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 = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UpdateChecker)); + this.listView1 = new System.Windows.Forms.ListView(); + this.button1 = new System.Windows.Forms.Button(); + this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); + this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); + this.imageList1 = new System.Windows.Forms.ImageList(this.components); + this.button2 = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // listView1 + // + this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.columnHeader1, + this.columnHeader2}); + this.listView1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.listView1.FullRowSelect = true; + this.listView1.GridLines = true; + this.listView1.Location = new System.Drawing.Point(-1, -1); + this.listView1.Name = "listView1"; + this.listView1.Size = new System.Drawing.Size(339, 213); + this.listView1.SmallImageList = this.imageList1; + this.listView1.TabIndex = 0; + this.listView1.UseCompatibleStateImageBehavior = false; + this.listView1.View = System.Windows.Forms.View.Details; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(251, 231); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(75, 23); + this.button1.TabIndex = 1; + this.button1.Text = "Close"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // columnHeader1 + // + this.columnHeader1.Text = "Name"; + this.columnHeader1.Width = 227; + // + // columnHeader2 + // + this.columnHeader2.Text = "Version"; + this.columnHeader2.Width = 102; + // + // imageList1 + // + this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); + this.imageList1.TransparentColor = System.Drawing.Color.Transparent; + this.imageList1.Images.SetKeyName(0, "application.ico"); + // + // button2 + // + this.button2.Location = new System.Drawing.Point(12, 231); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(75, 23); + this.button2.TabIndex = 2; + this.button2.Text = "Update"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // UpdateChecker + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(338, 266); + this.Controls.Add(this.button2); + this.Controls.Add(this.button1); + this.Controls.Add(this.listView1); + this.MaximizeBox = false; + this.Name = "UpdateChecker"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Udaptes"; + this.Shown += new System.EventHandler(this.UpdateChecker_Shown); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.ListView listView1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.ColumnHeader columnHeader1; + private System.Windows.Forms.ColumnHeader columnHeader2; + private System.Windows.Forms.ImageList imageList1; + private System.Windows.Forms.Button button2; + } +} \ No newline at end of file Added: trunk/plugins/mpinstaler/MPInstaler/UpdateChecker.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/UpdateChecker.cs (rev 0) +++ trunk/plugins/mpinstaler/MPInstaler/UpdateChecker.cs 2007-04-29 08:03:56 UTC (rev 355) @@ -0,0 +1,101 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Text; +using System.IO; +using System.Windows.Forms; + +namespace MPInstaler +{ + public partial class UpdateChecker : Form + { + MPInstallHelper lst = new MPInstallHelper(); + MPInstallHelper lst_online = new MPInstallHelper(); + private string remoteFile="http://dukus.extra.hu/MPExtensionFileList.xml"; + public UpdateChecker() + { + InitializeComponent(); + lst.LoadFromFile(); + } + + private void button1_Click(object sender, EventArgs e) + { + this.Close(); + } + public void Check() + { + this.ShowDialog(); + } + + private void UpdateChecker_Shown(object sender, EventArgs e) + { + string file_name = "MPExtensionFileList.xml"; + string temp_file = Path.GetFullPath(Environment.GetEnvironmentVariable("TEMP")) + @"\" + file_name; + download_form dw = new download_form(remoteFile, temp_file); + dw.Text = "Download files list ..."; + dw.ShowDialog(); + if (File.Exists(temp_file)) + { + lst_online.LoadFromFile(temp_file); + lst_online.Compare(lst); + LoadToListview(lst_online, listView1); + } + + } + + public void LoadToListview(MPInstallHelper mpih, ListView lv) + { + lv.Items.Clear(); + for (int i = 0; i < mpih.lst.Count; i++) + { + MPpackageStruct pk = (MPpackageStruct)mpih.lst[i]; + if (pk.isUpdated) + { + ListViewItem item1 = new ListViewItem(pk._intalerStruct.Name, 0); + if (pk._intalerStruct.Logo != null) + { + imageList1.Images.Add(pk._intalerStruct.Logo); + item1.ImageIndex = imageList1.Images.Count - 1; + } + item1.ToolTipText = pk._intalerStruct.Description; + //item1.SubItems.Add(pk._intalerStruct.Author); + item1.SubItems.Add(pk._intalerStruct.Version); + //item1.SubItems.Add(Path.GetFileName(pk.FileName)); + //item1.SubItems.Add(pk._intalerStruct.Group); + lv.Items.AddRange(new ListViewItem[] { item1 }); + } + } + } + + private void button2_Click(object sender, EventArgs e) + { + foreach (ListViewItem it in listView1.Items) + { + MPpackageStruct pk = lst.Find(it.SubItems[0].Text); + if (pk != null) + { + string file_name = pk.FileName; + string temp_file = Path.GetFullPath(Environment.GetEnvironmentVariable("TEMP")) + @"\" + file_name; + download_form dw1 = new download_form(pk._intalerStruct.UpdateURL + "/" + file_name, temp_file); + dw1.Text = pk._intalerStruct.UpdateURL + "/" + pk.FileName + "/" + pk._intalerStruct.Version; + dw1.ShowDialog(); + if (File.Exists(temp_file)) + { + wizard_1 wiz = new wizard_1(); + wiz.package.LoadFromFile(temp_file); + if (wiz.package.isValid) + { + //wiz.nextStep(6); + wiz.StartUpdate(); + } + else + MessageBox.Show("Invalid package !"); + } + } + } + this.Close(); + } + } +} \ No newline at end of file Added: trunk/plugins/mpinstaler/MPInstaler/UpdateChecker.resx =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/UpdateChecker.resx (rev 0) +++ trunk/plugins/mpinstaler/MPInstaler/UpdateChecker.resx 2007-04-29 08:03:56 UTC (rev 355) @@ -0,0 +1,257 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + 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="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form 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 format + 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.SoapFormatter + : 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="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <metadata name="imageList1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 17</value> + </metadata> + <data name="imageList1.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64"> + <value> + AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w + LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 + ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACS + HQAAAk1TRnQBSQFMAwEBAAEFAQABBAEAASABAAEgAQAE/wEhAQAI/wFCAU0BNgcAATYDAAEoAwABgAMA + ASADAAEBAQABIAYAAUAqAAEDASEBagH/AQQBJwF7Af8BBAErAYgB/wEFATEBmQH/AQUBMgGfAf8BBQE4 + AbAB/wEFAToBtgH/AQYBOgG2Af8BBgE6AbYB/wEGAToBtgH/AQYBOgG2Af8BBgE6AbYB/wEGAToBtgH/ + AQYBOgG2Af8BBQE2AaoB/wEFATIBnwH/AQUBMAGWAf8BBAErAYgB/wEEASUBdQH/AQMBIAFnAf//AKEA + AQUBLwGTAf8BCAE7AbYB/wENAUEBuAH/AREBRQG7Af8BFgFJAb8B/wEaAU4BwwH/AR8BUgHHAf8BJAFX + AcoB/wEoAVwBzgH/AS0BYQHRAf8BMgFlAdQB/wE2AWoB1wH/AToBbgHaAf8BPQFxAdwB/wFAAXQB3gH/ + AUQBdwHgAf8BRQF4AeEB/wFGAXkB4gH/AUYBegHi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/AQUBMAGWAf8BBQEyAZ8B/wEFATcBrQH/ + AQYBOgG2Af8BBQE6AbYB/wEIATsBtgH/AQkBPAG2Af8BCQE8AbYB/wEHAToBtgH/AQUBOgG2Af8BBgE6 + AbYB/wEFATUBpwH/AQUBMgGfAf8BBQEuAZAB/wEEASoBhQH/AQQBJAFyAf//AJ0AAUIBTQE+BwABPgMA + ASgDAAGAAwABIAMAAQEBAAEBBgABAhYAA/8BAAH8AgABPwwAAcACAAEDDAABgAIAAQEMAAGAAgABAQwA + AYACAAEBDAABgAIAAQH/AD0AAYACAAEBDAABgAIAAQEMAAGAAgABAQwAAYACAAEBDAABgAIAAQEMAAHA + AgABAwwAAf4CAAF/DAAL +</value> + </data> +</root> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <du...@us...> - 2007-04-30 12:39:19
|
Revision: 358 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=358&view=rev Author: dukus Date: 2007-04-30 05:39:13 -0700 (Mon, 30 Apr 2007) Log Message: ----------- Grouping interface in editor Modified Paths: -------------- trunk/plugins/mpinstaler/MPInstaler/Form1.cs trunk/plugins/mpinstaler/MPInstaler/GroupForm.Designer.cs trunk/plugins/mpinstaler/MPInstaler/GroupForm.cs trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs trunk/plugins/mpinstaler/MPInstaler/properties.cs Modified: trunk/plugins/mpinstaler/MPInstaler/Form1.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/Form1.cs 2007-04-30 08:01:48 UTC (rev 357) +++ trunk/plugins/mpinstaler/MPInstaler/Form1.cs 2007-04-30 12:39:13 UTC (rev 358) @@ -580,6 +580,7 @@ private void setupGroupsToolStripMenuItem_Click(object sender, EventArgs e) { GroupForm dlg = new GroupForm(); + dlg._struct = this._struct; dlg.ShowDialog(); } } Modified: trunk/plugins/mpinstaler/MPInstaler/GroupForm.Designer.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/GroupForm.Designer.cs 2007-04-30 08:01:48 UTC (rev 357) +++ trunk/plugins/mpinstaler/MPInstaler/GroupForm.Designer.cs 2007-04-30 12:39:13 UTC (rev 358) @@ -32,7 +32,23 @@ this.tabPage1 = new System.Windows.Forms.TabPage(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.button1 = new System.Windows.Forms.Button(); + this.listView1 = new System.Windows.Forms.ListView(); + this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); + this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.comboBox1 = new System.Windows.Forms.ComboBox(); + this.listView2 = new System.Windows.Forms.ListView(); + this.listView3 = new System.Windows.Forms.ListView(); + this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); + this.columnHeader4 = new System.Windows.Forms.ColumnHeader(); + this.button2 = new System.Windows.Forms.Button(); + this.button3 = new System.Windows.Forms.Button(); + this.button4 = new System.Windows.Forms.Button(); + this.button5 = new System.Windows.Forms.Button(); this.tabControl1.SuspendLayout(); + this.tabPage1.SuspendLayout(); + this.tabPage2.SuspendLayout(); this.SuspendLayout(); // // tabControl1 @@ -47,23 +63,34 @@ // // tabPage1 // + this.tabPage1.Controls.Add(this.button5); + this.tabPage1.Controls.Add(this.button4); + this.tabPage1.Controls.Add(this.textBox2); + this.tabPage1.Controls.Add(this.textBox1); + this.tabPage1.Controls.Add(this.listView1); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(477, 209); this.tabPage1.TabIndex = 0; - this.tabPage1.Text = "tabPage1"; + this.tabPage1.Text = "Groups"; this.tabPage1.UseVisualStyleBackColor = true; // // tabPage2 // + this.tabPage2.Controls.Add(this.button3); + this.tabPage2.Controls.Add(this.button2); + this.tabPage2.Controls.Add(this.listView3); + this.tabPage2.Controls.Add(this.listView2); + this.tabPage2.Controls.Add(this.comboBox1); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); this.tabPage2.Size = new System.Drawing.Size(477, 209); this.tabPage2.TabIndex = 1; - this.tabPage2.Text = "tabPage2"; + this.tabPage2.Text = "Groups mapping"; this.tabPage2.UseVisualStyleBackColor = true; + this.tabPage2.Enter += new System.EventHandler(this.tabPage2_Enter); // // button1 // @@ -75,6 +102,125 @@ this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // + // listView1 + // + this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.columnHeader1, + this.columnHeader2}); + this.listView1.FullRowSelect = true; + this.listView1.Location = new System.Drawing.Point(6, 6); + this.listView1.Name = "listView1"; + this.listView1.Size = new System.Drawing.Size(465, 135); + this.listView1.TabIndex = 0; + this.listView1.UseCompatibleStateImageBehavior = false; + this.listView1.View = System.Windows.Forms.View.Details; + this.listView1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.listView1_MouseDoubleClick); + this.listView1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.listView1_MouseClick); + // + // columnHeader1 + // + this.columnHeader1.Text = "id"; + // + // columnHeader2 + // + this.columnHeader2.Text = "Name"; + this.columnHeader2.Width = 372; + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(6, 147); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(53, 20); + this.textBox1.TabIndex = 1; + // + // textBox2 + // + this.textBox2.Location = new System.Drawing.Point(65, 147); + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(406, 20); + this.textBox2.TabIndex = 2; + // + // comboBox1 + // + this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox1.FormattingEnabled = true; + this.comboBox1.Location = new System.Drawing.Point(6, 6); + this.comboBox1.Name = "comboBox1"; + this.comboBox1.Size = new System.Drawing.Size(465, 21); + this.comboBox1.TabIndex = 0; + this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); + // + // listView2 + // + this.listView2.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.columnHeader3}); + this.listView2.Location = new System.Drawing.Point(6, 33); + this.listView2.Name = "listView2"; + this.listView2.Size = new System.Drawing.Size(170, 170); + this.listView2.TabIndex = 1; + this.listView2.UseCompatibleStateImageBehavior = false; + this.listView2.View = System.Windows.Forms.View.Details; + // + // listView3 + // + this.listView3.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.columnHeader4}); + this.listView3.Location = new System.Drawing.Point(270, 33); + this.listView3.Name = "listView3"; + this.listView3.Size = new System.Drawing.Size(200, 169); + this.listView3.TabIndex = 2; + this.listView3.UseCompatibleStateImageBehavior = false; + this.listView3.View = System.Windows.Forms.View.Details; + // + // columnHeader3 + // + this.columnHeader3.Text = "File name"; + this.columnHeader3.Width = 162; + // + // columnHeader4 + // + this.columnHeader4.Text = "Filename"; + this.columnHeader4.Width = 191; + // + // button2 + // + this.button2.Location = new System.Drawing.Point(196, 85); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(49, 21); + this.button2.TabIndex = 3; + this.button2.Text = "->"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // button3 + // + this.button3.Location = new System.Drawing.Point(196, 124); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(49, 22); + this.button3.TabIndex = 4; + this.button3.Text = "<-"; + this.button3.UseVisualStyleBackColor = true; + this.button3.Click += new System.EventHandler(this.button3_Click); + // + // button4 + // + this.button4.Location = new System.Drawing.Point(315, 173); + this.button4.Name = "button4"; + this.button4.Size = new System.Drawing.Size(75, 23); + this.button4.TabIndex = 3; + this.button4.Text = "Add"; + this.button4.UseVisualStyleBackColor = true; + this.button4.Click += new System.EventHandler(this.button4_Click); + // + // button5 + // + this.button5.Location = new System.Drawing.Point(396, 173); + this.button5.Name = "button5"; + this.button5.Size = new System.Drawing.Size(75, 23); + this.button5.TabIndex = 4; + this.button5.Text = "Remove"; + this.button5.UseVisualStyleBackColor = true; + // // GroupForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -84,7 +230,11 @@ this.Controls.Add(this.tabControl1); this.Name = "GroupForm"; this.Text = "GroupForm"; + this.Load += new System.EventHandler(this.GroupForm_Load); this.tabControl1.ResumeLayout(false); + this.tabPage1.ResumeLayout(false); + this.tabPage1.PerformLayout(); + this.tabPage2.ResumeLayout(false); this.ResumeLayout(false); } @@ -95,5 +245,19 @@ private System.Windows.Forms.TabPage tabPage1; private System.Windows.Forms.TabPage tabPage2; private System.Windows.Forms.Button button1; + private System.Windows.Forms.ListView listView1; + private System.Windows.Forms.ColumnHeader columnHeader1; + private System.Windows.Forms.ColumnHeader columnHeader2; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.ComboBox comboBox1; + private System.Windows.Forms.ListView listView3; + private System.Windows.Forms.ColumnHeader columnHeader4; + private System.Windows.Forms.ListView listView2; + private System.Windows.Forms.ColumnHeader columnHeader3; + private System.Windows.Forms.Button button4; + private System.Windows.Forms.Button button3; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.Button button5; } } \ No newline at end of file Modified: trunk/plugins/mpinstaler/MPInstaler/GroupForm.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/GroupForm.cs 2007-04-30 08:01:48 UTC (rev 357) +++ trunk/plugins/mpinstaler/MPInstaler/GroupForm.cs 2007-04-30 12:39:13 UTC (rev 358) @@ -10,6 +10,7 @@ { public partial class GroupForm : Form { + public MPinstalerStruct _struct; public GroupForm() { InitializeComponent(); @@ -17,7 +18,118 @@ private void button1_Click(object sender, EventArgs e) { + _struct.SetupGroups.Clear(); + for (int i = 0; i < listView1.Items.Count; i++) + { + _struct.SetupGroups.Add(new GroupString(listView1.Items[i].SubItems[0].Text, listView1.Items[i].SubItems[1].Text)); + } this.Close(); } + + private void button4_Click(object sender, EventArgs e) + { + update_listview1(textBox1.Text, textBox2.Text); + } + + private void update_listview1(string wid, string wval) + { + for (int i = 0; i < listView1.Items.Count; i++) + { + if (wid == listView1.Items[i].SubItems[0].Text) + { + listView1.Items.RemoveAt(i); + break; + } + } + ListViewItem item1 = new ListViewItem(wid, 0); + item1.SubItems.Add(wval); + listView1.Items.AddRange(new ListViewItem[] { item1 }); + listView1.Sort(); + } + + private void listView1_MouseClick(object sender, MouseEventArgs e) + { + if (listView1.SelectedItems.Count > 0) + { + textBox1.Text = listView1.SelectedItems[0].SubItems[0].Text; + textBox2.Text = listView1.SelectedItems[0].SubItems[1].Text; + } + } + + private void listView1_MouseDoubleClick(object sender, MouseEventArgs e) + { + if (listView1.SelectedItems.Count > 0) + { + textBox1.Text = listView1.SelectedItems[0].SubItems[0].Text; + textBox2.Text = listView1.SelectedItems[0].SubItems[1].Text; + listView1.Items.Remove(listView1.SelectedItems[0]); + } + + } + + private void GroupForm_Load(object sender, EventArgs e) + { + listView1.Items.Clear(); + foreach (GroupString gs in _struct.SetupGroups) + { + update_listview1(gs.Id, gs.Name); + } + } + + private void tabPage2_Enter(object sender, EventArgs e) + { + comboBox1.Items.Clear(); + for (int i = 0; i < listView1.Items.Count; i++) + { + comboBox1.Items.Add(listView1.Items[i].SubItems[0].Text); + } + } + + private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) + { + listView2.Items.Clear(); + listView3.Items.Clear(); + foreach (MPIFileList fl in _struct.FileList) + { + if (_struct.FindFileInGroup(comboBox1.Text, fl.FileNameShort)) + listView3.Items.Add(fl.FileNameShort); + else + listView2.Items.Add(fl.FileNameShort); + } + } + + private void button2_Click(object sender, EventArgs e) + { + for (int i=0; i < listView2.SelectedItems.Count; i++) + { + listView3.Items.Add(listView2.SelectedItems[i].Text); + listView2.Items.Remove(listView2.SelectedItems[i]); + } + update_data(); + } + + private void button3_Click(object sender, EventArgs e) + { + for (int i = 0; i < listView3.SelectedItems.Count; i++) + { + listView2.Items.Add(listView3.SelectedItems[i].Text); + listView3.Items.Remove(listView3.SelectedItems[i]); + } + update_data(); + } + + private void update_data() + { + for (int i = 0; i < _struct.SetupGroupsMappig.Count; i++) + { + if (_struct.SetupGroupsMappig[i].Id==comboBox1.Text) + _struct.SetupGroupsMappig.RemoveAt(i); + } + + for (int i = 0; i < listView3.Items.Count; i++) + { + _struct.SetupGroupsMappig.Add(new GroupStringMapping(comboBox1.Text, listView3.Items[i].Text)); + } + } } } \ No newline at end of file Modified: trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs 2007-04-30 08:01:48 UTC (rev 357) +++ trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs 2007-04-30 12:39:13 UTC (rev 358) @@ -50,13 +50,18 @@ public ArrayList FileList = new ArrayList(); public List<LanguageString> Language; public List<ActionInfo> Actions; - + public List<GroupString> SetupGroups; + public List<GroupStringMapping> SetupGroupsMappig; + public MPinstalerStruct() { Language = new List<LanguageString>(); Actions = new List<ActionInfo>(); ProiectProperties = new ProiectPropertiesClass(); + SetupGroups = new List<GroupString>(); + SetupGroupsMappig = new List<GroupStringMapping>(); } + public string UpdateURL { get { return _update; } @@ -159,12 +164,36 @@ Actions.Add(a); } } + + public void AddSetupGroupMapping(GroupStringMapping a) + { + int idx = -1; + for (int i = 0; i < SetupGroupsMappig.Count; i++) + { + if (SetupGroupsMappig[i].Id==a.Id && SetupGroupsMappig[i].FileName==a.FileName) + { + idx = i; + break; + } + } + if (idx > -1) + { + SetupGroupsMappig[idx].Id = a.Id; + SetupGroupsMappig[idx].FileName = a.FileName; + } + else + { + SetupGroupsMappig.Add(a); + } + } public void Clear() { FileList.Clear(); Language.Clear(); Actions.Clear(); + SetupGroups.Clear(); + SetupGroupsMappig.Clear(); ProiectProperties.Clear(); BuildFileName = string.Empty; ProiectdFileName = string.Empty; @@ -232,6 +261,24 @@ writer.WriteEndElement(); } writer.WriteEndElement(); + writer.WriteStartElement("SetupGroups"); + foreach (GroupString gs in SetupGroups) + { + writer.WriteStartElement("SetupGroup"); + writer.WriteAttributeString("Id", gs.Id); + writer.WriteAttributeString("Name", gs.Name); + writer.WriteEndElement(); + } + writer.WriteEndElement(); + writer.WriteStartElement("SetupGroupMappings"); + foreach (GroupStringMapping gs in SetupGroupsMappig) + { + writer.WriteStartElement("SetupGroupMapping"); + writer.WriteAttributeString("Id", gs.Id); + writer.WriteAttributeString("FileName", gs.FileName); + writer.WriteEndElement(); + } + writer.WriteEndElement(); writer.WriteStartElement("Option"); writer.WriteElementString("BuildFileName", this.BuildFileName); writer.WriteElementString("ProiectFileName", Path.GetFullPath(this.ProiectdFileName)); @@ -360,6 +407,18 @@ Convert.ToInt32(actionnode.Attributes["Id"].Value), actionnode.Attributes["Command"].Value)); } + XmlNodeList groupList = ver.SelectNodes("SetupGroups/SetupGroup"); + foreach (XmlNode groupnode in groupList) + { + SetupGroups.Add(new GroupString(groupnode.Attributes["Id"].Value, + groupnode.Attributes["Name"].Value)); + } + XmlNodeList groupmapList = ver.SelectNodes("SetupGroupMappings/SetupGroupMapping"); + foreach (XmlNode groupnode in groupmapList) + { + SetupGroupsMappig.Add(new GroupStringMapping(groupnode.Attributes["Id"].Value, + groupnode.Attributes["FileName"].Value)); + } XmlNode nodeoption = ver.SelectSingleNode("Option"); this.BuildFileName = nodeoption.SelectSingleNode("BuildFileName").InnerText; this.Name = nodeoption.SelectSingleNode("ProiectName").InnerText; @@ -421,9 +480,22 @@ } return fs; } + + public bool FindFileInGroup(string group,string file) + { - public string GetZipEntry(MPIFileList flst) + for (int i = 0; i < SetupGroupsMappig.Count; i++) { + if (SetupGroupsMappig[i].FileName==file && SetupGroupsMappig[i].Id==group) + { + return true; + } + } + return false; + } + + public string GetZipEntry(MPIFileList flst) + { string ret = string.Empty; if (flst.Type == PLUGIN_TYPE) { @@ -814,4 +886,48 @@ return x_ret; } } + + public class GroupString + { + string _id; + string _name; + public GroupString(string wid,string wname) + { + Id = wid; + Name = wname; + } + public string Id + { + get { return _id; } + set { _id = value; } + } + public string Name + { + get { return _name; } + set { _name = value; } + } + + } + + public class GroupStringMapping + { + string _id; + string _filename; + public GroupStringMapping(string wid, string wname) + { + Id = wid; + FileName = wname; + } + public string Id + { + get { return _id; } + set { _id = value; } + } + public string FileName + { + get { return _filename; } + set { _filename = value; } + } + + } } Modified: trunk/plugins/mpinstaler/MPInstaler/properties.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/properties.cs 2007-04-30 08:01:48 UTC (rev 357) +++ trunk/plugins/mpinstaler/MPInstaler/properties.cs 2007-04-30 12:39:13 UTC (rev 358) @@ -13,6 +13,7 @@ private string forumurl; private string weburl; private DateTime creationdate; + private bool singlegroupselect; public ProiectPropertiesClass() { @@ -79,13 +80,25 @@ } } + public bool SingleGroupSelect + { + set + { + singlegroupselect = value; + } + get + { + return singlegroupselect; + } + } public void Save(XmlWriter writer) { writer.WriteElementString("MPMaxVersion", MPMaxVersion); writer.WriteElementString("MPMinVersion", MPMinVersion); writer.WriteElementString("ForumURL", ForumURL); writer.WriteElementString("WebURL", WebURL); - writer.WriteElementString("CreationDate", CreationDate.ToString("F", new CultureInfo("en-US"))); + writer.WriteElementString("CreationDate", CreationDate.ToString("F", new CultureInfo("en-US"))); + writer.WriteElementString("SingleGroupSelect", SingleGroupSelect.ToString()); } public void Load(XmlNode basenode) @@ -108,6 +121,11 @@ node = basenode.SelectSingleNode("CreationDate"); if (node != null && node.InnerText != null) DateTime.TryParse(node.InnerText,out creationdate); + node = basenode.SelectSingleNode("SingleGroupSelect"); + if (node != null && node.InnerText != null) + if (node.InnerText == "True") + SingleGroupSelect = true; + else SingleGroupSelect = false; } @@ -119,7 +137,8 @@ MPMinVersion = String.Empty; ForumURL = String.Empty; WebURL = String.Empty; - CreationDate = DateTime.Today; + CreationDate = DateTime.Today; + SingleGroupSelect = false; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <du...@us...> - 2007-04-30 20:05:33
|
Revision: 364 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=364&view=rev Author: dukus Date: 2007-04-30 13:05:26 -0700 (Mon, 30 Apr 2007) Log Message: ----------- Final group support added Modified Paths: -------------- trunk/plugins/mpinstaler/MPInstaler/GroupForm.Designer.cs trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs trunk/plugins/mpinstaler/MPInstaler/MPpackageStruct.cs trunk/plugins/mpinstaler/MPInstaler/wizard/wizard_1.Designer.cs trunk/plugins/mpinstaler/MPInstaler/wizard/wizard_1.cs Modified: trunk/plugins/mpinstaler/MPInstaler/GroupForm.Designer.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/GroupForm.Designer.cs 2007-04-30 19:53:23 UTC (rev 363) +++ trunk/plugins/mpinstaler/MPInstaler/GroupForm.Designer.cs 2007-04-30 20:05:26 UTC (rev 364) @@ -46,6 +46,8 @@ this.button3 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button(); this.button5 = new System.Windows.Forms.Button(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); @@ -78,6 +80,8 @@ // // tabPage2 // + this.tabPage2.Controls.Add(this.label2); + this.tabPage2.Controls.Add(this.label1); this.tabPage2.Controls.Add(this.button3); this.tabPage2.Controls.Add(this.button2); this.tabPage2.Controls.Add(this.listView3); @@ -154,9 +158,9 @@ // this.listView2.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader3}); - this.listView2.Location = new System.Drawing.Point(6, 33); + this.listView2.Location = new System.Drawing.Point(6, 49); this.listView2.Name = "listView2"; - this.listView2.Size = new System.Drawing.Size(170, 170); + this.listView2.Size = new System.Drawing.Size(170, 154); this.listView2.TabIndex = 1; this.listView2.UseCompatibleStateImageBehavior = false; this.listView2.View = System.Windows.Forms.View.Details; @@ -165,9 +169,9 @@ // this.listView3.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader4}); - this.listView3.Location = new System.Drawing.Point(270, 33); + this.listView3.Location = new System.Drawing.Point(270, 49); this.listView3.Name = "listView3"; - this.listView3.Size = new System.Drawing.Size(200, 169); + this.listView3.Size = new System.Drawing.Size(200, 153); this.listView3.TabIndex = 2; this.listView3.UseCompatibleStateImageBehavior = false; this.listView3.View = System.Windows.Forms.View.Details; @@ -221,6 +225,24 @@ this.button5.Text = "Remove"; this.button5.UseVisualStyleBackColor = true; // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(267, 30); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(69, 13); + this.label1.TabIndex = 5; + this.label1.Text = "Files in group"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(6, 30); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(69, 13); + this.label2.TabIndex = 6; + this.label2.Text = "Avaiable files"; + // // GroupForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -235,6 +257,7 @@ this.tabPage1.ResumeLayout(false); this.tabPage1.PerformLayout(); this.tabPage2.ResumeLayout(false); + this.tabPage2.PerformLayout(); this.ResumeLayout(false); } @@ -259,5 +282,7 @@ private System.Windows.Forms.Button button3; private System.Windows.Forms.Button button2; private System.Windows.Forms.Button button5; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label1; } } \ No newline at end of file Modified: trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs 2007-04-30 19:53:23 UTC (rev 363) +++ trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs 2007-04-30 20:05:26 UTC (rev 364) @@ -187,6 +187,18 @@ } } + public bool FindFileInGroupState(MPIFileList fl) + { + if (SetupGroups.Count < 1) + return true; + for(int i=0;i<SetupGroups.Count;i++) + { + if (FindFileInGroup(SetupGroups[i].Id, fl.FileNameShort) && SetupGroups[i].Checked) + return true; + } + return false; + } + public void Clear() { FileList.Clear(); @@ -891,10 +903,12 @@ { string _id; string _name; + bool _checked; public GroupString(string wid,string wname) { Id = wid; Name = wname; + Checked = false; } public string Id { @@ -907,6 +921,12 @@ set { _name = value; } } + public bool Checked + { + get { return _checked; } + set { _checked = value; } + } + } public class GroupStringMapping Modified: trunk/plugins/mpinstaler/MPInstaler/MPpackageStruct.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/MPpackageStruct.cs 2007-04-30 19:53:23 UTC (rev 363) +++ trunk/plugins/mpinstaler/MPInstaler/MPpackageStruct.cs 2007-04-30 20:05:26 UTC (rev 364) @@ -106,22 +106,28 @@ bool test_file(MPIFileList fl, ZipEntry ze) { + if (_intalerStruct.FindFileInGroupState(fl)) + { if (fl.Type == MPinstalerStruct.SKIN_TYPE || fl.Type == MPinstalerStruct.SKIN_MEDIA_TYPE) { - if (Path.GetFileName(ze.Name) == Path.GetFileName(fl.FileName) - && ze.Name.Contains(@"\" + fl.SubType + @"\") && InstallableSkinList.Contains(fl.SubType)) - { - return true; - } - else return false; + if (Path.GetFileName(ze.Name) == Path.GetFileName(fl.FileName) + && ze.Name.Contains(@"\" + fl.SubType + @"\") && InstallableSkinList.Contains(fl.SubType)) + { + return true; + } + else return false; } else { - if (Path.GetFileName(ze.Name) == Path.GetFileName(fl.FileName)) - return true; - else return false; + if (Path.GetFileName(ze.Name) == Path.GetFileName(fl.FileName)) + return true; + else return false; } + } + else + return false; } + public void installLanguage(ListBox lb) { MPLanguageHelper mpih = new MPLanguageHelper(); Modified: trunk/plugins/mpinstaler/MPInstaler/wizard/wizard_1.Designer.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/wizard/wizard_1.Designer.cs 2007-04-30 19:53:23 UTC (rev 363) +++ trunk/plugins/mpinstaler/MPInstaler/wizard/wizard_1.Designer.cs 2007-04-30 20:05:26 UTC (rev 364) @@ -28,186 +28,198 @@ /// </summary> private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(wizard_1)); - this.panel1 = new System.Windows.Forms.Panel(); - this.pictureBox2 = new System.Windows.Forms.PictureBox(); - this.listBox1 = new System.Windows.Forms.ListBox(); - this.progressBar2 = new System.Windows.Forms.ProgressBar(); - this.progressBar1 = new System.Windows.Forms.ProgressBar(); - this.label2 = new System.Windows.Forms.Label(); - this.title_label = new System.Windows.Forms.Label(); - this.richTextBox1 = new System.Windows.Forms.RichTextBox(); - this.panel2 = new System.Windows.Forms.Panel(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.button_back = new System.Windows.Forms.Button(); - this.button_next = new System.Windows.Forms.Button(); - this.button_cancel = new System.Windows.Forms.Button(); - this.skinlister = new System.Windows.Forms.CheckedListBox(); - this.panel1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); - this.panel2.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - this.SuspendLayout(); - // - // panel1 - // - this.panel1.BackColor = System.Drawing.Color.White; - this.panel1.Controls.Add(this.pictureBox2); - this.panel1.Controls.Add(this.listBox1); - this.panel1.Controls.Add(this.progressBar2); - this.panel1.Controls.Add(this.progressBar1); - this.panel1.Controls.Add(this.label2); - this.panel1.Controls.Add(this.title_label); - this.panel1.Controls.Add(this.richTextBox1); - this.panel1.Controls.Add(this.skinlister); - this.panel1.Location = new System.Drawing.Point(165, 0); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(334, 298); - this.panel1.TabIndex = 0; - // - // pictureBox2 - // - this.pictureBox2.BackColor = System.Drawing.Color.Transparent; - this.pictureBox2.Location = new System.Drawing.Point(267, 4); - this.pictureBox2.Name = "pictureBox2"; - this.pictureBox2.Size = new System.Drawing.Size(64, 64); - this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox2.TabIndex = 6; - this.pictureBox2.TabStop = false; - this.pictureBox2.Visible = false; - // - // listBox1 - // - this.listBox1.FormattingEnabled = true; - this.listBox1.HorizontalScrollbar = true; - this.listBox1.Location = new System.Drawing.Point(14, 174); - this.listBox1.Name = "listBox1"; - this.listBox1.Size = new System.Drawing.Size(308, 108); - this.listBox1.TabIndex = 5; - // - // progressBar2 - // - this.progressBar2.Location = new System.Drawing.Point(14, 143); - this.progressBar2.Name = "progressBar2"; - this.progressBar2.Size = new System.Drawing.Size(308, 14); - this.progressBar2.TabIndex = 4; - // - // progressBar1 - // - this.progressBar1.Location = new System.Drawing.Point(14, 123); - this.progressBar1.Name = "progressBar1"; - this.progressBar1.Size = new System.Drawing.Size(308, 14); - this.progressBar1.TabIndex = 3; - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(9, 49); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(35, 13); - this.label2.TabIndex = 2; - this.label2.Text = "label2"; - // - // title_label - // - this.title_label.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.title_label.Location = new System.Drawing.Point(9, 9); - this.title_label.Name = "title_label"; - this.title_label.Size = new System.Drawing.Size(252, 30); - this.title_label.TabIndex = 1; - this.title_label.Text = "label1"; - // - // richTextBox1 - // - this.richTextBox1.BackColor = System.Drawing.SystemColors.ActiveCaptionText; - this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.richTextBox1.Location = new System.Drawing.Point(3, 74); - this.richTextBox1.Name = "richTextBox1"; - this.richTextBox1.ReadOnly = true; - this.richTextBox1.Size = new System.Drawing.Size(331, 224); - this.richTextBox1.TabIndex = 0; - this.richTextBox1.Text = ""; - // - // panel2 - // - this.panel2.Controls.Add(this.pictureBox1); - this.panel2.Location = new System.Drawing.Point(0, 0); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(168, 298); - this.panel2.TabIndex = 1; - // - // pictureBox1 - // - this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill; - this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); - this.pictureBox1.Location = new System.Drawing.Point(0, 0); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(168, 298); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox1.TabIndex = 5; - this.pictureBox1.TabStop = false; - // - // button_back - // - this.button_back.Location = new System.Drawing.Point(223, 314); - this.button_back.Name = "button_back"; - this.button_back.Size = new System.Drawing.Size(75, 23); - this.button_back.TabIndex = 2; - this.button_back.Text = "< Back"; - this.button_back.UseVisualStyleBackColor = true; - this.button_back.Click += new System.EventHandler(this.button_back_Click); - // - // button_next - // - this.button_next.Location = new System.Drawing.Point(304, 314); - this.button_next.Name = "button_next"; - this.button_next.Size = new System.Drawing.Size(75, 23); - this.button_next.TabIndex = 3; - this.button_next.Text = "Next >"; - this.button_next.UseVisualStyleBackColor = true; - this.button_next.Click += new System.EventHandler(this.button_next_Click); - // - // button_cancel - // - this.button_cancel.Location = new System.Drawing.Point(399, 314); - this.button_cancel.Name = "button_cancel"; - this.button_cancel.Size = new System.Drawing.Size(75, 23); - this.button_cancel.TabIndex = 4; - this.button_cancel.Text = "Cancel"; - this.button_cancel.UseVisualStyleBackColor = true; - this.button_cancel.Click += new System.EventHandler(this.button_cancel_Click); - // - // skinlister - // - this.skinlister.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.skinlister.FormattingEnabled = true; - this.skinlister.Location = new System.Drawing.Point(14, 74); - this.skinlister.Name = "skinlister"; - this.skinlister.Size = new System.Drawing.Size(247, 210); - this.skinlister.TabIndex = 7; - // - // wizard_1 - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(499, 358); - this.Controls.Add(this.button_cancel); - this.Controls.Add(this.button_next); - this.Controls.Add(this.button_back); - this.Controls.Add(this.panel2); - this.Controls.Add(this.panel1); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "wizard_1"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "wizard_1"; - this.panel1.ResumeLayout(false); - this.panel1.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); - this.panel2.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - this.ResumeLayout(false); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(wizard_1)); + this.panel1 = new System.Windows.Forms.Panel(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); + this.listBox1 = new System.Windows.Forms.ListBox(); + this.progressBar2 = new System.Windows.Forms.ProgressBar(); + this.progressBar1 = new System.Windows.Forms.ProgressBar(); + this.label2 = new System.Windows.Forms.Label(); + this.title_label = new System.Windows.Forms.Label(); + this.richTextBox1 = new System.Windows.Forms.RichTextBox(); + this.skinlister = new System.Windows.Forms.CheckedListBox(); + this.Customize_list = new System.Windows.Forms.CheckedListBox(); + this.panel2 = new System.Windows.Forms.Panel(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.button_back = new System.Windows.Forms.Button(); + this.button_next = new System.Windows.Forms.Button(); + this.button_cancel = new System.Windows.Forms.Button(); + this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); + this.panel2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // panel1 + // + this.panel1.BackColor = System.Drawing.Color.White; + this.panel1.Controls.Add(this.pictureBox2); + this.panel1.Controls.Add(this.listBox1); + this.panel1.Controls.Add(this.progressBar2); + this.panel1.Controls.Add(this.progressBar1); + this.panel1.Controls.Add(this.label2); + this.panel1.Controls.Add(this.title_label); + this.panel1.Controls.Add(this.richTextBox1); + this.panel1.Controls.Add(this.skinlister); + this.panel1.Controls.Add(this.Customize_list); + this.panel1.Location = new System.Drawing.Point(165, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(334, 298); + this.panel1.TabIndex = 0; + // + // pictureBox2 + // + this.pictureBox2.BackColor = System.Drawing.Color.Transparent; + this.pictureBox2.Location = new System.Drawing.Point(267, 4); + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.Size = new System.Drawing.Size(64, 64); + this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox2.TabIndex = 6; + this.pictureBox2.TabStop = false; + this.pictureBox2.Visible = false; + // + // listBox1 + // + this.listBox1.FormattingEnabled = true; + this.listBox1.HorizontalScrollbar = true; + this.listBox1.Location = new System.Drawing.Point(14, 174); + this.listBox1.Name = "listBox1"; + this.listBox1.Size = new System.Drawing.Size(308, 108); + this.listBox1.TabIndex = 5; + // + // progressBar2 + // + this.progressBar2.Location = new System.Drawing.Point(14, 143); + this.progressBar2.Name = "progressBar2"; + this.progressBar2.Size = new System.Drawing.Size(308, 14); + this.progressBar2.TabIndex = 4; + // + // progressBar1 + // + this.progressBar1.Location = new System.Drawing.Point(14, 123); + this.progressBar1.Name = "progressBar1"; + this.progressBar1.Size = new System.Drawing.Size(308, 14); + this.progressBar1.TabIndex = 3; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(9, 49); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(35, 13); + this.label2.TabIndex = 2; + this.label2.Text = "label2"; + // + // title_label + // + this.title_label.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.title_label.Location = new System.Drawing.Point(9, 9); + this.title_label.Name = "title_label"; + this.title_label.Size = new System.Drawing.Size(252, 30); + this.title_label.TabIndex = 1; + this.title_label.Text = "label1"; + // + // richTextBox1 + // + this.richTextBox1.BackColor = System.Drawing.SystemColors.ActiveCaptionText; + this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.richTextBox1.Location = new System.Drawing.Point(3, 74); + this.richTextBox1.Name = "richTextBox1"; + this.richTextBox1.ReadOnly = true; + this.richTextBox1.Size = new System.Drawing.Size(331, 224); + this.richTextBox1.TabIndex = 0; + this.richTextBox1.Text = ""; + // + // skinlister + // + this.skinlister.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.skinlister.FormattingEnabled = true; + this.skinlister.Location = new System.Drawing.Point(14, 74); + this.skinlister.Name = "skinlister"; + this.skinlister.Size = new System.Drawing.Size(247, 210); + this.skinlister.TabIndex = 7; + // + // Customize_list + // + this.Customize_list.CheckOnClick = true; + this.Customize_list.FormattingEnabled = true; + this.Customize_list.Location = new System.Drawing.Point(14, 98); + this.Customize_list.Name = "Customize_list"; + this.Customize_list.Size = new System.Drawing.Size(308, 139); + this.Customize_list.TabIndex = 8; + this.Customize_list.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.Customize_list_ItemCheck); + // + // panel2 + // + this.panel2.Controls.Add(this.pictureBox1); + this.panel2.Location = new System.Drawing.Point(0, 0); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(168, 298); + this.panel2.TabIndex = 1; + // + // pictureBox1 + // + this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill; + this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); + this.pictureBox1.Location = new System.Drawing.Point(0, 0); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(168, 298); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox1.TabIndex = 5; + this.pictureBox1.TabStop = false; + // + // button_back + // + this.button_back.Location = new System.Drawing.Point(223, 314); + this.button_back.Name = "button_back"; + this.button_back.Size = new System.Drawing.Size(75, 23); + this.button_back.TabIndex = 2; + this.button_back.Text = "< Back"; + this.button_back.UseVisualStyleBackColor = true; + this.button_back.Click += new System.EventHandler(this.button_back_Click); + // + // button_next + // + this.button_next.Location = new System.Drawing.Point(304, 314); + this.button_next.Name = "button_next"; + this.button_next.Size = new System.Drawing.Size(75, 23); + this.button_next.TabIndex = 3; + this.button_next.Text = "Next >"; + this.button_next.UseVisualStyleBackColor = true; + this.button_next.Click += new System.EventHandler(this.button_next_Click); + // + // button_cancel + // + this.button_cancel.Location = new System.Drawing.Point(399, 314); + this.button_cancel.Name = "button_cancel"; + this.button_cancel.Size = new System.Drawing.Size(75, 23); + this.button_cancel.TabIndex = 4; + this.button_cancel.Text = "Cancel"; + this.button_cancel.UseVisualStyleBackColor = true; + this.button_cancel.Click += new System.EventHandler(this.button_cancel_Click); + // + // wizard_1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(499, 358); + this.Controls.Add(this.button_cancel); + this.Controls.Add(this.button_next); + this.Controls.Add(this.button_back); + this.Controls.Add(this.panel2); + this.Controls.Add(this.panel1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "wizard_1"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "wizard_1"; + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); + this.panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.ResumeLayout(false); } @@ -227,5 +239,6 @@ private System.Windows.Forms.ListBox listBox1; private System.Windows.Forms.PictureBox pictureBox2; private System.Windows.Forms.CheckedListBox skinlister; + private System.Windows.Forms.CheckedListBox Customize_list; } } \ No newline at end of file Modified: trunk/plugins/mpinstaler/MPInstaler/wizard/wizard_1.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/wizard/wizard_1.cs 2007-04-30 19:53:23 UTC (rev 363) +++ trunk/plugins/mpinstaler/MPInstaler/wizard/wizard_1.cs 2007-04-30 20:05:26 UTC (rev 364) @@ -9,367 +9,424 @@ namespace MPInstaler { - public partial class wizard_1 : Form + public partial class wizard_1 : Form + { + public int step = 0; + public MPpackageStruct package; + MPInstallHelper inst = new MPInstallHelper(); + List<ActionInfo> actions = new List<ActionInfo>(); + bool update = false; + bool working = false; + public wizard_1() { - public int step = 0; - public MPpackageStruct package; - MPInstallHelper inst = new MPInstallHelper(); - List<ActionInfo> actions = new List<ActionInfo>(); - bool update = false; - public wizard_1() - { - package = new MPpackageStruct(); - InitializeComponent(); - } - public void starStep() - { - inst.LoadFromFile(); - if (inst.IndexOf(package) < 0) - nextStep(1); - else - if (MessageBox.Show("Extension already installed. Do you want continue ?", "", MessageBoxButtons.YesNo) == DialogResult.Yes) - nextStep(1); - } - public void StartUpdate() - { - update = true; - inst.LoadFromFile(); - nextStep(1); - //if (!this.Visible) this.Show(); - //this.Text = "MediaPortal extension instaler"; - //skinlister.Items.Clear(); - //foreach (string sk in package.SkinList) - //{ - // skinlister.Items.Add(sk, true); - //} - //if (package._intalerStruct.Logo != null) - //{ - // pictureBox2.Visible = true; - // pictureBox2.Image = package._intalerStruct.Logo; - //} - //else - //{ - // pictureBox2.Visible = false; - //} - //for (int i = 0; i < skinlister.Items.Count; i++) - //{ - // if (skinlister.GetItemChecked(i)) - // package.InstallableSkinList.Add(skinlister.Items[i].ToString()); - //} - //label2.Visible = true; - //progressBar1.Visible = true; - //progressBar2.Visible = true; - //listBox1.Visible = true; ; - //title_label.Text = package._intalerStruct.Name; - //label2.Text = "Instaling ..."; - //button_next.Visible = false; - //button_back.Visible = true; - //richTextBox1.Text = ""; - //richTextBox1.Visible = false; - //step = 7; - //install(); - } + package = new MPpackageStruct(); + InitializeComponent(); + } + public void starStep() + { + inst.LoadFromFile(); + if (inst.IndexOf(package) < 0) + nextStep(1); + else + if (MessageBox.Show("Extension already installed. Do you want continue ?", "", MessageBoxButtons.YesNo) == DialogResult.Yes) + nextStep(1); + } + public void StartUpdate() + { + update = true; + inst.LoadFromFile(); + nextStep(1); + //if (!this.Visible) this.Show(); + //this.Text = "MediaPortal extension instaler"; + //skinlister.Items.Clear(); + //foreach (string sk in package.SkinList) + //{ + // skinlister.Items.Add(sk, true); + //} + //if (package._intalerStruct.Logo != null) + //{ + // pictureBox2.Visible = true; + // pictureBox2.Image = package._intalerStruct.Logo; + //} + //else + //{ + // pictureBox2.Visible = false; + //} + //for (int i = 0; i < skinlister.Items.Count; i++) + //{ + // if (skinlister.GetItemChecked(i)) + // package.InstallableSkinList.Add(skinlister.Items[i].ToString()); + //} + //label2.Visible = true; + //progressBar1.Visible = true; + //progressBar2.Visible = true; + //listBox1.Visible = true; ; + //title_label.Text = package._intalerStruct.Name; + //label2.Text = "Instaling ..."; + //button_next.Visible = false; + //button_back.Visible = true; + //richTextBox1.Text = ""; + //richTextBox1.Visible = false; + //step = 7; + //install(); + } - public void nextStep(int m) - { - step+=m; - test_next_step(m); - switch (step) + public void nextStep(int m) + { + step += m; + test_next_step(m); + switch (step) + { + case 1: + { + this.Text = "MediaPortal extension instaler"; + skinlister.Items.Clear(); + Customize_list.Visible = false; + button_back.Visible = false; + progressBar1.Visible = false; + progressBar2.Visible = false; + skinlister.Visible = false; + listBox1.Items.Clear(); + listBox1.Visible = false; + label2.Visible = false; + title_label.Text = package._intalerStruct.Name; + button_next.Text = "Next"; + richTextBox1.Visible = true; + if (package._intalerStruct.Logo != null) { - case 1: - { - this.Text = "MediaPortal extension instaler"; - skinlister.Items.Clear(); - button_back.Visible = false; - progressBar1.Visible = false; - progressBar2.Visible = false; - skinlister.Visible = false; - listBox1.Items.Clear(); - listBox1.Visible = false; - label2.Visible = false; - title_label.Text = package._intalerStruct.Name; - button_next.Text = "Next"; - richTextBox1.Visible = true; - if (package._intalerStruct.Logo != null) - { - pictureBox2.Visible = true; - pictureBox2.Image = package._intalerStruct.Logo; - } - else - { - pictureBox2.Visible = false; - } - richTextBox1.Text = String.Format(" Name : {0} \n\n Author : {1} \n\n Version : {2} \n\n Description :\n {3} \n", package._intalerStruct.Name, package._intalerStruct.Author, package._intalerStruct.Version, package._intalerStruct.Description); - if (!this.Visible) this.ShowDialog(); - break; - } - case 2: - { - label2.Visible = true; - progressBar1.Visible = false; - progressBar2.Visible = false; - skinlister.Visible = false; - listBox1.Visible = false; - label2.Text = "License Agreement"; - button_next.Text = "I Agree"; - button_back.Visible = true; - richTextBox1.Visible = true; - richTextBox1.Text = package.txt_EULA; - break; - } - case 3: - { - label2.Visible = true; - progressBar1.Visible = false; - progressBar2.Visible = false; - skinlister.Visible = false; - listBox1.Visible = false; - label2.Text = "Change log"; - button_next.Text = "Next"; - button_back.Visible = true; - richTextBox1.Visible = true; - richTextBox1.Text = package.txt_log; - break; - } - case 4: - { - progressBar1.Visible = false; - progressBar2.Visible = false; - skinlister.Visible = false; - listBox1.Visible = false; - label2.Visible = true; - label2.Text = "Read me"; - button_back.Visible = true; - richTextBox1.Visible = true; - richTextBox1.Text = package.txt_readme; - break; - } - case 5: - { - progressBar1.Visible = false; - progressBar2.Visible = false; - skinlister.Visible = true; - listBox1.Visible = false; - label2.Visible = true; - label2.Text = "Select skin"; - button_next.Text = "Next"; - button_back.Visible = true; - richTextBox1.Visible = false; - skinlister.Items.Clear(); - foreach (string sk in package.SkinList) - { - skinlister.Items.Add(sk, true); - } - break; - } - case 6: - { - progressBar1.Visible = false; - progressBar2.Visible = false; - skinlister.Visible = false; - listBox1.Visible = false; - label2.Visible = true; - label2.Text = "Instaling ..."; - button_next.Text = "Next"; - button_back.Visible = true; - richTextBox1.Visible = true; - richTextBox1.Text = String.Format("Intall paths : \n"); - foreach (Config.Dir option in Enum.GetValues(typeof(Config.Dir))) - { - richTextBox1.Text += String.Format("{0} - {1}\n", option, Config.GetFolder(option)); - } - break; - } - case 7: - { - if (!this.Visible) this.ShowDialog(); - for (int i = 0; i < skinlister.Items.Count; i++) - { - if (skinlister.GetItemChecked(i)) - package.InstallableSkinList.Add(skinlister.Items[i].ToString()); - } - label2.Visible = true; - progressBar1.Visible = true; - progressBar2.Visible = true; - listBox1.Visible = true; ; - label2.Text = "Instaling ..."; - button_next.Visible = false; - button_back.Visible = true; - richTextBox1.Text = ""; - richTextBox1.Visible = false; - install(); - break; - } - + pictureBox2.Visible = true; + pictureBox2.Image = package._intalerStruct.Logo; } - } - - private void install() - { - button_next.Visible = false; - button_back.Visible = false; - button_cancel.Enabled = false; - if (progressBar1 != null) + else { - progressBar1.Minimum = 0; - progressBar1.Maximum = package._intalerStruct.FileList.Count; + pictureBox2.Visible = false; } - for (int i = 0; i < package._intalerStruct.FileList.Count; i++) + richTextBox1.Text = String.Format(" Name : {0} \n\n Author : {1} \n\n Version : {2} \n\n Description :\n {3} \n", package._intalerStruct.Name, package._intalerStruct.Author, package._intalerStruct.Version, package._intalerStruct.Description); + if (!this.Visible) this.ShowDialog(); + break; + } + case 2: + { + label2.Visible = true; + progressBar1.Visible = false; + progressBar2.Visible = false; + skinlister.Visible = false; + listBox1.Visible = false; + Customize_list.Visible = false; + label2.Text = "License Agreement"; + button_next.Text = "I Agree"; + button_back.Visible = true; + richTextBox1.Visible = true; + richTextBox1.Text = package.txt_EULA; + break; + } + case 3: + { + label2.Visible = true; + progressBar1.Visible = false; + progressBar2.Visible = false; + skinlister.Visible = false; + listBox1.Visible = false; + Customize_list.Visible = false; + label2.Text = "Change log"; + button_next.Text = "Next"; + button_back.Visible = true; + richTextBox1.Visible = true; + richTextBox1.Text = package.txt_log; + break; + } + case 4: + { + progressBar1.Visible = false; + progressBar2.Visible = false; + skinlister.Visible = false; + listBox1.Visible = false; + Customize_list.Visible = false; + label2.Visible = true; + label2.Text = "Read me"; + button_back.Visible = true; + richTextBox1.Visible = true; + richTextBox1.Text = package.txt_readme; + break; + } + case 5: + { + progressBar1.Visible = false; + progressBar2.Visible = false; + skinlister.Visible = true; + listBox1.Visible = false; + label2.Visible = true; + Customize_list.Visible = false; + label2.Text = "Select skin"; + button_next.Text = "Next"; + button_back.Visible = true; + richTextBox1.Visible = false; + skinlister.Items.Clear(); + foreach (string sk in package.SkinList) { - package.instal_file(progressBar2,listBox1,(MPIFileList) package._intalerStruct.FileList[i]); - progressBar1.Value++; - this.Refresh(); - this.Update(); + skinlister.Items.Add(sk, true); } - package.installLanguage(listBox1); - button_next.Visible = false; - button_cancel.Enabled = true; - inst.Add(package); - inst.SaveToFile(); - label2.Text = "Done ..."; - ActionInfo ac = package._intalerStruct.FindAction("POSTSETUP"); - if (ac != null) + break; + } + case 6: + { + progressBar1.Visible = false; + progressBar2.Visible = false; + skinlister.Visible = true; + listBox1.Visible = false; + label2.Visible = true; + skinlister.Visible = false; + Customize_list.Visible = true; + label2.Text = "Customize setup"; + button_next.Text = "Next"; + button_back.Visible = true; + richTextBox1.Visible = false; + Customize_list.Visible = true; + Customize_list.Items.Clear(); + foreach (GroupString gs in package._intalerStruct.SetupGroups) { - actions.Add(ac); - listBox1.Visible = false; - skinlister.Items.Clear(); - skinlister.Visible = true; - progressBar1.Visible = false; - progressBar2.Visible = false; - skinlister.Items.Add(ac.ToString()); + Customize_list.Items.Add(gs.Name, !package._intalerStruct.ProiectProperties.SingleGroupSelect); } - button_cancel.Text = "Finish"; - } - - private void test_next_step(int m) - { - switch (step) + if (package._intalerStruct.ProiectProperties.SingleGroupSelect && package._intalerStruct.SetupGroups.Count > 0) + Customize_list.SetItemChecked(0, true); + break; + } + case 7: + { + progressBar1.Visible = false; + progressBar2.Visible = false; + skinlister.Visible = false; + listBox1.Visible = false; + Customize_list.Visible = false; + label2.Visible = true; + label2.Text = "Instaling ..."; + button_next.Text = "Next"; + button_back.Visible = true; + richTextBox1.Visible = true; + richTextBox1.Text = String.Format("Intall paths : \n"); + foreach (Config.Dir option in Enum.GetValues(typeof(Config.Dir))) { - case 1: - break; - case 2: - if (update) step = 6; - if (String.IsNullOrEmpty(package.txt_EULA)) - { - step+=m; - test_next_step(m); - } - break; - case 3: - if (String.IsNullOrEmpty(package.txt_log)) - { - step+=m; - test_next_step(m); - } - break; - case 4: - if (String.IsNullOrEmpty(package.txt_readme)) - { - step+=m; - test_next_step(m); - } - break; - case 5: - if (!package.containsSkin) - { - step += m; - test_next_step(m); - } - break; - default: - break; + richTextBox1.Text += String.Format("{0} - {1}\n", option, Config.GetFolder(option)); } - } - - private void button_next_Click(object sender, EventArgs e) - { - nextStep(1); - } - - private void button_cancel_Click(object sender, EventArgs e) - { - if (step == 7) + break; + } + case 8: + { + if (!this.Visible) this.ShowDialog(); + for (int i = 0; i < skinlister.Items.Count; i++) { - foreach (ActionInfo ac in actions) - { - int i=skinlister.Items.IndexOf(ac.ToString()); - if (skinlister.GetSelected(i)) - ac.ExecuteAction(package._intalerStruct); - } - - this.Close(); + if (skinlister.GetItemChecked(i)) + package.InstallableSkinList.Add(skinlister.Items[i].ToString()); } - else + for (int i = 0; i < Customize_list.Items.Count; i++) { - this.Close(); + package._intalerStruct.SetupGroups[i].Checked = Customize_list.GetItemChecked(i); } - } + label2.Visible = true; + Customize_list.Visible = false; + progressBar1.Visible = true; + progressBar2.Visible = true; + listBox1.Visible = true; ; + label2.Text = "Instaling ..."; + button_next.Visible = false; + button_back.Visible = true; + richTextBox1.Text = ""; + richTextBox1.Visible = false; + install(); + break; + } - private void button_back_Click(object sender, EventArgs e) + } + } + + private void install() + { + button_next.Visible = false; + button_back.Visible = false; + button_cancel.Enabled = false; + if (progressBar1 != null) + { + progressBar1.Minimum = 0; + progressBar1.Maximum = package._intalerStruct.FileList.Count; + } + for (int i = 0; i < package._intalerStruct.FileList.Count; i++) + { + package.instal_file(progressBar2, listBox1, (MPIFileList)package._intalerStruct.FileList[i]); + progressBar1.Value++; + this.Refresh(); + this.Update(); + } + package.installLanguage(listBox1); + button_next.Visible = false; + button_cancel.Enabled = true; + inst.Add(package); + inst.SaveToFile(); + label2.Text = "Done ..."; + ActionInfo ac = package._intalerStruct.FindAction("POSTSETUP"); + if (ac != null) + { + actions.Add(ac); + listBox1.Visible = false; + skinlister.Items.Clear(); + skinlister.Visible = true; + progressBar1.Visible = false; + progressBar2.Visible = false; + skinlister.Items.Add(ac.ToString()); + } + button_cancel.Text = "Finish"; + } + + private void test_next_step(int m) + { + switch (step) + { + case 1: + break; + case 2: + if (update) step = 7; + if (String.IsNullOrEmpty(package.txt_EULA)) + { + step += m; + test_next_step(m); + } + break; + case 3: + if (String.IsNullOrEmpty(package.txt_log)) + { + step += m; + test_next_step(m); + } + break; + case 4: + if (String.IsNullOrEmpty(package.txt_readme)) + { + step += m; + test_next_step(m); + } + break; + case 5: + if (!package.containsSkin) + { + step += m; + test_next_step(m); + } + break; + case 6: + if (package._intalerStruct.SetupGroups.Count < 1) + { + step += m; + test_next_step(m); + } + break; + default: + break; + } + } + + private void button_next_Click(object sender, EventArgs e) + { + nextStep(1); + } + + private void button_cancel_Click(object sender, EventArgs e) + { + if (step == 8) + { + foreach (ActionInfo ac in actions) { - nextStep(-1); + int i = skinlister.Items.IndexOf(ac.ToString()); + if (skinlister.GetSelected(i)) + ac.ExecuteAction(package._intalerStruct); } - internal void uninstall(string tit) + this.Close(); + } + else + { + this.Close(); + } + } + + private void button_back_Click(object sender, EventArgs e) + { + nextStep(-1); + } + + internal void uninstall(string tit) + { + inst.LoadFromFile(); + int index = -1; + int ind = -1; + foreach (MPpackageStruct p in inst.lst) + { + ind++; + if (p._intalerStruct.Name.Trim() == tit.Trim()) { - inst.LoadFromFile(); - int index = -1; - int ind=-1; - foreach (MPpackageStruct p in inst.lst) + index = ind; + break; + } + } + if (index > -1) + if (((MPpackageStruct)inst.lst[index])._intalerStruct.Uninstall.Count > 0) + { + if (MessageBox.Show("Uninstalling extension." + tit + "\nDo you want continue ?", "", MessageBoxButtons.YesNo) == DialogResult.Yes) + { + if (!this.Visible) this.Show(); + MPpackageStruct p = (MPpackageStruct)inst.lst[index]; + label2.Visible = true; + progressBar1.Visible = true; + progressBar2.Visible = false; + listBox1.Visible = true; + this.Text = "Uninstalling " + p._intalerStruct.Name; + title_label.Text = p._intalerStruct.Name; + label2.Text = "Uninstalling ..."; + button_next.Visible = false; + button_back.Visible = false; + richTextBox1.Text = ""; + richTextBox1.Visible = false; + progressBar1.Maximum = p._intalerStruct.Uninstall.Count; + for (int i = 0; i < p._intalerStruct.Uninstall.Count; i++) { - ind++; - if (p._intalerStruct.Name.Trim() == tit.Trim()) + UninstallInfo u = (UninstallInfo)p._intalerStruct.Uninstall[i]; + progressBar1.Value++; + progressBar1.Update(); + progressBar1.Refresh(); + if (System.IO.File.Exists(u.Path)) + { + if (System.IO.File.GetCreationTime(u.Path) == u.Date) { - index = ind; - break; + System.IO.File.Delete(u.Path); + listBox1.Items.Add(u.Path); } + else + listBox1.Items.Add("File date changed :" + u.Path); + } + else listBox1.Items.Add("File not found :" + u.Path); } - if (index > -1) - if (((MPpackageStruct)inst.lst[index])._intalerStruct.Uninstall.Count>0) - { - if (MessageBox.Show("Uninstalling extension." + tit + "\nDo you want continue ?", "", MessageBoxButtons.YesNo) == DialogResult.Yes) - { - if (!this.Visible) this.Show(); - MPpackageStruct p = (MPpackageStruct)inst.lst[index]; - label2.Visible = true; - progressBar1.Visible = true; - progressBar2.Visible = false; - listBox1.Visible = true; - this.Text = "Uninstalling "+p._intalerStruct.Name; - title_label.Text = p._intalerStruct.Name; - label2.Text = "Uninstalling ..."; - button_next.Visible = false; - button_back.Visible = false; - richTextBox1.Text = ""; - richTextBox1.Visible = false; - progressBar1.Maximum = p._intalerStruct.Uninstall.Count; - for (int i = 0; i < p._intalerStruct.Uninstall.Count; i++) - { - UninstallInfo u = (UninstallInfo)p._intalerStruct.Uninstall[i]; - progressBar1.Value++; - progressBar1.Update(); - progressBar1.Refresh(); - if (System.IO.File.Exists(u.Path)) - { - if (System.IO.File.GetCreationTime(u.Path) == u.Date) - { - System.IO.File.Delete(u.Path); - listBox1.Items.Add(u.Path); - }else - listBox1.Items.Add("File date changed :"+u.Path); - } - else listBox1.Items.Add("File not found :"+u.Path); - } - inst.lst.RemoveAt(index); - inst.SaveToFile(); - } - } - else - MessageBox.Show("Uninstall information not found !"); - else - MessageBox.Show("Uninstall information not found !"); + inst.lst.RemoveAt(index); + inst.SaveToFile(); + } + } + else + MessageBox.Show("Uninstall information not found !"); + else + MessageBox.Show("Uninstall information not found !"); - button_cancel.Text = "Finish"; - } + button_cancel.Text = "Finish"; } + + private void Customize_list_ItemCheck(object sender, ItemCheckEventArgs e) + { + if (working) return; + working = true; + if (package._intalerStruct.ProiectProperties.SingleGroupSelect) + { + for (int i = 0; i < Customize_list.Items.Count; i++) + Customize_list.SetItemChecked(i, false); + } + Customize_list.SetItemChecked(e.Index, true); + working = false; + } + + } } \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <du...@us...> - 2007-05-14 17:10:07
|
Revision: 400 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=400&view=rev Author: dukus Date: 2007-05-14 10:09:39 -0700 (Mon, 14 May 2007) Log Message: ----------- Add all project files with one click Modified Paths: -------------- trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs trunk/plugins/mpinstaler/MPInstaler/Form1.cs trunk/plugins/mpinstaler/MPInstaler/Form1.resx Modified: trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs 2007-05-12 08:37:06 UTC (rev 399) +++ trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs 2007-05-14 17:09:39 UTC (rev 400) @@ -111,6 +111,10 @@ this.openToolStripButton = new System.Windows.Forms.ToolStripButton(); this.saveToolStripButton = new System.Windows.Forms.ToolStripButton(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.fileAutomatedDiscoverTypeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog(); + this.directoryAutomatedDiscoverTypeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.menuStrip1.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); this.tabPage_Skin.SuspendLayout(); @@ -222,7 +226,10 @@ this.textToolStripMenuItem, this.settingsToolStripMenuItem, this.textToolStripMenuItem1, - this.otherToolStripMenuItem}); + this.otherToolStripMenuItem, + this.toolStripSeparator3, + this.fileAutomatedDiscoverTypeToolStripMenuItem, + this.directoryAutomatedDiscoverTypeToolStripMenuItem}); this.addToolStripMenuItem.Name = "addToolStripMenuItem"; this.addToolStripMenuItem.Size = new System.Drawing.Size(38, 20); this.addToolStripMenuItem.Text = "Add"; @@ -236,7 +243,7 @@ this.tagReadersToolStripMenuItem, this.externalPlayersToolStripMenuItem}); this.windowPluginToolStripMenuItem.Name = "windowPluginToolStripMenuItem"; - this.windowPluginToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.windowPluginToolStripMenuItem.Size = new System.Drawing.Size(232, 22); this.windowPluginToolStripMenuItem.Text = "Plugin"; // // windowToolStripMenuItem @@ -283,55 +290,55 @@ this.animationsToolStripMenuItem, this.tetrisToolStripMenuItem}); this.skinToolStripMenuItem.Name = "skinToolStripMenuItem"; - this.skinToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.skinToolStripMenuItem.Size = new System.Drawing.Size(232, 22); this.skinToolStripMenuItem.Text = "Skin"; // // componentToolStripMenuItem // this.componentToolStripMenuItem.Name = "componentToolStripMenuItem"; - this.componentToolStripMenuItem.Size = new System.Drawing.Size(140, 22); + this.componentToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.componentToolStripMenuItem.Text = "Component"; this.componentToolStripMenuItem.Click += new System.EventHandler(this.componentToolStripMenuItem_Click); // // mediaToolStripMenuItem // this.mediaToolStripMenuItem.Name = "mediaToolStripMenuItem"; - this.mediaToolStripMenuItem.Size = new System.Drawing.Size(140, 22); + this.mediaToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.mediaToolStripMenuItem.Text = "Media"; this.mediaToolStripMenuItem.Click += new System.EventHandler(this.mediaToolStripMenuItem_Click); // // soundsToolStripMenuItem // this.soundsToolStripMenuItem.Name = "soundsToolStripMenuItem"; - this.soundsToolStripMenuItem.Size = new System.Drawing.Size(140, 22); + this.soundsToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.soundsToolStripMenuItem.Text = "Sounds"; this.soundsToolStripMenuItem.Click += new System.EventHandler(this.soundsToolStripMenuItem_Click); // // animationsToolStripMenuItem // this.animationsToolStripMenuItem.Name = "animationsToolStripMenuItem"; - this.animationsToolStripMenuItem.Size = new System.Drawing.Size(140, 22); + this.animationsToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.animationsToolStripMenuItem.Text = "Animations"; this.animationsToolStripMenuItem.Click += new System.EventHandler(this.animationsToolStripMenuItem_Click); // // tetrisToolStripMenuItem // this.tetrisToolStripMenuItem.Name = "tetrisToolStripMenuItem"; - this.tetrisToolStripMenuItem.Size = new System.Drawing.Size(140, 22); + this.tetrisToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.tetrisToolStripMenuItem.Text = "Tetris"; this.tetrisToolStripMenuItem.Click += new System.EventHandler(this.tetrisToolStripMenuItem_Click); // // languageToolStripMenuItem // this.languageToolStripMenuItem.Name = "languageToolStripMenuItem"; - this.languageToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.languageToolStripMenuItem.Size = new System.Drawing.Size(232, 22); this.languageToolStripMenuItem.Text = "Language"; this.languageToolStripMenuItem.Click += new System.EventHandler(this.languageToolStripMenuItem_Click); // // textToolStripMenuItem // this.textToolStripMenuItem.Name = "textToolStripMenuItem"; - this.textToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.textToolStripMenuItem.Size = new System.Drawing.Size(232, 22); this.textToolStripMenuItem.Text = "Text"; this.textToolStripMenuItem.Click += new System.EventHandler(this.textToolStripMenuItem_Click); // @@ -339,20 +346,20 @@ // this.settingsToolStripMenuItem.Enabled = false; this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; - this.settingsToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.settingsToolStripMenuItem.Size = new System.Drawing.Size(232, 22); this.settingsToolStripMenuItem.Text = "Settings"; // // textToolStripMenuItem1 // this.textToolStripMenuItem1.Name = "textToolStripMenuItem1"; - this.textToolStripMenuItem1.Size = new System.Drawing.Size(132, 22); + this.textToolStripMenuItem1.Size = new System.Drawing.Size(232, 22); this.textToolStripMenuItem1.Text = "Thumbs"; this.textToolStripMenuItem1.Click += new System.EventHandler(this.textToolStripMenuItem1_Click); // // otherToolStripMenuItem // this.otherToolStripMenuItem.Name = "otherToolStripMenuItem"; - this.otherToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.otherToolStripMenuItem.Size = new System.Drawing.Size(232, 22); this.otherToolStripMenuItem.Text = "Other"; this.otherToolStripMenuItem.Click += new System.EventHandler(this.otherToolStripMenuItem_Click); // @@ -880,6 +887,29 @@ this.toolStripContainer1.TabIndex = 5; this.toolStripContainer1.Text = "toolStripContainer1"; // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(229, 6); + // + // fileAutomatedDiscoverTypeToolStripMenuItem + // + this.fileAutomatedDiscoverTypeToolStripMenuItem.Name = "fileAutomatedDiscoverTypeToolStripMenuItem"; + this.fileAutomatedDiscoverTypeToolStripMenuItem.Size = new System.Drawing.Size(232, 22); + this.fileAutomatedDiscoverTypeToolStripMenuItem.Text = "File - Automated discover type"; + this.fileAutomatedDiscoverTypeToolStripMenuItem.Click += new System.EventHandler(this.fileAutomatedDiscoverTypeToolStripMenuItem_Click); + // + // folderBrowserDialog1 + // + this.folderBrowserDialog1.ShowNewFolderButton = false; + // + // directoryAutomatedDiscoverTypeToolStripMenuItem + // + this.directoryAutomatedDiscoverTypeToolStripMenuItem.Name = "directoryAutomatedDiscoverTypeToolStripMenuItem"; + this.directoryAutomatedDiscoverTypeToolStripMenuItem.Size = new System.Drawing.Size(260, 22); + this.directoryAutomatedDiscoverTypeToolStripMenuItem.Text = "Directory - Automated discover type"; + this.directoryAutomatedDiscoverTypeToolStripMenuItem.Click += new System.EventHandler(this.directoryAutomatedDiscoverTypeToolStripMenuItem_Click); + // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -1006,6 +1036,10 @@ private System.Windows.Forms.PropertyGrid propertyGrid1; private System.Windows.Forms.ToolStripMenuItem setupGroupsToolStripMenuItem; private System.Windows.Forms.PropertyGrid propertyGrid2; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; + private System.Windows.Forms.ToolStripMenuItem fileAutomatedDiscoverTypeToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem directoryAutomatedDiscoverTypeToolStripMenuItem; + private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1; } } Modified: trunk/plugins/mpinstaler/MPInstaler/Form1.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/Form1.cs 2007-05-12 08:37:06 UTC (rev 399) +++ trunk/plugins/mpinstaler/MPInstaler/Form1.cs 2007-05-14 17:09:39 UTC (rev 400) @@ -584,5 +584,96 @@ dlg._struct = this._struct; dlg.ShowDialog(); } + + private void fileAutomatedDiscoverTypeToolStripMenuItem_Click(object sender, EventArgs e) + { + openFileDialog1.Filter = "All files (*.*)|*.*|png files (*.png)|*.png|bmp files (*.bmp)|*.bmp|jpeg files (*.jpg)|*.jpg|Skin files (*.xml)|*.xml|Plugin files (*.dll)|*.dll"; + openFileDialog1.FileName = ""; + openFileDialog1.DefaultExt = "*.*"; + openFileDialog1.Multiselect = true; + if (openFileDialog1.ShowDialog(this) == DialogResult.OK) + { + foreach (string f in openFileDialog1.FileNames) + { + addFile(f); + } + } + } + + private void addFile(string fil) + { + if (Path.GetExtension(fil).ToUpper() == ".DLL") + { + if (fil.ToUpper().Contains("PLUGINS\\WINDOWS")) + { + addrow(Path.GetFileName(fil), MPinstalerStruct.PLUGIN_TYPE, MPinstalerStruct.PLUGIN_WINDOW_SUBTYPE, Path.GetFullPath(fil), "01010"); + } + if (fil.ToUpper().Contains("PLUGINS\\TAGREADERS")) + { + addrow(Path.GetFileName(fil), MPinstalerStruct.PLUGIN_TYPE, MPinstalerStruct.PLUGIN_TAGREADER_SUBTYPE, Path.GetFullPath(fil), "01010"); + } + if (fil.ToUpper().Contains("PLUGINS\\SUBTITLE")) + { + addrow(Path.GetFileName(fil), MPinstalerStruct.PLUGIN_TYPE, MPinstalerStruct.PLUGIN_SUBTITLE_SUBTYPE, Path.GetFullPath(fil), "01010"); + } + if (fil.ToUpper().Contains("PLUGINS\\PROCESS")) + { + addrow(Path.GetFileName(fil), MPinstalerStruct.PLUGIN_TYPE, MPinstalerStruct.PLUGIN_PROCESS_SUBTYPE, Path.GetFullPath(fil), "01010"); + } + if (fil.ToUpper().Contains("PLUGINS\\EXTERNALPLAYERS")) + { + addrow(Path.GetFileName(fil), MPinstalerStruct.PLUGIN_TYPE, MPinstalerStruct.PLUGIN_PLAYER_SUBTYPE, Path.GetFullPath(fil), "01010"); + } + return; + } + if (fil.ToUpper().Contains("SKIN")) + { + string subtype = Path.GetFullPath(fil).Substring(Path.GetFullPath(fil).ToLower().IndexOf("skin\\") + 5); + subtype = subtype.Substring(0, subtype.IndexOf("\\")); + if (fil.ToUpper().Contains("SOUNDS")) + { + addrow(Path.GetFileName(fil), MPinstalerStruct.SKIN_SOUNDS_TYPE, subtype, Path.GetFullPath(fil), "02010", ""); + } + else + if (fil.ToUpper().Contains("MEDIA\\ANIMATIONS")) + { + addrow(Path.GetFileName(fil), MPinstalerStruct.SKIN_ANIMATIONS_TYPE, subtype, Path.GetFullPath(fil), "02010", ""); + } + else if (fil.ToUpper().Contains("MEDIA\\TETRIS")) + { + addrow(Path.GetFileName(fil), MPinstalerStruct.SKIN_TETRIS_TYPE, subtype, Path.GetFullPath(fil), "02010", ""); + } + else if (fil.ToUpper().Contains("MEDIA")) + { + addrow(Path.GetFileName(fil), MPinstalerStruct.SKIN_MEDIA_TYPE, subtype, Path.GetFullPath(fil), "02010", ""); + } + else + { + addrow(Path.GetFileName(fil), MPinstalerStruct.SKIN_TYPE, subtype, Path.GetFullPath(fil), "02010", ""); + } + return; + } + if (Path.GetExtension(fil).ToUpper() == ".TXT") + { + addrow(Path.GetFileName(fil), MPinstalerStruct.TEXT_TYPE,MPinstalerStruct.TEXT_README_TYPE, Path.GetFullPath(fil), "02010", ""); + return; + } + addrow(Path.GetFileName(fil), MPinstalerStruct.OTHER_TYPE, "", Path.GetFullPath(fil), "02010", ""); + } + + private void directoryAutomatedDiscoverTypeToolStripMenuItem_Click(object sender, EventArgs e) + { + + if (folderBrowserDialog1.ShowDialog(this) == DialogResult.OK) + { + DirectoryInfo di = new DirectoryInfo(folderBrowserDialog1.SelectedPath); + FileInfo[] fileList = di.GetFiles("*.*",SearchOption.AllDirectories); + foreach (FileInfo f in fileList) + { + addFile(f.FullName); + } + } + + } } } \ No newline at end of file Modified: trunk/plugins/mpinstaler/MPInstaler/Form1.resx =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/Form1.resx 2007-05-12 08:37:06 UTC (rev 399) +++ trunk/plugins/mpinstaler/MPInstaler/Form1.resx 2007-05-14 17:09:39 UTC (rev 400) @@ -177,6 +177,9 @@ Cv71r/4OTrQ4xWMwWlcAAAAASUVORK5CYII= </value> </data> + <metadata name="folderBrowserDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>624, 17</value> + </metadata> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value> AAABAAEAICAEAAAAAADoAgAAFgAAACgAAAAgAAAAQAAAAAEABAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAA This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ze...@us...> - 2007-06-09 21:00:08
|
Revision: 499 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=499&view=rev Author: zebons Date: 2007-06-09 14:00:05 -0700 (Sat, 09 Jun 2007) Log Message: ----------- Add using MeddiaPortal.Util for MP stable 0.2.2 version. Modified Paths: -------------- trunk/plugins/mpinstaler/MPInstaler/Form1.cs trunk/plugins/mpinstaler/MPInstaler/Language dialog.cs trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs trunk/plugins/mpinstaler/MPInstaler/app.config trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.cs trunk/plugins/mpinstaler/MPInstaler/wizard/wizard_1.cs Modified: trunk/plugins/mpinstaler/MPInstaler/Form1.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/Form1.cs 2007-06-09 17:57:08 UTC (rev 498) +++ trunk/plugins/mpinstaler/MPInstaler/Form1.cs 2007-06-09 21:00:05 UTC (rev 499) @@ -9,6 +9,7 @@ using System.IO; using ICSharpCode.SharpZipLib.Zip; using MediaPortal.Configuration; +using MediaPortal.Util; namespace MPInstaler { Modified: trunk/plugins/mpinstaler/MPInstaler/Language dialog.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/Language dialog.cs 2007-06-09 17:57:08 UTC (rev 498) +++ trunk/plugins/mpinstaler/MPInstaler/Language dialog.cs 2007-06-09 21:00:05 UTC (rev 499) @@ -10,6 +10,7 @@ using System.Globalization; using MediaPortal.Configuration; using MediaPortal.GUI.Library; +using MediaPortal.Util; namespace MPInstaler Modified: trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj 2007-06-09 17:57:08 UTC (rev 498) +++ trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj 2007-06-09 21:00:05 UTC (rev 499) @@ -41,7 +41,7 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>bin\Release\</OutputPath> + <OutputPath>..\..\..\Program Files\Team MediaPortal\MediaPortal\</OutputPath> <DefineConstants>TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> @@ -87,6 +87,7 @@ <Compile Include="GroupForm.Designer.cs"> <DependentUpon>GroupForm.cs</DependentUpon> </Compile> + <Compile Include="ItemCombo.cs" /> <Compile Include="MPinstalerStruct.cs" /> <Compile Include="Form1.cs"> <SubType>Form</SubType> Modified: trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs 2007-06-09 17:57:08 UTC (rev 498) +++ trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs 2007-06-09 21:00:05 UTC (rev 499) @@ -10,6 +10,7 @@ using System.IO; using ICSharpCode.SharpZipLib.Zip; using MediaPortal.Configuration; +using MediaPortal.Util; namespace MPInstaler @@ -606,7 +607,7 @@ if (flst.Type == SKIN_TYPE) { - ret = Config.GetFolder(Config.Dir.Skin) + @"\"+ flst.SubType + @"\" ; + ret = Config.GetFolder(Config.Dir.Skin) + @"\" + flst.SubType + @"\"; } if (flst.Type == SKIN_MEDIA_TYPE) Modified: trunk/plugins/mpinstaler/MPInstaler/app.config =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/app.config 2007-06-09 17:57:08 UTC (rev 498) +++ trunk/plugins/mpinstaler/MPInstaler/app.config 2007-06-09 21:00:05 UTC (rev 499) @@ -1,3 +1,11 @@ -<?xml version="1.0" encoding="utf-8" ?> +<?xml version="1.0"?> <configuration> -</configuration> \ No newline at end of file + <runtime> + <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> + <dependentAssembly> + <assemblyIdentity name="Bass.Net" publicKeyToken="B7566C273E6EF480" culture="neutral"/> + <bindingRedirect oldVersion="0.0.0.0-2.3.1.2" newVersion="2.3.1.2"/> + </dependentAssembly> + </assemblyBinding> + </runtime> +</configuration> Modified: trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.cs 2007-06-09 17:57:08 UTC (rev 498) +++ trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.cs 2007-06-09 21:00:05 UTC (rev 499) @@ -10,6 +10,7 @@ using System.Windows.Forms; using MediaPortal.GUI.Library; using MediaPortal.Configuration; +using MediaPortal.Util; namespace MPInstaler { @@ -197,7 +198,7 @@ private void button4_Click(object sender, EventArgs e) { wizard_1 wiz = new wizard_1(); - wiz.package.LoadFromFile(Config.GetFolder(Config.Dir.Base) + @"\" + "Instaler" + @"\" + listView1.SelectedItems[0].SubItems[3].Text); + wiz.package.LoadFromFile (Config.GetFolder(Config.Dir.Base) + @"\" + "Instaler" + @"\" + listView1.SelectedItems[0].SubItems[3].Text); if (wiz.package.isValid) { wiz.starStep(); Modified: trunk/plugins/mpinstaler/MPInstaler/wizard/wizard_1.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/wizard/wizard_1.cs 2007-06-09 17:57:08 UTC (rev 498) +++ trunk/plugins/mpinstaler/MPInstaler/wizard/wizard_1.cs 2007-06-09 21:00:05 UTC (rev 499) @@ -6,6 +6,7 @@ using System.Text; using System.Windows.Forms; using MediaPortal.Configuration; +using MediaPortal.Util; namespace MPInstaler { @@ -206,7 +207,7 @@ richTextBox1.Text = String.Format("Intall paths : \n"); foreach (Config.Dir option in Enum.GetValues(typeof(Config.Dir))) { - richTextBox1.Text += String.Format("{0} - {1}\n", option, Config.GetFolder(option)); + richTextBox1.Text += String.Format("{0} - {1}\n", option, Config.GetFolder(option)); } break; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <du...@us...> - 2007-07-02 17:35:24
|
Revision: 666 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=666&view=rev Author: dukus Date: 2007-07-02 10:34:55 -0700 (Mon, 02 Jul 2007) Log Message: ----------- Info form Modified Paths: -------------- trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs trunk/plugins/mpinstaler/MPInstaler/Form1.cs trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj trunk/plugins/mpinstaler/MPInstaler/MPpackageStruct.cs trunk/plugins/mpinstaler/MPInstaler/Properties/AssemblyInfo.cs trunk/plugins/mpinstaler/MPInstaler/download_form.cs trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.Designer.cs trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.cs trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.resx Added Paths: ----------- trunk/plugins/mpinstaler/MPInstaler/wizard/Info.Designer.cs trunk/plugins/mpinstaler/MPInstaler/wizard/Info.cs trunk/plugins/mpinstaler/MPInstaler/wizard/Info.resx Modified: trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs 2007-07-02 15:24:15 UTC (rev 665) +++ trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs 2007-07-02 17:34:55 UTC (rev 666) @@ -59,6 +59,9 @@ this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.textToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.otherToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.fileAutomatedDiscoverTypeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.directoryAutomatedDiscoverTypeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.customizationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.postSetupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.setupGroupsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -111,10 +114,7 @@ this.openToolStripButton = new System.Windows.Forms.ToolStripButton(); this.saveToolStripButton = new System.Windows.Forms.ToolStripButton(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); - this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); - this.fileAutomatedDiscoverTypeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog(); - this.directoryAutomatedDiscoverTypeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.menuStrip1.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); this.tabPage_Skin.SuspendLayout(); @@ -243,7 +243,7 @@ this.tagReadersToolStripMenuItem, this.externalPlayersToolStripMenuItem}); this.windowPluginToolStripMenuItem.Name = "windowPluginToolStripMenuItem"; - this.windowPluginToolStripMenuItem.Size = new System.Drawing.Size(232, 22); + this.windowPluginToolStripMenuItem.Size = new System.Drawing.Size(260, 22); this.windowPluginToolStripMenuItem.Text = "Plugin"; // // windowToolStripMenuItem @@ -290,55 +290,55 @@ this.animationsToolStripMenuItem, this.tetrisToolStripMenuItem}); this.skinToolStripMenuItem.Name = "skinToolStripMenuItem"; - this.skinToolStripMenuItem.Size = new System.Drawing.Size(232, 22); + this.skinToolStripMenuItem.Size = new System.Drawing.Size(260, 22); this.skinToolStripMenuItem.Text = "Skin"; // // componentToolStripMenuItem // this.componentToolStripMenuItem.Name = "componentToolStripMenuItem"; - this.componentToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.componentToolStripMenuItem.Size = new System.Drawing.Size(140, 22); this.componentToolStripMenuItem.Text = "Component"; this.componentToolStripMenuItem.Click += new System.EventHandler(this.componentToolStripMenuItem_Click); // // mediaToolStripMenuItem // this.mediaToolStripMenuItem.Name = "mediaToolStripMenuItem"; - this.mediaToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.mediaToolStripMenuItem.Size = new System.Drawing.Size(140, 22); this.mediaToolStripMenuItem.Text = "Media"; this.mediaToolStripMenuItem.Click += new System.EventHandler(this.mediaToolStripMenuItem_Click); // // soundsToolStripMenuItem // this.soundsToolStripMenuItem.Name = "soundsToolStripMenuItem"; - this.soundsToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.soundsToolStripMenuItem.Size = new System.Drawing.Size(140, 22); this.soundsToolStripMenuItem.Text = "Sounds"; this.soundsToolStripMenuItem.Click += new System.EventHandler(this.soundsToolStripMenuItem_Click); // // animationsToolStripMenuItem // this.animationsToolStripMenuItem.Name = "animationsToolStripMenuItem"; - this.animationsToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.animationsToolStripMenuItem.Size = new System.Drawing.Size(140, 22); this.animationsToolStripMenuItem.Text = "Animations"; this.animationsToolStripMenuItem.Click += new System.EventHandler(this.animationsToolStripMenuItem_Click); // // tetrisToolStripMenuItem // this.tetrisToolStripMenuItem.Name = "tetrisToolStripMenuItem"; - this.tetrisToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.tetrisToolStripMenuItem.Size = new System.Drawing.Size(140, 22); this.tetrisToolStripMenuItem.Text = "Tetris"; this.tetrisToolStripMenuItem.Click += new System.EventHandler(this.tetrisToolStripMenuItem_Click); // // languageToolStripMenuItem // this.languageToolStripMenuItem.Name = "languageToolStripMenuItem"; - this.languageToolStripMenuItem.Size = new System.Drawing.Size(232, 22); + this.languageToolStripMenuItem.Size = new System.Drawing.Size(260, 22); this.languageToolStripMenuItem.Text = "Language"; this.languageToolStripMenuItem.Click += new System.EventHandler(this.languageToolStripMenuItem_Click); // // textToolStripMenuItem // this.textToolStripMenuItem.Name = "textToolStripMenuItem"; - this.textToolStripMenuItem.Size = new System.Drawing.Size(232, 22); + this.textToolStripMenuItem.Size = new System.Drawing.Size(260, 22); this.textToolStripMenuItem.Text = "Text"; this.textToolStripMenuItem.Click += new System.EventHandler(this.textToolStripMenuItem_Click); // @@ -346,23 +346,42 @@ // this.settingsToolStripMenuItem.Enabled = false; this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; - this.settingsToolStripMenuItem.Size = new System.Drawing.Size(232, 22); + this.settingsToolStripMenuItem.Size = new System.Drawing.Size(260, 22); this.settingsToolStripMenuItem.Text = "Settings"; // // textToolStripMenuItem1 // this.textToolStripMenuItem1.Name = "textToolStripMenuItem1"; - this.textToolStripMenuItem1.Size = new System.Drawing.Size(232, 22); + this.textToolStripMenuItem1.Size = new System.Drawing.Size(260, 22); this.textToolStripMenuItem1.Text = "Thumbs"; this.textToolStripMenuItem1.Click += new System.EventHandler(this.textToolStripMenuItem1_Click); // // otherToolStripMenuItem // this.otherToolStripMenuItem.Name = "otherToolStripMenuItem"; - this.otherToolStripMenuItem.Size = new System.Drawing.Size(232, 22); + this.otherToolStripMenuItem.Size = new System.Drawing.Size(260, 22); this.otherToolStripMenuItem.Text = "Other"; this.otherToolStripMenuItem.Click += new System.EventHandler(this.otherToolStripMenuItem_Click); // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(257, 6); + // + // fileAutomatedDiscoverTypeToolStripMenuItem + // + this.fileAutomatedDiscoverTypeToolStripMenuItem.Name = "fileAutomatedDiscoverTypeToolStripMenuItem"; + this.fileAutomatedDiscoverTypeToolStripMenuItem.Size = new System.Drawing.Size(260, 22); + this.fileAutomatedDiscoverTypeToolStripMenuItem.Text = "File - Automated discover type"; + this.fileAutomatedDiscoverTypeToolStripMenuItem.Click += new System.EventHandler(this.fileAutomatedDiscoverTypeToolStripMenuItem_Click); + // + // directoryAutomatedDiscoverTypeToolStripMenuItem + // + this.directoryAutomatedDiscoverTypeToolStripMenuItem.Name = "directoryAutomatedDiscoverTypeToolStripMenuItem"; + this.directoryAutomatedDiscoverTypeToolStripMenuItem.Size = new System.Drawing.Size(260, 22); + this.directoryAutomatedDiscoverTypeToolStripMenuItem.Text = "Directory - Automated discover type"; + this.directoryAutomatedDiscoverTypeToolStripMenuItem.Click += new System.EventHandler(this.directoryAutomatedDiscoverTypeToolStripMenuItem_Click); + // // customizationToolStripMenuItem // this.customizationToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { @@ -661,6 +680,7 @@ this.proiectt_textBox6.Name = "proiectt_textBox6"; this.proiectt_textBox6.Size = new System.Drawing.Size(168, 21); this.proiectt_textBox6.TabIndex = 11; + this.proiectt_textBox6.SelectedIndexChanged += new System.EventHandler(this.proiectt_textBox1_TextChanged); this.proiectt_textBox6.TextChanged += new System.EventHandler(this.proiectt_textBox1_TextChanged); // // label10 @@ -887,29 +907,10 @@ this.toolStripContainer1.TabIndex = 5; this.toolStripContainer1.Text = "toolStripContainer1"; // - // toolStripSeparator3 - // - this.toolStripSeparator3.Name = "toolStripSeparator3"; - this.toolStripSeparator3.Size = new System.Drawing.Size(229, 6); - // - // fileAutomatedDiscoverTypeToolStripMenuItem - // - this.fileAutomatedDiscoverTypeToolStripMenuItem.Name = "fileAutomatedDiscoverTypeToolStripMenuItem"; - this.fileAutomatedDiscoverTypeToolStripMenuItem.Size = new System.Drawing.Size(232, 22); - this.fileAutomatedDiscoverTypeToolStripMenuItem.Text = "File - Automated discover type"; - this.fileAutomatedDiscoverTypeToolStripMenuItem.Click += new System.EventHandler(this.fileAutomatedDiscoverTypeToolStripMenuItem_Click); - // // folderBrowserDialog1 // this.folderBrowserDialog1.ShowNewFolderButton = false; // - // directoryAutomatedDiscoverTypeToolStripMenuItem - // - this.directoryAutomatedDiscoverTypeToolStripMenuItem.Name = "directoryAutomatedDiscoverTypeToolStripMenuItem"; - this.directoryAutomatedDiscoverTypeToolStripMenuItem.Size = new System.Drawing.Size(260, 22); - this.directoryAutomatedDiscoverTypeToolStripMenuItem.Text = "Directory - Automated discover type"; - this.directoryAutomatedDiscoverTypeToolStripMenuItem.Click += new System.EventHandler(this.directoryAutomatedDiscoverTypeToolStripMenuItem_Click); - // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); Modified: trunk/plugins/mpinstaler/MPInstaler/Form1.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/Form1.cs 2007-07-02 15:24:15 UTC (rev 665) +++ trunk/plugins/mpinstaler/MPInstaler/Form1.cs 2007-07-02 17:34:55 UTC (rev 666) @@ -514,7 +514,7 @@ _struct.UpdateURL = proiectt_textBox3.Text; _struct.Version = proiectt_textBox4.Text; _struct.Description = proiectt_textBox5.Text; - _struct.Group = proiectt_textBox6.Text; ; + _struct.Group = proiectt_textBox6.Text; } } Modified: trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj 2007-07-02 15:24:15 UTC (rev 665) +++ trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj 2007-07-02 17:34:55 UTC (rev 666) @@ -166,6 +166,10 @@ <SubType>Designer</SubType> <DependentUpon>controlp.cs</DependentUpon> </EmbeddedResource> + <EmbeddedResource Include="wizard\Info.resx"> + <SubType>Designer</SubType> + <DependentUpon>Info.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="wizard\wizard_1.resx"> <SubType>Designer</SubType> <DependentUpon>wizard_1.cs</DependentUpon> @@ -211,6 +215,12 @@ <DependentUpon>controlp.cs</DependentUpon> </Compile> <Compile Include="MPIutils.cs" /> + <Compile Include="wizard\Info.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="wizard\Info.Designer.cs"> + <DependentUpon>Info.cs</DependentUpon> + </Compile> <Compile Include="wizard\wizard_1.cs"> <SubType>Form</SubType> </Compile> Modified: trunk/plugins/mpinstaler/MPInstaler/MPpackageStruct.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/MPpackageStruct.cs 2007-07-02 15:24:15 UTC (rev 665) +++ trunk/plugins/mpinstaler/MPInstaler/MPpackageStruct.cs 2007-07-02 17:34:55 UTC (rev 666) @@ -369,6 +369,9 @@ writer.WriteElementString("Description", it._intalerStruct.Description); writer.WriteElementString("Group", it._intalerStruct.Group); it._intalerStruct.WriteLogoElement(writer); + writer.WriteStartElement("Properties"); + it._intalerStruct.ProiectProperties.Save(writer); + writer.WriteEndElement(); writer.WriteStartElement("Uninstall"); for (int j = 0; j < it._intalerStruct.Uninstall.Count; j++) { @@ -469,6 +472,9 @@ } if (node_des != null) pkg._intalerStruct.Description = node_des.InnerText; + XmlNode nodeproperties = nodefile.SelectSingleNode("Properties"); + pkg._intalerStruct.ProiectProperties.Load(nodeproperties); + this.lst.Add(pkg); } //XmlNode nodeoption = ver.SelectSingleNode("Option"); Modified: trunk/plugins/mpinstaler/MPInstaler/Properties/AssemblyInfo.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/Properties/AssemblyInfo.cs 2007-07-02 15:24:15 UTC (rev 665) +++ trunk/plugins/mpinstaler/MPInstaler/Properties/AssemblyInfo.cs 2007-07-02 17:34:55 UTC (rev 666) @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("MPInstaller")] -[assembly: AssemblyCopyright("Copyright © 2006")] +[assembly: AssemblyCopyright("Copyright © 2007")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -30,4 +30,4 @@ // Revision // [assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.1.0.0")] +[assembly: AssemblyFileVersion("1.2.0.0")] Modified: trunk/plugins/mpinstaler/MPInstaler/download_form.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/download_form.cs 2007-07-02 15:24:15 UTC (rev 665) +++ trunk/plugins/mpinstaler/MPInstaler/download_form.cs 2007-07-02 17:34:55 UTC (rev 666) @@ -51,7 +51,7 @@ private void DownloadProgressCallback(object sender, DownloadProgressChangedEventArgs e) { progressBar1.Value = e.ProgressPercentage; - label2.Text = string.Format("{0}kb/{1}kb", e.BytesReceived/1024, e.TotalBytesToReceive1024); + label2.Text = string.Format("{0}kb/{1}kb", e.BytesReceived/1024, e.TotalBytesToReceive/1024); } private void UploadProgressCallback(object sender, UploadProgressChangedEventArgs e) Added: trunk/plugins/mpinstaler/MPInstaler/wizard/Info.Designer.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/wizard/Info.Designer.cs (rev 0) +++ trunk/plugins/mpinstaler/MPInstaler/wizard/Info.Designer.cs 2007-07-02 17:34:55 UTC (rev 666) @@ -0,0 +1,166 @@ +namespace MPInstaler +{ + partial class Info + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != 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.button1 = new System.Windows.Forms.Button(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.label1 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.linkLabel2 = new System.Windows.Forms.LinkLabel(); + this.label4 = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // button1 + // + this.button1.Location = new System.Drawing.Point(204, 276); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(75, 23); + this.button1.TabIndex = 0; + this.button1.Text = "Close"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // pictureBox1 + // + this.pictureBox1.Location = new System.Drawing.Point(12, 12); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(64, 64); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox1.TabIndex = 1; + this.pictureBox1.TabStop = false; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(82, 12); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(35, 13); + this.label1.TabIndex = 2; + this.label1.Text = "label1"; + // + // textBox1 + // + this.textBox1.BackColor = System.Drawing.SystemColors.Control; + this.textBox1.Location = new System.Drawing.Point(12, 92); + this.textBox1.Multiline = true; + this.textBox1.Name = "textBox1"; + this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; + this.textBox1.Size = new System.Drawing.Size(267, 84); + this.textBox1.TabIndex = 3; + // + // linkLabel1 + // + this.linkLabel1.AutoSize = true; + this.linkLabel1.Location = new System.Drawing.Point(12, 193); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(55, 13); + this.linkLabel1.TabIndex = 4; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = "linkLabel1"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(82, 37); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(35, 13); + this.label2.TabIndex = 5; + this.label2.Text = "label2"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(82, 63); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(35, 13); + this.label3.TabIndex = 6; + this.label3.Text = "label3"; + // + // linkLabel2 + // + this.linkLabel2.AutoSize = true; + this.linkLabel2.Location = new System.Drawing.Point(12, 218); + this.linkLabel2.Name = "linkLabel2"; + this.linkLabel2.Size = new System.Drawing.Size(55, 13); + this.linkLabel2.TabIndex = 7; + this.linkLabel2.TabStop = true; + this.linkLabel2.Text = "linkLabel2"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(12, 249); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(35, 13); + this.label4.TabIndex = 8; + this.label4.Text = "label4"; + // + // Info + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(291, 311); + this.Controls.Add(this.label4); + this.Controls.Add(this.linkLabel2); + this.Controls.Add(this.label3); + this.Controls.Add(this.label2); + this.Controls.Add(this.linkLabel1); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.label1); + this.Controls.Add(this.pictureBox1); + this.Controls.Add(this.button1); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "Info"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Info"; + this.Load += new System.EventHandler(this.Info_Load); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Button button1; + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.LinkLabel linkLabel1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.LinkLabel linkLabel2; + private System.Windows.Forms.Label label4; + } +} \ No newline at end of file Added: trunk/plugins/mpinstaler/MPInstaler/wizard/Info.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/wizard/Info.cs (rev 0) +++ trunk/plugins/mpinstaler/MPInstaler/wizard/Info.cs 2007-07-02 17:34:55 UTC (rev 666) @@ -0,0 +1,41 @@ +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 Info : Form + { + private MPpackageStruct info_pk; + + public Info(MPpackageStruct pk) + { + InitializeComponent(); + info_pk = pk; + } + + private void Info_Load(object sender, EventArgs e) + { + label1.Text = info_pk._intalerStruct.Name; + label2.Text = info_pk._intalerStruct.Author; + label3.Text = info_pk._intalerStruct.Version; + pictureBox1.Image = info_pk._intalerStruct.Logo; + if (!String.IsNullOrEmpty(info_pk._intalerStruct.Description.Trim())) + textBox1.Text = info_pk._intalerStruct.Description.Trim(); + else + textBox1.Visible = false; + linkLabel1.Text = info_pk._intalerStruct.ProiectProperties.ForumURL; + linkLabel2.Text = info_pk._intalerStruct.ProiectProperties.WebURL; + label4.Text = info_pk._intalerStruct.ProiectProperties.CreationDate.ToLongDateString(); + } + + private void button1_Click(object sender, EventArgs e) + { + this.Close(); + } + } +} \ No newline at end of file Added: trunk/plugins/mpinstaler/MPInstaler/wizard/Info.resx =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/wizard/Info.resx (rev 0) +++ trunk/plugins/mpinstaler/MPInstaler/wizard/Info.resx 2007-07-02 17:34:55 UTC (rev 666) @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + 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="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form 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 format + 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.SoapFormatter + : 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="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root> \ No newline at end of file Modified: trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.Designer.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.Designer.cs 2007-07-02 15:24:15 UTC (rev 665) +++ trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.Designer.cs 2007-07-02 17:34:55 UTC (rev 666) @@ -36,6 +36,8 @@ this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); this.columnHeader4 = new System.Windows.Forms.ColumnHeader(); this.columnHeader9 = new System.Windows.Forms.ColumnHeader(); + this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.informationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); @@ -52,7 +54,7 @@ this.button5 = new System.Windows.Forms.Button(); this.comboBox2 = new System.Windows.Forms.ComboBox(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); - this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.contextMenuStrip1.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.mozPane1)).BeginInit(); @@ -70,6 +72,7 @@ this.columnHeader3, this.columnHeader4, this.columnHeader9}); + this.listView1.ContextMenuStrip = this.contextMenuStrip1; this.listView1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.listView1.FullRowSelect = true; this.listView1.GridLines = true; @@ -79,7 +82,7 @@ this.listView1.MultiSelect = false; this.listView1.Name = "listView1"; this.listView1.ShowItemToolTips = true; - this.listView1.Size = new System.Drawing.Size(619, 327); + this.listView1.Size = new System.Drawing.Size(619, 343); this.listView1.SmallImageList = this.imageList1; this.listView1.TabIndex = 0; this.listView1.UseCompatibleStateImageBehavior = false; @@ -111,6 +114,21 @@ this.columnHeader9.Text = "Group"; this.columnHeader9.Width = 124; // + // contextMenuStrip1 + // + this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.informationToolStripMenuItem}); + this.contextMenuStrip1.Name = "contextMenuStrip1"; + this.contextMenuStrip1.Size = new System.Drawing.Size(142, 26); + this.contextMenuStrip1.Text = "Is plugin"; + // + // informationToolStripMenuItem + // + this.informationToolStripMenuItem.Name = "informationToolStripMenuItem"; + this.informationToolStripMenuItem.Size = new System.Drawing.Size(141, 22); + this.informationToolStripMenuItem.Text = "Information"; + this.informationToolStripMenuItem.Click += new System.EventHandler(this.informationToolStripMenuItem_Click); + // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); @@ -121,7 +139,7 @@ // this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.button1.Enabled = false; - this.button1.Location = new System.Drawing.Point(8, 342); + this.button1.Location = new System.Drawing.Point(8, 358); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 1; @@ -132,7 +150,7 @@ // button2 // this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.button2.Location = new System.Drawing.Point(700, 342); + this.button2.Location = new System.Drawing.Point(700, 358); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(75, 23); this.button2.TabIndex = 2; @@ -144,7 +162,7 @@ // this.button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.button3.Enabled = false; - this.button3.Location = new System.Drawing.Point(86, 342); + this.button3.Location = new System.Drawing.Point(86, 358); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(75, 23); this.button3.TabIndex = 3; @@ -156,7 +174,7 @@ // this.button4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.button4.Enabled = false; - this.button4.Location = new System.Drawing.Point(167, 342); + this.button4.Location = new System.Drawing.Point(167, 358); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(75, 23); this.button4.TabIndex = 4; @@ -173,7 +191,7 @@ this.tabControl1.Location = new System.Drawing.Point(1, 1); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; - this.tabControl1.Size = new System.Drawing.Size(791, 399); + this.tabControl1.Size = new System.Drawing.Size(791, 415); this.tabControl1.TabIndex = 5; // // tabPage1 @@ -194,7 +212,7 @@ this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); - this.tabPage1.Size = new System.Drawing.Size(783, 373); + this.tabPage1.Size = new System.Drawing.Size(783, 389); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Extensions"; this.tabPage1.UseVisualStyleBackColor = true; @@ -202,8 +220,9 @@ // // label3 // + this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(483, 331); + this.label3.Location = new System.Drawing.Point(483, 347); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(29, 13); this.label3.TabIndex = 11; @@ -211,6 +230,7 @@ // // comboBox3 // + this.comboBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox3.FormattingEnabled = true; this.comboBox3.Items.AddRange(new object[] { @@ -218,7 +238,7 @@ "Local", "Updates", "Online"}); - this.comboBox3.Location = new System.Drawing.Point(482, 342); + this.comboBox3.Location = new System.Drawing.Point(482, 358); this.comboBox3.Name = "comboBox3"; this.comboBox3.Size = new System.Drawing.Size(121, 21); this.comboBox3.TabIndex = 10; @@ -227,7 +247,7 @@ // button6 // this.button6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.button6.Location = new System.Drawing.Point(362, 342); + this.button6.Location = new System.Drawing.Point(362, 358); this.button6.Name = "button6"; this.button6.Size = new System.Drawing.Size(108, 23); this.button6.TabIndex = 9; @@ -244,7 +264,7 @@ this.mozItem1}); this.mozPane1.Location = new System.Drawing.Point(3, 6); this.mozPane1.Name = "mozPane1"; - this.mozPane1.Size = new System.Drawing.Size(155, 321); + this.mozPane1.Size = new System.Drawing.Size(155, 337); this.mozPane1.TabIndex = 8; this.mozPane1.ItemSelected += new Pabo.MozBar.MozItemEventHandler(this.mozPane1_ItemSelected); // @@ -267,7 +287,7 @@ // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(609, 330); + this.label2.Location = new System.Drawing.Point(609, 346); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(36, 13); this.label2.TabIndex = 7; @@ -276,7 +296,7 @@ // button5 // this.button5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.button5.Location = new System.Drawing.Point(248, 342); + this.button5.Location = new System.Drawing.Point(248, 358); this.button5.Name = "button5"; this.button5.Size = new System.Drawing.Size(108, 23); this.button5.TabIndex = 3; @@ -292,7 +312,7 @@ this.comboBox2.Items.AddRange(new object[] { "List", "Icons"}); - this.comboBox2.Location = new System.Drawing.Point(612, 342); + this.comboBox2.Location = new System.Drawing.Point(612, 358); this.comboBox2.Name = "comboBox2"; this.comboBox2.Size = new System.Drawing.Size(82, 21); this.comboBox2.TabIndex = 6; @@ -302,30 +322,25 @@ // this.linkLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.linkLabel1.AutoSize = true; - this.linkLabel1.Location = new System.Drawing.Point(7, 394); + this.linkLabel1.Location = new System.Drawing.Point(7, 410); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new System.Drawing.Size(113, 13); this.linkLabel1.TabIndex = 5; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "http://dukus.extra.hu/"; // - // contextMenuStrip1 - // - this.contextMenuStrip1.Name = "contextMenuStrip1"; - this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4); - this.contextMenuStrip1.Text = "Is plugin"; - // // controlp // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(792, 400); + this.ClientSize = new System.Drawing.Size(792, 416); this.Controls.Add(this.tabControl1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "controlp"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Control panel"; this.Load += new System.EventHandler(this.controlp_Load); + this.contextMenuStrip1.ResumeLayout(false); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage1.PerformLayout(); @@ -360,5 +375,6 @@ private System.Windows.Forms.Button button6; private System.Windows.Forms.Label label3; private System.Windows.Forms.ComboBox comboBox3; + private System.Windows.Forms.ToolStripMenuItem informationToolStripMenuItem; } } \ No newline at end of file Modified: trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.cs =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.cs 2007-07-02 15:24:15 UTC (rev 665) +++ trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.cs 2007-07-02 17:34:55 UTC (rev 666) @@ -430,9 +430,11 @@ button3.Enabled = false; button4.Enabled = false; button5.Enabled = false; + contextMenuStrip1.Enabled = false; if (listView1.SelectedItems.Count > 0) { MPpackageStruct pk=lst.Find(listView1.SelectedItems[0].Text); + contextMenuStrip1.Enabled= true; if (!pk.isNew) { button1.Enabled = true; @@ -487,6 +489,13 @@ mozPane1.SelectItem(0); LoadToListview("All"); } + + private void informationToolStripMenuItem_Click(object sender, EventArgs e) + { + MPpackageStruct pk = lst.Find(listView1.SelectedItems[0].Text); + Info dlg = new Info(pk); + dlg.ShowDialog(); + } } public class ListViewGroupSorter : IComparer Modified: trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.resx =================================================================== --- trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.resx 2007-07-02 15:24:15 UTC (rev 665) +++ trunk/plugins/mpinstaler/MPInstaler/wizard/controlp.resx 2007-07-02 17:34:55 UTC (rev 666) @@ -117,6 +117,9 @@ <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> + <metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>122, 17</value> + </metadata> <metadata name="imageList1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>17, 17</value> </metadata> @@ -124,134 +127,133 @@ <value> AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 - ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACI + ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAB2 HQAAAk1TRnQBSQFMAwEBAAEEAQABBAEAASABAAEgAQAE/wEhAQAI/wFCAU0BNgcAATYDAAEoAwABgAMA - ASADAAEBAQABIAYAAUAqAAEkAUIBgQH/ASUBSAGBAf8BJQFMAYgB/wEmAVIBmQH/ASYBUwGfAf8BJgFZ - AbAB/wEmAVsBtgH/AScBWwG2Af8BJwFbAbYB/wEnAVsBtgH/AScBWwG2Af8BJwFbAbYB/wEnAVsBtgH/ - AScBWwG2Af8BJgFXAaoB/wEmAVMBnwH/ASYBUQGWAf8BJQFMAYgB/wElAUYBgQH/ASQBQQGBAf//AKEA - ASYBUAGTAf8BKQFcAbYB/wEuAWIBuAH/ATIBZgG7Af8BNwFqAb8B/wE7AW8BwwH/AUABcwHHAf8BRQF4 - AcoB/wFJAX0BzgH/AU4BgQHRAf8BUwGBAdQB/wFXAYEB1w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