|
From: <du...@us...> - 2007-04-13 13:11:34
|
Revision: 317
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=317&view=rev
Author: dukus
Date: 2007-04-13 06:11:31 -0700 (Fri, 13 Apr 2007)
Log Message:
-----------
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/MPinstalerStruct.cs
Added Paths:
-----------
trunk/plugins/mpinstaler/MPInstaler/properties.cs
Removed Paths:
-------------
trunk/plugins/mpinstaler/MPInstaler/MPInstaler_TemporaryKey.pfx
Modified: trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs
===================================================================
--- trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs 2007-04-12 18:16:51 UTC (rev 316)
+++ trunk/plugins/mpinstaler/MPInstaler/Form1.Designer.cs 2007-04-13 13:11:31 UTC (rev 317)
@@ -51,6 +51,9 @@
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();
@@ -78,6 +81,7 @@
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();
@@ -105,9 +109,6 @@
this.openToolStripButton = new System.Windows.Forms.ToolStripButton();
this.saveToolStripButton = new System.Windows.Forms.ToolStripButton();
this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
- 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();
@@ -233,7 +234,7 @@
this.tagReadersToolStripMenuItem,
this.externalPlayersToolStripMenuItem});
this.windowPluginToolStripMenuItem.Name = "windowPluginToolStripMenuItem";
- this.windowPluginToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.windowPluginToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
this.windowPluginToolStripMenuItem.Text = "Plugin";
//
// windowToolStripMenuItem
@@ -280,34 +281,55 @@
this.animationsToolStripMenuItem,
this.tetrisToolStripMenuItem});
this.skinToolStripMenuItem.Name = "skinToolStripMenuItem";
- this.skinToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.skinToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
this.skinToolStripMenuItem.Text = "Skin";
//
// componentToolStripMenuItem
//
this.componentToolStripMenuItem.Name = "componentToolStripMenuItem";
- this.componentToolStripMenuItem.Size = new System.Drawing.Size(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(140, 22);
+ this.soundsToolStripMenuItem.Text = "Sounds";
+ this.soundsToolStripMenuItem.Click += new System.EventHandler(this.soundsToolStripMenuItem_Click);
+ //
+ // animationsToolStripMenuItem
+ //
+ this.animationsToolStripMenuItem.Name = "animationsToolStripMenuItem";
+ this.animationsToolStripMenuItem.Size = new System.Drawing.Size(140, 22);
+ this.animationsToolStripMenuItem.Text = "Animations";
+ this.animationsToolStripMenuItem.Click += new System.EventHandler(this.animationsToolStripMenuItem_Click);
+ //
+ // tetrisToolStripMenuItem
+ //
+ this.tetrisToolStripMenuItem.Name = "tetrisToolStripMenuItem";
+ this.tetrisToolStripMenuItem.Size = new System.Drawing.Size(140, 22);
+ this.tetrisToolStripMenuItem.Text = "Tetris";
+ this.tetrisToolStripMenuItem.Click += new System.EventHandler(this.tetrisToolStripMenuItem_Click);
+ //
// languageToolStripMenuItem
//
this.languageToolStripMenuItem.Name = "languageToolStripMenuItem";
- this.languageToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.languageToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
this.languageToolStripMenuItem.Text = "Language";
this.languageToolStripMenuItem.Click += new System.EventHandler(this.languageToolStripMenuItem_Click);
//
// textToolStripMenuItem
//
this.textToolStripMenuItem.Name = "textToolStripMenuItem";
- this.textToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.textToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
this.textToolStripMenuItem.Text = "Text";
this.textToolStripMenuItem.Click += new System.EventHandler(this.textToolStripMenuItem_Click);
//
@@ -315,20 +337,20 @@
//
this.settingsToolStripMenuItem.Enabled = false;
this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
- this.settingsToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.settingsToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
this.settingsToolStripMenuItem.Text = "Settings";
//
// textToolStripMenuItem1
//
this.textToolStripMenuItem1.Name = "textToolStripMenuItem1";
- this.textToolStripMenuItem1.Size = new System.Drawing.Size(152, 22);
+ this.textToolStripMenuItem1.Size = new System.Drawing.Size(132, 22);
this.textToolStripMenuItem1.Text = "Thumbs";
this.textToolStripMenuItem1.Click += new System.EventHandler(this.textToolStripMenuItem1_Click);
//
// otherToolStripMenuItem
//
this.otherToolStripMenuItem.Name = "otherToolStripMenuItem";
- this.otherToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
+ this.otherToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
this.otherToolStripMenuItem.Text = "Other";
this.otherToolStripMenuItem.Click += new System.EventHandler(this.otherToolStripMenuItem_Click);
//
@@ -519,6 +541,7 @@
//
// tabPage_Advanced
//
+ this.tabPage_Advanced.Controls.Add(this.propertyGrid1);
this.tabPage_Advanced.Controls.Add(this.button_browse);
this.tabPage_Advanced.Controls.Add(this.label11);
this.tabPage_Advanced.Controls.Add(this.pictureBox1);
@@ -529,6 +552,16 @@
this.tabPage_Advanced.Text = "Advanced Properties";
this.tabPage_Advanced.UseVisualStyleBackColor = true;
//
+ // propertyGrid1
+ //
+ this.propertyGrid1.CommandsVisibleIfAvailable = false;
+ this.propertyGrid1.Location = new System.Drawing.Point(342, 3);
+ this.propertyGrid1.Name = "propertyGrid1";
+ this.propertyGrid1.PropertySort = System.Windows.Forms.PropertySort.NoSort;
+ this.propertyGrid1.Size = new System.Drawing.Size(301, 114);
+ this.propertyGrid1.TabIndex = 3;
+ this.propertyGrid1.ToolbarVisible = false;
+ //
// button_browse
//
this.button_browse.Location = new System.Drawing.Point(0, 94);
@@ -811,27 +844,6 @@
this.toolStripContainer1.TabIndex = 5;
this.toolStripContainer1.Text = "toolStripContainer1";
//
- // soundsToolStripMenuItem
- //
- 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);
- //
- // animationsToolStripMenuItem
- //
- 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);
@@ -955,6 +967,7 @@
private System.Windows.Forms.ToolStripMenuItem soundsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem animationsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem tetrisToolStripMenuItem;
+ private System.Windows.Forms.PropertyGrid propertyGrid1;
}
}
Modified: trunk/plugins/mpinstaler/MPInstaler/Form1.cs
===================================================================
--- trunk/plugins/mpinstaler/MPInstaler/Form1.cs 2007-04-12 18:16:51 UTC (rev 316)
+++ trunk/plugins/mpinstaler/MPInstaler/Form1.cs 2007-04-13 13:11:31 UTC (rev 317)
@@ -427,6 +427,9 @@
}
tabControl1.Controls.Add(tabPage_Proiect);
tabControl1.Controls.Add(tabPage_Advanced);
+ propertyGrid1.SelectedObject = _struct.ProiectProperties;
+ propertyGrid1.Update();
+
}
else
{
Modified: trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj
===================================================================
--- trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj 2007-04-12 18:16:51 UTC (rev 316)
+++ trunk/plugins/mpinstaler/MPInstaler/MPInstaler.csproj 2007-04-13 13:11:31 UTC (rev 317)
@@ -108,6 +108,7 @@
<DependentUpon>post_setup.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
+ <Compile Include="properties.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Build dialog.resx">
<SubType>Designer</SubType>
@@ -160,7 +161,6 @@
<DesignTime>True</DesignTime>
</Compile>
<None Include="app.config" />
- <None Include="MPInstaler_TemporaryKey.pfx" />
<BaseApplicationManifest Include="Properties\app.manifest" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
Deleted: trunk/plugins/mpinstaler/MPInstaler/MPInstaler_TemporaryKey.pfx
===================================================================
(Binary files differ)
Modified: trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs
===================================================================
--- trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs 2007-04-12 18:16:51 UTC (rev 316)
+++ trunk/plugins/mpinstaler/MPInstaler/MPinstalerStruct.cs 2007-04-13 13:11:31 UTC (rev 317)
@@ -45,7 +45,7 @@
string _description = string.Empty;
string _group = string.Empty;
Image _image = null;
-
+ public ProiectPropertiesClass ProiectProperties;
public ArrayList Uninstall = new ArrayList();
public ArrayList FileList = new ArrayList();
public List<LanguageString> Language;
@@ -55,6 +55,7 @@
{
Language = new List<LanguageString>();
Actions = new List<ActionInfo>();
+ ProiectProperties = new ProiectPropertiesClass();
}
public string UpdateURL
{
Added: trunk/plugins/mpinstaler/MPInstaler/properties.cs
===================================================================
--- trunk/plugins/mpinstaler/MPInstaler/properties.cs (rev 0)
+++ trunk/plugins/mpinstaler/MPInstaler/properties.cs 2007-04-13 13:11:31 UTC (rev 317)
@@ -0,0 +1,40 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace MPInstaler
+{
+ public class ProiectPropertiesClass
+ {
+ private string mpminversion;
+ private string mpmaxversion;
+
+ public ProiectPropertiesClass()
+ {
+ }
+
+ public string MPMinVersion
+ {
+ set
+ {
+ mpminversion = value;
+ }
+ get
+ {
+ return mpminversion;
+ }
+ }
+
+ public string MPMaxVersion
+ {
+ set
+ {
+ mpmaxversion = value;
+ }
+ get
+ {
+ return mpmaxversion;
+ }
+ }
+ }
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|