You can subscribe to this list here.
2007 |
Jan
(36) |
Feb
(79) |
Mar
(123) |
Apr
(95) |
May
(119) |
Jun
(172) |
Jul
(124) |
Aug
(100) |
Sep
(83) |
Oct
(52) |
Nov
(97) |
Dec
(87) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(131) |
Feb
(80) |
Mar
(163) |
Apr
(178) |
May
(73) |
Jun
(54) |
Jul
(106) |
Aug
(118) |
Sep
(50) |
Oct
(125) |
Nov
(100) |
Dec
(99) |
2009 |
Jan
(104) |
Feb
(99) |
Mar
(68) |
Apr
(81) |
May
(52) |
Jun
(87) |
Jul
(67) |
Aug
(33) |
Sep
(27) |
Oct
(37) |
Nov
(60) |
Dec
(116) |
2010 |
Jan
(82) |
Feb
(79) |
Mar
(38) |
Apr
(50) |
May
(45) |
Jun
(53) |
Jul
(23) |
Aug
(86) |
Sep
(22) |
Oct
(96) |
Nov
(97) |
Dec
(73) |
2011 |
Jan
(24) |
Feb
(45) |
Mar
(28) |
Apr
(31) |
May
(42) |
Jun
(25) |
Jul
|
Aug
(12) |
Sep
(28) |
Oct
(13) |
Nov
(43) |
Dec
(13) |
2012 |
Jan
(62) |
Feb
(28) |
Mar
(6) |
Apr
(16) |
May
(7) |
Jun
|
Jul
(16) |
Aug
(2) |
Sep
(1) |
Oct
(4) |
Nov
(1) |
Dec
(3) |
2013 |
Jan
(5) |
Feb
|
Mar
(34) |
Apr
(9) |
May
(6) |
Jun
(10) |
Jul
(32) |
Aug
(8) |
Sep
(11) |
Oct
(35) |
Nov
(24) |
Dec
(22) |
2014 |
Jan
(44) |
Feb
(9) |
Mar
(9) |
Apr
(15) |
May
(25) |
Jun
(34) |
Jul
(16) |
Aug
(11) |
Sep
(7) |
Oct
(6) |
Nov
(1) |
Dec
(12) |
2015 |
Jan
(33) |
Feb
(19) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(5) |
From: <che...@us...> - 2007-06-22 18:03:20
|
Revision: 598 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=598&view=rev Author: chef_koch Date: 2007-06-22 11:03:18 -0700 (Fri, 22 Jun 2007) Log Message: ----------- cleanup for Resources cleanup for setup, now use it's own designer.cs Modified Paths: -------------- trunk/plugins/FritzBox/FritzBox/FritzBox.cs trunk/plugins/FritzBox/FritzBox/FritzBox.csproj trunk/plugins/FritzBox/FritzBox/FritzBoxSetupFrom.cs trunk/plugins/FritzBox/FritzBox/Properties/Resources.Designer.cs trunk/plugins/FritzBox/FritzBox/Properties/Resources.resx Added Paths: ----------- trunk/plugins/FritzBox/FritzBox/FritzBoxSetupFrom.Designer.cs Modified: trunk/plugins/FritzBox/FritzBox/FritzBox.cs =================================================================== --- trunk/plugins/FritzBox/FritzBox/FritzBox.cs 2007-06-22 17:42:35 UTC (rev 597) +++ trunk/plugins/FritzBox/FritzBox/FritzBox.cs 2007-06-22 18:03:18 UTC (rev 598) @@ -51,8 +51,7 @@ * - add more comments to code * - split code more in methods/classes */ - - [PluginIcons("FritzBox.FritzBox.png", "FritzBox.FritzBoxDisabled.png")] + [PluginIcons("FritzBox.png", "FritzBoxDisabled.png")] public class FritzBox : ISetupForm, IPlugin { #region Variables @@ -687,7 +686,7 @@ public void ShowPlugin() { - Form setup = new FritzBoxSetupForm(); + Form setup = new FritzBoxSetupFrom(); setup.ShowDialog(); } Modified: trunk/plugins/FritzBox/FritzBox/FritzBox.csproj =================================================================== --- trunk/plugins/FritzBox/FritzBox/FritzBox.csproj 2007-06-22 17:42:35 UTC (rev 597) +++ trunk/plugins/FritzBox/FritzBox/FritzBox.csproj 2007-06-22 18:03:18 UTC (rev 598) @@ -46,18 +46,37 @@ <ErrorReport>prompt</ErrorReport> </PropertyGroup> <ItemGroup> + <Reference Include="Core, Version=0.2.2.9991, Culture=neutral, processorArchitecture=x86"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\..\mediaportal\xbmc\bin\Release\Core.dll</HintPath> + </Reference> + <Reference Include="Dialogs, Version=0.2.2.9991, Culture=neutral, processorArchitecture=x86"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\..\mediaportal\xbmc\bin\Release\plugins\Windows\Dialogs.dll</HintPath> + </Reference> <Reference Include="System" /> <Reference Include="System.Data" /> <Reference Include="System.Drawing" /> <Reference Include="System.Windows.Forms" /> <Reference Include="System.Xml" /> + <Reference Include="Utils, Version=0.2.2.9991, Culture=neutral, processorArchitecture=x86"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\..\mediaportal\xbmc\bin\Release\Utils.dll</HintPath> + </Reference> + <Reference Include="WindowPlugins, Version=0.2.2.9991, Culture=neutral, processorArchitecture=x86"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\..\mediaportal\xbmc\bin\Release\plugins\Windows\WindowPlugins.dll</HintPath> + </Reference> </ItemGroup> <ItemGroup> <Compile Include="Caller.cs" /> - <Compile Include="FritzBox.cs" /> <Compile Include="FritzBoxSetupFrom.cs"> <SubType>Form</SubType> </Compile> + <Compile Include="FritzBoxSetupFrom.Designer.cs"> + <DependentUpon>FritzBoxSetupFrom.cs</DependentUpon> + </Compile> + <Compile Include="FritzBox.cs" /> <Compile Include="FritzBoxWatch.cs" /> <Compile Include="Properties\Resources.Designer.cs"> <AutoGen>True</AutoGen> @@ -66,28 +85,6 @@ </Compile> </ItemGroup> <ItemGroup> - <ProjectReference Include="..\..\mediaportal\Core\Core.csproj"> - <Project>{02FFFC1F-2555-4B99-8B01-3432D0673855}</Project> - <Name>Core</Name> - </ProjectReference> - <ProjectReference Include="..\..\mediaportal\Dialogs\Dialogs.csproj"> - <Project>{396C5208-5D46-4A11-92C1-FD0F2F42D7DD}</Project> - <Name>Dialogs</Name> - </ProjectReference> - <ProjectReference Include="..\..\mediaportal\Utils\Utils.csproj"> - <Project>{6DA0E4DF-6230-4642-98B5-E690BB6942BB}</Project> - <Name>Utils</Name> - </ProjectReference> - <ProjectReference Include="..\..\mediaportal\WindowPlugins\WindowPlugins.csproj"> - <Project>{B282C55B-A37B-4CEC-A4FC-00791069BF00}</Project> - <Name>WindowPlugins</Name> - </ProjectReference> - </ItemGroup> - <ItemGroup> - <EmbeddedResource Include="FritzBoxSetupFrom.resx"> - <DependentUpon>FritzBoxSetupFrom.cs</DependentUpon> - <SubType>Designer</SubType> - </EmbeddedResource> <EmbeddedResource Include="Properties\Resources.resx"> <SubType>Designer</SubType> <Generator>ResXFileCodeGenerator</Generator> @@ -95,11 +92,20 @@ </EmbeddedResource> </ItemGroup> <ItemGroup> + <EmbeddedResource Include="FritzBoxSetupFrom.resx"> + <SubType>Designer</SubType> + <DependentUpon>FritzBoxSetupFrom.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="FritzBoxDisabled.png" /> <EmbeddedResource Include="FritzBox.png" /> </ItemGroup> <ItemGroup> - <None Include="gfx\FritzBoxIconTransparent.png" /> + <Content Include="FritzBox.png"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + <Content Include="FritzBoxDisabled.png"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Added: trunk/plugins/FritzBox/FritzBox/FritzBoxSetupFrom.Designer.cs =================================================================== --- trunk/plugins/FritzBox/FritzBox/FritzBoxSetupFrom.Designer.cs (rev 0) +++ trunk/plugins/FritzBox/FritzBox/FritzBoxSetupFrom.Designer.cs 2007-06-22 18:03:18 UTC (rev 598) @@ -0,0 +1,699 @@ +namespace FritzBox +{ + partial class FritzBoxSetupFrom + { + /// <summary> + /// Erforderliche Designervariable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Verwendete Ressourcen bereinigen. + /// </summary> + /// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Vom Windows Form-Designer generierter Code + + /// <summary> + /// Erforderliche Methode für die Designerunterstützung. + /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. + /// </summary> + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FritzBoxSetupFrom)); + this.tabControlFritzBoxSettings = new MediaPortal.UserInterface.Controls.MPTabControl(); + this.tabGeneral = new System.Windows.Forms.TabPage(); + this.checkBoxExtensiveLogging = new MediaPortal.UserInterface.Controls.MPCheckBox(); + this.mpGroupBox1 = new MediaPortal.UserInterface.Controls.MPGroupBox(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.buttonTest = new MediaPortal.UserInterface.Controls.MPButton(); + this.textBoxPort = new MediaPortal.UserInterface.Controls.MPTextBox(); + this.textBoxAddress = new MediaPortal.UserInterface.Controls.MPTextBox(); + this.labelPort = new MediaPortal.UserInterface.Controls.MPLabel(); + this.labelAddress = new MediaPortal.UserInterface.Controls.MPLabel(); + this.labelHelp = new MediaPortal.UserInterface.Controls.MPLabel(); + this.tabIncoming = new System.Windows.Forms.TabPage(); + this.groupBoxPhonebook = new MediaPortal.UserInterface.Controls.MPGroupBox(); + this.mpImportFBMonitor = new MediaPortal.UserInterface.Controls.MPButton(); + this.checkBoxSaveUnknownCaller = new MediaPortal.UserInterface.Controls.MPCheckBox(); + this.checkBoxShowUnknownCaller = new MediaPortal.UserInterface.Controls.MPCheckBox(); + this.checkBoxUsePhonebook = new MediaPortal.UserInterface.Controls.MPCheckBox(); + this.groupBoxNotify = new MediaPortal.UserInterface.Controls.MPGroupBox(); + this.checkBoxShowMsnOnHeading = new MediaPortal.UserInterface.Controls.MPCheckBox(); + this.buttonMSNsRemove = new MediaPortal.UserInterface.Controls.MPButton(); + this.checkBoxFilterMSNs = new MediaPortal.UserInterface.Controls.MPCheckBox(); + this.buttonMSNsAdd = new MediaPortal.UserInterface.Controls.MPButton(); + this.comboBoxMSNs = new MediaPortal.UserInterface.Controls.MPComboBox(); + this.numericUpDownTimeout = new MediaPortal.UserInterface.Controls.MPNumericUpDown(); + this.checkBoxCloseOnTimout = new MediaPortal.UserInterface.Controls.MPCheckBox(); + this.groupBoxMedia = new MediaPortal.UserInterface.Controls.MPGroupBox(); + this.checkBoxResumeMedia = new MediaPortal.UserInterface.Controls.MPCheckBox(); + this.checkBoxStopMedia = new MediaPortal.UserInterface.Controls.MPCheckBox(); + this.tabPhonebook = new System.Windows.Forms.TabPage(); + this.pictureBoxCaller = new System.Windows.Forms.PictureBox(); + this.buttonCallerChange = new MediaPortal.UserInterface.Controls.MPButton(); + this.checkBoxCallerShow = new MediaPortal.UserInterface.Controls.MPCheckBox(); + this.textBoxCallerName = new MediaPortal.UserInterface.Controls.MPTextBox(); + this.textBoxCallerId = new MediaPortal.UserInterface.Controls.MPTextBox(); + this.buttonCallerRemove = new MediaPortal.UserInterface.Controls.MPButton(); + this.dataGridView = new System.Windows.Forms.DataGridView(); + this.colCallerId = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colShow = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.labelCallerId = new MediaPortal.UserInterface.Controls.MPLabel(); + this.labelCallerName = new MediaPortal.UserInterface.Controls.MPLabel(); + this.labelVersion = new MediaPortal.UserInterface.Controls.MPLabel(); + this.buttonSave = new MediaPortal.UserInterface.Controls.MPButton(); + this.buttonCancel = new MediaPortal.UserInterface.Controls.MPButton(); + this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); + this.tabControlFritzBoxSettings.SuspendLayout(); + this.tabGeneral.SuspendLayout(); + this.mpGroupBox1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.tabIncoming.SuspendLayout(); + this.groupBoxPhonebook.SuspendLayout(); + this.groupBoxNotify.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDownTimeout)).BeginInit(); + this.groupBoxMedia.SuspendLayout(); + this.tabPhonebook.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxCaller)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit(); + this.SuspendLayout(); + // + // tabControlFritzBoxSettings + // + this.tabControlFritzBoxSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.tabControlFritzBoxSettings.Controls.Add(this.tabGeneral); + this.tabControlFritzBoxSettings.Controls.Add(this.tabIncoming); + this.tabControlFritzBoxSettings.Controls.Add(this.tabPhonebook); + this.tabControlFritzBoxSettings.Location = new System.Drawing.Point(11, 12); + this.tabControlFritzBoxSettings.Name = "tabControlFritzBoxSettings"; + this.tabControlFritzBoxSettings.SelectedIndex = 0; + this.tabControlFritzBoxSettings.Size = new System.Drawing.Size(531, 337); + this.tabControlFritzBoxSettings.TabIndex = 14; + // + // tabGeneral + // + this.tabGeneral.Controls.Add(this.checkBoxExtensiveLogging); + this.tabGeneral.Controls.Add(this.mpGroupBox1); + this.tabGeneral.Location = new System.Drawing.Point(4, 22); + this.tabGeneral.Name = "tabGeneral"; + this.tabGeneral.Padding = new System.Windows.Forms.Padding(3); + this.tabGeneral.Size = new System.Drawing.Size(523, 311); + this.tabGeneral.TabIndex = 0; + this.tabGeneral.Text = "General"; + this.tabGeneral.UseVisualStyleBackColor = true; + // + // checkBoxExtensiveLogging + // + this.checkBoxExtensiveLogging.AutoSize = true; + this.checkBoxExtensiveLogging.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.checkBoxExtensiveLogging.Location = new System.Drawing.Point(6, 138); + this.checkBoxExtensiveLogging.Name = "checkBoxExtensiveLogging"; + this.checkBoxExtensiveLogging.Size = new System.Drawing.Size(339, 17); + this.checkBoxExtensiveLogging.TabIndex = 1; + this.checkBoxExtensiveLogging.Text = "extensive logging (!!! phonenumbers are written to the logfile !!!)"; + this.checkBoxExtensiveLogging.UseVisualStyleBackColor = true; + // + // mpGroupBox1 + // + this.mpGroupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.mpGroupBox1.Controls.Add(this.pictureBox1); + this.mpGroupBox1.Controls.Add(this.buttonTest); + this.mpGroupBox1.Controls.Add(this.textBoxPort); + this.mpGroupBox1.Controls.Add(this.textBoxAddress); + this.mpGroupBox1.Controls.Add(this.labelPort); + this.mpGroupBox1.Controls.Add(this.labelAddress); + this.mpGroupBox1.Controls.Add(this.labelHelp); + this.mpGroupBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.mpGroupBox1.Location = new System.Drawing.Point(6, 6); + this.mpGroupBox1.Name = "mpGroupBox1"; + this.mpGroupBox1.Size = new System.Drawing.Size(511, 125); + this.mpGroupBox1.TabIndex = 0; + this.mpGroupBox1.TabStop = false; + this.mpGroupBox1.Text = "connection"; + // + // pictureBox1 + // + this.pictureBox1.Image = global::FritzBox.Properties.Resources.FritzBox; + this.pictureBox1.Location = new System.Drawing.Point(6, 20); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(97, 99); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.pictureBox1.TabIndex = 2; + this.pictureBox1.TabStop = false; + // + // buttonTest + // + this.buttonTest.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.buttonTest.Location = new System.Drawing.Point(430, 20); + this.buttonTest.Name = "buttonTest"; + this.buttonTest.Size = new System.Drawing.Size(75, 21); + this.buttonTest.TabIndex = 2; + this.buttonTest.Text = "Test"; + this.buttonTest.UseVisualStyleBackColor = true; + this.buttonTest.Click += new System.EventHandler(this.buttonTest_Click); + // + // textBoxPort + // + this.textBoxPort.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.textBoxPort.BorderColor = System.Drawing.Color.Empty; + this.textBoxPort.Location = new System.Drawing.Point(165, 47); + this.textBoxPort.Name = "textBoxPort"; + this.textBoxPort.Size = new System.Drawing.Size(259, 21); + this.textBoxPort.TabIndex = 1; + // + // textBoxAddress + // + this.textBoxAddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.textBoxAddress.BorderColor = System.Drawing.Color.Empty; + this.textBoxAddress.Location = new System.Drawing.Point(165, 20); + this.textBoxAddress.Name = "textBoxAddress"; + this.textBoxAddress.Size = new System.Drawing.Size(259, 21); + this.textBoxAddress.TabIndex = 0; + // + // labelPort + // + this.labelPort.AutoSize = true; + this.labelPort.Location = new System.Drawing.Point(128, 50); + this.labelPort.Name = "labelPort"; + this.labelPort.Size = new System.Drawing.Size(31, 13); + this.labelPort.TabIndex = 8; + this.labelPort.Text = "Port:"; + // + // labelAddress + // + this.labelAddress.AutoSize = true; + this.labelAddress.Location = new System.Drawing.Point(109, 24); + this.labelAddress.Name = "labelAddress"; + this.labelAddress.Size = new System.Drawing.Size(50, 13); + this.labelAddress.TabIndex = 7; + this.labelAddress.Text = "Address:"; + // + // labelHelp + // + this.labelHelp.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.labelHelp.Location = new System.Drawing.Point(165, 73); + this.labelHelp.Name = "labelHelp"; + this.labelHelp.Size = new System.Drawing.Size(340, 49); + this.labelHelp.TabIndex = 6; + // + // tabIncoming + // + this.tabIncoming.Controls.Add(this.groupBoxPhonebook); + this.tabIncoming.Controls.Add(this.groupBoxNotify); + this.tabIncoming.Controls.Add(this.groupBoxMedia); + this.tabIncoming.Location = new System.Drawing.Point(4, 22); + this.tabIncoming.Name = "tabIncoming"; + this.tabIncoming.Padding = new System.Windows.Forms.Padding(3); + this.tabIncoming.Size = new System.Drawing.Size(523, 311); + this.tabIncoming.TabIndex = 1; + this.tabIncoming.Text = "Incoming Call"; + this.tabIncoming.UseVisualStyleBackColor = true; + // + // groupBoxPhonebook + // + this.groupBoxPhonebook.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.groupBoxPhonebook.Controls.Add(this.mpImportFBMonitor); + this.groupBoxPhonebook.Controls.Add(this.checkBoxSaveUnknownCaller); + this.groupBoxPhonebook.Controls.Add(this.checkBoxShowUnknownCaller); + this.groupBoxPhonebook.Controls.Add(this.checkBoxUsePhonebook); + this.groupBoxPhonebook.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.groupBoxPhonebook.Location = new System.Drawing.Point(6, 208); + this.groupBoxPhonebook.Name = "groupBoxPhonebook"; + this.groupBoxPhonebook.Size = new System.Drawing.Size(511, 95); + this.groupBoxPhonebook.TabIndex = 2; + this.groupBoxPhonebook.TabStop = false; + this.groupBoxPhonebook.Text = "phonebook settings"; + // + // mpImportFBMonitor + // + this.mpImportFBMonitor.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.mpImportFBMonitor.Location = new System.Drawing.Point(355, 20); + this.mpImportFBMonitor.Name = "mpImportFBMonitor"; + this.mpImportFBMonitor.Size = new System.Drawing.Size(150, 23); + this.mpImportFBMonitor.TabIndex = 3; + this.mpImportFBMonitor.Text = "Import FRITZ!Box Monitor"; + this.mpImportFBMonitor.UseVisualStyleBackColor = true; + this.mpImportFBMonitor.Click += new System.EventHandler(this.mpImportFBMonitor_Click); + // + // checkBoxSaveUnknownCaller + // + this.checkBoxSaveUnknownCaller.AutoSize = true; + this.checkBoxSaveUnknownCaller.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.checkBoxSaveUnknownCaller.Location = new System.Drawing.Point(24, 68); + this.checkBoxSaveUnknownCaller.Name = "checkBoxSaveUnknownCaller"; + this.checkBoxSaveUnknownCaller.Size = new System.Drawing.Size(121, 17); + this.checkBoxSaveUnknownCaller.TabIndex = 2; + this.checkBoxSaveUnknownCaller.Text = "save unknown caller"; + this.checkBoxSaveUnknownCaller.UseVisualStyleBackColor = true; + // + // checkBoxShowUnknownCaller + // + this.checkBoxShowUnknownCaller.AutoSize = true; + this.checkBoxShowUnknownCaller.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.checkBoxShowUnknownCaller.Location = new System.Drawing.Point(24, 45); + this.checkBoxShowUnknownCaller.Name = "checkBoxShowUnknownCaller"; + this.checkBoxShowUnknownCaller.Size = new System.Drawing.Size(123, 17); + this.checkBoxShowUnknownCaller.TabIndex = 1; + this.checkBoxShowUnknownCaller.Text = "show unknown caller"; + this.checkBoxShowUnknownCaller.UseVisualStyleBackColor = true; + // + // checkBoxUsePhonebook + // + this.checkBoxUsePhonebook.AutoSize = true; + this.checkBoxUsePhonebook.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.checkBoxUsePhonebook.Location = new System.Drawing.Point(6, 20); + this.checkBoxUsePhonebook.Name = "checkBoxUsePhonebook"; + this.checkBoxUsePhonebook.Size = new System.Drawing.Size(97, 17); + this.checkBoxUsePhonebook.TabIndex = 0; + this.checkBoxUsePhonebook.Text = "use phonebook"; + this.checkBoxUsePhonebook.UseVisualStyleBackColor = true; + this.checkBoxUsePhonebook.CheckedChanged += new System.EventHandler(this.checkBoxUsePhonebook_CheckedChanged); + // + // groupBoxNotify + // + this.groupBoxNotify.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.groupBoxNotify.Controls.Add(this.checkBoxShowMsnOnHeading); + this.groupBoxNotify.Controls.Add(this.buttonMSNsRemove); + this.groupBoxNotify.Controls.Add(this.checkBoxFilterMSNs); + this.groupBoxNotify.Controls.Add(this.buttonMSNsAdd); + this.groupBoxNotify.Controls.Add(this.comboBoxMSNs); + this.groupBoxNotify.Controls.Add(this.numericUpDownTimeout); + this.groupBoxNotify.Controls.Add(this.checkBoxCloseOnTimout); + this.groupBoxNotify.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.groupBoxNotify.Location = new System.Drawing.Point(6, 6); + this.groupBoxNotify.Name = "groupBoxNotify"; + this.groupBoxNotify.Size = new System.Drawing.Size(511, 122); + this.groupBoxNotify.TabIndex = 0; + this.groupBoxNotify.TabStop = false; + this.groupBoxNotify.Text = "notify settings"; + // + // checkBoxShowMsnOnHeading + // + this.checkBoxShowMsnOnHeading.AutoSize = true; + this.checkBoxShowMsnOnHeading.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.checkBoxShowMsnOnHeading.Location = new System.Drawing.Point(6, 99); + this.checkBoxShowMsnOnHeading.Name = "checkBoxShowMsnOnHeading"; + this.checkBoxShowMsnOnHeading.Size = new System.Drawing.Size(161, 17); + this.checkBoxShowMsnOnHeading.TabIndex = 6; + this.checkBoxShowMsnOnHeading.Text = "show MSN on notify-heading"; + this.checkBoxShowMsnOnHeading.UseVisualStyleBackColor = true; + // + // buttonMSNsRemove + // + this.buttonMSNsRemove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.buttonMSNsRemove.Location = new System.Drawing.Point(275, 72); + this.buttonMSNsRemove.Name = "buttonMSNsRemove"; + this.buttonMSNsRemove.Size = new System.Drawing.Size(63, 21); + this.buttonMSNsRemove.TabIndex = 5; + this.buttonMSNsRemove.Text = "Remove"; + this.buttonMSNsRemove.UseVisualStyleBackColor = true; + this.buttonMSNsRemove.Click += new System.EventHandler(this.buttonMSNsRemove_Click); + // + // checkBoxFilterMSNs + // + this.checkBoxFilterMSNs.AutoSize = true; + this.checkBoxFilterMSNs.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.checkBoxFilterMSNs.Location = new System.Drawing.Point(6, 49); + this.checkBoxFilterMSNs.Name = "checkBoxFilterMSNs"; + this.checkBoxFilterMSNs.Size = new System.Drawing.Size(194, 17); + this.checkBoxFilterMSNs.TabIndex = 2; + this.checkBoxFilterMSNs.Text = "show notify only for following MSNs"; + this.checkBoxFilterMSNs.UseVisualStyleBackColor = true; + this.checkBoxFilterMSNs.Click += new System.EventHandler(this.checkBoxFilterMSNs_CheckedChanged); + // + // buttonMSNsAdd + // + this.buttonMSNsAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.buttonMSNsAdd.Location = new System.Drawing.Point(206, 72); + this.buttonMSNsAdd.Name = "buttonMSNsAdd"; + this.buttonMSNsAdd.Size = new System.Drawing.Size(63, 21); + this.buttonMSNsAdd.TabIndex = 4; + this.buttonMSNsAdd.Text = "Add"; + this.buttonMSNsAdd.UseVisualStyleBackColor = true; + this.buttonMSNsAdd.Click += new System.EventHandler(this.buttonMSNsAdd_Click); + // + // comboBoxMSNs + // + this.comboBoxMSNs.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.comboBoxMSNs.BorderColor = System.Drawing.Color.Empty; + this.comboBoxMSNs.FormattingEnabled = true; + this.comboBoxMSNs.Location = new System.Drawing.Point(24, 72); + this.comboBoxMSNs.Name = "comboBoxMSNs"; + this.comboBoxMSNs.Size = new System.Drawing.Size(176, 21); + this.comboBoxMSNs.Sorted = true; + this.comboBoxMSNs.TabIndex = 3; + // + // numericUpDownTimeout + // + this.numericUpDownTimeout.Enabled = false; + this.numericUpDownTimeout.Location = new System.Drawing.Point(206, 20); + this.numericUpDownTimeout.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.numericUpDownTimeout.Name = "numericUpDownTimeout"; + this.numericUpDownTimeout.Size = new System.Drawing.Size(53, 21); + this.numericUpDownTimeout.TabIndex = 1; + this.numericUpDownTimeout.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.numericUpDownTimeout.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // checkBoxCloseOnTimout + // + this.checkBoxCloseOnTimout.AutoSize = true; + this.checkBoxCloseOnTimout.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.checkBoxCloseOnTimout.Location = new System.Drawing.Point(6, 20); + this.checkBoxCloseOnTimout.Name = "checkBoxCloseOnTimout"; + this.checkBoxCloseOnTimout.Size = new System.Drawing.Size(179, 17); + this.checkBoxCloseOnTimout.TabIndex = 0; + this.checkBoxCloseOnTimout.Text = "auto-close after timeout expired"; + this.checkBoxCloseOnTimout.UseVisualStyleBackColor = true; + this.checkBoxCloseOnTimout.CheckedChanged += new System.EventHandler(this.checkBoxCloseOnTimout_CheckedChanged); + // + // groupBoxMedia + // + this.groupBoxMedia.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.groupBoxMedia.Controls.Add(this.checkBoxResumeMedia); + this.groupBoxMedia.Controls.Add(this.checkBoxStopMedia); + this.groupBoxMedia.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.groupBoxMedia.Location = new System.Drawing.Point(6, 134); + this.groupBoxMedia.Name = "groupBoxMedia"; + this.groupBoxMedia.Size = new System.Drawing.Size(511, 68); + this.groupBoxMedia.TabIndex = 1; + this.groupBoxMedia.TabStop = false; + this.groupBoxMedia.Text = "media settings"; + // + // checkBoxResumeMedia + // + this.checkBoxResumeMedia.AutoSize = true; + this.checkBoxResumeMedia.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.checkBoxResumeMedia.Location = new System.Drawing.Point(24, 45); + this.checkBoxResumeMedia.Name = "checkBoxResumeMedia"; + this.checkBoxResumeMedia.Size = new System.Drawing.Size(166, 17); + this.checkBoxResumeMedia.TabIndex = 1; + this.checkBoxResumeMedia.Text = "auto-resume on closing notify"; + this.checkBoxResumeMedia.UseVisualStyleBackColor = true; + // + // checkBoxStopMedia + // + this.checkBoxStopMedia.AutoSize = true; + this.checkBoxStopMedia.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.checkBoxStopMedia.Location = new System.Drawing.Point(6, 20); + this.checkBoxStopMedia.Name = "checkBoxStopMedia"; + this.checkBoxStopMedia.Size = new System.Drawing.Size(122, 17); + this.checkBoxStopMedia.TabIndex = 0; + this.checkBoxStopMedia.Text = "stop on incoming call"; + this.checkBoxStopMedia.UseVisualStyleBackColor = true; + this.checkBoxStopMedia.CheckedChanged += new System.EventHandler(this.checkBoxStopMedia_CheckedChanged); + // + // tabPhonebook + // + this.tabPhonebook.Controls.Add(this.pictureBoxCaller); + this.tabPhonebook.Controls.Add(this.buttonCallerChange); + this.tabPhonebook.Controls.Add(this.checkBoxCallerShow); + this.tabPhonebook.Controls.Add(this.textBoxCallerName); + this.tabPhonebook.Controls.Add(this.textBoxCallerId); + this.tabPhonebook.Controls.Add(this.buttonCallerRemove); + this.tabPhonebook.Controls.Add(this.dataGridView); + this.tabPhonebook.Controls.Add(this.labelCallerId); + this.tabPhonebook.Controls.Add(this.labelCallerName); + this.tabPhonebook.Location = new System.Drawing.Point(4, 22); + this.tabPhonebook.Name = "tabPhonebook"; + this.tabPhonebook.Padding = new System.Windows.Forms.Padding(3); + this.tabPhonebook.Size = new System.Drawing.Size(523, 311); + this.tabPhonebook.TabIndex = 2; + this.tabPhonebook.Text = "Phonebook"; + this.tabPhonebook.UseVisualStyleBackColor = true; + // + // pictureBoxCaller + // + this.pictureBoxCaller.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.pictureBoxCaller.Location = new System.Drawing.Point(417, 38); + this.pictureBoxCaller.Name = "pictureBoxCaller"; + this.pictureBoxCaller.Size = new System.Drawing.Size(100, 122); + this.pictureBoxCaller.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBoxCaller.TabIndex = 13; + this.pictureBoxCaller.TabStop = false; + // + // buttonCallerChange + // + this.buttonCallerChange.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonCallerChange.Location = new System.Drawing.Point(417, 278); + this.buttonCallerChange.Name = "buttonCallerChange"; + this.buttonCallerChange.Size = new System.Drawing.Size(100, 25); + this.buttonCallerChange.TabIndex = 3; + this.buttonCallerChange.Text = "Change"; + this.buttonCallerChange.UseVisualStyleBackColor = true; + this.buttonCallerChange.Click += new System.EventHandler(this.buttonCallerChange_Click); + // + // checkBoxCallerShow + // + this.checkBoxCallerShow.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.checkBoxCallerShow.AutoSize = true; + this.checkBoxCallerShow.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.checkBoxCallerShow.Location = new System.Drawing.Point(437, 254); + this.checkBoxCallerShow.Name = "checkBoxCallerShow"; + this.checkBoxCallerShow.Size = new System.Drawing.Size(80, 17); + this.checkBoxCallerShow.TabIndex = 2; + this.checkBoxCallerShow.Text = "show notify"; + this.checkBoxCallerShow.UseVisualStyleBackColor = true; + // + // textBoxCallerName + // + this.textBoxCallerName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.textBoxCallerName.BorderColor = System.Drawing.Color.Empty; + this.textBoxCallerName.Location = new System.Drawing.Point(417, 222); + this.textBoxCallerName.Name = "textBoxCallerName"; + this.textBoxCallerName.Size = new System.Drawing.Size(100, 21); + this.textBoxCallerName.TabIndex = 1; + // + // textBoxCallerId + // + this.textBoxCallerId.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.textBoxCallerId.BorderColor = System.Drawing.Color.Empty; + this.textBoxCallerId.Location = new System.Drawing.Point(417, 180); + this.textBoxCallerId.Name = "textBoxCallerId"; + this.textBoxCallerId.Size = new System.Drawing.Size(100, 21); + this.textBoxCallerId.TabIndex = 0; + // + // buttonCallerRemove + // + this.buttonCallerRemove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.buttonCallerRemove.Location = new System.Drawing.Point(417, 6); + this.buttonCallerRemove.Name = "buttonCallerRemove"; + this.buttonCallerRemove.Size = new System.Drawing.Size(100, 25); + this.buttonCallerRemove.TabIndex = 6; + this.buttonCallerRemove.Text = "Remove"; + this.buttonCallerRemove.UseVisualStyleBackColor = true; + this.buttonCallerRemove.Click += new System.EventHandler(this.buttonCallerRemove_Click); + // + // dataGridView + // + this.dataGridView.AllowUserToDeleteRows = false; + this.dataGridView.AllowUserToResizeRows = false; + this.dataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.dataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; + this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.colCallerId, + this.colName, + this.colShow}); + this.dataGridView.Location = new System.Drawing.Point(6, 6); + this.dataGridView.MultiSelect = false; + this.dataGridView.Name = "dataGridView"; + this.dataGridView.ReadOnly = true; + this.dataGridView.RowHeadersVisible = false; + this.dataGridView.RowTemplate.Height = 23; + this.dataGridView.RowTemplate.ReadOnly = true; + this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.dataGridView.Size = new System.Drawing.Size(405, 297); + this.dataGridView.TabIndex = 5; + this.dataGridView.Sorted += new System.EventHandler(this.dataGridView_Sorted); + this.dataGridView.SelectionChanged += new System.EventHandler(this.dataGridView_SelectionChanged); + // + // colCallerId + // + this.colCallerId.DataPropertyName = "dataSet_colCallerId"; + this.colCallerId.HeaderText = "CallerId"; + this.colCallerId.Name = "colCallerId"; + this.colCallerId.ReadOnly = true; + // + // colName + // + this.colName.DataPropertyName = "dataSet_colName"; + this.colName.HeaderText = "Name"; + this.colName.Name = "colName"; + this.colName.ReadOnly = true; + // + // colShow + // + this.colShow.DataPropertyName = "dataSet_colShow"; + this.colShow.HeaderText = "Show"; + this.colShow.Name = "colShow"; + this.colShow.ReadOnly = true; + // + // labelCallerId + // + this.labelCallerId.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.labelCallerId.AutoSize = true; + this.labelCallerId.Location = new System.Drawing.Point(423, 163); + this.labelCallerId.Name = "labelCallerId"; + this.labelCallerId.Size = new System.Drawing.Size(44, 13); + this.labelCallerId.TabIndex = 12; + this.labelCallerId.Text = "CallerId"; + // + // labelCallerName + // + this.labelCallerName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.labelCallerName.AutoSize = true; + this.labelCallerName.Location = new System.Drawing.Point(423, 205); + this.labelCallerName.Name = "labelCallerName"; + this.labelCallerName.Size = new System.Drawing.Size(34, 13); + this.labelCallerName.TabIndex = 11; + this.labelCallerName.Text = "Name"; + // + // labelVersion + // + this.labelVersion.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.labelVersion.Location = new System.Drawing.Point(295, 356); + this.labelVersion.Name = "labelVersion"; + this.labelVersion.Size = new System.Drawing.Size(85, 25); + this.labelVersion.TabIndex = 17; + this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // buttonSave + // + this.buttonSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonSave.Location = new System.Drawing.Point(386, 356); + this.buttonSave.Name = "buttonSave"; + this.buttonSave.Size = new System.Drawing.Size(75, 25); + this.buttonSave.TabIndex = 15; + this.buttonSave.Text = "Save"; + this.buttonSave.UseVisualStyleBackColor = true; + this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click); + // + // buttonCancel + // + this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonCancel.Location = new System.Drawing.Point(467, 356); + this.buttonCancel.Name = "buttonCancel"; + this.buttonCancel.Size = new System.Drawing.Size(75, 25); + this.buttonCancel.TabIndex = 16; + this.buttonCancel.Text = "Cancel"; + this.buttonCancel.UseVisualStyleBackColor = true; + this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click); + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(552, 393); + this.Controls.Add(this.tabControlFritzBoxSettings); + this.Controls.Add(this.labelVersion); + this.Controls.Add(this.buttonSave); + this.Controls.Add(this.buttonCancel); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "Form1"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "FRITZ!Box configuration"; + this.tabControlFritzBoxSettings.ResumeLayout(false); + this.tabGeneral.ResumeLayout(false); + this.tabGeneral.PerformLayout(); + this.mpGroupBox1.ResumeLayout(false); + this.mpGroupBox1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.tabIncoming.ResumeLayout(false); + this.groupBoxPhonebook.ResumeLayout(false); + this.groupBoxPhonebook.PerformLayout(); + this.groupBoxNotify.ResumeLayout(false); + this.groupBoxNotify.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDownTimeout)).EndInit(); + this.groupBoxMedia.ResumeLayout(false); + this.groupBoxMedia.PerformLayout(); + this.tabPhonebook.ResumeLayout(false); + this.tabPhonebook.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxCaller)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private MediaPortal.UserInterface.Controls.MPTabControl tabControlFritzBoxSettings; + private System.Windows.Forms.TabPage tabGeneral; + private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxExtensiveLogging; + private MediaPortal.UserInterface.Controls.MPGroupBox mpGroupBox1; + private System.Windows.Forms.PictureBox pictureBox1; + private MediaPortal.UserInterface.Controls.MPButton buttonTest; + private MediaPortal.UserInterface.Controls.MPTextBox textBoxPort; + private MediaPortal.UserInterface.Controls.MPTextBox textBoxAddress; + private MediaPortal.UserInterface.Controls.MPLabel labelPort; + private MediaPortal.UserInterface.Controls.MPLabel labelAddress; + private MediaPortal.UserInterface.Controls.MPLabel labelHelp; + private System.Windows.Forms.TabPage tabIncoming; + private MediaPortal.UserInterface.Controls.MPGroupBox groupBoxPhonebook; + private MediaPortal.UserInterface.Controls.MPButton mpImportFBMonitor; + private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxSaveUnknownCaller; + private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxShowUnknownCaller; + private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxUsePhonebook; + private MediaPortal.UserInterface.Controls.MPGroupBox groupBoxNotify; + private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxShowMsnOnHeading; + private MediaPortal.UserInterface.Controls.MPButton buttonMSNsRemove; + private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxFilterMSNs; + private MediaPortal.UserInterface.Controls.MPButton buttonMSNsAdd; + private MediaPortal.UserInterface.Controls.MPComboBox comboBoxMSNs; + private MediaPortal.UserInterface.Controls.MPNumericUpDown numericUpDownTimeout; + private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxCloseOnTimout; + private MediaPortal.UserInterface.Controls.MPGroupBox groupBoxMedia; + private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxResumeMedia; + private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxStopMedia; + private System.Windows.Forms.TabPage tabPhonebook; + private System.Windows.Forms.PictureBox pictureBoxCaller; + private MediaPortal.UserInterface.Controls.MPButton buttonCallerChange; + private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxCallerShow; + private MediaPortal.UserInterface.Controls.MPTextBox textBoxCallerName; + private MediaPortal.UserInterface.Controls.MPTextBox textBoxCallerId; + private MediaPortal.UserInterface.Controls.MPButton buttonCallerRemove; + private System.Windows.Forms.DataGridView dataGridView; + private System.Windows.Forms.DataGridViewTextBoxColumn colCallerId; + private System.Windows.Forms.DataGridViewTextBoxColumn colName; + private System.Windows.Forms.DataGridViewCheckBoxColumn colShow; + private MediaPortal.UserInterface.Controls.MPLabel labelCallerId; + private MediaPortal.UserInterface.Controls.MPLabel labelCallerName; + private MediaPortal.UserInterface.Controls.MPLabel labelVersion; + private MediaPortal.UserInterface.Controls.MPButton buttonSave; + private MediaPortal.UserInterface.Controls.MPButton buttonCancel; + private System.Windows.Forms.OpenFileDialog openFileDialog; + } +} \ No newline at end of file Modified: trunk/plugins/FritzBox/FritzBox/FritzBoxSetupFrom.cs =================================================================== --- trunk/plugins/FritzBox/FritzBox/FritzBoxSetupFrom.cs 2007-06-22 17:42:35 UTC (rev 597) +++ trunk/plugins/FritzBox/FritzBox/FritzBoxSetupFrom.cs 2007-06-22 18:03:18 UTC (rev 598) @@ -1,756 +1,31 @@ -#region Copyright (C) 2005-2007 Team MediaPortal - -/* - * Copyright (C) 2005-2007 Team MediaPortal - * http://www.team-mediaportal.com - * - * This Program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This Program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with GNU Make; see the file COPYING. If not, write to - * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - * http://www.gnu.org/copyleft/gpl.html - * - */ - -#endregion - using System; -using System.Drawing; -using System.Collections; +using System.Collections.Generic; using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Text; using System.Windows.Forms; + +using System.Collections; using System.Net.Sockets; using System.IO; -using MediaPortal.Profile; -using MediaPortal.Util; -using MediaPortal.GUI.Library; using MediaPortal.Configuration; +using MediaPortal.GUI.Library; +using MediaPortal.Profile; +using MediaPortal.Util; namespace FritzBox { - /// <summary> - /// Zusammenfassung f\xFCr CallSetupFrom. - /// </summary> - public class FritzBoxSetupForm : Form + public partial class FritzBoxSetupFrom : Form { - private MediaPortal.UserInterface.Controls.MPTabControl tabControlFritzBoxSettings; - private TabPage tabGeneral; - private TabPage tabIncoming; - private MediaPortal.UserInterface.Controls.MPGroupBox groupBoxNotify; - private MediaPortal.UserInterface.Controls.MPGroupBox groupBoxMedia; - private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxStopMedia; - private TabPage tabPhonebook; - private DataGridView dataGridView; - private DataGridViewTextBoxColumn colCallerId; - private DataGridViewTextBoxColumn colName; - private DataGridViewCheckBoxColumn colShow; - private MediaPortal.UserInterface.Controls.MPGroupBox groupBoxPhonebook; - private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxSaveUnknownCaller; - private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxShowUnknownCaller; - private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxUsePhonebook; - private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxCallerShow; - private MediaPortal.UserInterface.Controls.MPTextBox textBoxCallerName; - private MediaPortal.UserInterface.Controls.MPTextBox textBoxCallerId; - private MediaPortal.UserInterface.Controls.MPButton buttonCallerRemove; - private MediaPortal.UserInterface.Controls.MPLabel labelCallerId; - private MediaPortal.UserInterface.Controls.MPLabel labelCallerName; - private MediaPortal.UserInterface.Controls.MPButton buttonCallerChange; - private MediaPortal.UserInterface.Controls.MPButton buttonCancel; - private MediaPortal.UserInterface.Controls.MPButton buttonSave; - private MediaPortal.UserInterface.Controls.MPNumericUpDown numericUpDownTimeout; - private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxCloseOnTimout; - private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxResumeMedia; - private MediaPortal.UserInterface.Controls.MPLabel labelVersion; - private MediaPortal.UserInterface.Controls.MPGroupBox mpGroupBox1; - private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxExtensiveLogging; - private MediaPortal.UserInterface.Controls.MPButton buttonTest; - private MediaPortal.UserInterface.Controls.MPTextBox textBoxPort; - private MediaPortal.UserInterface.Controls.MPTextBox textBoxAddress; - private MediaPortal.UserInterface.Controls.MPLabel labelPort; - private MediaPortal.UserInterface.Controls.MPLabel labelAddress; - private MediaPortal.UserInterface.Controls.MPLabel labelHelp; - private MediaPortal.UserInterface.Controls.MPButton buttonMSNsRemove; - private MediaPortal.UserInterface.Controls.MPButton buttonMSNsAdd; - private PictureBox pictureBoxCaller; - private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxFilterMSNs; - private MediaPortal.UserInterface.Controls.MPComboBox comboBoxMSNs; - private MediaPortal.UserInterface.Controls.MPCheckBox checkBoxShowMsnOnHeading; - private PictureBox pictureBox1; - private MediaPortal.UserInterface.Controls.MPButton mpImportFBMonitor; - private OpenFileDialog openFileDialog; - - /// <summary> - /// Erforderliche Designervariable. - /// </summary> - private Container components = null; - - public FritzBoxSetupForm() + public FritzBoxSetupFrom() { - // - // Erforderlich f\xFCr die Windows Form-Designerunterst\xFCtzung - // InitializeComponent(); LoadSettings(); - // - // TODO: F\xFCgen Sie den Konstruktorcode nach dem Aufruf von InitializeComponent hinzu - // } - /// <summary> - /// Die verwendeten Ressourcen bereinigen. - /// </summary> - protected override void Dispose(bool disposing) - { - if (disposing) - { - if (components != null) - { - components.Dispose(); - } - } - base.Dispose(disposing); - } - - #region Vom Windows Form-Designer generierter Code - - /// <summary> - /// Erforderliche Methode f\xFCr die Designerunterst\xFCtzung. - /// Der Inhalt der Methode darf nicht mit dem Code-Editor ge\xE4ndert werden. - /// </summary> - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FritzBoxSetupForm)); - this.tabControlFritzBoxSettings = new MediaPortal.UserInterface.Controls.MPTabControl(); - this.tabGeneral = new System.Windows.Forms.TabPage(); - this.checkBoxExtensiveLogging = new MediaPortal.UserInterface.Controls.MPCheckBox(); - this.mpGroupBox1 = new MediaPortal.UserInterface.Controls.MPGroupBox(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.buttonTest = new MediaPortal.UserInterface.Controls.MPButton(); - this.textBoxPort = new MediaPortal.UserInterface.Controls.MPTextBox(); - this.textBoxAddress = new MediaPortal.UserInterface.Controls.MPTextBox(); - this.labelPort = new MediaPortal.UserInterface.Controls.MPLabel(); - this.labelAddress = new MediaPortal.UserInterface.Controls.MPLabel(); - this.labelHelp = new MediaPortal.UserInterface.Controls.MPLabel(); - this.tabIncoming = new System.Windows.Forms.TabPage(); - this.groupBoxPhonebook = new MediaPortal.UserInterface.Controls.MPGroupBox(); - this.mpImportFBMonitor = new MediaPortal.UserInterface.Controls.MPButton(); - this.checkBoxSaveUnknownCaller = new MediaPortal.UserInterface.Controls.MPCheckBox(); - this.checkBoxShowUnknownCaller = new MediaPortal.UserInterface.Controls.MPCheckBox(); - this.checkBoxUsePhonebook = new MediaPortal.UserInterface.Controls.MPCheckBox(); - this.groupBoxNotify = new MediaPortal.UserInterface.Controls.MPGroupBox(); - this.checkBoxShowMsnOnHeading = new MediaPortal.UserInterface.Controls.MPCheckBox(); - this.buttonMSNsRemove = new MediaPortal.UserInterface.Controls.MPButton(); - this.checkBoxFilterMSNs = new MediaPortal.UserInterface.Controls.MPCheckBox(); - this.buttonMSNsAdd = new MediaPortal.UserInterface.Controls.MPButton(); - this.comboBoxMSNs = new MediaPortal.UserInterface.Controls.MPComboBox(); - this.numericUpDownTimeout = new MediaPortal.UserInterface.Controls.MPNumericUpDown(); - this.checkBoxCloseOnTimout = new MediaPortal.UserInterface.Controls.MPCheckBox(); - this.groupBoxMedia = new MediaPortal.UserInterface.Controls.MPGroupBox(); - this.checkBoxResumeMedia = new MediaPortal.UserInterface.Controls.MPCheckBox(); - this.checkBoxStopMedia = new MediaPortal.UserInterface.Controls.MPCheckBox(); - this.tabPhonebook = new System.Windows.Forms.TabPage(); - this.pictureBoxCaller = new System.Windows.Forms.PictureBox(); - this.buttonCallerChange = new MediaPortal.UserInterface.Controls.MPButton(); - this.checkBoxCallerShow = new MediaPortal.UserInterface.Controls.MPCheckBox(); - this.textBoxCallerName = new MediaPortal.UserInterface.Controls.MPTextBox(); - this.textBoxCallerId = new MediaPortal.UserInterface.Controls.MPTextBox(); - this.buttonCallerRemove = new MediaPortal.UserInterface.Controls.MPButton(); - this.dataGridView = new System.Windows.Forms.DataGridView(); - this.colCallerId = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.colName = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.colShow = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.labelCallerId = new MediaPortal.UserInterface.Controls.MPLabel(); - this.labelCallerName = new MediaPortal.UserInterface.Controls.MPLabel(); - this.buttonCancel = new MediaPortal.UserInterface.Controls.MPButton(); - this.buttonSave = new MediaPortal.UserInterface.Controls.MPButton(); - this.labelVersion = new MediaPortal.UserInterface.Controls.MPLabel(); - this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); - this.tabControlFritzBoxSettings.SuspendLayout(); - this.tabGeneral.SuspendLayout(); - this.mpGroupBox1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - this.tabIncoming.SuspendLayout(); - this.groupBoxPhonebook.SuspendLayout(); - this.groupBoxNotify.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.numericUpDownTimeout)).BeginInit(); - this.groupBoxMedia.SuspendLayout(); - this.tabPhonebook.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBoxCaller)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit(); - this.SuspendLayout(); - // - // tabControlFritzBoxSettings - // - this.tabControlFritzBoxSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.tabControlFritzBoxSettings.Controls.Add(this.tabGeneral); - this.tabControlFritzBoxSettings.Controls.Add(this.tabIncoming); - this.tabControlFritzBoxSettings.Controls.Add(this.tabPhonebook); - this.tabControlFritzBoxSettings.Location = new System.Drawing.Point(12, 13); - this.tabControlFritzBoxSettings.Name = "tabControlFritzBoxSettings"; - this.tabControlFritzBoxSettings.SelectedIndex = 0; - this.tabControlFritzBoxSettings.Size = new System.Drawing.Size(531, 337); - this.tabControlFritzBoxSettings.TabIndex = 0; - // - // tabGeneral - // - this.tabGeneral.Controls.Add(this.checkBoxExtensiveLogging); - this.tabGeneral.Controls.Add(this.mpGroupBox1); - this.tabGeneral.Location = new System.Drawing.Point(4, 22); - this.tabGeneral.Name = "tabGeneral"; - this.tabGeneral.Padding = new System.Windows.Forms.Padding(3); - this.tabGeneral.Size = new System.Drawing.Size(523, 311); - this.tabGeneral.TabIndex = 0; - this.tabGeneral.Text = "General"; - this.tabGeneral.UseVisualStyleBackColor = true; - // - // checkBoxExtensiveLogging - // - this.checkBoxExtensiveLogging.AutoSize = true; - this.checkBoxExtensiveLogging.FlatStyle = System.Windows.Forms.FlatStyle.Popup; - this.checkBoxExtensiveLogging.Location = new System.Drawing.Point(6, 138); - this.checkBoxExtensiveLogging.Name = "checkBoxExtensiveLogging"; - this.checkBoxExtensiveLogging.Size = new System.Drawing.Size(339, 17); - this.checkBoxExtensiveLogging.TabIndex = 1; - this.checkBoxExtensiveLogging.Text = "extensive logging (!!! phonenumbers are written to the logfile !!!)"; - this.checkBoxExtensiveLogging.UseVisualStyleBackColor = true; - // - // mpGroupBox1 - // - this.mpGroupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.mpGroupBox1.Controls.Add(this.pictureBox1); - this.mpGroupBox1.Controls.Add(this.buttonTest); - this.mpGroupBox1.Controls.Add(this.textBoxPort); - this.mpGroupBox1.Controls.Add(this.textBoxAddress); - this.mpGroupBox1.Controls.Add(this.labelPort); - this.mpGroupBox1.Controls.Add(this.labelAddress); - this.mpGroupBox1.Controls.Add(this.labelHelp); - this.mpGroupBox1.FlatStyle = System.Windows.Forms.FlatStyle.Popup; - this.mpGroupBox1.Location = new System.Drawing.Point(6, 6); - this.mpGroupBox1.Name = "mpGroupBox1"; - this.mpGroupBox1.Size = new System.Drawing.Size(511, 125); - this.mpGroupBox1.TabIndex = 0; - this.mpGroupBox1.TabStop = false; - this.mpGroupBox1.Text = "connection"; - // - // pictureBox1 - // - this.pictureBox1.Image = global::FritzBox.Properties.Resources.FritzBoxIconTransparent; - this.pictureBox1.Location = new System.Drawing.Point(6, 20); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(97, 99); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; - this.pictureBox1.TabIndex = 2; - this.pictureBox1.TabStop = false; - // - // buttonTest - // - this.buttonTest.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.buttonTest.Location = new System.Drawing.Point(430, 20); - this.buttonTest.Name = "buttonTest"; - this.buttonTest.Size = new System.Drawing.Size(75, 21); - this.buttonTest.TabIndex = 2; - this.buttonTest.Text = "Test"; - this.buttonTest.UseVisualStyleBackColor = true; - this.buttonTest.Click += new System.EventHandler(this.buttonTest_Click); - // - // textBoxPort - // - this.textBoxPort.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.textBoxPort.BorderColor = System.Drawing.Color.Empty; - this.textBoxPort.Location = new System.Drawing.Point(165, 47); - this.textBoxPort.Name = "textBoxPort"; - this.textBoxPort.Size = new System.Drawing.Size(259, 21); - this.textBoxPort.TabIndex = 1; - // - // textBoxAddress - // - this.textBoxAddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.textBoxAddress.BorderColor = System.Drawing.Color.Empty; - this.textBoxAddress.Location = new System.Drawing.Point(165, 20); - this.textBoxAddress... [truncated message content] |
From: <che...@us...> - 2007-06-22 17:42:48
|
Revision: 597 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=597&view=rev Author: chef_koch Date: 2007-06-22 10:42:35 -0700 (Fri, 22 Jun 2007) Log Message: ----------- the readme is really useful, imo ;) Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/README.txt Modified: trunk/plugins/myGUIProgramsAlt/README.txt =================================================================== --- trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-22 01:16:13 UTC (rev 596) +++ trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-22 17:42:35 UTC (rev 597) @@ -33,15 +33,16 @@ .: To-do next :. ---------------- BUGS: - - AllGame-Import: rating is not imported correctly + - AllGame-Import: rating is not imported correctly - fileinfodetails : fixup - cleanup for old/obsolete view/sort/db code -> ApplicationItem.cs: old db-sort code (replaced by ProgramSort) -> maybe: merging CurrentView/CurrentSort..... code in GUIprograms.cs DatabaseSettings.cs: or having this stuff only in one place - Filesview in config file sometime remebers wrong appid dirs.. - + - GenreView does not work anymore, what about using an addition genreTable in database, like we do in Music? + FEATURES: Add some more specific emulator support.. - bring/keep the profiles up-to-date @@ -54,8 +55,10 @@ DB redesign/restructure: - small changes - -remove last remains pincode, - - use parameters in queries?? + - remove last remains pincode, + - use parameters in queries?? heah? ;) could you explain this more? + - removing the filepath in fileitems? we can parse it from filename + - only saving filename without " . We add them if use qoutes is enabled when we create the procInfo Code: @@ -97,8 +100,11 @@ --> wait for MP_RESTORE_FROM_TRAY_DONE -> now it should be able to work with GUI again -....... +Pause/Close Games by input devices: + - Gamepads/Joysticks: + # try to use MediaPortal's DirectInput feature -> Configuration -> Remote -> DirectInput + # or joystick..don't know, there is joy2key and scripting too.. + - Remotes, in general, maybe we should handle it like DirectInput + imo lower priority, if you play with keyboard, use it to close the app, if you play with joystick try first point -Quit key for joystick..don't know, there is joy2key and scripting too.. - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nor...@us...> - 2007-06-22 01:16:14
|
Revision: 596 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=596&view=rev Author: northern_sky Date: 2007-06-21 18:16:13 -0700 (Thu, 21 Jun 2007) Log Message: ----------- tired..=) Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs 2007-06-22 01:15:19 UTC (rev 595) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs 2007-06-22 01:16:13 UTC (rev 596) @@ -501,7 +501,7 @@ g_Player.Stop(); } - proc = new Process(); + //proc = new Process(); /*proc.EnableRaisingEvents = true; proc.Exited += new EventHandler(proc_Exited); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nor...@us...> - 2007-06-22 01:15:20
|
Revision: 595 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=595&view=rev Author: northern_sky Date: 2007-06-21 18:15:19 -0700 (Thu, 21 Jun 2007) Log Message: ----------- tired..=) Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/README.txt Modified: trunk/plugins/myGUIProgramsAlt/README.txt =================================================================== --- trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-22 01:12:35 UTC (rev 594) +++ trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-22 01:15:19 UTC (rev 595) @@ -5,7 +5,7 @@ chefkoch is also doing updates on this version now. Great,it will for sure speed-up development! -:--INSTALLATIOM +:--INSTALLATION Copy contents of metadata-folder to MP root folder , and the GUIPrograms.dll to MP/windowsplugins to run. There will possibly be db-changes and xml-changes between versions, so always make sure that you have a clean install between updates. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nor...@us...> - 2007-06-22 01:12:37
|
Revision: 594 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=594&view=rev Author: northern_sky Date: 2007-06-21 18:12:35 -0700 (Thu, 21 Jun 2007) Log Message: ----------- added some stuff Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/README.txt Modified: trunk/plugins/myGUIProgramsAlt/README.txt =================================================================== --- trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-22 00:58:50 UTC (rev 593) +++ trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-22 01:12:35 UTC (rev 594) @@ -1,9 +1,11 @@ Work in progress on an alternative/update to myprograms. -Not releaseready yet, as there still are some features and bugs to fix. -Do not use on your real MP-installation, only for tests.. -Not really interested in bug-reports yet, as -there are a few known bugs to fix first. +Still features and bugs to fix. +Do NOT USE on your real MP-installation, only for tests.. +Bug-reports ,not yet, there are a few=) known to fix first. +chefkoch is also doing updates on this version now. Great,it will for sure speed-up development! + +:--INSTALLATIOM Copy contents of metadata-folder to MP root folder , and the GUIPrograms.dll to MP/windowsplugins to run. There will possibly be db-changes and xml-changes between versions, so always make sure that you have a clean install between updates. @@ -30,14 +32,17 @@ ---------------- .: To-do next :. ---------------- -Revise the code, clear out BUGS: - - AllGame-Import: rating is not imported correctly +BUGS: + - AllGame-Import: rating is not imported correctly - fileinfodetails : fixup - cleanup for old/obsolete view/sort/db code -> ApplicationItem.cs: old db-sort code (replaced by ProgramSort) -> maybe: merging CurrentView/CurrentSort..... code in GUIprograms.cs DatabaseSettings.cs: or having this stuff only in one place + - Filesview in config file sometime remebers wrong appid dirs.. + +FEATURES: Add some more specific emulator support.. - bring/keep the profiles up-to-date - Maybe some more "special" items like mame,gamebase @@ -45,19 +50,28 @@ ConfigurationTool redesign: - InfoScraperForm redesign -> first redesign done, still needs some work - Appsettingsrootform: do not use inheritance, make this individual, so we easily can add global-options etc. + - Dynamic checkbox list in the different filesview, allow us to "plugin" as many options we want for a special appitem - DB redesign/restructure: - small changes + -remove last remains pincode, + - use parameters in queries?? + +Code: +Revise the code partially. + AllTime Todo: --> TESTING ;) --> BugFixing :P --------------------- -.: things to clear :. +.: Things to clear :. --------------------- +Comment: lets fix some more of the above issues and then head for these? + + Add some more specific emulator support.. - using system and emulator ids??? can be used for - filter in fileinfoscraperForm @@ -85,7 +99,6 @@ ....... -Add some of chef_koch fixes? -UPDATE: chef_koch is also doing updates on this version now. Great,it will for sure speed-up development! -Quit key for joystick..don't know, there is joy2key and scripting too... -Fileoptions etc +Quit key for joystick..don't know, there is joy2key and scripting too.. + + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nor...@us...> - 2007-06-22 00:58:55
|
Revision: 593 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=593&view=rev Author: northern_sky Date: 2007-06-21 17:58:50 -0700 (Thu, 21 Jun 2007) Log Message: ----------- update/import of directorys probaly didn't work for some time.fixed-still some stuff to do Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItemDirectoryCache.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItemDirectoryCache.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItemDirectoryCache.cs 2007-06-22 00:57:15 UTC (rev 592) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItemDirectoryCache.cs 2007-06-22 00:58:50 UTC (rev 593) @@ -67,9 +67,10 @@ progressDialog.Close(); } - private string GetThumbsFile(GUIListItem guiFile, string fileTitle) + private string GetThumbsFile(FileInfo file, string fileTitle) { string thumbFolder = ""; + if (imageDirs.Length > 0) { string mainImgFolder = ""; @@ -85,7 +86,7 @@ if ("" != mainImgFolder) { string curDir = mainImgFolder + "\\"; - string filenameNoExtension = mainImgFolder + "\\" + guiFile.Label; + string filenameNoExtension = mainImgFolder + "\\" + file.Name; filenameNoExtension = Path.ChangeExtension(filenameNoExtension, null); filenameNoExtension = Path.GetFileNameWithoutExtension(filenameNoExtension); @@ -147,20 +148,22 @@ } - private void ImportFileItem(GUIListItem guiFile) + + private void ImportFileItem(FileInfo fileInfo) { FileItem curFile = new FileItem(sqlDB); curFile.FileID = -1; // to force an INSERT statement when writing the item curFile.AppID = this.AppID; - curFile.Title = guiFile.Label; + curFile.Title = fileInfo.Name; curFile.Title = curFile.TitleNormalized; - curFile.Filename = guiFile.Path; + curFile.Filename = fileInfo.FullName; if (this.UseQuotes) { curFile.Filename = "\"" + curFile.Filename + "\""; } - curFile.Filepath = Path.GetDirectoryName(guiFile.Path); - curFile.Imagefile = GetThumbsFile(guiFile, curFile.TitleNormalized); + curFile.Filepath = fileInfo.DirectoryName; + curFile.Imagefile = GetThumbsFile(fileInfo, curFile.TitleNormalized); + // not imported properties => set default values curFile.ManualFilename = ""; curFile.LastTimeLaunched = DateTime.MinValue; @@ -168,30 +171,14 @@ curFile.Write(); } - private void WriteFolderItem(string directoryPath) + private void UpdateProgressDialog(FileInfo fileInfo ,bool mpGuiMode) { - FileItem curFile = new FileItem(sqlDB); - curFile.FileID = -1; - curFile.AppID = this.AppID; - curFile.Filename = directoryPath; - curFile.Title = Path.GetFileNameWithoutExtension(directoryPath); - curFile.Filepath = Path.GetDirectoryName(directoryPath); - curFile.IsFolder = true; - curFile.ManualFilename = ""; - curFile.LastTimeLaunched = DateTime.MinValue; - curFile.LaunchCount = 0; - curFile.Write(); - } - - - private void UpdateProgressDialog(GUIListItem guiFile, bool mpGuiMode) - { if (mpGuiMode) { - progressDialog.SetLine(2, String.Format("{0} {1}", GUILocalizeStrings.Get(13005), guiFile.Label)); // "last imported file {0}" + progressDialog.SetLine(2, String.Format("{0} {1}", GUILocalizeStrings.Get(13005), fileInfo.Name)); // "last imported file {0}" progressDialog.Progress(); } - SendRefreshInfo(String.Format("{0} {1}", GUILocalizeStrings.Get(13005), guiFile.Label), 0); + SendRefreshInfo(String.Format("{0} {1}", GUILocalizeStrings.Get(13005), fileInfo.Name), 0); } private void DeleteOrphaned() @@ -221,70 +208,50 @@ } } - private void ImportDirectory(string curPath, bool mpGuiMode) + private void ImportFile(string dirPath,bool mpGuiMode) { - VirtualDirectory virtDir = new VirtualDirectory(); - ProgramUtils.SetFileExtensions(virtDir, ValidExtensions); - Boolean FileExists; - // read files - ArrayList arrFiles = virtDir.GetDirectory(curPath); - this.Files.Load(AppID, curPath); + FileInfo fileInDir = null; + DirectoryInfo directoryInfo = new DirectoryInfo(dirPath); + FileSystemInfo[] allUnderLyingFiles = directoryInfo.GetFileSystemInfos(); - foreach (GUIListItem file in arrFiles) + for (int i = 0; i < allUnderLyingFiles.Length; i++) { - FileExists = false; - if (!file.IsFolder) + if (allUnderLyingFiles[i] is FileInfo) { - foreach (FileItem DBfile in this.Files) - { - if ((((this.UseQuotes) && (DBfile.Filename == "\"" + file.Path + "\"")) - || ((!this.UseQuotes) && (DBfile.Filename == file.Path))) - && (!DBfile.IsFolder)) - { - FileExists = true; - break; - } - } - if (!FileExists) - { - ImportFileItem(file); - UpdateProgressDialog(file, mpGuiMode); - } - } - } + Boolean FileExists = false; + fileInDir = (FileInfo)allUnderLyingFiles[i]; - //read subdirectories - try - { - string[] directories = Directory.GetDirectories(curPath); - foreach (string directory in directories) - { - FileExists = false; foreach (FileItem DBfile in this.Files) { - if (DBfile.IsFolder && DBfile.Filename == directory) + if ((((this.UseQuotes) && (DBfile.Filename == "\"" + fileInDir.FullName + "\"")) + || ((!this.UseQuotes) && (DBfile.Filename == fileInDir.FullName)))) { FileExists = true; - break; + break;//ugly } } if (!FileExists) { - WriteFolderItem(directory); + ImportFileItem(fileInDir); + UpdateProgressDialog(fileInDir, mpGuiMode); } - // recursively call importer for every subdirectory - ImportDirectory(directory, mpGuiMode); + }//if dir found,, recurse + else if (allUnderLyingFiles[i] is DirectoryInfo) + { + DirectoryInfo directory = (DirectoryInfo)allUnderLyingFiles[i]; + ImportFile(directory.FullName, mpGuiMode); } - - } - catch + } + private void ImportDirectory(string[] fileDirPaths, bool mpGuiMode) + { + //get all maindirs + foreach (string dirPath in fileDirPaths) { - // Ignore + ImportFile(dirPath,mpGuiMode); } - } private void DoDirCacheImport(bool mpGuiMode) @@ -302,7 +269,10 @@ try { ValidExtensions = ValidExtensions.Replace(" ", ""); - ImportDirectory(this.FileDirectory, mpGuiMode); + this.Files.Load(AppID, ""); + + string[] fileDirPaths = this.FileDirectory.Split(';'); + ImportDirectory(fileDirPaths, mpGuiMode); } finally { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <nor...@us...> - 2007-06-22 00:57:18
|
Revision: 592 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=592&view=rev Author: northern_sky Date: 2007-06-21 17:57:15 -0700 (Thu, 21 Jun 2007) Log Message: ----------- update of appitem didn't work after recent updates due to formatting issue,fixed Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs 2007-06-21 23:40:06 UTC (rev 591) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs 2007-06-22 00:57:15 UTC (rev 592) @@ -436,7 +436,7 @@ // Launch File by item if (mpGuiMode) - curFileItem.UpdateLaunchInfo(); + curFileItem.UpdateLaunchInfo(); ProcessStartInfo procStart = new ProcessStartInfo(); @@ -501,13 +501,13 @@ g_Player.Stop(); } - //proc = new Process(); - //proc.EnableRaisingEvents = true; - //proc.Exited += new EventHandler(proc_Exited); + proc = new Process(); + /*proc.EnableRaisingEvents = true; + proc.Exited += new EventHandler(proc_Exited); - //proc.StartInfo = procStart; - //ProgramUtils.StartProcess(proc, this.WaitForExit); - Utils.StartProcess(procStart, this.WaitForExit); + proc.StartInfo = procStart; + ProgramUtils.StartProcess(proc, this.WaitForExit); + */Utils.StartProcess(procStart, this.WaitForExit); if (mpGuiMode) { @@ -897,34 +897,37 @@ try { sql = String.Format( - "update tblApplicationItem set" + - "title = '" + ProgramUtils.Encode(Title) + - "', shorttitle = '" + ProgramUtils.Encode(ShortTitle) + - "', filename = '" + ProgramUtils.Encode(Filename) + - "', arguments = '" + ProgramUtils.Encode(Arguments) + - "', windowstyle = '" + ProgramUtils.WindowStyleToStr(WindowStyle) + - "', startupdir = '" + ProgramUtils.Encode(StartupDir) + - "', useshellexecute = '" + ProgramUtils.BooleanToStr(UseShellExecute) + - "', usequotes = '" + ProgramUtils.BooleanToStr(UseQuotes) + - "', source_type = '" + ProgramUtils.ApplicationTypeToString(SourceType) + - "', source = '" + ProgramUtils.Encode(Source) + - "', imagefile = '" + ProgramUtils.Encode(Imagefile) + - "', filedirectory = '" + ProgramUtils.Encode(FileDirectory) + - "', imagedirectory = '" + ProgramUtils.Encode(ImageDirectory) + - "', validextensions = '" + ProgramUtils.Encode(ValidExtensions) + - "', importvalidimagesonly = '" + ProgramUtils.BooleanToStr(importValidImagesOnly) + - "', iposition = " + Position + - ", enabled = '" + ProgramUtils.BooleanToStr(Enabled) + - "', fatherID = '" + FatherID + - "', enableGUIRefresh = '" + ProgramUtils.BooleanToStr(EnableGUIRefresh) + - "', GUIRefreshPossible = '" + ProgramUtils.BooleanToStr(GUIRefreshPossible) + - "', pincode = '" + Pincode + - "', contentID = '" + ContentID + - "', systemDefault = '" + ProgramUtils.Encode(SystemDefault) + - "', WaitForExit = '" + ProgramUtils.BooleanToStr(WaitForExit) + - "', preLaunch = '" + ProgramUtils.Encode(PreLaunch) + - "', postLaunch = '" + ProgramUtils.Encode(PostLaunch) + - "' where appID = " + AppID); + @"UPDATE + tblApplicationItem SET + + title = '" + ProgramUtils.Encode(Title) + @"', + shorttitle = '" + ProgramUtils.Encode(ShortTitle) + @"', + filename = '" + ProgramUtils.Encode(Filename) + @"', + arguments = '" + ProgramUtils.Encode(Arguments) + @"', + windowstyle = '" + ProgramUtils.WindowStyleToStr(WindowStyle) + @"', + startupdir = '" + ProgramUtils.Encode(StartupDir) + @"', + useshellexecute = '" + ProgramUtils.BooleanToStr(UseShellExecute) + @"', + usequotes = '" + ProgramUtils.BooleanToStr(UseQuotes) + @"', + source_type = '" + ProgramUtils.ApplicationTypeToString(SourceType) + @"', + source = '" + ProgramUtils.Encode(Source) + @"', + imagefile = '" + ProgramUtils.Encode(Imagefile) + @"', + filedirectory = '" + ProgramUtils.Encode(FileDirectory) + @"', + imagedirectory = '" + ProgramUtils.Encode(ImageDirectory) + @"', + validextensions = '" + ProgramUtils.Encode(ValidExtensions) + @"', + importvalidimagesonly = '" + ProgramUtils.BooleanToStr(importValidImagesOnly) + @"', + iposition = " + Position + @", + enabled = '" + ProgramUtils.BooleanToStr(Enabled) + @"', + fatherID = '" + FatherID + @"', + enableGUIRefresh = '" + ProgramUtils.BooleanToStr(EnableGUIRefresh) + @"', + GUIRefreshPossible = '" + ProgramUtils.BooleanToStr(GUIRefreshPossible) +@"', + pincode = '" + Pincode + @"', + contentID = '" + ContentID + @"', + systemDefault = '" + ProgramUtils.Encode(SystemDefault) + @"', + WaitForExit = '" + ProgramUtils.BooleanToStr(WaitForExit) + @"', + preLaunch = '" + ProgramUtils.Encode(PreLaunch) + @"', + postLaunch = '" + ProgramUtils.Encode(PostLaunch) + @"' + + WHERE appID = " + AppID); sqlDB.Execute(sql); } catch (SQLiteException ex) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-21 23:40:12
|
Revision: 591 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=591&view=rev Author: chef_koch Date: 2007-06-21 16:40:06 -0700 (Thu, 21 Jun 2007) Log Message: ----------- added new folder no need for the png-file anymore, it's the same like FritzBox.png Added Paths: ----------- trunk/plugins/FritzBox/FritzBox/Resources/ Removed Paths: ------------- trunk/plugins/FritzBox/FritzBox/gfx/FritzBoxIconTransparent.png Deleted: trunk/plugins/FritzBox/FritzBox/gfx/FritzBoxIconTransparent.png =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-21 23:20:32
|
Revision: 590 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=590&view=rev Author: chef_koch Date: 2007-06-21 16:20:23 -0700 (Thu, 21 Jun 2007) Log Message: ----------- cleanup and redesign of the form, do we need the txtbox for filepath? -> do we still need it in database? we don't need it, we can parse the path out of the filename Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.Designer.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.resx Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.Designer.cs 2007-06-21 22:58:44 UTC (rev 589) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.Designer.cs 2007-06-21 23:20:23 UTC (rev 590) @@ -32,8 +32,6 @@ this.gameinfoURLTextBox = new System.Windows.Forms.TextBox(); this.gameInfoURLLabel = new System.Windows.Forms.Label(); this.buttonViewImg = new MediaPortal.UserInterface.Controls.MPButton(); - this.txtFilepath = new MediaPortal.UserInterface.Controls.MPTextBox(); - this.label1 = new MediaPortal.UserInterface.Controls.MPLabel(); this.btnOk = new MediaPortal.UserInterface.Controls.MPButton(); this.cbRating = new MediaPortal.UserInterface.Controls.MPComboBox(); this.txtOverview = new MediaPortal.UserInterface.Controls.MPTextBox(); @@ -78,16 +76,19 @@ // // gameinfoURLTextBox // - this.gameinfoURLTextBox.Location = new System.Drawing.Point(96, 295); + this.gameinfoURLTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.gameinfoURLTextBox.Location = new System.Drawing.Point(97, 267); this.gameinfoURLTextBox.Name = "gameinfoURLTextBox"; - this.gameinfoURLTextBox.Size = new System.Drawing.Size(372, 21); + this.gameinfoURLTextBox.Size = new System.Drawing.Size(365, 21); this.gameinfoURLTextBox.TabIndex = 66; // // gameInfoURLLabel // - this.gameInfoURLLabel.Location = new System.Drawing.Point(8, 295); + this.gameInfoURLLabel.AutoSize = true; + this.gameInfoURLLabel.Location = new System.Drawing.Point(8, 270); this.gameInfoURLLabel.Name = "gameInfoURLLabel"; - this.gameInfoURLLabel.Size = new System.Drawing.Size(82, 22); + this.gameInfoURLLabel.Size = new System.Drawing.Size(78, 13); this.gameInfoURLLabel.TabIndex = 65; this.gameInfoURLLabel.Text = "Gameinfo URL:"; // @@ -95,33 +96,14 @@ // this.buttonViewImg.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.buttonViewImg.Image = global::GUIPrograms.Properties.Resources.previewButton_Image; - this.buttonViewImg.Location = new System.Drawing.Point(440, 103); + this.buttonViewImg.Location = new System.Drawing.Point(431, 72); this.buttonViewImg.Name = "buttonViewImg"; - this.buttonViewImg.Size = new System.Drawing.Size(20, 22); + this.buttonViewImg.Size = new System.Drawing.Size(31, 23); this.buttonViewImg.TabIndex = 64; this.toolTip1.SetToolTip(this.buttonViewImg, "View the default image for this file"); this.buttonViewImg.UseVisualStyleBackColor = true; this.buttonViewImg.Click += new System.EventHandler(this.buttonViewImg_Click); // - // txtFilepath - // - this.txtFilepath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.txtFilepath.BorderColor = System.Drawing.Color.Empty; - this.txtFilepath.Location = new System.Drawing.Point(96, 78); - this.txtFilepath.Name = "txtFilepath"; - this.txtFilepath.ReadOnly = true; - this.txtFilepath.Size = new System.Drawing.Size(373, 21); - this.txtFilepath.TabIndex = 62; - // - // label1 - // - this.label1.Location = new System.Drawing.Point(8, 80); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(64, 17); - this.label1.TabIndex = 63; - this.label1.Text = "Filepath:"; - // // btnOk // this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); @@ -135,6 +117,7 @@ // // cbRating // + this.cbRating.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cbRating.BorderColor = System.Drawing.Color.Empty; this.cbRating.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbRating.Items.AddRange(new object[] { @@ -149,9 +132,9 @@ "8", "9", "10 - perfect"}); - this.cbRating.Location = new System.Drawing.Point(276, 206); + this.cbRating.Location = new System.Drawing.Point(277, 186); this.cbRating.Name = "cbRating"; - this.cbRating.Size = new System.Drawing.Size(192, 21); + this.cbRating.Size = new System.Drawing.Size(185, 21); this.cbRating.TabIndex = 8; // // txtOverview @@ -160,19 +143,20 @@ | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtOverview.BorderColor = System.Drawing.Color.Empty; - this.txtOverview.Location = new System.Drawing.Point(8, 339); + this.txtOverview.Location = new System.Drawing.Point(6, 310); this.txtOverview.Multiline = true; this.txtOverview.Name = "txtOverview"; this.txtOverview.ScrollBars = System.Windows.Forms.ScrollBars.Both; - this.txtOverview.Size = new System.Drawing.Size(489, 99); + this.txtOverview.Size = new System.Drawing.Size(493, 133); this.txtOverview.TabIndex = 11; this.txtOverview.Text = "txtOverview"; // // lblOverview // - this.lblOverview.Location = new System.Drawing.Point(8, 319); + this.lblOverview.AutoSize = true; + this.lblOverview.Location = new System.Drawing.Point(8, 294); this.lblOverview.Name = "lblOverview"; - this.lblOverview.Size = new System.Drawing.Size(100, 17); + this.lblOverview.Size = new System.Drawing.Size(57, 13); this.lblOverview.TabIndex = 61; this.lblOverview.Text = "Overview:"; // @@ -181,16 +165,17 @@ this.txtSystem.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtSystem.BorderColor = System.Drawing.Color.Empty; - this.txtSystem.Location = new System.Drawing.Point(96, 261); + this.txtSystem.Location = new System.Drawing.Point(97, 240); this.txtSystem.Name = "txtSystem"; - this.txtSystem.Size = new System.Drawing.Size(373, 21); + this.txtSystem.Size = new System.Drawing.Size(365, 21); this.txtSystem.TabIndex = 10; // // lblSystem // - this.lblSystem.Location = new System.Drawing.Point(8, 265); + this.lblSystem.AutoSize = true; + this.lblSystem.Location = new System.Drawing.Point(8, 243); this.lblSystem.Name = "lblSystem"; - this.lblSystem.Size = new System.Drawing.Size(64, 17); + this.lblSystem.Size = new System.Drawing.Size(46, 13); this.lblSystem.TabIndex = 59; this.lblSystem.Text = "System:"; // @@ -199,16 +184,17 @@ this.txtCountry.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtCountry.BorderColor = System.Drawing.Color.Empty; - this.txtCountry.Location = new System.Drawing.Point(96, 235); + this.txtCountry.Location = new System.Drawing.Point(97, 213); this.txtCountry.Name = "txtCountry"; - this.txtCountry.Size = new System.Drawing.Size(373, 21); + this.txtCountry.Size = new System.Drawing.Size(365, 21); this.txtCountry.TabIndex = 9; // // lblCountry // - this.lblCountry.Location = new System.Drawing.Point(8, 239); + this.lblCountry.AutoSize = true; + this.lblCountry.Location = new System.Drawing.Point(8, 216); this.lblCountry.Name = "lblCountry"; - this.lblCountry.Size = new System.Drawing.Size(72, 17); + this.lblCountry.Size = new System.Drawing.Size(50, 13); this.lblCountry.TabIndex = 57; this.lblCountry.Text = "Country:"; // @@ -281,9 +267,11 @@ // // lblRating // - this.lblRating.Location = new System.Drawing.Point(223, 209); + this.lblRating.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.lblRating.AutoSize = true; + this.lblRating.Location = new System.Drawing.Point(229, 189); this.lblRating.Name = "lblRating"; - this.lblRating.Size = new System.Drawing.Size(47, 17); + this.lblRating.Size = new System.Drawing.Size(42, 13); this.lblRating.TabIndex = 55; this.lblRating.Text = "Rating:"; // @@ -295,8 +283,6 @@ this.gbFileDetails.Controls.Add(this.gameinfoURLTextBox); this.gbFileDetails.Controls.Add(this.gameInfoURLLabel); this.gbFileDetails.Controls.Add(this.buttonViewImg); - this.gbFileDetails.Controls.Add(this.txtFilepath); - this.gbFileDetails.Controls.Add(this.label1); this.gbFileDetails.Controls.Add(this.cbRating); this.gbFileDetails.Controls.Add(this.txtOverview); this.gbFileDetails.Controls.Add(this.lblOverview); @@ -329,17 +315,18 @@ // txtYear // this.txtYear.BorderColor = System.Drawing.Color.Empty; - this.txtYear.Location = new System.Drawing.Point(96, 209); + this.txtYear.Location = new System.Drawing.Point(97, 186); this.txtYear.MaxLength = 4; this.txtYear.Name = "txtYear"; - this.txtYear.Size = new System.Drawing.Size(48, 21); + this.txtYear.Size = new System.Drawing.Size(60, 21); this.txtYear.TabIndex = 7; // // lblYear // - this.lblYear.Location = new System.Drawing.Point(8, 209); + this.lblYear.AutoSize = true; + this.lblYear.Location = new System.Drawing.Point(8, 189); this.lblYear.Name = "lblYear"; - this.lblYear.Size = new System.Drawing.Size(64, 17); + this.lblYear.Size = new System.Drawing.Size(33, 13); this.lblYear.TabIndex = 53; this.lblYear.Text = "Year:"; // @@ -348,16 +335,17 @@ this.txtManufacturer.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtManufacturer.BorderColor = System.Drawing.Color.Empty; - this.txtManufacturer.Location = new System.Drawing.Point(96, 183); + this.txtManufacturer.Location = new System.Drawing.Point(97, 159); this.txtManufacturer.Name = "txtManufacturer"; - this.txtManufacturer.Size = new System.Drawing.Size(373, 21); + this.txtManufacturer.Size = new System.Drawing.Size(365, 21); this.txtManufacturer.TabIndex = 6; // // lblManufacturer // - this.lblManufacturer.Location = new System.Drawing.Point(8, 183); + this.lblManufacturer.AutoSize = true; + this.lblManufacturer.Location = new System.Drawing.Point(8, 162); this.lblManufacturer.Name = "lblManufacturer"; - this.lblManufacturer.Size = new System.Drawing.Size(80, 17); + this.lblManufacturer.Size = new System.Drawing.Size(76, 13); this.lblManufacturer.TabIndex = 51; this.lblManufacturer.Text = "Manufacturer:"; // @@ -366,26 +354,28 @@ this.txtGenre.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtGenre.BorderColor = System.Drawing.Color.Empty; - this.txtGenre.Location = new System.Drawing.Point(96, 129); + this.txtGenre.Location = new System.Drawing.Point(97, 101); this.txtGenre.Multiline = true; this.txtGenre.Name = "txtGenre"; this.txtGenre.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.txtGenre.Size = new System.Drawing.Size(373, 52); + this.txtGenre.Size = new System.Drawing.Size(365, 52); this.txtGenre.TabIndex = 5; // // lblGenre // - this.lblGenre.Location = new System.Drawing.Point(8, 134); + this.lblGenre.AutoSize = true; + this.lblGenre.Location = new System.Drawing.Point(8, 104); this.lblGenre.Name = "lblGenre"; - this.lblGenre.Size = new System.Drawing.Size(64, 17); + this.lblGenre.Size = new System.Drawing.Size(40, 13); this.lblGenre.TabIndex = 49; this.lblGenre.Text = "Genre:"; // // lblImageFile // - this.lblImageFile.Location = new System.Drawing.Point(8, 108); + this.lblImageFile.AutoSize = true; + this.lblImageFile.Location = new System.Drawing.Point(8, 77); this.lblImageFile.Name = "lblImageFile"; - this.lblImageFile.Size = new System.Drawing.Size(64, 17); + this.lblImageFile.Size = new System.Drawing.Size(55, 13); this.lblImageFile.TabIndex = 47; this.lblImageFile.Text = "Imagefile:"; // @@ -393,9 +383,9 @@ // this.btnImageFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnImageFile.Image = global::GUIPrograms.Properties.Resources.browseButton_Image; - this.btnImageFile.Location = new System.Drawing.Point(476, 103); + this.btnImageFile.Location = new System.Drawing.Point(468, 72); this.btnImageFile.Name = "btnImageFile"; - this.btnImageFile.Size = new System.Drawing.Size(20, 22); + this.btnImageFile.Size = new System.Drawing.Size(31, 23); this.btnImageFile.TabIndex = 4; this.btnImageFile.UseVisualStyleBackColor = true; this.btnImageFile.Click += new System.EventHandler(this.btnImageFile_Click); @@ -405,9 +395,9 @@ this.txtFilename.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtFilename.BorderColor = System.Drawing.Color.Empty; - this.txtFilename.Location = new System.Drawing.Point(96, 52); + this.txtFilename.Location = new System.Drawing.Point(97, 47); this.txtFilename.Name = "txtFilename"; - this.txtFilename.Size = new System.Drawing.Size(373, 21); + this.txtFilename.Size = new System.Drawing.Size(365, 21); this.txtFilename.TabIndex = 1; // // txtImageFile @@ -415,9 +405,9 @@ this.txtImageFile.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtImageFile.BorderColor = System.Drawing.Color.Empty; - this.txtImageFile.Location = new System.Drawing.Point(96, 103); + this.txtImageFile.Location = new System.Drawing.Point(97, 74); this.txtImageFile.Name = "txtImageFile"; - this.txtImageFile.Size = new System.Drawing.Size(351, 21); + this.txtImageFile.Size = new System.Drawing.Size(328, 21); this.txtImageFile.TabIndex = 3; // // txtTitle @@ -425,24 +415,26 @@ this.txtTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtTitle.BorderColor = System.Drawing.Color.Empty; - this.txtTitle.Location = new System.Drawing.Point(96, 26); + this.txtTitle.Location = new System.Drawing.Point(97, 20); this.txtTitle.Name = "txtTitle"; - this.txtTitle.Size = new System.Drawing.Size(373, 21); + this.txtTitle.Size = new System.Drawing.Size(365, 21); this.txtTitle.TabIndex = 0; // // lblTitle // - this.lblTitle.Location = new System.Drawing.Point(8, 30); + this.lblTitle.AutoSize = true; + this.lblTitle.Location = new System.Drawing.Point(8, 23); this.lblTitle.Name = "lblTitle"; - this.lblTitle.Size = new System.Drawing.Size(56, 17); + this.lblTitle.Size = new System.Drawing.Size(31, 13); this.lblTitle.TabIndex = 46; this.lblTitle.Text = "Title:"; // // lblFilename // - this.lblFilename.Location = new System.Drawing.Point(8, 54); + this.lblFilename.AutoSize = true; + this.lblFilename.Location = new System.Drawing.Point(8, 50); this.lblFilename.Name = "lblFilename"; - this.lblFilename.Size = new System.Drawing.Size(64, 17); + this.lblFilename.Size = new System.Drawing.Size(53, 13); this.lblFilename.TabIndex = 45; this.lblFilename.Text = "Filename:"; // @@ -450,9 +442,9 @@ // this.btnFilename.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnFilename.Image = global::GUIPrograms.Properties.Resources.browseButton_Image; - this.btnFilename.Location = new System.Drawing.Point(476, 52); + this.btnFilename.Location = new System.Drawing.Point(468, 45); this.btnFilename.Name = "btnFilename"; - this.btnFilename.Size = new System.Drawing.Size(20, 21); + this.btnFilename.Size = new System.Drawing.Size(31, 23); this.btnFilename.TabIndex = 2; this.btnFilename.UseVisualStyleBackColor = true; this.btnFilename.Click += new System.EventHandler(this.btnFilename_Click); @@ -524,8 +516,6 @@ private System.Windows.Forms.Label gameInfoURLLabel; private MediaPortal.UserInterface.Controls.MPButton buttonViewImg; private System.Windows.Forms.ToolTip toolTip1; - private MediaPortal.UserInterface.Controls.MPTextBox txtFilepath; - private MediaPortal.UserInterface.Controls.MPLabel label1; private MediaPortal.UserInterface.Controls.MPButton btnOk; private MediaPortal.UserInterface.Controls.MPComboBox cbRating; private MediaPortal.UserInterface.Controls.MPTextBox txtOverview; Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.cs 2007-06-21 22:58:44 UTC (rev 589) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.cs 2007-06-21 23:20:23 UTC (rev 590) @@ -80,7 +80,6 @@ gbFileDetails.Text = CurApp.Title + ": " + CurFile.Title; txtTitle.Text = m_CurFile.Title; txtFilename.Text = m_CurFile.Filename; - txtFilepath.Text = m_CurFile.Filepath; txtImageFile.Text = m_CurFile.Imagefile; FileItemToGenre(); txtManufacturer.Text = m_CurFile.Manufacturer; @@ -177,7 +176,6 @@ { CurFile.Title = txtTitle.Text; CurFile.Filename = txtFilename.Text; - CurFile.Filepath = txtFilepath.Text; CurFile.Imagefile = txtImageFile.Text; GenreToFileItem(); CurFile.Manufacturer = txtManufacturer.Text; Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.resx =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.resx 2007-06-21 22:58:44 UTC (rev 589) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.resx 2007-06-21 23:20:23 UTC (rev 590) @@ -120,6 +120,9 @@ <metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>17, 17</value> </metadata> + <metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 17</value> + </metadata> <metadata name="openFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>109, 17</value> </metadata> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-21 22:58:46
|
Revision: 589 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=589&view=rev Author: chef_koch Date: 2007-06-21 15:58:44 -0700 (Thu, 21 Jun 2007) Log Message: ----------- removed links to my global files, should all should work properly again Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj 2007-06-21 22:55:25 UTC (rev 588) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj 2007-06-21 22:58:44 UTC (rev 589) @@ -165,13 +165,8 @@ </Compile> </ItemGroup> <ItemGroup> - <None Include="buttonViewImg.Image.bmp" /> - <None Include="deleteApplicationToolStripMenuItem.Image.png" /> <Content Include="MetaData\myProgramsAltFileDetailsInfo.xml" /> <Content Include="MetaData\myProgramsAltPreconfiguration.xml" /> - <None Include="searchButton.Image.png" /> - <None Include="Resources\BrowseFileOrFolder_Image.png" /> - <None Include="Resources\applicationExeButton.Image.png" /> </ItemGroup> <ItemGroup> <EmbeddedResource Include="Design\AppFilesImportProgress.resx"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-21 22:55:26
|
Revision: 588 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=588&view=rev Author: chef_koch Date: 2007-06-21 15:55:25 -0700 (Thu, 21 Jun 2007) Log Message: ----------- the resources were not embedded in global resources file Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/SetupForm.Designer.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/SetupForm.resx trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Properties/Resources.Designer.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Properties/Resources.resx Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/SetupForm.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/SetupForm.Designer.cs 2007-06-21 22:46:34 UTC (rev 587) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/SetupForm.Designer.cs 2007-06-21 22:55:25 UTC (rev 588) @@ -28,7 +28,6 @@ /// </summary> private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SetupForm)); System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Applications"); this.menuStrip = new System.Windows.Forms.MenuStrip(); this.addDeleteApplicationsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -68,7 +67,7 @@ this.addApplicationToolStripMenuItem, this.deleteApplicationToolStripMenuItem}); this.addDeleteApplicationsToolStripMenuItem.Name = "addDeleteApplicationsToolStripMenuItem"; - this.addDeleteApplicationsToolStripMenuItem.Size = new System.Drawing.Size(146, 20); + this.addDeleteApplicationsToolStripMenuItem.Size = new System.Drawing.Size(132, 20); this.addDeleteApplicationsToolStripMenuItem.Text = "Add/Delete applications"; // // addApplicationToolStripMenuItem @@ -78,20 +77,20 @@ this.addGroupnodeToolStripMenuItem, this.extendedApplicationItemToolStripMenuItem}); this.addApplicationToolStripMenuItem.Name = "addApplicationToolStripMenuItem"; - this.addApplicationToolStripMenuItem.Size = new System.Drawing.Size(169, 22); + this.addApplicationToolStripMenuItem.Size = new System.Drawing.Size(170, 22); this.addApplicationToolStripMenuItem.Text = "Add application"; // // applicationWithFiledirectoryToolStripMenuItem // this.applicationWithFiledirectoryToolStripMenuItem.Name = "applicationWithFiledirectoryToolStripMenuItem"; - this.applicationWithFiledirectoryToolStripMenuItem.Size = new System.Drawing.Size(208, 22); + this.applicationWithFiledirectoryToolStripMenuItem.Size = new System.Drawing.Size(207, 22); this.applicationWithFiledirectoryToolStripMenuItem.Text = "Applicationitem"; this.applicationWithFiledirectoryToolStripMenuItem.Click += new System.EventHandler(this.applicationWithFiledirectoryToolStripMenuItem_Click); // // addGroupnodeToolStripMenuItem // this.addGroupnodeToolStripMenuItem.Name = "addGroupnodeToolStripMenuItem"; - this.addGroupnodeToolStripMenuItem.Size = new System.Drawing.Size(208, 22); + this.addGroupnodeToolStripMenuItem.Size = new System.Drawing.Size(207, 22); this.addGroupnodeToolStripMenuItem.Text = "Groupingtem"; this.addGroupnodeToolStripMenuItem.Click += new System.EventHandler(this.addGroupnodeToolStripMenuItem_Click); // @@ -101,28 +100,28 @@ this.mameImportToolStripMenuItem, this.importGamebaseItemToolStripMenuItem}); this.extendedApplicationItemToolStripMenuItem.Name = "extendedApplicationItemToolStripMenuItem"; - this.extendedApplicationItemToolStripMenuItem.Size = new System.Drawing.Size(208, 22); + this.extendedApplicationItemToolStripMenuItem.Size = new System.Drawing.Size(207, 22); this.extendedApplicationItemToolStripMenuItem.Text = "Extended applicationItem"; // // mameImportToolStripMenuItem // this.mameImportToolStripMenuItem.Name = "mameImportToolStripMenuItem"; - this.mameImportToolStripMenuItem.Size = new System.Drawing.Size(168, 22); + this.mameImportToolStripMenuItem.Size = new System.Drawing.Size(170, 22); this.mameImportToolStripMenuItem.Text = "Import Mame"; this.mameImportToolStripMenuItem.Click += new System.EventHandler(this.mameImportToolStripMenuItem_Click); // // importGamebaseItemToolStripMenuItem // this.importGamebaseItemToolStripMenuItem.Name = "importGamebaseItemToolStripMenuItem"; - this.importGamebaseItemToolStripMenuItem.Size = new System.Drawing.Size(168, 22); + this.importGamebaseItemToolStripMenuItem.Size = new System.Drawing.Size(170, 22); this.importGamebaseItemToolStripMenuItem.Text = "Import Gamebase"; this.importGamebaseItemToolStripMenuItem.Click += new System.EventHandler(this.importGamebaseItemToolStripMenuItem_Click); // // deleteApplicationToolStripMenuItem // - this.deleteApplicationToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("deleteApplicationToolStripMenuItem.Image"))); + this.deleteApplicationToolStripMenuItem.Image = global::GUIPrograms.Properties.Resources.deleteButton_Image; this.deleteApplicationToolStripMenuItem.Name = "deleteApplicationToolStripMenuItem"; - this.deleteApplicationToolStripMenuItem.Size = new System.Drawing.Size(169, 22); + this.deleteApplicationToolStripMenuItem.Size = new System.Drawing.Size(170, 22); this.deleteApplicationToolStripMenuItem.Text = "Delete application"; this.deleteApplicationToolStripMenuItem.Click += new System.EventHandler(this.deleteApplicationToolStripMenuItem_Click); // @@ -131,7 +130,7 @@ this.toolsStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.premadeConfigurationsToolStripMenuItem}); this.toolsStripMenuItem.Name = "toolsStripMenuItem"; - this.toolsStripMenuItem.Size = new System.Drawing.Size(48, 20); + this.toolsStripMenuItem.Size = new System.Drawing.Size(44, 20); this.toolsStripMenuItem.Text = "Tools"; // // premadeConfigurationsToolStripMenuItem @@ -139,13 +138,13 @@ this.premadeConfigurationsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.emulatorSetupToolStripMenuItem}); this.premadeConfigurationsToolStripMenuItem.Name = "premadeConfigurationsToolStripMenuItem"; - this.premadeConfigurationsToolStripMenuItem.Size = new System.Drawing.Size(153, 22); + this.premadeConfigurationsToolStripMenuItem.Size = new System.Drawing.Size(155, 22); this.premadeConfigurationsToolStripMenuItem.Text = "Configurations"; // // emulatorSetupToolStripMenuItem // this.emulatorSetupToolStripMenuItem.Name = "emulatorSetupToolStripMenuItem"; - this.emulatorSetupToolStripMenuItem.Size = new System.Drawing.Size(155, 22); + this.emulatorSetupToolStripMenuItem.Size = new System.Drawing.Size(158, 22); this.emulatorSetupToolStripMenuItem.Text = "Emulator Setup"; // // treeView @@ -162,15 +161,15 @@ treeNode1}); this.treeView.Size = new System.Drawing.Size(224, 576); this.treeView.TabIndex = 8; - this.treeView.DragDrop += new System.Windows.Forms.DragEventHandler(this.treeView_DragDrop); - this.treeView.DragOver += new System.Windows.Forms.DragEventHandler(this.treeView_DragOver); this.treeView.AfterLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.treeView_AfterLabelEdit); + this.treeView.DragDrop += new System.Windows.Forms.DragEventHandler(this.treeView_DragDrop); this.treeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView_AfterSelect); - this.treeView.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView_NodeMouseClick); this.treeView.DragEnter += new System.Windows.Forms.DragEventHandler(this.treeView_DragEnter); + this.treeView.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView_NodeMouseClick); this.treeView.BeforeLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.treeView_BeforeLabelEdit); this.treeView.BeforeSelect += new System.Windows.Forms.TreeViewCancelEventHandler(this.treeView_BeforeSelect); this.treeView.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.treeView_ItemDrag); + this.treeView.DragOver += new System.Windows.Forms.DragEventHandler(this.treeView_DragOver); // // tabControl // @@ -230,8 +229,8 @@ this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "SetupForm"; - this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.SetupForm_FormClosed); this.Load += new System.EventHandler(this.SetupForm_Load); + this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.SetupForm_FormClosed); this.menuStrip.ResumeLayout(false); this.menuStrip.PerformLayout(); this.tabControl.ResumeLayout(false); Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/SetupForm.resx =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/SetupForm.resx 2007-06-21 22:46:34 UTC (rev 587) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/SetupForm.resx 2007-06-21 22:55:25 UTC (rev 588) @@ -120,17 +120,4 @@ <metadata name="menuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>17, 17</value> </metadata> - <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> - <data name="deleteApplicationToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAThJREFUOE9jYKAG - +Hx4z//3axb/J8Ws4421EPUP1iz7/7Q87f+7vnowfjKpE6dBHzev+3+3ruT/kuoqVDWbO1r+P+tpABvw - pjrr/8MEPwxDXmRF/98XiSmO4upd+en/n0W7/39mr/r/np4I2BCQi66o8/1f7uVIvBdP6kn+vyDL9P+Q - DDMYz44MJl4zzElH5VjBmvfLsJKu+ay1+v9TBtL/V7pY/b+sJ/b/uJUa8YZcNFf6f8FA/P/SsAC4pqtG - 0v+PZScQNuSyq+H/87oi/9fYGmEoBhmCN53cjfEG23xIH7vC/U01/487GWI35M2sif+vO2iC/b24KA+n - TQf8HLDLPU0O+n/TTR9sAKHkvD3IH1MNyIA7Pqb/D5sRDu09ddA8gGzT8aLM/3eD7f8vzssi6AJCLiRZ - HgCBbKVnemi5TQAAAABJRU5ErkJggg== -</value> - </data> </root> \ No newline at end of file Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj 2007-06-21 22:46:34 UTC (rev 587) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj 2007-06-21 22:55:25 UTC (rev 588) @@ -166,6 +166,7 @@ </ItemGroup> <ItemGroup> <None Include="buttonViewImg.Image.bmp" /> + <None Include="deleteApplicationToolStripMenuItem.Image.png" /> <Content Include="MetaData\myProgramsAltFileDetailsInfo.xml" /> <Content Include="MetaData\myProgramsAltPreconfiguration.xml" /> <None Include="searchButton.Image.png" /> Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Properties/Resources.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Properties/Resources.Designer.cs 2007-06-21 22:46:34 UTC (rev 587) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Properties/Resources.Designer.cs 2007-06-21 22:55:25 UTC (rev 588) @@ -67,6 +67,13 @@ } } + internal static System.Drawing.Bitmap deleteButton_Image { + get { + object obj = ResourceManager.GetObject("deleteButton_Image", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + internal static System.Drawing.Bitmap previewButton_Image { get { object obj = ResourceManager.GetObject("previewButton_Image", resourceCulture); Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Properties/Resources.resx =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Properties/Resources.resx 2007-06-21 22:46:34 UTC (rev 587) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Properties/Resources.resx 2007-06-21 22:55:25 UTC (rev 588) @@ -132,11 +132,47 @@ IzAAAAAASUVORK5CYII= </value> </data> - <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> - <data name="previewButton_Image" type="System.Resources.ResXFileRef, System.Windows.Forms"> - <value>..\buttonViewImg.Image.bmp;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + <data name="deleteButton_Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAThJREFUOE9jYKAG + +Hx4z//3axb/J8Ws4421EPUP1iz7/7Q87f+7vnowfjKpE6dBHzev+3+3ruT/kuoqVDWbO1r+P+tpABvw + pjrr/8MEPwxDXmRF/98XiSmO4upd+en/n0W7/39mr/r/np4I2BCQi66o8/1f7uVIvBdP6kn+vyDL9P+Q + DDMYz44MJl4zzElH5VjBmvfLsJKu+ay1+v9TBtL/V7pY/b+sJ/b/uJUa8YZcNFf6f8FA/P/SsAC4pqtG + 0v+PZScQNuSyq+H/87oi/9fYGmEoBhmCN53cjfEG23xIH7vC/U01/487GWI35M2sif+vO2iC/b24KA+n + TQf8HLDLPU0O+n/TTR9sAKHkvD3IH1MNyIA7Pqb/D5sRDu09ddA8gGzT8aLM/3eD7f8vzssi6AJCLiRZ + HgCBbKVnemi5TQAAAABJRU5ErkJggg== +</value> </data> - <data name="searchButton_Image" type="System.Resources.ResXFileRef, System.Windows.Forms"> - <value>..\searchButton.Image.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + <data name="previewButton_Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + Qk2qAwAAAAAAADYAAAAoAAAAEQAAABEAAAABABgAAAAAAAAAAADEDgAAxA4AAAAAAAAAAAAA2Ons2Ons + 2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Onsgdjp7ICAgAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANjp7IHY6eyAgIAA//8AgAAAgAAA//8AAAAA + //8AgAAAAAAAgAAA//8AAAD//wAA//8AAADY6eyB2OnsgICAAAAAAP////8AAAAAAP//AIAAAAAA//8A + AP//AAAAAIAAAP//AAAAAAAA2Onsgdjp7ICAgP//AAAAAAD//wCAAP//AACAAAD//wCAgAAAAACAAAD/ + /wAAAP//AAAAANjp7IHY6eyAgID//////wAAAAAA//8A//8AAAAAgAAAAAAA//8AgAAAAAD//wD///8A + AADY6eyB2OnsgICA//8A//////8AAAAA//8AAP//AAAA////AAAAAAAA//8A//////8AAAAA2Onsgdjp + 7ICAgP//////AP//////AAAAAAAAAP//////AP//////AP//////AP///wAAANjp7IHY6eyAgID//wD/ + /////wD//////wD//////wD//////wD//////wD//////wAAAADY6eyB2OnsgICA//////8A//////8A + //////8A//////8A////AAAAAAAA//8A////AAAA2Onsgdjp7ICAgP//AP//////AP//////AP////// + AP///wAAAP///wD//wAAAP//AAAAANjp7IHY6eyAgID//////wD//////wD//////wD//////wAAAAAA + //////8AAAD///8AAADY6eyB2OnsgICA//8A//////8A//////8A//////8A//////8AAAAAAAAA//// + //8AAAAA2Onsgdjp7ICAgP//////AP//////AP//////AP//////AP//////AP//////AP///wAAANjp + 7IHY6eyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDY6eyB2Ons2Ons + 2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Onsgdjp7Njp7Njp7Njp7Njp + 7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7IE= +</value> </data> + <data name="searchButton_Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAARlJREFUOE/FkkFr + wkAQhddfIb2W0l/gyZP/zkPrOeSgiMSKNmqgQYgQtBbFQw9FkFZpi3qRgIhie37yEtdadRN6amBgN/Pe + NzOZxETE0+494/N9LDxv7ivj8QtxeXUtUslELMorSlYT2bKN6uMrHgZrP3jmO+ZCAaxMUWcCP4YeMF0B + H8vgTgg1SkiucAen/4buLDB5X0EsvgNQ+2WCYqWuBqRvMvukNNMoozXa4FBz0slt5gfApGyf3XCcp/EG + x5pfED1fPGmPZgngeBxT+Q3shoOa7SgFpZodvgVd1/0Wz0HurQZYQFndMAwQwKCQd8IYPIfuX9M0mKYZ + LTxHYQXXdUFI5G96LJDm0NWoqP9nZkdyXX+eeWfYAqIDETY5OFC+AAAAAElFTkSuQmCC +</value> + </data> </root> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-21 22:46:40
|
Revision: 587 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=587&view=rev Author: chef_koch Date: 2007-06-21 15:46:34 -0700 (Thu, 21 Jun 2007) Log Message: ----------- moved button images to global properties file, no need to store it for each button anymore Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesView.Designer.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesView.resx trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.Designer.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.resx trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.Designer.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.resx trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj Added Paths: ----------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Properties/Resources.Designer.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Properties/Resources.resx Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesView.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesView.Designer.cs 2007-06-21 22:04:32 UTC (rev 586) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesView.Designer.cs 2007-06-21 22:46:34 UTC (rev 587) @@ -82,8 +82,8 @@ this.fileListView.TabIndex = 1; this.fileListView.UseCompatibleStateImageBehavior = false; this.fileListView.View = System.Windows.Forms.View.Details; + this.fileListView.SelectedIndexChanged += new System.EventHandler(this.fileListView_SelectedIndexChanged); this.fileListView.DoubleClick += new System.EventHandler(this.fileListView_DoubleClick); - this.fileListView.SelectedIndexChanged += new System.EventHandler(this.fileListView_SelectedIndexChanged); // // fileTitle // @@ -183,13 +183,13 @@ this.contextFavouritesMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.grouperToolStripMenuItem}); this.contextFavouritesMenuStrip.Name = "contextFavouritesMenuStrip"; - this.contextFavouritesMenuStrip.Size = new System.Drawing.Size(118, 26); + this.contextFavouritesMenuStrip.Size = new System.Drawing.Size(125, 26); this.contextFavouritesMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.contextFavouritesMenuStrip_Opening); // // grouperToolStripMenuItem // this.grouperToolStripMenuItem.Name = "grouperToolStripMenuItem"; - this.grouperToolStripMenuItem.Size = new System.Drawing.Size(117, 22); + this.grouperToolStripMenuItem.Size = new System.Drawing.Size(124, 22); this.grouperToolStripMenuItem.Text = "Grouper"; // // fileExtensionsTextBox @@ -197,7 +197,7 @@ this.fileExtensionsTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.fileExtensionsTextBox.Location = new System.Drawing.Point(85, 71); this.fileExtensionsTextBox.Name = "fileExtensionsTextBox"; - this.fileExtensionsTextBox.Size = new System.Drawing.Size(330, 20); + this.fileExtensionsTextBox.Size = new System.Drawing.Size(330, 21); this.fileExtensionsTextBox.TabIndex = 28; // // imageDirsTextBox @@ -205,7 +205,7 @@ this.imageDirsTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.imageDirsTextBox.Location = new System.Drawing.Point(85, 45); this.imageDirsTextBox.Name = "imageDirsTextBox"; - this.imageDirsTextBox.Size = new System.Drawing.Size(330, 20); + this.imageDirsTextBox.Size = new System.Drawing.Size(330, 21); this.imageDirsTextBox.TabIndex = 27; // // fileDirTextBox @@ -213,12 +213,12 @@ this.fileDirTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.fileDirTextBox.Location = new System.Drawing.Point(85, 19); this.fileDirTextBox.Name = "fileDirTextBox"; - this.fileDirTextBox.Size = new System.Drawing.Size(330, 20); + this.fileDirTextBox.Size = new System.Drawing.Size(330, 21); this.fileDirTextBox.TabIndex = 26; // // fileDirButton // - this.fileDirButton.Image = ((System.Drawing.Image)(resources.GetObject("fileDirButton.Image"))); + this.fileDirButton.Image = global::GUIPrograms.Properties.Resources.browseButton_Image; this.fileDirButton.Location = new System.Drawing.Point(426, 16); this.fileDirButton.Name = "fileDirButton"; this.fileDirButton.Size = new System.Drawing.Size(31, 23); @@ -228,7 +228,7 @@ // // fileExtensionsbutton // - this.fileExtensionsbutton.Image = ((System.Drawing.Image)(resources.GetObject("fileExtensionsbutton.Image"))); + this.fileExtensionsbutton.Image = global::GUIPrograms.Properties.Resources.searchButton_Image; this.fileExtensionsbutton.Location = new System.Drawing.Point(426, 68); this.fileExtensionsbutton.Name = "fileExtensionsbutton"; this.fileExtensionsbutton.Size = new System.Drawing.Size(31, 23); @@ -238,7 +238,7 @@ // // imageDirButton // - this.imageDirButton.Image = ((System.Drawing.Image)(resources.GetObject("imageDirButton.Image"))); + this.imageDirButton.Image = global::GUIPrograms.Properties.Resources.browseButton_Image; this.imageDirButton.Location = new System.Drawing.Point(426, 42); this.imageDirButton.Name = "imageDirButton"; this.imageDirButton.Size = new System.Drawing.Size(31, 23); @@ -302,7 +302,7 @@ this.importPlaychoiceCheckBox.AutoSize = true; this.importPlaychoiceCheckBox.Location = new System.Drawing.Point(299, 345); this.importPlaychoiceCheckBox.Name = "importPlaychoiceCheckBox"; - this.importPlaychoiceCheckBox.Size = new System.Drawing.Size(161, 17); + this.importPlaychoiceCheckBox.Size = new System.Drawing.Size(160, 17); this.importPlaychoiceCheckBox.TabIndex = 87; this.importPlaychoiceCheckBox.Text = "Import Playchoice/Vs games"; this.importPlaychoiceCheckBox.UseVisualStyleBackColor = true; @@ -312,7 +312,7 @@ this.importMahjongCheckBox.AutoSize = true; this.importMahjongCheckBox.Location = new System.Drawing.Point(299, 321); this.importMahjongCheckBox.Name = "importMahjongCheckBox"; - this.importMahjongCheckBox.Size = new System.Drawing.Size(133, 17); + this.importMahjongCheckBox.Size = new System.Drawing.Size(136, 17); this.importMahjongCheckBox.TabIndex = 86; this.importMahjongCheckBox.Text = "Import Mahjong games"; this.importMahjongCheckBox.UseVisualStyleBackColor = true; @@ -322,7 +322,7 @@ this.validImagesCheckBox.AutoSize = true; this.validImagesCheckBox.Location = new System.Drawing.Point(299, 275); this.validImagesCheckBox.Name = "validImagesCheckBox"; - this.validImagesCheckBox.Size = new System.Drawing.Size(151, 17); + this.validImagesCheckBox.Size = new System.Drawing.Size(154, 17); this.validImagesCheckBox.TabIndex = 84; this.validImagesCheckBox.Text = "Only files with valid images"; this.validImagesCheckBox.UseVisualStyleBackColor = true; @@ -332,7 +332,7 @@ this.importOriginalsCheckBox.AutoSize = true; this.importOriginalsCheckBox.Location = new System.Drawing.Point(299, 298); this.importOriginalsCheckBox.Name = "importOriginalsCheckBox"; - this.importOriginalsCheckBox.Size = new System.Drawing.Size(119, 17); + this.importOriginalsCheckBox.Size = new System.Drawing.Size(123, 17); this.importOriginalsCheckBox.TabIndex = 85; this.importOriginalsCheckBox.Text = "Only import originals"; this.importOriginalsCheckBox.UseVisualStyleBackColor = true; @@ -365,7 +365,7 @@ this.gamebaseDBTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gamebaseDBTextBox.Location = new System.Drawing.Point(85, 96); this.gamebaseDBTextBox.Name = "gamebaseDBTextBox"; - this.gamebaseDBTextBox.Size = new System.Drawing.Size(330, 20); + this.gamebaseDBTextBox.Size = new System.Drawing.Size(330, 21); this.gamebaseDBTextBox.TabIndex = 89; this.toolTip.SetToolTip(this.gamebaseDBTextBox, "Select a gamebase (*.mdb) file to import\r\n"); // @@ -379,6 +379,7 @@ // // gamebaseDBButton // + this.gamebaseDBButton.Image = global::GUIPrograms.Properties.Resources.browseButton_Image; this.gamebaseDBButton.Location = new System.Drawing.Point(426, 93); this.gamebaseDBButton.Name = "gamebaseDBButton"; this.gamebaseDBButton.Size = new System.Drawing.Size(31, 23); Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesView.resx =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesView.resx 2007-06-21 22:04:32 UTC (rev 586) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesView.resx 2007-06-21 22:46:34 UTC (rev 587) @@ -172,46 +172,6 @@ <metadata name="contextFavouritesMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>17, 17</value> </metadata> - <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> - <data name="fileDirButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAahJREFUOE+dkktL - AlEYhkdK+gH9kX5CWzdtIigiWpRtDIqIIEpyEVSLoAtEmzASiaiIcNFlE0WGZJQpBoJWhpKX0bTUyktf - 8x4544zjIhJe5szxe57vO0d1Kc8cCXWfkr4i6EtNbBdrXaEsNOtbhNa2SV19rRB3W4jKx/RTPJRT+d4n - pJzbrD7zdnoPrRJqGwoAKyGA1VipmN1ggeTVNaUVYJMLOCSDmTUqIpLgK73eWPByMSqPybsxSMpXcoU+ - YwvsWYgvUcQ5oZ0AAoyHMIEEfqeWq2BiUU7SaybUau7g+WxYBUPA4UJsjq1z0XkKn49QzD9LHoeJnty2 - mihw1M8EOCMfGSCSj8zQR9jCEjw1MhHWru1BtYBdknROjKyEIeASNMo+mkkURXJuGWuCB0dPFcZFSV15 - Rw5ngmMMRN1bYFwr8B10yqMDBghIGQhQl/abtIL7vQ72E+F8yq5cgK4QoE70DlDfSUh9hNsdAxPw0VGs - 7A4B3lGXvOslg91Hl9ah2h1c29rlCSCBoF6Cd9QlbrooetVNN7vTagG+/EvQWQVr/lX/2PgFSHRoW2Mt - IzAAAAAASUVORK5CYII= -</value> - </data> - <data name="fileExtensionsbutton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAARlJREFUOE/FkkFr - wkAQhddfIb2W0l/gyZP/zkPrOeSgiMSKNmqgQYgQtBbFQw9FkFZpi3qRgIhie37yEtdadRN6amBgN/Pe - NzOZxETE0+494/N9LDxv7ivj8QtxeXUtUslELMorSlYT2bKN6uMrHgZrP3jmO+ZCAaxMUWcCP4YeMF0B - H8vgTgg1SkiucAen/4buLDB5X0EsvgNQ+2WCYqWuBqRvMvukNNMoozXa4FBz0slt5gfApGyf3XCcp/EG - x5pfED1fPGmPZgngeBxT+Q3shoOa7SgFpZodvgVd1/0Wz0HurQZYQFndMAwQwKCQd8IYPIfuX9M0mKYZ - LTxHYQXXdUFI5G96LJDm0NWoqP9nZkdyXX+eeWfYAqIDETY5OFC+AAAAAElFTkSuQmCC -</value> - </data> - <data name="imageDirButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAahJREFUOE+dkktL - AlEYhkdK+gH9kX5CWzdtIigiWpRtDIqIIEpyEVSLoAtEmzASiaiIcNFlE0WGZJQpBoJWhpKX0bTUyktf - 8x4544zjIhJe5szxe57vO0d1Kc8cCXWfkr4i6EtNbBdrXaEsNOtbhNa2SV19rRB3W4jKx/RTPJRT+d4n - pJzbrD7zdnoPrRJqGwoAKyGA1VipmN1ggeTVNaUVYJMLOCSDmTUqIpLgK73eWPByMSqPybsxSMpXcoU+ - YwvsWYgvUcQ5oZ0AAoyHMIEEfqeWq2BiUU7SaybUau7g+WxYBUPA4UJsjq1z0XkKn49QzD9LHoeJnty2 - mihw1M8EOCMfGSCSj8zQR9jCEjw1MhHWru1BtYBdknROjKyEIeASNMo+mkkURXJuGWuCB0dPFcZFSV15 - Rw5ngmMMRN1bYFwr8B10yqMDBghIGQhQl/abtIL7vQ72E+F8yq5cgK4QoE70DlDfSUh9hNsdAxPw0VGs - 7A4B3lGXvOslg91Hl9ah2h1c29rlCSCBoF6Cd9QlbrooetVNN7vTagG+/EvQWQVr/lX/2PgFSHRoW2Mt - IzAAAAAASUVORK5CYII= -</value> - </data> <metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>353, 17</value> </metadata> Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.Designer.cs 2007-06-21 22:04:32 UTC (rev 586) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.Designer.cs 2007-06-21 22:46:34 UTC (rev 587) @@ -29,7 +29,6 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AppSettingsBase)); this.winTypeLabel = new System.Windows.Forms.Label(); this.enabledCheckbox = new System.Windows.Forms.CheckBox(); this.titleLabel = new System.Windows.Forms.Label(); @@ -106,7 +105,7 @@ // // applicationExeButton // - this.applicationExeButton.Image = ((System.Drawing.Image)(resources.GetObject("applicationExeButton.Image"))); + this.applicationExeButton.Image = global::GUIPrograms.Properties.Resources.browseButton_Image; this.applicationExeButton.Location = new System.Drawing.Point(427, 69); this.applicationExeButton.Name = "applicationExeButton"; this.applicationExeButton.Size = new System.Drawing.Size(31, 23); @@ -214,7 +213,7 @@ // // applicationImageButton // - this.applicationImageButton.Image = ((System.Drawing.Image)(resources.GetObject("applicationImageButton.Image"))); + this.applicationImageButton.Image = global::GUIPrograms.Properties.Resources.browseButton_Image; this.applicationImageButton.Location = new System.Drawing.Point(427, 94); this.applicationImageButton.Name = "applicationImageButton"; this.applicationImageButton.Size = new System.Drawing.Size(31, 23); @@ -224,7 +223,7 @@ // // startupDirButton // - this.startupDirButton.Image = ((System.Drawing.Image)(resources.GetObject("startupDirButton.Image"))); + this.startupDirButton.Image = global::GUIPrograms.Properties.Resources.browseButton_Image; this.startupDirButton.Location = new System.Drawing.Point(427, 174); this.startupDirButton.Name = "startupDirButton"; this.startupDirButton.Size = new System.Drawing.Size(31, 23); Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.resx =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.resx 2007-06-21 22:04:32 UTC (rev 586) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.resx 2007-06-21 22:46:34 UTC (rev 587) @@ -117,49 +117,6 @@ <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> - <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> - <data name="applicationExeButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAahJREFUOE+dkktL - AlEYhkdK+gH9kX5CWzdtIigiWpRtDIqIIEpyEVSLoAtEmzASiaiIcNFlE0WGZJQpBoJWhpKX0bTUyktf - 8x4544zjIhJe5szxe57vO0d1Kc8cCXWfkr4i6EtNbBdrXaEsNOtbhNa2SV19rRB3W4jKx/RTPJRT+d4n - pJzbrD7zdnoPrRJqGwoAKyGA1VipmN1ggeTVNaUVYJMLOCSDmTUqIpLgK73eWPByMSqPybsxSMpXcoU+ - YwvsWYgvUcQ5oZ0AAoyHMIEEfqeWq2BiUU7SaybUau7g+WxYBUPA4UJsjq1z0XkKn49QzD9LHoeJnty2 - mihw1M8EOCMfGSCSj8zQR9jCEjw1MhHWru1BtYBdknROjKyEIeASNMo+mkkURXJuGWuCB0dPFcZFSV15 - Rw5ngmMMRN1bYFwr8B10yqMDBghIGQhQl/abtIL7vQ72E+F8yq5cgK4QoE70DlDfSUh9hNsdAxPw0VGs - 7A4B3lGXvOslg91Hl9ah2h1c29rlCSCBoF6Cd9QlbrooetVNN7vTagG+/EvQWQVr/lX/2PgFSHRoW2Mt - IzAAAAAASUVORK5CYII= -</value> - </data> - <data name="applicationImageButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAahJREFUOE+dkktL - AlEYhkdK+gH9kX5CWzdtIigiWpRtDIqIIEpyEVSLoAtEmzASiaiIcNFlE0WGZJQpBoJWhpKX0bTUyktf - 8x4544zjIhJe5szxe57vO0d1Kc8cCXWfkr4i6EtNbBdrXaEsNOtbhNa2SV19rRB3W4jKx/RTPJRT+d4n - pJzbrD7zdnoPrRJqGwoAKyGA1VipmN1ggeTVNaUVYJMLOCSDmTUqIpLgK73eWPByMSqPybsxSMpXcoU+ - YwvsWYgvUcQ5oZ0AAoyHMIEEfqeWq2BiUU7SaybUau7g+WxYBUPA4UJsjq1z0XkKn49QzD9LHoeJnty2 - mihw1M8EOCMfGSCSj8zQR9jCEjw1MhHWru1BtYBdknROjKyEIeASNMo+mkkURXJuGWuCB0dPFcZFSV15 - Rw5ngmMMRN1bYFwr8B10yqMDBghIGQhQl/abtIL7vQ72E+F8yq5cgK4QoE70DlDfSUh9hNsdAxPw0VGs - 7A4B3lGXvOslg91Hl9ah2h1c29rlCSCBoF6Cd9QlbrooetVNN7vTagG+/EvQWQVr/lX/2PgFSHRoW2Mt - IzAAAAAASUVORK5CYII= -</value> - </data> - <data name="startupDirButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAahJREFUOE+dkktL - AlEYhkdK+gH9kX5CWzdtIigiWpRtDIqIIEpyEVSLoAtEmzASiaiIcNFlE0WGZJQpBoJWhpKX0bTUyktf - 8x4544zjIhJe5szxe57vO0d1Kc8cCXWfkr4i6EtNbBdrXaEsNOtbhNa2SV19rRB3W4jKx/RTPJRT+d4n - pJzbrD7zdnoPrRJqGwoAKyGA1VipmN1ggeTVNaUVYJMLOCSDmTUqIpLgK73eWPByMSqPybsxSMpXcoU+ - YwvsWYgvUcQ5oZ0AAoyHMIEEfqeWq2BiUU7SaybUau7g+WxYBUPA4UJsjq1z0XkKn49QzD9LHoeJnty2 - mihw1M8EOCMfGSCSj8zQR9jCEjw1MhHWru1BtYBdknROjKyEIeASNMo+mkkURXJuGWuCB0dPFcZFSV15 - Rw5ngmMMRN1bYFwr8B10yqMDBghIGQhQl/abtIL7vQ72E+F8yq5cgK4QoE70DlDfSUh9hNsdAxPw0VGs - 7A4B3lGXvOslg91Hl9ah2h1c29rlCSCBoF6Cd9QlbrooetVNN7vTagG+/EvQWQVr/lX/2PgFSHRoW2Mt - IzAAAAAASUVORK5CYII= -</value> - </data> <metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>17, 17</value> </metadata> Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.Designer.cs 2007-06-21 22:04:32 UTC (rev 586) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.Designer.cs 2007-06-21 22:46:34 UTC (rev 587) @@ -29,7 +29,6 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FileDetailsForm)); this.gameinfoURLTextBox = new System.Windows.Forms.TextBox(); this.gameInfoURLLabel = new System.Windows.Forms.Label(); this.buttonViewImg = new MediaPortal.UserInterface.Controls.MPButton(); @@ -95,7 +94,7 @@ // buttonViewImg // this.buttonViewImg.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.buttonViewImg.Image = ((System.Drawing.Image)(resources.GetObject("buttonViewImg.Image"))); + this.buttonViewImg.Image = global::GUIPrograms.Properties.Resources.previewButton_Image; this.buttonViewImg.Location = new System.Drawing.Point(440, 103); this.buttonViewImg.Name = "buttonViewImg"; this.buttonViewImg.Size = new System.Drawing.Size(20, 22); @@ -393,7 +392,7 @@ // btnImageFile // this.btnImageFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.btnImageFile.Image = ((System.Drawing.Image)(resources.GetObject("btnImageFile.Image"))); + this.btnImageFile.Image = global::GUIPrograms.Properties.Resources.browseButton_Image; this.btnImageFile.Location = new System.Drawing.Point(476, 103); this.btnImageFile.Name = "btnImageFile"; this.btnImageFile.Size = new System.Drawing.Size(20, 22); @@ -450,7 +449,7 @@ // btnFilename // this.btnFilename.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.btnFilename.Image = ((System.Drawing.Image)(resources.GetObject("btnFilename.Image"))); + this.btnFilename.Image = global::GUIPrograms.Properties.Resources.browseButton_Image; this.btnFilename.Location = new System.Drawing.Point(476, 52); this.btnFilename.Name = "btnFilename"; this.btnFilename.Size = new System.Drawing.Size(20, 21); Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.resx =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.resx 2007-06-21 22:04:32 UTC (rev 586) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.resx 2007-06-21 22:46:34 UTC (rev 587) @@ -117,62 +117,9 @@ <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> - <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> - <data name="buttonViewImg.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - Qk2qAwAAAAAAADYAAAAoAAAAEQAAABEAAAABABgAAAAAAAAAAADEDgAAxA4AAAAAAAAAAAAA2Ons2Ons - 2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2OnsB9jp7ICAgAAAAAAAAAAA - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANjp7AfY6eyAgIAA//8AgAAAgAAA//8AAAAA - //8AgAAAAAAAgAAA//8AAAD//wAA//8AAADY6ewH2OnsgICAAAAAAP////8AAAAAAP//AIAAAAAA//8A - AP//AAAAAIAAAP//AAAAAAAA2OnsB9jp7ICAgP//AAAAAAD//wCAAP//AACAAAD//wCAgAAAAACAAAD/ - /wAAAP//AAAAANjp7AfY6eyAgID//////wAAAAAA//8A//8AAAAAgAAAAAAA//8AgAAAAAD//wD///8A - AADY6ewH2OnsgICA//8A//////8AAAAA//8AAP//AAAA////AAAAAAAA//8A//////8AAAAA2OnsB9jp - 7ICAgP//////AP//////AAAAAAAAAP//////AP//////AP//////AP///wAAANjp7AfY6eyAgID//wD/ - /////wD//////wD//////wD//////wD//////wD//////wAAAADY6ewH2OnsgICA//////8A//////8A - //////8A//////8A////AAAAAAAA//8A////AAAA2OnsB9jp7ICAgP//AP//////AP//////AP////// - AP///wAAAP///wD//wAAAP//AAAAANjp7AfY6eyAgID//////wD//////wD//////wD//////wAAAAAA - //////8AAAD///8AAADY6ewH2OnsgICA//8A//////8A//////8A//////8A//////8AAAAAAAAA//// - //8AAAAA2OnsB9jp7ICAgP//////AP//////AP//////AP//////AP//////AP//////AP///wAAANjp - 7AfY6eyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDY6ewH2Ons2Ons - 2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2OnsB9jp7Njp7Njp7Njp7Njp - 7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7D8= -</value> - </data> <metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>17, 17</value> </metadata> - <data name="btnImageFile.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - Qk2mAgAAAAAAADYAAAAoAAAADwAAAA0AAAABABgAAAAAAAAAAADEDgAAxA4AAAAAAAAAAAAA////AAAA - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICAQMDAQMDAQMDAQMDAQMDA - QMDAQMDAQMDAQMDAQMDAQMDAQMDAQMDAAAAAAAAAAICA////gMD/gP//gMD/gP//gMD/gP//gMD/gP// - gMD/gMD/gMD/QMDAAAAAAAAAAICA////gP//gP//gP//gMD/gP//gMD/gP//gMD/gP//gMD/gMD/QMDA - AAAAAAAAAICA////gP//gP//gP//gP//gP//gP//gMD/gP//gMD/gP//gMD/QMDAAAAAAAAAAICA//// - gP//gP//gP//gP//gP//gMD/gP//gMD/gP//gMD/gP//QMDAAAAAAAAAAICA////gP//gP//gP//gP// - gP//gP//gP//gP//gMD/gP//gMD/QMDAAAAAAAAAAICA////gP//gP//gP//gP//gP//gP//gP//gMD/ - gP//gMD/gP//QMDAAAAAAAAAAICA////gP//gP//gP//gP//gP//gP//gP//gP//gP//gP//gMD/QMDA - AAAAAAAAAICA////////////////////////////////////////////gP//QMDAAAAAAAAAAICAQMDA - QMDAQMDAQMDAQMDAQMDAQMDAAICAAICAAICAAICAAICAAICA////AAAA////AICA////////////gP// - gP//AICAAAAA////////////////////////AAAA////////AICAAICAAICAAICAAICAAAAA//////// - ////////////////////AAAA -</value> - </data> - <data name="btnFilename.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - Qk2mAgAAAAAAADYAAAAoAAAADwAAAA0AAAABABgAAAAAAAAAAADEDgAAxA4AAAAAAAAAAAAA////AAAA - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICAQMDAQMDAQMDAQMDAQMDA - QMDAQMDAQMDAQMDAQMDAQMDAQMDAQMDAAAAAAAAAAICA////gMD/gP//gMD/gP//gMD/gP//gMD/gP// - gMD/gMD/gMD/QMDAAAAAAAAAAICA////gP//gP//gP//gMD/gP//gMD/gP//gMD/gP//gMD/gMD/QMDA - AAAAAAAAAICA////gP//gP//gP//gP//gP//gP//gMD/gP//gMD/gP//gMD/QMDAAAAAAAAAAICA//// - gP//gP//gP//gP//gP//gMD/gP//gMD/gP//gMD/gP//QMDAAAAAAAAAAICA////gP//gP//gP//gP// - gP//gP//gP//gP//gMD/gP//gMD/QMDAAAAAAAAAAICA////gP//gP//gP//gP//gP//gP//gP//gMD/ - gP//gMD/gP//QMDAAAAAAAAAAICA////gP//gP//gP//gP//gP//gP//gP//gP//gP//gP//gMD/QMDA - AAAAAAAAAICA////////////////////////////////////////////gP//QMDAAAAAAAAAAICAQMDA - QMDAQMDAQMDAQMDAQMDAQMDAAICAAICAAICAAICAAICAAICA////AAAA////AICA////////////gP// - gP//AICAAAAA////////////////////////AAAA////////AICAAICAAICAAICAAICAAAAA//////// - ////////////////////AAAA -</value> - </data> <metadata name="openFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>109, 17</value> </metadata> Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj 2007-06-21 22:04:32 UTC (rev 586) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj 2007-06-21 22:46:34 UTC (rev 587) @@ -158,10 +158,19 @@ <Compile Include="ProgramUtils.cs" /> <Compile Include="ProgramViewHandler.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Properties\Resources.Designer.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Resources.resx</DependentUpon> + </Compile> </ItemGroup> <ItemGroup> + <None Include="buttonViewImg.Image.bmp" /> <Content Include="MetaData\myProgramsAltFileDetailsInfo.xml" /> <Content Include="MetaData\myProgramsAltPreconfiguration.xml" /> + <None Include="searchButton.Image.png" /> + <None Include="Resources\BrowseFileOrFolder_Image.png" /> + <None Include="Resources\applicationExeButton.Image.png" /> </ItemGroup> <ItemGroup> <EmbeddedResource Include="Design\AppFilesImportProgress.resx"> @@ -216,6 +225,11 @@ <SubType>Designer</SubType> <DependentUpon>ProgramViews.cs</DependentUpon> </EmbeddedResource> + <EmbeddedResource Include="Properties\Resources.resx"> + <SubType>Designer</SubType> + <Generator>ResXFileCodeGenerator</Generator> + <LastGenOutput>Resources.Designer.cs</LastGenOutput> + </EmbeddedResource> </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Added: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Properties/Resources.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Properties/Resources.Designer.cs (rev 0) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Properties/Resources.Designer.cs 2007-06-21 22:46:34 UTC (rev 587) @@ -0,0 +1,84 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:2.0.50727.1318 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace GUIPrograms.Properties { + using System; + + + /// <summary> + /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw. + /// </summary> + // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert + // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert. + // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen + // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// <summary> + /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GUIPrograms.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// <summary> + /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle + /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + internal static System.Drawing.Bitmap browseButton_Image { + get { + object obj = ResourceManager.GetObject("browseButton_Image", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap previewButton_Image { + get { + object obj = ResourceManager.GetObject("previewButton_Image", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap searchButton_Image { + get { + object obj = ResourceManager.GetObject("searchButton_Image", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} Added: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Properties/Resources.resx =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Properties/Resources.resx (rev 0) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Properties/Resources.resx 2007-06-21 22:46:34 UTC (rev 587) @@ -0,0 +1,142 @@ +<?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> + <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> + <data name="browseButton_Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAahJREFUOE+dkktL + AlEYhkdK+gH9kX5CWzdtIigiWpRtDIqIIEpyEVSLoAtEmzASiaiIcNFlE0WGZJQpBoJWhpKX0bTUyktf + 8x4544zjIhJe5szxe57vO0d1Kc8cCXWfkr4i6EtNbBdrXaEsNOtbhNa2SV19rRB3W4jKx/RTPJRT+d4n + pJzbrD7zdnoPrRJqGwoAKyGA1VipmN1ggeTVNaUVYJMLOCSDmTUqIpLgK73eWPByMSqPybsxSMpXcoU+ + YwvsWYgvUcQ5oZ0AAoyHMIEEfqeWq2BiUU7SaybUau7g+WxYBUPA4UJsjq1z0XkKn49QzD9LHoeJnty2 + mihw1M8EOCMfGSCSj8zQR9jCEjw1MhHWru1BtYBdknROjKyEIeASNMo+mkkURXJuGWuCB0dPFcZFSV15 + Rw5ngmMMRN1bYFwr8B10yqMDBghIGQhQl/abtIL7vQ72E+F8yq5cgK4QoE70DlDfSUh9hNsdAxPw0VGs + 7A4B3lGXvOslg91Hl9ah2h1c29rlCSCBoF6Cd9QlbrooetVNN7vTagG+/EvQWQVr/lX/2PgFSHRoW2Mt + IzAAAAAASUVORK5CYII= +</value> + </data> + <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> + <data name="previewButton_Image" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\buttonViewImg.Image.bmp;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="searchButton_Image" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\searchButton.Image.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> +</root> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-21 22:04:35
|
Revision: 586 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=586&view=rev Author: chef_koch Date: 2007-06-21 15:04:32 -0700 (Thu, 21 Jun 2007) Log Message: ----------- set the property show in taskbar to false, no need for showing up to 3 entries in taskbar, because all forms are topMost Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsPrePost.Designer.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.Designer.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.resx trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileInfoScraperForm.Designer.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/SetupForm.Designer.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsPrePost.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsPrePost.Designer.cs 2007-06-21 16:51:17 UTC (rev 585) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsPrePost.Designer.cs 2007-06-21 22:04:32 UTC (rev 586) @@ -182,6 +182,7 @@ this.Controls.Add(this.lblTitleData); this.Name = "AppSettingsPrePost"; this.ShowIcon = false; + this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Pre-Launch / Post-Launch Options"; this.gbData.ResumeLayout(false); Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.Designer.cs 2007-06-21 16:51:17 UTC (rev 585) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.Designer.cs 2007-06-21 22:04:32 UTC (rev 586) @@ -492,7 +492,7 @@ this.btnCancel.Text = "Cancel"; this.btnCancel.UseVisualStyleBackColor = true; // - // Form1 + // FileDetailsForm // this.AcceptButton = this.btnOk; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -502,8 +502,9 @@ this.Controls.Add(this.btnOk); this.Controls.Add(this.tcFileItemData); this.Controls.Add(this.btnCancel); - this.Name = "Form1"; + this.Name = "FileDetailsForm"; this.ShowIcon = false; + this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "File-Details"; this.Load += new System.EventHandler(this.FileDetailsForm_Load); Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.resx =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.resx 2007-06-21 16:51:17 UTC (rev 585) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileDetailsForm.resx 2007-06-21 22:04:32 UTC (rev 586) @@ -121,21 +121,21 @@ <data name="buttonViewImg.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value> Qk2qAwAAAAAAADYAAAAoAAAAEQAAABEAAAABABgAAAAAAAAAAADEDgAAxA4AAAAAAAAAAAAA2Ons2Ons - 2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Onsgdjp7ICAgAAAAAAAAAAA - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANjp7IHY6eyAgIAA//8AgAAAgAAA//8AAAAA - //8AgAAAAAAAgAAA//8AAAD//wAA//8AAADY6eyB2OnsgICAAAAAAP////8AAAAAAP//AIAAAAAA//8A - AP//AAAAAIAAAP//AAAAAAAA2Onsgdjp7ICAgP//AAAAAAD//wCAAP//AACAAAD//wCAgAAAAACAAAD/ - /wAAAP//AAAAANjp7IHY6eyAgID//////wAAAAAA//8A//8AAAAAgAAAAAAA//8AgAAAAAD//wD///8A - AADY6eyB2OnsgICA//8A//////8AAAAA//8AAP//AAAA////AAAAAAAA//8A//////8AAAAA2Onsgdjp - 7ICAgP//////AP//////AAAAAAAAAP//////AP//////AP//////AP///wAAANjp7IHY6eyAgID//wD/ - /////wD//////wD//////wD//////wD//////wD//////wAAAADY6eyB2OnsgICA//////8A//////8A - //////8A//////8A////AAAAAAAA//8A////AAAA2Onsgdjp7ICAgP//AP//////AP//////AP////// - AP///wAAAP///wD//wAAAP//AAAAANjp7IHY6eyAgID//////wD//////wD//////wD//////wAAAAAA - //////8AAAD///8AAADY6eyB2OnsgICA//8A//////8A//////8A//////8A//////8AAAAAAAAA//// - //8AAAAA2Onsgdjp7ICAgP//////AP//////AP//////AP//////AP//////AP//////AP///wAAANjp - 7IHY6eyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDY6eyB2Ons2Ons - 2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Onsgdjp7Njp7Njp7Njp7Njp - 7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7IE= + 2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2OnsB9jp7ICAgAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANjp7AfY6eyAgIAA//8AgAAAgAAA//8AAAAA + //8AgAAAAAAAgAAA//8AAAD//wAA//8AAADY6ewH2OnsgICAAAAAAP////8AAAAAAP//AIAAAAAA//8A + AP//AAAAAIAAAP//AAAAAAAA2OnsB9jp7ICAgP//AAAAAAD//wCAAP//AACAAAD//wCAgAAAAACAAAD/ + /wAAAP//AAAAANjp7AfY6eyAgID//////wAAAAAA//8A//8AAAAAgAAAAAAA//8AgAAAAAD//wD///8A + AADY6ewH2OnsgICA//8A//////8AAAAA//8AAP//AAAA////AAAAAAAA//8A//////8AAAAA2OnsB9jp + 7ICAgP//////AP//////AAAAAAAAAP//////AP//////AP//////AP///wAAANjp7AfY6eyAgID//wD/ + /////wD//////wD//////wD//////wD//////wD//////wAAAADY6ewH2OnsgICA//////8A//////8A + //////8A//////8A////AAAAAAAA//8A////AAAA2OnsB9jp7ICAgP//AP//////AP//////AP////// + AP///wAAAP///wD//wAAAP//AAAAANjp7AfY6eyAgID//////wD//////wD//////wD//////wAAAAAA + //////8AAAD///8AAADY6ewH2OnsgICA//8A//////8A//////8A//////8A//////8AAAAAAAAA//// + //8AAAAA2OnsB9jp7ICAgP//////AP//////AP//////AP//////AP//////AP//////AP///wAAANjp + 7AfY6eyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDY6ewH2Ons2Ons + 2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2Ons2OnsB9jp7Njp7Njp7Njp7Njp + 7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7Njp7D8= </value> </data> <metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileInfoScraperForm.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileInfoScraperForm.Designer.cs 2007-06-21 16:51:17 UTC (rev 585) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/FileInfoScraperForm.Designer.cs 2007-06-21 22:04:32 UTC (rev 586) @@ -461,6 +461,7 @@ this.Controls.Add(this.statusStrip); this.Name = "FileInfoScraperForm"; this.ShowIcon = false; + this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Import Info"; this.statusStrip.ResumeLayout(false); Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/SetupForm.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/SetupForm.Designer.cs 2007-06-21 16:51:17 UTC (rev 585) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/SetupForm.Designer.cs 2007-06-21 22:04:32 UTC (rev 586) @@ -227,6 +227,7 @@ this.MainMenuStrip = this.menuStrip; this.Name = "SetupForm"; this.ShowIcon = false; + this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "SetupForm"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.SetupForm_FormClosed); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ze...@us...> - 2007-06-21 16:51:19
|
Revision: 585 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=585&view=rev Author: zebons Date: 2007-06-21 09:51:17 -0700 (Thu, 21 Jun 2007) Log Message: ----------- Added Paths: ----------- trunk/plugins/MyFilms/Properties/Resources.resx Added: trunk/plugins/MyFilms/Properties/Resources.resx =================================================================== --- trunk/plugins/MyFilms/Properties/Resources.resx (rev 0) +++ trunk/plugins/MyFilms/Properties/Resources.resx 2007-06-21 16:51:17 UTC (rev 585) @@ -0,0 +1,101 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 1.3 + + 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">1.3</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1">this is my long string</data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + [base64 mime encoded serialized .NET Framework object] + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + [base64 mime encoded string representing a byte array form of the .NET Framework object] + </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.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:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <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" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + </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>1.3</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ze...@us...> - 2007-06-21 16:12:25
|
Revision: 584 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=584&view=rev Author: zebons Date: 2007-06-21 09:12:24 -0700 (Thu, 21 Jun 2007) Log Message: ----------- Added Paths: ----------- trunk/plugins/MyFilms/Properties/Resources.Designer.cs Added: trunk/plugins/MyFilms/Properties/Resources.Designer.cs =================================================================== --- trunk/plugins/MyFilms/Properties/Resources.Designer.cs (rev 0) +++ trunk/plugins/MyFilms/Properties/Resources.Designer.cs 2007-06-21 16:12:24 UTC (rev 584) @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// Ce code a été généré par un outil. +// Version du runtime :2.0.50727.42 +// +// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si +// le code est régénéré. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace MesFilms.Properties { + using System; + + + /// <summary> + /// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées. + /// </summary> + // Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder + // à l'aide d'un outil, tel que ResGen ou Visual Studio. + // Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen + // avec l'option /str ou régénérez votre projet VS. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// <summary> + /// Retourne l'instance ResourceManager mise en cache utilisée par cette classe. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MesFilms.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// <summary> + /// Remplace la propriété CurrentUICulture du thread actuel pour toutes + /// les recherches de ressources à l'aide de cette classe de ressource fortement typée. + /// </summary> + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ze...@us...> - 2007-06-21 05:50:39
|
Revision: 583 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=583&view=rev Author: zebons Date: 2007-06-20 22:50:36 -0700 (Wed, 20 Jun 2007) Log Message: ----------- Added Paths: ----------- trunk/plugins/MyFilms/MesFilms.csproj Added: trunk/plugins/MyFilms/MesFilms.csproj =================================================================== --- trunk/plugins/MyFilms/MesFilms.csproj (rev 0) +++ trunk/plugins/MyFilms/MesFilms.csproj 2007-06-21 05:50:36 UTC (rev 583) @@ -0,0 +1,117 @@ +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>8.0.50727</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{20BCDBE0-0812-4235-9330-40B8E570DAE1}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>MesFilms</RootNamespace> + <AssemblyName>MesFilms</AssemblyName> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <UseVSHostingProcess>false</UseVSHostingProcess> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>C:\Mediaportal\xbmc\bin\Release\plugins\Windows\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <DebugSymbols>true</DebugSymbols> + </PropertyGroup> + <ItemGroup> + <Reference Include="Core, Version=1.0.2546.32606, Culture=neutral, processorArchitecture=x86"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\mediaportal_plugin\MesFilms\Core_SVN\Core.DLL</HintPath> + </Reference> + <Reference Include="Databases, Version=1.0.2546.32610, Culture=neutral, processorArchitecture=x86"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\mediaportal_plugin\MesFilms\Core_SVN\Databases.DLL</HintPath> + </Reference> + <Reference Include="Dialogs, Version=0.0.0.0, Culture=neutral, processorArchitecture=x86"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\mediaportal_plugin\MesFilms\Core_SVN\Dialogs.dll</HintPath> + </Reference> + <Reference Include="System" /> + <Reference Include="System.Data" /> + <Reference Include="System.Drawing" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml" /> + <Reference Include="Utils, Version=1.0.2546.32604, Culture=neutral, processorArchitecture=x86"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\mediaportal_plugin\MesFilms\Core_SVN\Utils.DLL</HintPath> + </Reference> + </ItemGroup> + <ItemGroup> + <Compile Include="AntMovieCatalog.cs"> + <DependentUpon>AntMovieCatalog.xsd</DependentUpon> + </Compile> + <Compile Include="AntMovieCatalog.Designer.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>AntMovieCatalog.xsd</DependentUpon> + </Compile> + <Compile Include="AssemblyInfo.cs" /> + <Compile Include="CatalogConverter.cs" /> + <Compile Include="CryptageTexte.cs" /> + <Compile Include="CString.cs" /> + <Compile Include="MesFilms.cs" /> + <Compile Include="MesFilmsDetail.cs" /> + <Compile Include="MesFilmsSetup.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="MesFilmsSetup.designer.cs"> + <DependentUpon>MesFilmsSetup.cs</DependentUpon> + </Compile> + <Compile Include="Properties\Resources.Designer.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Resources.resx</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="MesFilmsSetup.resx"> + <DependentUpon>MesFilmsSetup.cs</DependentUpon> + <SubType>Designer</SubType> + </EmbeddedResource> + <EmbeddedResource Include="Properties\Resources.resx"> + <SubType>Designer</SubType> + <Generator>ResXFileCodeGenerator</Generator> + <LastGenOutput>Resources.Designer.cs</LastGenOutput> + </EmbeddedResource> + </ItemGroup> + <ItemGroup> + <None Include="AntMovieCatalog.xsc"> + <DependentUpon>AntMovieCatalog.xsd</DependentUpon> + </None> + <None Include="AntMovieCatalog.xsd"> + <SubType>Designer</SubType> + <Generator>MSDataSetGenerator</Generator> + <LastGenOutput>AntMovieCatalog.Designer.cs</LastGenOutput> + </None> + <None Include="AntMovieCatalog.xss"> + <DependentUpon>AntMovieCatalog.xsd</DependentUpon> + </None> + </ItemGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> + <PropertyGroup> + <PostBuildEvent>"$(ProjectDir)PostBuild.bat" "$(SolutionDir)" $(ConfigurationName) >$(ProjectDir)PostBuild.log</PostBuildEvent> + </PropertyGroup> +</Project> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-20 20:11:20
|
Revision: 582 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=582&view=rev Author: chef_koch Date: 2007-06-20 13:11:19 -0700 (Wed, 20 Jun 2007) Log Message: ----------- reverted the Properties CurrentView back to revision 574 -> setting the programviewhandler.CurrentView in CurrentView of GUIPrograms throws an exception in config tool Revision Links: -------------- http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=574&view=rev Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs 2007-06-20 19:56:40 UTC (rev 581) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs 2007-06-20 20:11:19 UTC (rev 582) @@ -515,15 +515,8 @@ public string CurrentView { - get - { - return currentView; - } - set - { - currentView = value; - DatabaseSettings.viewHandler.CurrentView = value; - } + get { return currentView; } + set { currentView = value; } } Layout CurrentLayout @@ -704,6 +697,8 @@ protected override void OnPageLoad() { + string view = CurrentView; + DatabaseSettings.viewHandler.CurrentView = view; base.OnPageLoad(); InitMyPrograms(); } @@ -1409,6 +1404,7 @@ int nNewWindow = (int)Window.WINDOW_FILES; StartWindow = nNewWindow; CurrentView = ""; + DatabaseSettings.viewHandler.CurrentView = null; if (nNewWindow != GetID) { GUIWindowManager.ReplaceWindow(nNewWindow); @@ -1418,6 +1414,7 @@ { ViewDefinition selectedView = (ViewDefinition)DatabaseSettings.viewHandler.Views[dlg.SelectedLabel - 1]; CurrentView = selectedView.Name; + DatabaseSettings.viewHandler.CurrentView = selectedView.Name; int nNewWindow = (int)Window.WINDOW_FILES; if (GetID != nNewWindow) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ze...@us...> - 2007-06-20 19:56:51
|
Revision: 581 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=581&view=rev Author: zebons Date: 2007-06-20 12:56:40 -0700 (Wed, 20 Jun 2007) Log Message: ----------- add the result of the select line corrected bug for launching Movies add separators lines in skins Modified Paths: -------------- trunk/plugins/MyFilms/MesFilms.cs trunk/plugins/MyFilms/MesFilmsDetail.cs trunk/plugins/MyFilms/MesFilmsSetup.Designer.cs trunk/plugins/MyFilms/MesFilmsSetup.cs trunk/plugins/MyFilms/skin/BlackMyst/MesFilms.xml trunk/plugins/MyFilms/skin/BlackMyst/MesFilmsDetail.xml trunk/plugins/MyFilms/skin/BlueTwo/MesFilms.xml trunk/plugins/MyFilms/skin/BlueTwo/MesFilmsDetail.xml trunk/plugins/MyFilms/skin/BlueTwo wide/MesFilms.xml trunk/plugins/MyFilms/skin/BlueTwo wide/MesFilmsDetail.xml trunk/plugins/MyFilms/skin/Project Mayhem 3/MesFilms.xml trunk/plugins/MyFilms/skin/Project Mayhem 3/MesFilmsDetail.xml Modified: trunk/plugins/MyFilms/MesFilms.cs =================================================================== --- trunk/plugins/MyFilms/MesFilms.cs 2007-06-20 19:13:06 UTC (rev 580) +++ trunk/plugins/MyFilms/MesFilms.cs 2007-06-20 19:56:40 UTC (rev 581) @@ -280,7 +280,8 @@ return; } if (actionType.wID == Action.ActionType.ACTION_PREVIOUS_MENU) - if (GetPrevFilmList()) return; + if (GetPrevFilmList()) + return; base.OnAction(actionType); } //--------------------------------------------------------------------------------------- Modified: trunk/plugins/MyFilms/MesFilmsDetail.cs =================================================================== --- trunk/plugins/MyFilms/MesFilmsDetail.cs 2007-06-20 19:13:06 UTC (rev 580) +++ trunk/plugins/MyFilms/MesFilmsDetail.cs 2007-06-20 19:56:40 UTC (rev 581) @@ -1085,10 +1085,10 @@ if (!multifile) { //case monofile search files belonging same movie (extension cdx or diskx) string folder = file.Substring(0, file.LastIndexOf(@"\")); - if ((folder.Length == 2) && (folder.Substring(1,1) == ":")) + //if ((folder.Length == 2) && (folder.Substring(1,1) == ":")) + // file = folder +file.Substring(file.LastIndexOf(@"\") + 1); + //else file = folder + "\\" + file.Substring(file.LastIndexOf(@"\") + 1); - else - file = folder + file.Substring(file.LastIndexOf(@"\") + 1); ArrayList items = m_directory.GetDirectory(folder.ToString()); for (int i = 0; i < items.Count; ++i) @@ -1395,38 +1395,43 @@ oRegex = new System.Text.RegularExpressions.Regex(file); foreach (string path in SearchDir) { - DirectoryInfo dirsInf = new DirectoryInfo(path); - //On retourne une liste d'informations sur les fichiers contenus dans le r\xE9pertoire - FileSystemInfo[] filesInf = dirsInf.GetFileSystemInfos(); + if (System.IO.Directory.Exists(path)) + { + DirectoryInfo dirsInf = new DirectoryInfo(path); + //On retourne une liste d'informations sur les fichiers contenus dans le r\xE9pertoire + FileSystemInfo[] filesInf = dirsInf.GetFileSystemInfos(); - //Si le nom d'un fichier correspond avec le nom du fichier recherch\xE9 - //on place son path dans la variable globale result. - foreach (FileSystemInfo fi in filesInf) - { - System.Text.RegularExpressions.MatchCollection oMatches = oRegex.Matches(fi.Name.ToLower()); - foreach (System.Text.RegularExpressions.Match oMatch in oMatches) + //Si le nom d'un fichier correspond avec le nom du fichier recherch\xE9 + //on place son path dans la variable globale result. + foreach (FileSystemInfo fi in filesInf) { - if (MediaPortal.Util.Utils.IsVideo(fi.Name) || VirtualDirectory.IsImageFile(System.IO.Path.GetExtension(fi.Name))) - - result.Add(path + "\\" + fi.Name); - else + System.Text.RegularExpressions.MatchCollection oMatches = oRegex.Matches(fi.Name.ToLower()); + foreach (System.Text.RegularExpressions.Match oMatch in oMatches) { - if (fi.Attributes.ToString() == "Directory") - if (System.IO.File.Exists(path + fi.Name + "\\VIDEO_TS\\VIDEO_TS.IFO")) - result.Add(path + fi.Name + "\\VIDEO_TS\\VIDEO_TS.IFO"); - + if (MediaPortal.Util.Utils.IsVideo(fi.Name) || VirtualDirectory.IsImageFile(System.IO.Path.GetExtension(fi.Name))) + if (path.LastIndexOf(@"\") + 1 == path.Length) + result.Add(path + fi.Name); + else + result.Add(path + "\\" + fi.Name); + else + { + if (fi.Attributes.ToString() == "Directory") + if (System.IO.File.Exists(path + fi.Name + "\\VIDEO_TS\\VIDEO_TS.IFO")) + result.Add(path + fi.Name + "\\VIDEO_TS\\VIDEO_TS.IFO"); + + } } } - } - //Si le parametre recur vaut true on r\xE9alise une - //recherche r\xE9cursive sur tous les sous-r\xE9pertoires - if (recur) - { - foreach (DirectoryInfo dir in dirsInf.GetDirectories()) + //Si le parametre recur vaut true on r\xE9alise une + //recherche r\xE9cursive sur tous les sous-r\xE9pertoires + if (recur) { - //On rappelle la m\xE9thode SearchFiles pour tous les sous-r\xE9pertoires + foreach (DirectoryInfo dir in dirsInf.GetDirectories()) + { + //On rappelle la m\xE9thode SearchFiles pour tous les sous-r\xE9pertoires - SearchFiles(fileName, dir.FullName, recur); + SearchFiles(fileName, dir.FullName, recur); + } } } } Modified: trunk/plugins/MyFilms/MesFilmsSetup.Designer.cs =================================================================== --- trunk/plugins/MyFilms/MesFilmsSetup.Designer.cs 2007-06-20 19:13:06 UTC (rev 580) +++ trunk/plugins/MyFilms/MesFilmsSetup.Designer.cs 2007-06-20 19:56:40 UTC (rev 581) @@ -147,6 +147,8 @@ this.AntUpdItem1 = new System.Windows.Forms.ComboBox(); this.AntUpdText1 = new System.Windows.Forms.TextBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.label18 = new System.Windows.Forms.Label(); + this.Selected_Enreg = new System.Windows.Forms.TextBox(); this.AntFilterComb = new System.Windows.Forms.ComboBox(); this.AntFilterSign2 = new System.Windows.Forms.ComboBox(); this.AntFilterSign1 = new System.Windows.Forms.ComboBox(); @@ -627,7 +629,7 @@ this.groupBox4.Controls.Add(this.AntUpdText2); this.groupBox4.Controls.Add(this.AntUpdItem1); this.groupBox4.Controls.Add(this.AntUpdText1); - this.groupBox4.Location = new System.Drawing.Point(369, 208); + this.groupBox4.Location = new System.Drawing.Point(369, 229); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(372, 70); this.groupBox4.TabIndex = 28; @@ -680,6 +682,8 @@ // // groupBox2 // + this.groupBox2.Controls.Add(this.label18); + this.groupBox2.Controls.Add(this.Selected_Enreg); this.groupBox2.Controls.Add(this.AntFilterComb); this.groupBox2.Controls.Add(this.AntFilterSign2); this.groupBox2.Controls.Add(this.AntFilterSign1); @@ -687,13 +691,37 @@ this.groupBox2.Controls.Add(this.AntFilterText2); this.groupBox2.Controls.Add(this.AntFilterItem1); this.groupBox2.Controls.Add(this.AntFilterText1); - this.groupBox2.Location = new System.Drawing.Point(371, 96); + this.groupBox2.Location = new System.Drawing.Point(371, 82); this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(370, 81); + this.groupBox2.Size = new System.Drawing.Size(370, 141); this.groupBox2.TabIndex = 27; this.groupBox2.TabStop = false; this.groupBox2.Text = "Ant Selected Enreg."; + this.groupBox2.Leave += new System.EventHandler(this.Selected_Enreg_Changed); // + // label18 + // + this.label18.AutoSize = true; + this.label18.Location = new System.Drawing.Point(7, 70); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(85, 13); + this.label18.TabIndex = 29; + this.label18.Text = "Selected enreg :"; + // + // Selected_Enreg + // + this.Selected_Enreg.BackColor = System.Drawing.SystemColors.ButtonFace; + this.Selected_Enreg.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.Selected_Enreg.Enabled = false; + this.Selected_Enreg.Location = new System.Drawing.Point(6, 86); + this.Selected_Enreg.Multiline = true; + this.Selected_Enreg.Name = "Selected_Enreg"; + this.Selected_Enreg.ReadOnly = true; + this.Selected_Enreg.ScrollBars = System.Windows.Forms.ScrollBars.Horizontal; + this.Selected_Enreg.Size = new System.Drawing.Size(355, 49); + this.Selected_Enreg.TabIndex = 28; + this.Selected_Enreg.TabStop = false; + // // AntFilterComb // this.AntFilterComb.DisplayMember = "or"; @@ -1201,6 +1229,8 @@ private CheckBox radioButton2; private CheckBox radioButton1; private CheckBox Config_Menu; + private Label label18; + private TextBox Selected_Enreg; } } \ No newline at end of file Modified: trunk/plugins/MyFilms/MesFilmsSetup.cs =================================================================== --- trunk/plugins/MyFilms/MesFilmsSetup.cs 2007-06-20 19:13:06 UTC (rev 580) +++ trunk/plugins/MyFilms/MesFilmsSetup.cs 2007-06-20 19:56:40 UTC (rev 581) @@ -310,31 +310,36 @@ DVDPTagField.Focus(); return; } - StrDfltSelect = ""; - string wAntFilterSign; - if (AntFilterSign1.Text == "#") - wAntFilterSign = "<>"; - else - wAntFilterSign = AntFilterSign1.Text; - if ((AntFilterItem1.Text.Length > 0) && !(AntFilterItem1.Text == "(none)")) - if (AntFilterItem1.Text == "DateAdded") - StrDfltSelect = "(" + AntFilterItem1.Text + " " + wAntFilterSign + " #" + Convert.ToDateTime(AntFilterText1.Text) + "# or " + AntFilterItem1.Text + " is null) "; - else - StrDfltSelect = "(" + AntFilterItem1.Text + " " + wAntFilterSign + " '" + AntFilterText1.Text + "' or " + AntFilterItem1.Text + " is null) "; - if ((AntFilterComb.Text == "or") && (StrDfltSelect.Length > 0)) - StrDfltSelect = StrDfltSelect + " OR "; - else - if (StrDfltSelect.Length > 0) - StrDfltSelect = StrDfltSelect + " AND "; - if (AntFilterSign2.Text == "#") - wAntFilterSign = "<>"; - else - wAntFilterSign = AntFilterSign2.Text; - if ((AntFilterItem2.Text.Length > 0) && !(AntFilterItem2.Text == "(none)")) - if (AntFilterItem2.Text == "DateAdded") - StrDfltSelect = "(" + StrDfltSelect + "(" + AntFilterItem2.Text + " " + wAntFilterSign + " #" + Convert.ToDateTime(AntFilterText2.Text) + "# or " + AntFilterItem2.Text + " is null)) AND "; - else - StrDfltSelect = "(" + StrDfltSelect + "(" + AntFilterItem2.Text + " " + wAntFilterSign + " '" + AntFilterText2.Text + "' or " + AntFilterItem2.Text + " is null)) AND "; + Selected_Enreg_TextChanged(); +// StrDfltSelect = ""; +// string wAntFilterSign; +// if (AntFilterSign1.Text == "#") +// wAntFilterSign = "<>"; +// else +// wAntFilterSign = AntFilterSign1.Text; +// if ((AntFilterItem1.Text.Length > 0) && !(AntFilterItem1.Text == "(none)")) +// if (AntFilterItem1.Text == "DateAdded") +//// StrDfltSelect = "(" + AntFilterItem1.Text + " " + wAntFilterSign + " #" + Convert.ToDateTime(AntFilterText1.Text) + "# or " + AntFilterItem1.Text + " is null) "; +// StrDfltSelect = "(" + AntFilterItem1.Text + " " + wAntFilterSign + " #" + Convert.ToDateTime(AntFilterText1.Text) + "# ) "; +// else +//// StrDfltSelect = "(" + AntFilterItem1.Text + " " + wAntFilterSign + " '" + AntFilterText1.Text + "' or " + AntFilterItem1.Text + " is null) "; +// StrDfltSelect = "(" + AntFilterItem1.Text + " " + wAntFilterSign + " '" + AntFilterText1.Text + "') "; +// if ((AntFilterComb.Text == "or") && (StrDfltSelect.Length > 0)) +// StrDfltSelect = StrDfltSelect + " OR "; +// else +// if (StrDfltSelect.Length > 0) +// StrDfltSelect = StrDfltSelect + " AND "; +// if (AntFilterSign2.Text == "#") +// wAntFilterSign = "<>"; +// else +// wAntFilterSign = AntFilterSign2.Text; +// if ((AntFilterItem2.Text.Length > 0) && !(AntFilterItem2.Text == "(none)")) +// if (AntFilterItem2.Text == "DateAdded") +//// StrDfltSelect = "(" + StrDfltSelect + "(" + AntFilterItem2.Text + " " + wAntFilterSign + " #" + Convert.ToDateTime(AntFilterText2.Text) + "# or " + AntFilterItem2.Text + " is null)) AND "; +// StrDfltSelect = "(" + StrDfltSelect + "(" + AntFilterItem2.Text + " " + wAntFilterSign + " #" + Convert.ToDateTime(AntFilterText2.Text) + "# )) AND "; +// else +//// StrDfltSelect = "(" + StrDfltSelect + "(" + AntFilterItem2.Text + " " + wAntFilterSign + " '" + AntFilterText2.Text + "' or " + AntFilterItem2.Text + " is null)) AND "; +// StrDfltSelect = "(" + StrDfltSelect + "(" + AntFilterItem2.Text + " " + wAntFilterSign + " '" + AntFilterText2.Text + "' )) AND "; if (View_Dflt_Item.Text.Length == 0) View_Dflt_Item.Text = "(none)"; Verify_Config(); @@ -802,14 +807,59 @@ DVDPTagField.ResetText(); } } - + private void Selected_Enreg_TextChanged() + { + StrDfltSelect = ""; + string wAntFilterSign; + if (AntFilterSign1.Text == "#") + wAntFilterSign = "<>"; + else + wAntFilterSign = AntFilterSign1.Text; + if ((AntFilterItem1.Text.Length > 0) && !(AntFilterItem1.Text == "(none)")) + if (AntFilterItem1.Text == "DateAdded") + if ((AntFilterSign1.Text == "#") || (AntFilterSign1.Text == "not like")) + StrDfltSelect = "(" + AntFilterItem1.Text + " " + wAntFilterSign + " #" + Convert.ToDateTime(AntFilterText1.Text) + "# or " + AntFilterItem1.Text + " is null) "; + else + StrDfltSelect = "(" + AntFilterItem1.Text + " " + wAntFilterSign + " #" + Convert.ToDateTime(AntFilterText1.Text) + "# ) "; + else + if ((AntFilterSign1.Text == "#") || (AntFilterSign1.Text == "not like")) + StrDfltSelect = "(" + AntFilterItem1.Text + " " + wAntFilterSign + " '" + AntFilterText1.Text + "' or " + AntFilterItem1.Text + " is null) "; + else + StrDfltSelect = "(" + AntFilterItem1.Text + " " + wAntFilterSign + " '" + AntFilterText1.Text + "') "; + if ((AntFilterComb.Text == "or") && (StrDfltSelect.Length > 0)) + StrDfltSelect = StrDfltSelect + " OR "; + else + if (StrDfltSelect.Length > 0) + StrDfltSelect = StrDfltSelect + " AND "; + if (AntFilterSign2.Text == "#") + wAntFilterSign = "<>"; + else + wAntFilterSign = AntFilterSign2.Text; + if ((AntFilterItem2.Text.Length > 0) && !(AntFilterItem2.Text == "(none)")) + if (AntFilterItem2.Text == "DateAdded") + if ((AntFilterSign2.Text == "#") || (AntFilterSign2.Text == "not like")) + StrDfltSelect = "(" + StrDfltSelect + "(" + AntFilterItem2.Text + " " + wAntFilterSign + " #" + Convert.ToDateTime(AntFilterText2.Text) + "# or " + AntFilterItem2.Text + " is null)) AND "; + else + StrDfltSelect = "(" + StrDfltSelect + "(" + AntFilterItem2.Text + " " + wAntFilterSign + " #" + Convert.ToDateTime(AntFilterText2.Text) + "# )) AND "; + else + if ((AntFilterSign2.Text == "#") || (AntFilterSign2.Text == "not like")) + StrDfltSelect = "(" + StrDfltSelect + "(" + AntFilterItem2.Text + " " + wAntFilterSign + " '" + AntFilterText2.Text + "' or " + AntFilterItem2.Text + " is null)) AND "; + else + StrDfltSelect = "(" + StrDfltSelect + "(" + AntFilterItem2.Text + " " + wAntFilterSign + " '" + AntFilterText2.Text + "' )) AND "; + Selected_Enreg.Text = StrDfltSelect + AntTitle1.Text + " not like ''"; + } + private void radioButton2_CheckedChanged(object sender, EventArgs e) { if (radioButton2.Checked) { radioButton1.Checked = false; } + } + private void Selected_Enreg_Changed(object sender, EventArgs e) + { + Selected_Enreg_TextChanged(); + } - } } } Modified: trunk/plugins/MyFilms/skin/BlackMyst/MesFilms.xml =================================================================== --- trunk/plugins/MyFilms/skin/BlackMyst/MesFilms.xml 2007-06-20 19:13:06 UTC (rev 580) +++ trunk/plugins/MyFilms/skin/BlackMyst/MesFilms.xml 2007-06-20 19:56:40 UTC (rev 581) @@ -1,6 +1,6 @@ <window> <id>7986</id> - <defaultcontrol>1026</defaultcontrol> + <defaultcontrol>6</defaultcontrol> <allowoverlay>yes</allowoverlay> <controls> <import>common.time.xml</import> @@ -52,11 +52,23 @@ <animation effect="fade" time="250">WindowOpen</animation> <layout>StackLayout</layout> <control> + <type>button</type> + <description>Layout</description> + <id>6</id> + <onleft>5</onleft> + <onright>1026</onright> + <onup>5</onup> + <ondown>2</ondown> + <animation>unfocus</animation> + <label>101</label> + <textcolor>ff000000</textcolor> + </control> + <control> <type>sortbutton</type> <id>2</id> - <onleft>5</onleft> + <onleft>6</onleft> <onright>1026</onright> - <onup>5</onup> + <onup>6</onup> <ondown>3</ondown> <textureAscendingFocused>arrow_round_up_focus.png</textureAscendingFocused> <font>font13</font> @@ -100,13 +112,12 @@ <onleft>4</onleft> <onright>1026</onright> <onup>4</onup> - <ondown>319</ondown> + <ondown>6</ondown> <label>137</label> </control> </control> <control> <type>group</type> - <description>composite control consisting of a list control and a thumbnail panel</description> <id>1000</id> <posX>260</posX> <posY>56</posY> @@ -125,43 +136,91 @@ <left>0</left> </padding> </mpe> - <control> - <type>textboxscrollup</type> - <description>Biography value</description> - <id>1025</id> - <posX>260</posX> - <posY>414</posY> - <width>430</width> - <height>106</height> - <onleft>2</onleft> - <onright>1026</onright> - <onup>1026</onup> - <ondown>1026</ondown> + <control> + <description>composite control consisting of a list control and a thumbnail panel</description> + <type>facadeview</type> + <id>1026</id> + <control> + <description>Thumbnail Panel</description> + <type>thumbnailpanel</type> + <scrollOffset>1</scrollOffset> + <onleft>6</onleft> + <itemWidth>72</itemWidth> + <textureWidth>58</textureWidth> + <thumbWidth>44</thumbWidth> + <thumbPosX>7</thumbPosX> + <textureWidthBig>85</textureWidthBig> + <textureHeightBig>116</textureHeightBig> + <itemWidthBig>108</itemWidthBig> + <itemHeightBig>138</itemHeightBig> + <thumbWidthBig>64</thumbWidthBig> + <thumbHeightBig>90</thumbHeightBig> + <thumbPosXBig>10</thumbPosXBig> + </control> + <control> + <type>listcontrol</type> + <description>listcontrol</description> + <width>440</width> + <height>354</height> + <onleft>6</onleft> + <font>font13</font> + </control> + <control> + <description>Filmstrip view</description> + <type>filmstrip</type> + <width>440</width> + <height>354</height> + <onleft>6</onleft> + <backgroundx>354</backgroundx> + <backgroundy>99</backgroundy> + <backgroundwidth>238</backgroundwidth> + <backgroundheight>336</backgroundheight> + <InfoImagex>366</InfoImagex> + <InfoImagey>118</InfoImagey> + <InfoImagewidth>197</InfoImagewidth> + <InfoImageheight>274</InfoImageheight> + </control> + </control> + <control> + <type>textboxscrollup</type> + <description>Biography value</description> + <id>1025</id> + <posX>260</posX> + <posY>414</posY> + <width>440</width> + <height>100</height> <colordiffuse>ffffffff</colordiffuse> - <textcolor>FFFFFFFF</textcolor> - <speed>10</speed> + <onleft>1026</onleft> + <onright>1026</onright> + <onup>1026</onup> + <ondown>1026</ondown> + <font>font12</font> + <speed>10</speed> + <textcolor>FFFFFFFF</textcolor> <label>-</label> + <seperator>------------------------------------------------------------------------------------------------------------------------------</seperator> + </control> + <control> + <type>fadelabel</type> + <description>Title (during Icons)</description> + <id>1027</id> + <posX>65</posX> + <posY>470</posY> + <onleft>6</onleft> + <onright>1026</onright> + <onup>1026</onup> + <ondown>1026</ondown> <font>font12</font> + <width>175</width> + <height>24</height> + <label>-</label> </control> - <control> - <type>listcontrol</type> - <description>listcontrol</description> - <id>1026</id> - <width>440</width> - <height>354</height> - <onleft>2</onleft> - <onright>1000</onright> - <onup>1026</onup> - <ondown>1026</ondown> - <posX>260</posX> - <posY>97</posY> - </control> </control> <control> <type>image</type> <id>1065</id> <posX>224</posX> - <posY>350</posY> + <posY>365</posY> <width>36</width> <height>36</height> <visible>no</visible> @@ -172,7 +231,7 @@ <type>image</type> <id>1064</id> <posX>227</posX> - <posY>316</posY> + <posY>331</posY> <width>30</width> <height>30</height> <visible>no</visible> @@ -183,7 +242,7 @@ <type>image</type> <id>1063</id> <posX>230</posX> - <posY>288</posY> + <posY>303</posY> <width>24</width> <height>24</height> <visible>no</visible> @@ -194,7 +253,7 @@ <type>image</type> <id>1062</id> <posX>233</posX> - <posY>266</posY> + <posY>281</posY> <width>18</width> <height>18</height> <visible>no</visible> @@ -205,7 +264,7 @@ <type>image</type> <id>1061</id> <posX>236</posX> - <posY>250</posY> + <posY>265</posY> <width>12</width> <height>12</height> <visible>no</visible> @@ -216,7 +275,7 @@ <type>image</type> <id>1060</id> <posX>224</posX> - <posY>350</posY> + <posY>365</posY> <width>36</width> <height>36</height> <visible>no</visible> @@ -227,7 +286,7 @@ <type>image</type> <id>1059</id> <posX>227</posX> - <posY>316</posY> + <posY>331</posY> <width>30</width> <height>30</height> <visible>no</visible> @@ -238,7 +297,7 @@ <type>image</type> <id>1058</id> <posX>230</posX> - <posY>288</posY> + <posY>303</posY> <width>24</width> <height>24</height> <visible>no</visible> @@ -249,7 +308,7 @@ <type>image</type> <id>1057</id> <posX>233</posX> - <posY>266</posY> + <posY>281</posY> <width>18</width> <height>18</height> <visible>no</visible> @@ -260,7 +319,7 @@ <type>image</type> <id>1056</id> <posX>236</posX> - <posY>250</posY> + <posY>265</posY> <width>12</width> <height>12</height> <visible>no</visible> @@ -271,7 +330,7 @@ <type>image</type> <id>1055</id> <posX>224</posX> - <posY>350</posY> + <posY>365</posY> <width>36</width> <height>36</height> <visible>no</visible> @@ -282,7 +341,7 @@ <type>image</type> <id>1054</id> <posX>227</posX> - <posY>316</posY> + <posY>331</posY> <width>30</width> <height>30</height> <visible>no</visible> @@ -293,7 +352,7 @@ <type>image</type> <id>1053</id> <posX>230</posX> - <posY>288</posY> + <posY>303</posY> <width>24</width> <height>24</height> <visible>no</visible> @@ -304,7 +363,7 @@ <type>image</type> <id>1052</id> <posX>233</posX> - <posY>266</posY> + <posY>281</posY> <width>18</width> <height>18</height> <visible>no</visible> @@ -315,7 +374,7 @@ <type>image</type> <id>1051</id> <posX>236</posX> - <posY>250</posY> + <posY>265</posY> <width>12</width> <height>12</height> <visible>no</visible> @@ -326,9 +385,9 @@ <type>image</type> <id>1020</id> <posX>95</posX> - <posY>235</posY> + <posY>260</posY> <width>122</width> - <height>160</height> + <height>140</height> <keepaspectratio>yes</keepaspectratio> <texture>-</texture> </control> @@ -336,9 +395,9 @@ <type>image</type> <id>1021</id> <posX>65</posX> - <posY>250</posY> + <posY>265</posY> <width>155</width> - <height>220</height> + <height>200</height> <keepaspectratio>yes</keepaspectratio> <texture>-</texture> </control> Modified: trunk/plugins/MyFilms/skin/BlackMyst/MesFilmsDetail.xml =================================================================== --- trunk/plugins/MyFilms/skin/BlackMyst/MesFilmsDetail.xml 2007-06-20 19:13:06 UTC (rev 580) +++ trunk/plugins/MyFilms/skin/BlackMyst/MesFilmsDetail.xml 2007-06-20 19:56:40 UTC (rev 581) @@ -360,26 +360,28 @@ <description>description value</description> <id>2050</id> <posX>280</posX> - <posY>382</posY> - <width>408</width> - <height>162</height> + <posY>400</posY> + <width>410</width> + <height>140</height> <colordiffuse>ffffffff</colordiffuse> <textcolor>FFFFFFFF</textcolor> <label>#description</label> <font>font12</font> + <seperator>---------------------------------------------------------------------------------------------------------------------</seperator> </control> <control> <type>textboxscrollup</type> <description>Biography value</description> <id>2040</id> - <posX>403</posX> + <posX>400</posX> <posY>308</posY> - <width>280</width> - <height>68</height> + <width>296</width> + <height>80</height> <colordiffuse>ffffffff</colordiffuse> <textcolor>FFFFFFFF</textcolor> <label>#acteurs</label> <font>font12</font> + <seperator>-------------------------------------------------------------------------------------</seperator> </control> <control> <type>fadelabel</type> Modified: trunk/plugins/MyFilms/skin/BlueTwo/MesFilms.xml =================================================================== --- trunk/plugins/MyFilms/skin/BlueTwo/MesFilms.xml 2007-06-20 19:13:06 UTC (rev 580) +++ trunk/plugins/MyFilms/skin/BlueTwo/MesFilms.xml 2007-06-20 19:56:40 UTC (rev 581) @@ -210,7 +210,7 @@ <posX>260</posX> <posY>414</posY> <width>440</width> - <height>106</height> + <height>100</height> <colordiffuse>ffffffff</colordiffuse> <onleft>1026</onleft> <onright>1026</onright> @@ -220,7 +220,8 @@ <speed>10</speed> <textcolor>FFFFFFFF</textcolor> <label>-</label> - </control> + <seperator>------------------------------------------------------------------------------------------------------------------------------</seperator> + </control> <control> <type>fadelabel</type> <description>Title (during Icons)</description> Modified: trunk/plugins/MyFilms/skin/BlueTwo/MesFilmsDetail.xml =================================================================== --- trunk/plugins/MyFilms/skin/BlueTwo/MesFilmsDetail.xml 2007-06-20 19:13:06 UTC (rev 580) +++ trunk/plugins/MyFilms/skin/BlueTwo/MesFilmsDetail.xml 2007-06-20 19:56:40 UTC (rev 581) @@ -384,7 +384,7 @@ <id>2050</id> <posX>290</posX> <posY>400</posY> - <width>416</width> + <width>410</width> <height>140</height> <colordiffuse>ffffffff</colordiffuse> <textcolor>FFFFFFFF</textcolor> Modified: trunk/plugins/MyFilms/skin/BlueTwo wide/MesFilms.xml =================================================================== --- trunk/plugins/MyFilms/skin/BlueTwo wide/MesFilms.xml 2007-06-20 19:13:06 UTC (rev 580) +++ trunk/plugins/MyFilms/skin/BlueTwo wide/MesFilms.xml 2007-06-20 19:56:40 UTC (rev 581) @@ -1,6 +1,6 @@ <window> <id>7986</id> - <defaultcontrol>1026</defaultcontrol> + <defaultcontrol>6</defaultcontrol> <allowoverlay>yes</allowoverlay> <controls> <import>common.time.xml</import> @@ -24,7 +24,7 @@ <description>AMC logo</description> <type>image</type> <id>1</id> - <posX>75</posX> + <posX>110</posX> <posY>70</posY> <height>40</height> <colordiffuse>9Fffffff</colordiffuse> @@ -35,8 +35,8 @@ <description>Selection</description> <type>fadelabel</type> <id>12</id> - <posX>270</posX> - <posY>70</posY> + <posX>480</posX> + <posY>60</posY> <label>label</label> <font>font14</font> <align>left</align> @@ -56,12 +56,24 @@ <animation effect="fade" time="500">WindowClose</animation> <animation effect="fade" time="250">WindowOpen</animation> <control> + <type>button</type> + <description>Layout</description> + <id>6</id> + <onleft>5</onleft> + <onright>1026</onright> + <onup>5</onup> + <ondown>2</ondown> + <animation>unfocus</animation> + <label>101</label> + <textcolor>ff000000</textcolor> + </control> + <control> <description>Sort button</description> <type>sortbutton</type> <id>2</id> - <onleft>5</onleft> + <onleft>6</onleft> <onright>1026</onright> - <onup>5</onup> + <onup>6</onup> <ondown>3</ondown> <textureFocus>menu_list_focus.png</textureFocus> <disabledcolor>60ffffff</disabledcolor> @@ -100,7 +112,7 @@ <onleft>4</onleft> <onright>1026</onright> <onup>4</onup> - <ondown>319</ondown> + <ondown>6</ondown> <label>137</label> </control> </control> @@ -126,6 +138,47 @@ </padding> </mpe> <control> + <description>composite control consisting of a list control and a thumbnail panel</description> + <type>facadeview</type> + <id>1026</id> + <control> + <description>Thumbnail Panel</description> + <type>thumbnailpanel</type> + <scrollOffset>1</scrollOffset> + <onleft>6</onleft> + <itemWidth>140</itemWidth> + <itemHeight>192</itemHeight> + <textureWidth>98</textureWidth> + <thumbWidth>70</thumbWidth> + <thumbPosX>14</thumbPosX> + <textureWidthBig>184</textureWidthBig> + <itemWidthBig>204</itemWidthBig> + <thumbWidthBig>140</thumbWidthBig> + <thumbPosXBig>20</thumbPosXBig> + </control> + <control> + <type>listcontrol</type> + <description>listcontrol</description> + <posX>440</posX> + <posY>97</posY> + <width>780</width> + <height>512</height> + <onleft>6</onleft> + <font>font13</font> + </control> + <control> + <description>Filmstrip view</description> + <type>filmstrip</type> + <width>440</width> + <height>354</height> + <onleft>6</onleft> + <backgroundx>722</backgroundx> + <backgroundwidth>314</backgroundwidth> + <InfoImagex>742</InfoImagex> + <InfoImagewidth>266</InfoImagewidth> + </control> + </control> + <control> <description>Biography value</description> <type>textboxscrollup</type> <id>1025</id> @@ -142,27 +195,30 @@ <speed>10</speed> <label>-</label> <font>font12</font> + <seperator>------------------------------------------------------------------------------------------------------------------------------</seperator> </control> - <control> - <description>listcontrol</description> - <type>listcontrol</type> - <id>1026</id> - <width>780</width> - <height>512</height> - <onleft>2</onleft> - <onright>1000</onright> - <onup>1026</onup> - <ondown>1026</ondown> - <posX>440</posX> - <posY>97</posY> - </control> + <control> + <type>fadelabel</type> + <description>Title (during Icons)</description> + <id>1027</id> + <posX>130</posX> + <posY>610</posY> + <onleft>6</onleft> + <onright>1026</onright> + <onup>1026</onup> + <ondown>1026</ondown> + <font>font12</font> + <width>280</width> + <height>24</height> + <label>-</label> + </control> </control> <control> <description>Star rating</description> <type>image</type> <id>1065</id> - <posX>387</posX> - <posY>400</posY> + <posX>367</posX> + <posY>430</posY> <width>36</width> <height>36</height> <visible>no</visible> @@ -173,8 +229,8 @@ <description>Star rating half grey</description> <type>image</type> <id>1060</id> - <posX>387</posX> - <posY>400</posY> + <posX>367</posX> + <posY>430</posY> <width>36</width> <height>36</height> <visible>no</visible> @@ -185,8 +241,8 @@ <description>Star rating grey</description> <type>image</type> <id>1055</id> - <posX>387</posX> - <posY>400</posY> + <posX>367</posX> + <posY>430</posY> <width>36</width> <height>36</height> <visible>no</visible> @@ -197,8 +253,8 @@ <description>Star rating</description> <type>image</type> <id>1064</id> - <posX>390</posX> - <posY>366</posY> + <posX>370</posX> + <posY>396</posY> <width>30</width> <height>30</height> <visible>no</visible> @@ -209,8 +265,8 @@ <description>Star rating half grey</description> <type>image</type> <id>1059</id> - <posX>390</posX> - <posY>366</posY> + <posX>370</posX> + <posY>396</posY> <width>30</width> <height>30</height> <visible>no</visible> @@ -221,8 +277,8 @@ <description>Star rating grey</description> <type>image</type> <id>1054</id> - <posX>390</posX> - <posY>366</posY> + <posX>370</posX> + <posY>396</posY> <width>30</width> <height>30</height> <visible>no</visible> @@ -233,8 +289,8 @@ <description>Star rating</description> <type>image</type> <id>1063</id> - <posX>393</posX> - <posY>338</posY> + <posX>373</posX> + <posY>368</posY> <width>24</width> <height>24</height> <visible>no</visible> @@ -245,8 +301,8 @@ <description>Star rating half grey</description> <type>image</type> <id>1058</id> - <posX>393</posX> - <posY>338</posY> + <posX>373</posX> + <posY>368</posY> <width>24</width> <height>24</height> <visible>no</visible> @@ -257,8 +313,8 @@ <description>Star rating grey</description> <type>image</type> <id>1053</id> - <posX>393</posX> - <posY>338</posY> + <posX>373</posX> + <posY>368</posY> <width>24</width> <height>24</height> <visible>no</visible> @@ -269,8 +325,8 @@ <description>Star rating</description> <type>image</type> <id>1062</id> - <posX>397</posX> - <posY>316</posY> + <posX>377</posX> + <posY>346</posY> <width>18</width> <height>18</height> <visible>no</visible> @@ -281,8 +337,8 @@ <description>Star rating half grey</description> <type>image</type> <id>1057</id> - <posX>397</posX> - <posY>316</posY> + <posX>377</posX> + <posY>346</posY> <width>18</width> <height>18</height> <visible>no</visible> @@ -293,8 +349,8 @@ <description>Star rating grey</description> <type>image</type> <id>1052</id> - <posX>397</posX> - <posY>316</posY> + <posX>377</posX> + <posY>346</posY> <width>18</width> <height>18</height> <visible>no</visible> @@ -305,8 +361,8 @@ <description>Star rating</description> <type>image</type> <id>1061</id> - <posX>400</posX> - <posY>300</posY> + <posX>380</posX> + <posY>330</posY> <width>12</width> <height>12</height> <visible>no</visible> @@ -317,8 +373,8 @@ <description>Star rating half grey</description> <type>image</type> <id>1056</id> - <posX>400</posX> - <posY>300</posY> + <posX>380</posX> + <posY>330</posY> <width>12</width> <height>12</height> <visible>no</visible> @@ -329,8 +385,8 @@ <description>Star rating grey</description> <type>image</type> <id>1051</id> - <posX>400</posX> - <posY>300</posY> + <posX>380</posX> + <posY>330</posY> <width>12</width> <height>12</height> <visible>no</visible> @@ -341,10 +397,10 @@ <description>Thumbnail with video playing</description> <type>image</type> <id>1020</id> - <posX>150</posX> - <posY>280</posY> + <posX>155</posX> + <posY>310</posY> <width>180</width> - <height>245</height> + <height>225</height> <keepaspectratio>yes</keepaspectratio> <texture>-</texture> </control> @@ -352,10 +408,10 @@ <description>Thumbnail with no video playing</description> <type>image</type> <id>1021</id> - <posX>120</posX> - <posY>290</posY> + <posX>130</posX> + <posY>320</posY> <width>240</width> - <height>350</height> + <height>280</height> <keepaspectratio>yes</keepaspectratio> <texture>-</texture> </control> @@ -364,7 +420,7 @@ <type>label</type> <id>1022</id> <posX>155</posX> - <posY>630</posY> + <posY>650</posY> <visible>no</visible> <label>6</label> <font>font12</font> @@ -374,7 +430,7 @@ <type>label</type> <id>1024</id> <posX>155</posX> - <posY>660</posY> + <posY>680</posY> <width>180</width> <visible>no</visible> <align>left</align> Modified: trunk/plugins/MyFilms/skin/BlueTwo wide/MesFilmsDetail.xml =================================================================== --- trunk/plugins/MyFilms/skin/BlueTwo wide/MesFilmsDetail.xml 2007-06-20 19:13:06 UTC (rev 580) +++ trunk/plugins/MyFilms/skin/BlueTwo wide/MesFilmsDetail.xml 2007-06-20 19:56:40 UTC (rev 581) @@ -23,7 +23,7 @@ <description>logo</description> <type>image</type> <id>1</id> - <posX>95</posX> + <posX>110</posX> <posY>70</posY> <height>40</height> <colordiffuse>9Fffffff</colordiffuse> @@ -164,7 +164,7 @@ <posX>480</posX> <posY>98</posY> <label>#Title</label> - <width>510</width> + <width>545</width> <font>font16</font> <colordiffuse>ffffffff</colordiffuse> <textcolor>ffffffff</textcolor> @@ -175,9 +175,9 @@ <type>fadelabel</type> <id>2026</id> <posX>750</posX> - <posY>120</posY> + <posY>122</posY> <label>#OTitle</label> - <width>250</width> + <width>280</width> <font>font12</font> <colordiffuse>ffe0e0e0</colordiffuse> <textcolor>ffc0c0c0</textcolor> @@ -412,7 +412,7 @@ <description>Biography value</description> <type>textboxscrollup</type> <id>2040</id> - <posX>603</posX> + <posX>660</posX> <posY>330</posY> <width>563</width> <height>100</height> @@ -420,6 +420,7 @@ <textcolor>FFFFFFFF</textcolor> <label>#acteurs</label> <font>font12</font> + <seperator>-----------------------------------------------------------------------------------</seperator> </control> <control> <description>description value</description> @@ -427,12 +428,13 @@ <id>2050</id> <posX>480</posX> <posY>450</posY> - <width>700</width> + <width>740</width> <height>200</height> <colordiffuse>ffffffff</colordiffuse> <textcolor>FFFFFFFF</textcolor> <label>#description</label> <font>font12</font> + <seperator>-----------------------------------------------------------------------------------------------------------------</seperator> </control> <control> <description>Thumbnail with no video playing</description> @@ -488,7 +490,7 @@ <type>fadelabel</type> <id>12</id> <posX>480</posX> - <posY>60</posY> + <posY>50</posY> <label>#select</label> <width>280</width> <font>font14</font> @@ -498,8 +500,8 @@ <control> <type>image</type> <id>2072</id> - <posX>1180</posX> - <posY>200</posY> + <posX>1170</posX> + <posY>202</posY> <width>35</width> <height>35</height> <align>right</align> Modified: trunk/plugins/MyFilms/skin/Project Mayhem 3/MesFilms.xml =================================================================== --- trunk/plugins/MyFilms/skin/Project Mayhem 3/MesFilms.xml 2007-06-20 19:13:06 UTC (rev 580) +++ trunk/plugins/MyFilms/skin/Project Mayhem 3/MesFilms.xml 2007-06-20 19:56:40 UTC (rev 581) @@ -1,6 +1,6 @@ <window> <id>7986</id> - <defaultcontrol>1026</defaultcontrol> + <defaultcontrol>6</defaultcontrol> <allowoverlay>yes</allowoverlay> <controls> <control> @@ -62,22 +62,22 @@ <animation effect="fade" time="250">WindowOpen</animation> <layout>StackLayout</layout> <control> + <type>button</type> + <description>View-as button</description> + <id>6</id> + <onleft>5</onleft> + <onright>1026</onright> + <onup>5</onup> + <ondown>2</ondown> + <label>101</label> + </control> + <control> <type>sortbutton</type> <id>2</id> - <onleft>5</onleft> + <onleft>6</onleft> <onright>1026</onright> - <onup>5</onup> + <onup>6</onup> <ondown>3</ondown> - <textureAscendingFocused>arrow_round_up_focus.png</textureAscendingFocused> - <font>font13</font> - <disabledcolor>60ffffff</disabledcolor> - <label>103</label> - <offsetSortButtonY>8</offsetSortButtonY> - <offsetSortButtonX>165</offsetSortButtonX> - <textcolor>White</textcolor> - <textureAscending>arrow_round_up_nofocus.png</textureAscending> - <textureDescending>arrow_round_down_nofocus.png</textureDescending> - <textureDescendingFocused>arrow_round_down_focus.png</textureDescendingFocused> </control> <control> <type>button</type> @@ -106,7 +106,7 @@ <onleft>4</onleft> <onright>1026</onright> <onup>4</onup> - <ondown>319</ondown> + <ondown>6</ondown> <label>137</label> </control> </control> @@ -131,13 +131,58 @@ <left>0</left> </padding> </mpe> + <control> + <description>composite control consisting of a list control and a thumbnail panel</description> + <type>facadeview</type> + <id>1026</id> + <control> + <description>Thumbnail Panel</description> + <type>thumbnailpanel</type> + <scrollOffset>1</scrollOffset> + <onleft>6</onleft> + <itemWidth>72</itemWidth> + <textureWidth>58</textureWidth> + <thumbWidth>44</thumbWidth> + <thumbPosX>7</thumbPosX> + <textureWidthBig>85</textureWidthBig> + <textureHeightBig>110</textureHeightBig> + <itemWidthBig>108</itemWidthBig> + <itemHeightBig>130</itemHeightBig> + <thumbWidthBig>64</thumbWidthBig> + <thumbHeightBig>90</thumbHeightBig> + <thumbPosXBig>10</thumbPosXBig> + </control> + <control> + <type>listcontrol</type> + <description>listcontrol</description> + <width>490</width> + <height>284</height> + <onleft>6</onleft> + <font>font13</font> + </control> + <control> + <description>Filmstrip view</description> + <type>filmstrip</type> + <width>440</width> + <height>354</height> + <onleft>6</onleft> + <backgroundx>354</backgroundx> + <backgroundy>99</backgroundy> + <backgroundwidth>238</backgroundwidth> + <backgroundheight>336</backgroundheight> + <InfoImagex>366</InfoImagex> + <InfoImagey>118</InfoImagey> + <InfoImagewidth>197</InfoImagewidth> + <InfoImageheight>274</InfoImageheight> + </control> + </control> <control> <type>textboxscrollup</type> <description>Biography value</description> <id>1025</id> <posX>220</posX> <posY>384</posY> - <width>480</width> + <width>500</width> <height>126</height> <onleft>2</onleft> <onright>1026</onright> @@ -148,28 +193,31 @@ <speed>10</speed> <label>-</label> <font>font12</font> - </control> - <control> - <type>listcontrol</type> - <description>listcontrol</description> - <id>1026</id> - <posX>215</posX> - <posY>120</posY> - <width>490</width> - <height>284</height> - <onleft>2</onleft> - <onright>1000</onright> - <onup>1026</onup> + <seperator>------------------------------------------------------------------------------------------------------------------------------</seperator> + </control> + <control> + <type>fadelabel</type> + <description>Title (during Icons)</description> + <id>1027</id> + <posX>15</posX> + <posY>465</posY> + <onleft>6</onleft> + <onright>1026</onright> + <onup>1026</onup> <ondown>1026</ondown> + <font>font12</font> + <width>165</width> + <height>24</height> + <label>-</label> </control> </control> <control> <type>image</type> <id>6969</id> <posX>5</posX> - <posY>260</posY> + <posY>280</posY> <width>190</width> - <height>250</height> + <height>230</height> <keepaspectratio>no</keepaspectratio> <texture>context_background.png</texture> </control> @@ -177,7 +225,7 @@ <type>image</type> <id>1065</id> <posX>14</posX> - <posY>390</posY> + <posY>410</posY> <width>36</width> <height>36</height> <visible>no</visible> @@ -188,7 +236,7 @@ <type>image</type> <id>1064</id> <posX>17</posX> - <posY>356</posY> + <posY>376</posY> <width>30</width> <height>30</height> <visible>no</visible> @@ -199,7 +247,7 @@ <type>image</type> <id>1063</id> <posX>20</posX> - <posY>328</posY> + <posY>348</posY> <width>24</width> <height>24</height> <visible>no</visible> @@ -210,7 +258,7 @@ <type>image</type> <id>1062</id> <posX>23</posX> - <posY>306</posY> + <posY>326</posY> <width>18</width> <height>18</height> <visible>no</visible> @@ -221,7 +269,7 @@ <type>image</type> <id>1061</id> <posX>26</posX> - <posY>290</posY> + <posY>310</posY> <width>12</width> <height>12</height> <visible>no</visible> @@ -232,7 +280,7 @@ <type>image</type> <id>1060</id> <posX>14</posX> - <posY>390</posY> + <posY>410</posY> <width>36</width> <height>36</height> <visible>no</visible> @@ -243,7 +291,7 @@ <type>image</type> <id>1059</id> <posX>17</posX> - <posY>356</posY> + <posY>376</posY> <width>30</width> <height>30</height> <visible>no</visible> @@ -254,7 +302,7 @@ <type>image</type> <id>1058</id> <posX>20</posX> - <posY>328</posY> + <posY>348</posY> <width>24</width> <height>24</height> <visible>no</visible> @@ -265,7 +313,7 @@ <type>image</type> <id>1057</id> <posX>23</posX> - <posY>306</posY> + <posY>326</posY> <width>18</width> <height>18</height> <visible>no</visible> @@ -276,7 +324,7 @@ <type>image</type> <id>1056</id> <posX>26</posX> - <posY>290</posY> + <posY>310</posY> <width>12</width> <height>12</height> <visible>no</visible> @@ -287,7 +335,7 @@ <type>image</type> <id>1055</id> <posX>14</posX> - <posY>390</posY> + <posY>410</posY> <width>36</width> <height>36</height> <visible>no</visible> @@ -298,7 +346,7 @@ <type>image</type> <id>1054</id> <posX>17</posX> - <posY>356</posY> + <posY>376</posY> <width>30</width> <height>30</height> <visible>no</visible> @@ -309,7 +357,7 @@ <type>image</type> <id>1053</id> <posX>20</posX> - <posY>328</posY> + <posY>348</posY> <width>24</width> <height>24</height> <visible>no</visible> @@ -320,7 +368,7 @@ <type>image</type> <id>1052</id> <posX>23</posX> - <posY>306</posY> + <posY>326</posY> <width>18</width> <height>18</height> <visible>no</visible> @@ -331,7 +379,7 @@ <type>image</type> <id>1051</id> <posX>26</posX> - <posY>290</posY> + <posY>310</posY> <width>12</width> <height>12</height> <visible>no</visible> @@ -342,9 +390,9 @@ <type>image</type> <id>1020</id> <posX>55</posX> - <posY>290</posY> + <posY>295</posY> <width>130</width> - <height>180</height> + <height>170</height> <keepaspectratio>yes</keepaspectratio> <texture>-</texture> </control> @@ -352,9 +400,9 @@ <type>image</type> <id>1021</id> <posX>55</posX> - <posY>290</posY> + <posY>304</posY> <width>130</width> - <height>180</height> + <height>160</height> <keepaspectratio>yes</keepaspectratio> <texture>-</texture> </control> Modified: trunk/plugins/MyFilms/skin/Project Mayhem 3/MesFilmsDetail.xml =================================================================== --- trunk/plugins/MyFilms/skin/Project Mayhem 3/MesFilmsDetail.xml 2007-06-20 19:13:06 UTC (rev 580) +++ trunk/plugins/MyFilms/skin/Project Mayhem 3/MesFilmsDetail.xml 2007-06-20 19:56:40 UTC (rev 581) @@ -400,6 +400,7 @@ <textcolor>FFFFFFFF</textcolor> <label>#description</label> <font>font12</font> + <seperator>-------------------------------------------------------------------------------------------------------------------</seperator> </control> <control> <type>textboxscrollup</type> @@ -413,6 +414,7 @@ <textcolor>FFFFFFFF</textcolor> <label>#acteurs</label> <font>font12</font> + <seperator>-----------------------------------------------------------------------------------</seperator> </control> <control> <type>fadelabel</type> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-20 19:13:10
|
Revision: 580 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=580&view=rev Author: chef_koch Date: 2007-06-20 12:13:06 -0700 (Wed, 20 Jun 2007) Log Message: ----------- fixed small compiling error Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs 2007-06-20 19:01:03 UTC (rev 579) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs 2007-06-20 19:13:06 UTC (rev 580) @@ -868,7 +868,7 @@ try { AppID = GetNewAppID(); // important to avoid subsequent inserts! - string sql = String.Format("insert into tblApplicationItem (appid, fatherID, title, shorttitle, filename, arguments, windowstyle, startupdir, useshellexecute, usequotes, source_type, source, imagefile, filedirectory, imagedirectory, validextensions, importvalidimagesonly, iposition, enabled, enableGUIRefresh, GUIRefreshPossible, pincode, contentID, systemDefault, WaitForExit, preLaunch, postLaunch) values('{0}', '{1}', '{2}', '{3}', '{4}', '{5}', '{6}', '{7}', '{8}', '{9}', '{10}', '{11}', '{12}', '{13}', '{14}', '{15}', '{16}', '{17}', '{18}', '{19}', '{20}', '{21}', '{22}', '{23}', '{24}', '{25}', '{26}')", + sql = String.Format("insert into tblApplicationItem (appid, fatherID, title, shorttitle, filename, arguments, windowstyle, startupdir, useshellexecute, usequotes, source_type, source, imagefile, filedirectory, imagedirectory, validextensions, importvalidimagesonly, iposition, enabled, enableGUIRefresh, GUIRefreshPossible, pincode, contentID, systemDefault, WaitForExit, preLaunch, postLaunch) values('{0}', '{1}', '{2}', '{3}', '{4}', '{5}', '{6}', '{7}', '{8}', '{9}', '{10}', '{11}', '{12}', '{13}', '{14}', '{15}', '{16}', '{17}', '{18}', '{19}', '{20}', '{21}', '{22}', '{23}', '{24}', '{25}', '{26}')", AppID, FatherID, ProgramUtils.Encode(Title), ProgramUtils.Encode(ShortTitle), ProgramUtils.Encode(Filename), ProgramUtils.Encode(Arguments), ProgramUtils.WindowStyleToStr(WindowStyle), ProgramUtils.Encode(StartupDir), ProgramUtils.BooleanToStr(UseShellExecute), ProgramUtils.BooleanToStr(UseQuotes), ProgramUtils.ApplicationTypeToString(SourceType), ProgramUtils.Encode(Source), ProgramUtils.Encode(Imagefile), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-20 19:01:05
|
Revision: 579 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=579&view=rev Author: chef_koch Date: 2007-06-20 12:01:03 -0700 (Wed, 20 Jun 2007) Log Message: ----------- cleaned up some the db methods (no sql code changes, mostly move the pre conditions to the beginning of each method) Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs 2007-06-20 18:43:30 UTC (rev 578) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs 2007-06-20 19:01:03 UTC (rev 579) @@ -540,9 +540,6 @@ - - - void proc_Exited(object sender, EventArgs e) { @@ -741,7 +738,6 @@ } - #region old sorting stuff, some(all) might be obsolete, but maybe usefull for improving new sorting method public virtual void OnSort(GUIFacadeControl view, bool doSwitchState) @@ -794,7 +790,6 @@ #endregion - public virtual bool RefreshButtonVisible() { return false; // otherwise, override this in child class @@ -837,208 +832,191 @@ // descendant classes do that! } + #region Database stuff - #region DB stuff - + /// <summary> + /// get an unused SQL application KEY-number + /// </summary> private int GetNewAppID() { - // get an unused SQL application KEY-number - if (sqlDB != null) + if (sqlDB == null) return -1; + + // won't work in multiuser environment :) + SQLiteResultSet results; + int res = 0; + results = sqlDB.Execute("SELECT MAX(APPID) FROM tblApplicationItem"); + SQLiteResultSet.Row arr = results.Rows[0]; + if (arr.fields[0] != null) { - // won't work in multiuser environment :) - SQLiteResultSet results; - int res = 0; - results = sqlDB.Execute("SELECT MAX(APPID) FROM tblApplicationItem"); - SQLiteResultSet.Row arr = results.Rows[0]; - if (arr.fields[0] != null) + if (arr.fields[0] != "") { - if (arr.fields[0] != "") - { - res = Int32.Parse(arr.fields[0]); - } + res = Int32.Parse(arr.fields[0]); } - return res + 1; } - else return -1; + return res + 1; } private void Insert() { - if (sqlDB != null) + if (sqlDB == null) return; + + string sql = ""; + string Pincode = ""; //to remove + + if (ContentID <= 0) + ContentID = 100; + try { - try - { - if (ContentID <= 0) - { - ContentID = 100; - } - //to remove - string Pincode = ""; - AppID = GetNewAppID(); // important to avoid subsequent inserts! - string sql = String.Format("insert into tblApplicationItem (appid, fatherID, title, shorttitle, filename, arguments, windowstyle, startupdir, useshellexecute, usequotes, source_type, source, imagefile, filedirectory, imagedirectory, validextensions, importvalidimagesonly, iposition, enabled, enableGUIRefresh, GUIRefreshPossible, pincode, contentID, systemDefault, WaitForExit, preLaunch, postLaunch) values('{0}', '{1}', '{2}', '{3}', '{4}', '{5}', '{6}', '{7}', '{8}', '{9}', '{10}', '{11}', '{12}', '{13}', '{14}', '{15}', '{16}', '{17}', '{18}', '{19}', '{20}', '{21}', '{22}', '{23}', '{24}', '{25}', '{26}')", - AppID, FatherID, ProgramUtils.Encode(Title), ProgramUtils.Encode(ShortTitle), ProgramUtils.Encode(Filename), ProgramUtils.Encode(Arguments), - ProgramUtils.WindowStyleToStr(WindowStyle), ProgramUtils.Encode(StartupDir), ProgramUtils.BooleanToStr(UseShellExecute), - ProgramUtils.BooleanToStr(UseQuotes), ProgramUtils.ApplicationTypeToString(SourceType), ProgramUtils.Encode(Source), ProgramUtils.Encode(Imagefile), - ProgramUtils.Encode(FileDirectory), ProgramUtils.Encode(ImageDirectory), ProgramUtils.Encode(ValidExtensions), ProgramUtils.BooleanToStr(importValidImagesOnly), Position, - ProgramUtils.BooleanToStr(Enabled), ProgramUtils.BooleanToStr(EnableGUIRefresh), ProgramUtils.BooleanToStr(GUIRefreshPossible), Pincode, - ContentID, ProgramUtils.Encode(SystemDefault), ProgramUtils.BooleanToStr(WaitForExit), ProgramUtils.Encode(PreLaunch), ProgramUtils.Encode(PostLaunch) - ); - sqlDB.Execute(sql); - } - catch (SQLiteException ex) - { - Log.Info("programdatabase exception err:{0} stack:{1}", ex.Message, ex.StackTrace); - } + AppID = GetNewAppID(); // important to avoid subsequent inserts! + string sql = String.Format("insert into tblApplicationItem (appid, fatherID, title, shorttitle, filename, arguments, windowstyle, startupdir, useshellexecute, usequotes, source_type, source, imagefile, filedirectory, imagedirectory, validextensions, importvalidimagesonly, iposition, enabled, enableGUIRefresh, GUIRefreshPossible, pincode, contentID, systemDefault, WaitForExit, preLaunch, postLaunch) values('{0}', '{1}', '{2}', '{3}', '{4}', '{5}', '{6}', '{7}', '{8}', '{9}', '{10}', '{11}', '{12}', '{13}', '{14}', '{15}', '{16}', '{17}', '{18}', '{19}', '{20}', '{21}', '{22}', '{23}', '{24}', '{25}', '{26}')", + AppID, FatherID, ProgramUtils.Encode(Title), ProgramUtils.Encode(ShortTitle), ProgramUtils.Encode(Filename), ProgramUtils.Encode(Arguments), + ProgramUtils.WindowStyleToStr(WindowStyle), ProgramUtils.Encode(StartupDir), ProgramUtils.BooleanToStr(UseShellExecute), + ProgramUtils.BooleanToStr(UseQuotes), ProgramUtils.ApplicationTypeToString(SourceType), ProgramUtils.Encode(Source), ProgramUtils.Encode(Imagefile), + ProgramUtils.Encode(FileDirectory), ProgramUtils.Encode(ImageDirectory), ProgramUtils.Encode(ValidExtensions), ProgramUtils.BooleanToStr(importValidImagesOnly), Position, + ProgramUtils.BooleanToStr(Enabled), ProgramUtils.BooleanToStr(EnableGUIRefresh), ProgramUtils.BooleanToStr(GUIRefreshPossible), Pincode, + ContentID, ProgramUtils.Encode(SystemDefault), ProgramUtils.BooleanToStr(WaitForExit), ProgramUtils.Encode(PreLaunch), ProgramUtils.Encode(PostLaunch) + ); + sqlDB.Execute(sql); } + catch (SQLiteException ex) + { + Log.Info("programdatabase exception err:{0} stack:{1}", ex.Message, ex.StackTrace); + } } private void Update() { + if (sqlDB == null) return; + if (AppID == -1) return; + string sql = ""; - //to remove - string Pincode = ""; - if ((AppID >= 0) && (sqlDB != null)) + string Pincode = ""; //to remove + + if (ContentID <= 0) + ContentID = 100; + try { - if (ContentID <= 0) - { - ContentID = 100; - } - try - { - sql = String.Format( - "update tblApplicationItem set" + - "title = '" + ProgramUtils.Encode(Title) + - "', shorttitle = '" + ProgramUtils.Encode(ShortTitle) + - "', filename = '" + ProgramUtils.Encode(Filename) + - "', arguments = '" + ProgramUtils.Encode(Arguments) + - "', windowstyle = '" + ProgramUtils.WindowStyleToStr(WindowStyle) + - "', startupdir = '" + ProgramUtils.Encode(StartupDir) + - "', useshellexecute = '" + ProgramUtils.BooleanToStr(UseShellExecute) + - "', usequotes = '" + ProgramUtils.BooleanToStr(UseQuotes) + - "', source_type = '" + ProgramUtils.ApplicationTypeToString(SourceType) + - "', source = '" + ProgramUtils.Encode(Source) + - "', imagefile = '" + ProgramUtils.Encode(Imagefile) + - "', filedirectory = '" + ProgramUtils.Encode(FileDirectory) + - "', imagedirectory = '" + ProgramUtils.Encode(ImageDirectory) + - "', validextensions = '" + ProgramUtils.Encode(ValidExtensions) + - "', importvalidimagesonly = '" + ProgramUtils.BooleanToStr(importValidImagesOnly) + - "', iposition = " + Position + - ", enabled = '" + ProgramUtils.BooleanToStr(Enabled) + - "', fatherID = '" + FatherID + - "', enableGUIRefresh = '" + ProgramUtils.BooleanToStr(EnableGUIRefresh) + - "', GUIRefreshPossible = '" + ProgramUtils.BooleanToStr(GUIRefreshPossible) + - "', pincode = '" + Pincode + - "', contentID = '" + ContentID + - "', systemDefault = '" + ProgramUtils.Encode(SystemDefault) + - "', WaitForExit = '" + ProgramUtils.BooleanToStr(WaitForExit) + - "', preLaunch = '" + ProgramUtils.Encode(PreLaunch) + - "', postLaunch = '" + ProgramUtils.Encode(PostLaunch) + - "' where appID = " + AppID); - sqlDB.Execute(sql); - } - catch (SQLiteException ex) - { - Log.Info("programdatabase exception err:{0} stack:{1}", ex.Message, ex.StackTrace); - Log.Info("sql \n{0}", sql); - } + sql = String.Format( + "update tblApplicationItem set" + + "title = '" + ProgramUtils.Encode(Title) + + "', shorttitle = '" + ProgramUtils.Encode(ShortTitle) + + "', filename = '" + ProgramUtils.Encode(Filename) + + "', arguments = '" + ProgramUtils.Encode(Arguments) + + "', windowstyle = '" + ProgramUtils.WindowStyleToStr(WindowStyle) + + "', startupdir = '" + ProgramUtils.Encode(StartupDir) + + "', useshellexecute = '" + ProgramUtils.BooleanToStr(UseShellExecute) + + "', usequotes = '" + ProgramUtils.BooleanToStr(UseQuotes) + + "', source_type = '" + ProgramUtils.ApplicationTypeToString(SourceType) + + "', source = '" + ProgramUtils.Encode(Source) + + "', imagefile = '" + ProgramUtils.Encode(Imagefile) + + "', filedirectory = '" + ProgramUtils.Encode(FileDirectory) + + "', imagedirectory = '" + ProgramUtils.Encode(ImageDirectory) + + "', validextensions = '" + ProgramUtils.Encode(ValidExtensions) + + "', importvalidimagesonly = '" + ProgramUtils.BooleanToStr(importValidImagesOnly) + + "', iposition = " + Position + + ", enabled = '" + ProgramUtils.BooleanToStr(Enabled) + + "', fatherID = '" + FatherID + + "', enableGUIRefresh = '" + ProgramUtils.BooleanToStr(EnableGUIRefresh) + + "', GUIRefreshPossible = '" + ProgramUtils.BooleanToStr(GUIRefreshPossible) + + "', pincode = '" + Pincode + + "', contentID = '" + ContentID + + "', systemDefault = '" + ProgramUtils.Encode(SystemDefault) + + "', WaitForExit = '" + ProgramUtils.BooleanToStr(WaitForExit) + + "', preLaunch = '" + ProgramUtils.Encode(PreLaunch) + + "', postLaunch = '" + ProgramUtils.Encode(PostLaunch) + + "' where appID = " + AppID); + sqlDB.Execute(sql); } + catch (SQLiteException ex) + { + Log.Info("programdatabase exception err:{0} stack:{1}", ex.Message, ex.StackTrace); + Log.Info("sql \n{0}", sql); + } } public void Delete() { - if ((AppID >= 0) && (sqlDB != null)) + if (sqlDB == null) return; + if (AppID == -1) return; + + try { - try - { - DeleteFiles(); - DeleteFileLinks(); - sqlDB.Execute(String.Format("delete from tblApplicationItem where appid = {0}", AppID)); - } - catch (SQLiteException ex) - { - Log.Info("programdatabase exception err:{0} stack:{1}", ex.Message, ex.StackTrace); - } + DeleteFiles(); + DeleteFileLinks(); + sqlDB.Execute(String.Format("delete from tblApplicationItem where appid = {0}", AppID)); } + catch (SQLiteException ex) + { + Log.Info("programdatabase exception err:{0} stack:{1}", ex.Message, ex.StackTrace); + } } protected void DeleteFiles() { - if ((AppID >= 0) && (sqlDB != null)) + if (sqlDB == null) return; + if (AppID == -1) return; + + try { - try - { - sqlDB.Execute(String.Format("delete from tblFileItem where appid = {0}", AppID)); - } - catch (SQLiteException ex) - { - Log.Info("programdatabase exception err:{0} stack:{1}", ex.Message, ex.StackTrace); - } + sqlDB.Execute(String.Format("delete from tblFileItem where appid = {0}", AppID)); } + catch (SQLiteException ex) + { + Log.Info("programdatabase exception err:{0} stack:{1}", ex.Message, ex.StackTrace); + } } protected void DeleteFileLinks() { - if ((AppID >= 0) && (sqlDB != null)) + if (sqlDB == null) return; + if (AppID == -1) return; + + try { - try - { - sqlDB.Execute(String.Format("delete from tblFilterItem where appid = {0} or grouperappid = {0}", AppID)); - } - catch (SQLiteException ex) - { - Log.Info("programdatabase exception err:{0} stack:{1}", ex.Message, ex.StackTrace); - } + sqlDB.Execute(String.Format("delete from tblFilterItem where appid = {0} or grouperappid = {0}", AppID)); } + catch (SQLiteException ex) + { + Log.Info("programdatabase exception err:{0} stack:{1}", ex.Message, ex.StackTrace); + } } public virtual void LoadFiles() { - if (sqlDB != null) - { - // load Files and fill Files-List<string> here! - if (fileList == null) - { - fileList = new FileItemList(sqlDB); - } - else - { - fileList.Clear(); - } - lastFilepath = ""; - fileList.Load(AppID, ""); - filesAreLoaded = true; - } + if (sqlDB == null) return; + + // load Files and fill Files-List<string> here! + if (fileList == null) + fileList = new FileItemList(sqlDB); + else + fileList.Clear(); + + lastFilepath = ""; + fileList.Load(AppID, ""); + filesAreLoaded = true; } public virtual void LoadFileLinks() { - if (sqlDB != null) - { - if (fileLinks == null) - { - fileLinks = new FilelinkItemList(sqlDB); - } - else - { - fileLinks.Clear(); - } - lastFilepath = ""; - fileLinks.Load(AppID, ""); - linksAreLoaded = true; - } + if (sqlDB == null) return; + + if (fileLinks == null) + fileLinks = new FilelinkItemList(sqlDB); + else + fileLinks.Clear(); + + lastFilepath = ""; + fileLinks.Load(AppID, ""); + linksAreLoaded = true; } public void InsertOrUpdateSettings() { if (appID == -1) - { Insert(); - } else - { Update(); - } } #endregion This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-20 18:43:34
|
Revision: 578 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=578&view=rev Author: chef_koch Date: 2007-06-20 11:43:30 -0700 (Wed, 20 Jun 2007) Log Message: ----------- just a visual change how the sql in Update() is build if there are any negative consequences with this change or you don't like it, i would revert it. ;) just drop me a note Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs 2007-06-20 18:27:55 UTC (rev 577) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs 2007-06-20 18:43:30 UTC (rev 578) @@ -905,14 +905,35 @@ } try { - sql = String.Format("update tblApplicationItem set title = '{0}', shorttitle = '{1}', filename = '{2}', arguments = '{3}', windowstyle = '{4}', startupdir = '{5}', useshellexecute = '{6}', usequotes = '{7}', source_type = '{8}', source = '{9}', imagefile = '{10}',filedirectory = '{11}',imagedirectory = '{12}',validextensions = '{13}',importvalidimagesonly = '{14}',iposition = {15}, enabled = '{16}', fatherID = '{17}', enableGUIRefresh = '{18}', GUIRefreshPossible = '{19}', pincode = '{20}', contentID = '{21}', systemDefault = '{22}', WaitForExit = '{23}', preLaunch = '{24}', postLaunch = '{25}' where appID = {26}", - ProgramUtils.Encode(Title), ProgramUtils.Encode(ShortTitle), ProgramUtils.Encode(Filename), ProgramUtils.Encode(Arguments), - ProgramUtils.WindowStyleToStr(WindowStyle), ProgramUtils.Encode(StartupDir), ProgramUtils.BooleanToStr(UseShellExecute), - ProgramUtils.BooleanToStr(UseQuotes), ProgramUtils.ApplicationTypeToString(SourceType), ProgramUtils.Encode(Source), ProgramUtils.Encode(Imagefile), - ProgramUtils.Encode(FileDirectory), ProgramUtils.Encode(ImageDirectory), ProgramUtils.Encode(ValidExtensions), ProgramUtils.BooleanToStr(importValidImagesOnly), Position, - ProgramUtils.BooleanToStr(Enabled), FatherID, ProgramUtils.BooleanToStr(EnableGUIRefresh), ProgramUtils.BooleanToStr(GUIRefreshPossible), - Pincode, ContentID, ProgramUtils.Encode(SystemDefault), ProgramUtils.BooleanToStr(WaitForExit), ProgramUtils.Encode(PreLaunch), ProgramUtils.Encode(PostLaunch), - AppID); + sql = String.Format( + "update tblApplicationItem set" + + "title = '" + ProgramUtils.Encode(Title) + + "', shorttitle = '" + ProgramUtils.Encode(ShortTitle) + + "', filename = '" + ProgramUtils.Encode(Filename) + + "', arguments = '" + ProgramUtils.Encode(Arguments) + + "', windowstyle = '" + ProgramUtils.WindowStyleToStr(WindowStyle) + + "', startupdir = '" + ProgramUtils.Encode(StartupDir) + + "', useshellexecute = '" + ProgramUtils.BooleanToStr(UseShellExecute) + + "', usequotes = '" + ProgramUtils.BooleanToStr(UseQuotes) + + "', source_type = '" + ProgramUtils.ApplicationTypeToString(SourceType) + + "', source = '" + ProgramUtils.Encode(Source) + + "', imagefile = '" + ProgramUtils.Encode(Imagefile) + + "', filedirectory = '" + ProgramUtils.Encode(FileDirectory) + + "', imagedirectory = '" + ProgramUtils.Encode(ImageDirectory) + + "', validextensions = '" + ProgramUtils.Encode(ValidExtensions) + + "', importvalidimagesonly = '" + ProgramUtils.BooleanToStr(importValidImagesOnly) + + "', iposition = " + Position + + ", enabled = '" + ProgramUtils.BooleanToStr(Enabled) + + "', fatherID = '" + FatherID + + "', enableGUIRefresh = '" + ProgramUtils.BooleanToStr(EnableGUIRefresh) + + "', GUIRefreshPossible = '" + ProgramUtils.BooleanToStr(GUIRefreshPossible) + + "', pincode = '" + Pincode + + "', contentID = '" + ContentID + + "', systemDefault = '" + ProgramUtils.Encode(SystemDefault) + + "', WaitForExit = '" + ProgramUtils.BooleanToStr(WaitForExit) + + "', preLaunch = '" + ProgramUtils.Encode(PreLaunch) + + "', postLaunch = '" + ProgramUtils.Encode(PostLaunch) + + "' where appID = " + AppID); sqlDB.Execute(sql); } catch (SQLiteException ex) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-20 18:27:58
|
Revision: 577 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=577&view=rev Author: chef_koch Date: 2007-06-20 11:27:55 -0700 (Wed, 20 Jun 2007) Log Message: ----------- added a few notes for cleaning code Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/README.txt Modified: trunk/plugins/myGUIProgramsAlt/README.txt =================================================================== --- trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-20 18:20:58 UTC (rev 576) +++ trunk/plugins/myGUIProgramsAlt/README.txt 2007-06-20 18:27:55 UTC (rev 577) @@ -33,6 +33,10 @@ Revise the code, clear out BUGS: - AllGame-Import: rating is not imported correctly - fileinfodetails : fixup + - cleanup for old/obsolete view/sort/db code + -> ApplicationItem.cs: old db-sort code (replaced by ProgramSort) + -> maybe: merging CurrentView/CurrentSort..... code in GUIprograms.cs DatabaseSettings.cs: + or having this stuff only in one place Add some more specific emulator support.. - bring/keep the profiles up-to-date This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-20 18:20:59
|
Revision: 576 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=576&view=rev Author: chef_koch Date: 2007-06-20 11:20:58 -0700 (Wed, 20 Jun 2007) Log Message: ----------- fixed: changing view did not refresh an appItem's fileList if this appItem was not active on view change Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs 2007-06-20 17:57:17 UTC (rev 575) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/ApplicationItems/ApplicationItem.cs 2007-06-20 18:20:58 UTC (rev 576) @@ -65,6 +65,7 @@ bool enableGUIRefresh; int appPosition; + string currentView = ""; public bool filesAreLoaded = false; // load on demand.... protected FileItemList fileList = null; public bool linksAreLoaded = false; // load on demand.... @@ -195,6 +196,12 @@ set { appPosition = value; } } + + public string CurrentView + { + get { return currentView; } + set { currentView = value; } + } public FileItemList Files { // load on demand.... Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs 2007-06-20 17:57:17 UTC (rev 575) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs 2007-06-20 18:20:58 UTC (rev 576) @@ -521,16 +521,8 @@ } set { - if (value == null || value == "") - { - currentView = ""; - DatabaseSettings.viewHandler.CurrentView = null; - } - else - { - currentView = value; - DatabaseSettings.viewHandler.CurrentView = value; - } + currentView = value; + DatabaseSettings.viewHandler.CurrentView = value; } } @@ -999,6 +991,13 @@ { if (lastApp == null) return 0; + // Refresh FileList if view has changed, while this appItem was not active + if (lastApp.CurrentView != this.CurrentView) + { + lastApp.LoadFiles(); + lastApp.CurrentView = this.CurrentView; + } + int totalFiles = lastApp.DisplayFiles(this.lastFilepath, facadeView); return (totalFiles); } @@ -1436,10 +1435,6 @@ } } } - if (lastApp != null) - { - lastApp.LoadFiles(); - } UpdateButtons(); UpdateListControl(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-20 17:57:19
|
Revision: 575 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=575&view=rev Author: chef_koch Date: 2007-06-20 10:57:17 -0700 (Wed, 20 Jun 2007) Log Message: ----------- CurrentView is now called CurrentLayout ActualView is now called CurrentView Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs 2007-06-20 17:44:21 UTC (rev 574) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs 2007-06-20 17:57:17 UTC (rev 575) @@ -55,9 +55,6 @@ /// public class GUIPrograms : GUIWindow, ISetupForm, IShowPlugin { - static int startWindow = (int)GUIWindow.Window.WINDOW_FILES; - static string view = ""; - #region defaultOverrides /// <summary> /// If the plugin should have its own button on the main menu of Mediaportal then it @@ -220,19 +217,19 @@ public void SwitchToNextView() { - switch ((View)ViewAs) + switch ((Layout)ViewAs) { - case View.List: - ViewAs = (int)View.Icons; + case Layout.List: + ViewAs = (int)Layout.Icons; break; - case View.Icons: - ViewAs = (int)View.LargeIcons; + case Layout.Icons: + ViewAs = (int)Layout.LargeIcons; break; - case View.LargeIcons: - ViewAs = (int)View.FilmStrip; + case Layout.LargeIcons: + ViewAs = (int)Layout.FilmStrip; break; - case View.FilmStrip: - ViewAs = (int)View.List; + case Layout.FilmStrip: + ViewAs = (int)Layout.List; break; } } @@ -240,18 +237,18 @@ string GetViewAsText() { string result = ""; - switch ((View)ViewAs) + switch ((Layout)ViewAs) { - case View.List: + case Layout.List: result = GUILocalizeStrings.Get(101); break; - case View.Icons: + case Layout.Icons: result = GUILocalizeStrings.Get(100); break; - case View.LargeIcons: + case Layout.LargeIcons: result = GUILocalizeStrings.Get(417); break; - case View.FilmStrip: + case Layout.FilmStrip: result = GUILocalizeStrings.Get(733); break; } @@ -264,18 +261,18 @@ { using (Settings xmlwriter = new Settings(Config.GetFile(Config.Dir.Config, "MediaPortal.xml"))) { - switch ((View)mapSettings.ViewAs) + switch ((Layout)mapSettings.ViewAs) { - case View.List: + case Layout.List: xmlwriter.SetValue("myprograms", "viewby", "list"); break; - case View.Icons: + case Layout.Icons: xmlwriter.SetValue("myprograms", "viewby", "icons"); break; - case View.LargeIcons: + case Layout.LargeIcons: xmlwriter.SetValue("myprograms", "viewby", "largeicons"); break; - case View.FilmStrip: + case Layout.FilmStrip: xmlwriter.SetValue("myprograms", "viewby", "filmstrip"); break; } @@ -303,7 +300,7 @@ } xmlwriter.SetValue("myprograms", "startWindow", StartWindow.ToString()); - xmlwriter.SetValue("myprograms", "startview", ActualView); + xmlwriter.SetValue("myprograms", "startview", CurrentView); } } @@ -320,15 +317,15 @@ string curText = ""; curText = xmlreader.GetValueAsString("myprograms", "viewby", "list"); if (curText == "list") - mapSettings.ViewAs = (int)View.List; + mapSettings.ViewAs = (int)Layout.List; else if (curText == "icons") - mapSettings.ViewAs = (int)View.Icons; + mapSettings.ViewAs = (int)Layout.Icons; else if (curText == "largeicons") - mapSettings.ViewAs = (int)View.LargeIcons; + mapSettings.ViewAs = (int)Layout.LargeIcons; else if (curText == "filmstrip") - mapSettings.ViewAs = (int)View.FilmStrip; + mapSettings.ViewAs = (int)Layout.FilmStrip; else - mapSettings.ViewAs = (int)View.List; + mapSettings.ViewAs = (int)Layout.List; mapSettings.LastAppID = xmlreader.GetValueAsInt("myprograms", "lastAppID", -1); mapSettings.LastViewLevel = xmlreader.GetValueAsInt("myprograms", "lastViewLevel", -1); @@ -337,7 +334,7 @@ mapSettings.OverviewVisible = xmlreader.GetValueAsBool("myprograms", "sortasc", true); StartWindow = xmlreader.GetValueAsInt("myprograms", "startWindow", GetID); - ActualView = xmlreader.GetValueAsString("myprograms", "startview", String.Empty); + CurrentView = xmlreader.GetValueAsString("myprograms", "startview", String.Empty); } } @@ -377,7 +374,7 @@ #region SkinControls - enum View + enum Layout { List = 0, Icons = 1, @@ -470,6 +467,8 @@ #region Base & Content Variables + static int startWindow = (int)GUIWindow.Window.WINDOW_FILES; + static ApplicationItemList applicationList = DatabaseHandler.ApplicationItemList; MapSettings mapSettings = new MapSettings(); DirectoryHistory itemHistory = new DirectoryHistory(); @@ -481,7 +480,8 @@ bool skipInit = false; - View[,] views; + static string currentView = ""; + Layout[,] layout; bool[,] sortasc; ProgramSort.SortMethod[,] sortby; @@ -513,22 +513,37 @@ set { startWindow = value; } } - public string ActualView + public string CurrentView { - get { return view; } - set { view = value; } + get + { + return currentView; + } + set + { + if (value == null || value == "") + { + currentView = ""; + DatabaseSettings.viewHandler.CurrentView = null; + } + else + { + currentView = value; + DatabaseSettings.viewHandler.CurrentView = value; + } + } } - View CurrentView + Layout CurrentLayout {//maybe we can remove this property, not sure if we would need it get { if (DatabaseSettings.viewHandler.View == null) - return View.List; + return Layout.List; - if (views == null) + if (layout == null) { - views = new View[DatabaseSettings.viewHandler.Views.Count, 50]; + layout = new Layout[DatabaseSettings.viewHandler.Views.Count, 50]; List<String> viewStrings = new List<String>(); viewStrings.Add("List"); @@ -544,18 +559,18 @@ int defaultView = viewStrings.IndexOf(def.DefaultView); if (defaultView != -1) - views[i, j] = (View)defaultView; + layout[i, j] = (Layout)defaultView; else - views[i, j] = View.List; + layout[i, j] = Layout.List; } } } - return views[DatabaseSettings.viewHandler.Views.IndexOf(DatabaseSettings.viewHandler.View), DatabaseSettings.viewHandler.CurrentLevel]; + return layout[DatabaseSettings.viewHandler.Views.IndexOf(DatabaseSettings.viewHandler.View), DatabaseSettings.viewHandler.CurrentLevel]; } set { - views[DatabaseSettings.viewHandler.Views.IndexOf(DatabaseSettings.viewHandler.View), DatabaseSettings.viewHandler.CurrentLevel] = value; + layout[DatabaseSettings.viewHandler.Views.IndexOf(DatabaseSettings.viewHandler.View), DatabaseSettings.viewHandler.CurrentLevel] = value; } } @@ -697,8 +712,6 @@ protected override void OnPageLoad() { - string view = ActualView; - DatabaseSettings.viewHandler.CurrentView = view; base.OnPageLoad(); InitMyPrograms(); } @@ -894,21 +907,21 @@ { int itemIndex = facadeView.SelectedListItemIndex; - switch ((View)mapSettings.ViewAs) + switch ((Layout)mapSettings.ViewAs) { - case View.List: + case Layout.List: facadeView.View = GUIFacadeControl.ViewMode.List; screenShotImage.Visible = true; break; - case View.Icons: + case Layout.Icons: facadeView.View = GUIFacadeControl.ViewMode.SmallIcons; screenShotImage.Visible = false; break; - case View.LargeIcons: + case Layout.LargeIcons: facadeView.View = GUIFacadeControl.ViewMode.LargeIcons; screenShotImage.Visible = false; break; - case View.FilmStrip: + case Layout.FilmStrip: facadeView.View = GUIFacadeControl.ViewMode.Filmstrip; screenShotImage.Visible = false; break; @@ -1396,8 +1409,7 @@ { int nNewWindow = (int)Window.WINDOW_FILES; StartWindow = nNewWindow; - ActualView = ""; - DatabaseSettings.viewHandler.CurrentView = null; + CurrentView = ""; if (nNewWindow != GetID) { GUIWindowManager.ReplaceWindow(nNewWindow); @@ -1406,8 +1418,7 @@ else { ViewDefinition selectedView = (ViewDefinition)DatabaseSettings.viewHandler.Views[dlg.SelectedLabel - 1]; - DatabaseSettings.viewHandler.CurrentView = selectedView.Name; - ActualView = selectedView.Name; + CurrentView = selectedView.Name; int nNewWindow = (int)Window.WINDOW_FILES; if (GetID != nNewWindow) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <che...@us...> - 2007-06-20 17:44:22
|
Revision: 574 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=574&view=rev Author: chef_koch Date: 2007-06-20 10:44:21 -0700 (Wed, 20 Jun 2007) Log Message: ----------- cleanup for LoadSettings() Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs 2007-06-20 17:16:03 UTC (rev 573) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIPrograms.cs 2007-06-20 17:44:21 UTC (rev 574) @@ -318,45 +318,26 @@ using (Settings xmlreader = new Settings(Config.GetFile(Config.Dir.Config, "MediaPortal.xml"))) { string curText = ""; - curText = xmlreader.GetValue("myprograms", "viewby"); - if (curText != null) - { - if (curText == "list") - mapSettings.ViewAs = (int)View.List; - else if (curText == "icons") - mapSettings.ViewAs = (int)View.Icons; - else if (curText == "largeicons") - mapSettings.ViewAs = (int)View.LargeIcons; - else if (curText == "filmstrip") - mapSettings.ViewAs = (int)View.FilmStrip; - } + curText = xmlreader.GetValueAsString("myprograms", "viewby", "list"); + if (curText == "list") + mapSettings.ViewAs = (int)View.List; + else if (curText == "icons") + mapSettings.ViewAs = (int)View.Icons; + else if (curText == "largeicons") + mapSettings.ViewAs = (int)View.LargeIcons; + else if (curText == "filmstrip") + mapSettings.ViewAs = (int)View.FilmStrip; + else + mapSettings.ViewAs = (int)View.List; mapSettings.LastAppID = xmlreader.GetValueAsInt("myprograms", "lastAppID", -1); mapSettings.LastViewLevel = xmlreader.GetValueAsInt("myprograms", "lastViewLevel", -1); mapSettings.SortBy = xmlreader.GetValueAsInt("myprograms", "sortby", 0); - curText = xmlreader.GetValue("myprograms", "sortasc"); - if (curText != null) - { - mapSettings.SortAscending = (curText.ToLower() == "yes"); - } - else - { - mapSettings.SortAscending = true; - } + mapSettings.SortAscending = xmlreader.GetValueAsBool("myprograms", "sortasc", true); + mapSettings.OverviewVisible = xmlreader.GetValueAsBool("myprograms", "sortasc", true); - curText = xmlreader.GetValue("myprograms", "overviewvisible"); - if (curText != null) - { - mapSettings.OverviewVisible = (curText.ToLower() == "yes"); - } - else - { - mapSettings.OverviewVisible = true; - } - StartWindow = xmlreader.GetValueAsInt("myprograms", "startWindow", GetID); ActualView = xmlreader.GetValueAsString("myprograms", "startview", String.Empty); - } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |