|
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/ASMBVwG7Af8BKAFbAb8B/wEsAWABwwH/ATEBZAHHAf8BNgFp
- AcoB/wE6AW4BzgH/AT8BcwHRAf8BRAF3AdQB/wFIAXwB1wH/AUwBgAHaAf8BTwGBAdwB/wFSAYEB3gH/
- AVYBgQHgAf8BVwGBAeEB/wFYAYEB4gH/AVgBgQHiAf8BVwGBAeEB/wFVAYEB4AH/AVIBgQHeAf8BTQGB
- AdoB/wFIAXsB1gH/AUABdAHRAf8BNwFrAcsB/wEhAVUBvAH/ARcBQAGQAf//AI0AARcBQgGWAf8BHgFQ
- AbMB/wEpAVsBtwH/AS0BXwG8Af8BMAFjAcEB/wEzAWYBxQH/ATYBagHJAf8BOQFtAc0B/wE8AXABzwH/
- AUABcwHRAf8B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+ 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
=================================================================...
[truncated message content] |
|
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.DropDown...
[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<...
[truncated message content] |
|
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...
[truncated message content] |
|
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="reshe...
[truncated message content] |