From: <che...@us...> - 2007-06-14 12:08:40
|
Revision: 545 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=545&view=rev Author: chef_koch Date: 2007-06-14 05:08:38 -0700 (Thu, 14 Jun 2007) Log Message: ----------- code cleanup Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/ProgramViews.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj Added Paths: ----------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/ProgramViews.Designer.cs Added: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/ProgramViews.Designer.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/ProgramViews.Designer.cs (rev 0) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/ProgramViews.Designer.cs 2007-06-14 12:08:38 UTC (rev 545) @@ -0,0 +1,170 @@ +namespace GUIPrograms.Design +{ + partial class ProgramViews + { + /// <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 Komponenten-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() + { + this.dataGrid = new System.Windows.Forms.DataGrid(); + this.cbViews = new MediaPortal.UserInterface.Controls.MPComboBox(); + this.label3 = new MediaPortal.UserInterface.Controls.MPLabel(); + this.tbViewName = new MediaPortal.UserInterface.Controls.MPTextBox(); + this.label2 = new MediaPortal.UserInterface.Controls.MPLabel(); + this.btnDelete = new MediaPortal.UserInterface.Controls.MPButton(); + this.btnSave = new MediaPortal.UserInterface.Controls.MPButton(); + this.label1 = new MediaPortal.UserInterface.Controls.MPLabel(); + ((System.ComponentModel.ISupportInitialize)(this.dataGrid)).BeginInit(); + this.SuspendLayout(); + // + // dataGrid + // + this.dataGrid.AlternatingBackColor = System.Drawing.Color.Lavender; + this.dataGrid.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.dataGrid.BackColor = System.Drawing.Color.WhiteSmoke; + this.dataGrid.BackgroundColor = System.Drawing.Color.LightGray; + this.dataGrid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.dataGrid.CaptionBackColor = System.Drawing.Color.LightSteelBlue; + this.dataGrid.CaptionFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.dataGrid.CaptionForeColor = System.Drawing.Color.MidnightBlue; + this.dataGrid.DataMember = ""; + this.dataGrid.FlatMode = true; + this.dataGrid.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.dataGrid.ForeColor = System.Drawing.Color.MidnightBlue; + this.dataGrid.GridLineColor = System.Drawing.Color.Gainsboro; + this.dataGrid.GridLineStyle = System.Windows.Forms.DataGridLineStyle.None; + this.dataGrid.HeaderBackColor = System.Drawing.Color.MidnightBlue; + this.dataGrid.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.dataGrid.HeaderForeColor = System.Drawing.Color.WhiteSmoke; + this.dataGrid.LinkColor = System.Drawing.Color.Teal; + this.dataGrid.Location = new System.Drawing.Point(5, 113); + this.dataGrid.Name = "dataGrid"; + this.dataGrid.ParentRowsBackColor = System.Drawing.Color.Gainsboro; + this.dataGrid.ParentRowsForeColor = System.Drawing.Color.MidnightBlue; + this.dataGrid.SelectionBackColor = System.Drawing.Color.CadetBlue; + this.dataGrid.SelectionForeColor = System.Drawing.Color.WhiteSmoke; + this.dataGrid.Size = new System.Drawing.Size(426, 256); + this.dataGrid.TabIndex = 83; + // + // cbViews + // + this.cbViews.BorderColor = System.Drawing.SystemColors.ActiveCaptionText; + this.cbViews.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbViews.Location = new System.Drawing.Point(69, 49); + this.cbViews.Name = "cbViews"; + this.cbViews.Size = new System.Drawing.Size(168, 21); + this.cbViews.TabIndex = 85; + this.cbViews.SelectedIndexChanged += new System.EventHandler(this.cbViews_SelectedIndexChanged); + // + // label3 + // + this.label3.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label3.Location = new System.Drawing.Point(5, 9); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(216, 32); + this.label3.TabIndex = 90; + this.label3.Text = "Program Views"; + // + // tbViewName + // + this.tbViewName.BorderColor = System.Drawing.Color.Empty; + this.tbViewName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tbViewName.Location = new System.Drawing.Point(69, 81); + this.tbViewName.Name = "tbViewName"; + this.tbViewName.Size = new System.Drawing.Size(168, 21); + this.tbViewName.TabIndex = 89; + // + // label2 + // + this.label2.Location = new System.Drawing.Point(13, 81); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(40, 20); + this.label2.TabIndex = 88; + this.label2.Text = "Name:"; + // + // btnDelete + // + this.btnDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnDelete.Location = new System.Drawing.Point(370, 377); + this.btnDelete.Name = "btnDelete"; + this.btnDelete.Size = new System.Drawing.Size(48, 23); + this.btnDelete.TabIndex = 87; + this.btnDelete.Text = "Delete"; + this.btnDelete.UseVisualStyleBackColor = true; + this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click); + // + // btnSave + // + this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnSave.Location = new System.Drawing.Point(314, 377); + this.btnSave.Name = "btnSave"; + this.btnSave.Size = new System.Drawing.Size(48, 23); + this.btnSave.TabIndex = 86; + this.btnSave.Text = "Save"; + this.btnSave.UseVisualStyleBackColor = true; + this.btnSave.Click += new System.EventHandler(this.btnSave_Click); + // + // label1 + // + this.label1.Location = new System.Drawing.Point(13, 54); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(40, 16); + this.label1.TabIndex = 84; + this.label1.Text = "View:"; + // + // ProgramViews + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.dataGrid); + this.Controls.Add(this.cbViews); + this.Controls.Add(this.label3); + this.Controls.Add(this.tbViewName); + this.Controls.Add(this.label2); + this.Controls.Add(this.btnDelete); + this.Controls.Add(this.btnSave); + this.Controls.Add(this.label1); + this.Name = "ProgramViews"; + this.Size = new System.Drawing.Size(437, 408); + ((System.ComponentModel.ISupportInitialize)(this.dataGrid)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.DataGrid dataGrid; + private MediaPortal.UserInterface.Controls.MPComboBox cbViews; + private MediaPortal.UserInterface.Controls.MPLabel label3; + private MediaPortal.UserInterface.Controls.MPTextBox tbViewName; + private MediaPortal.UserInterface.Controls.MPLabel label2; + private MediaPortal.UserInterface.Controls.MPButton btnDelete; + private MediaPortal.UserInterface.Controls.MPButton btnSave; + private MediaPortal.UserInterface.Controls.MPLabel label1; + } +} Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/ProgramViews.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/ProgramViews.cs 2007-06-14 11:48:46 UTC (rev 544) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/ProgramViews.cs 2007-06-14 12:08:38 UTC (rev 545) @@ -39,10 +39,7 @@ namespace GUIPrograms.Design { - /// <summary> - /// Summary description for ProgramViews. - /// </summary> - public class ProgramViews : UserControl + public partial class ProgramViews : UserControl { #region Helper Classes @@ -147,173 +144,6 @@ #endregion Helper Classes - #region Designer Code - - /// <summary> - /// Required designer variable. - /// </summary> - private System.ComponentModel.Container components = null; - - /// <summary> - /// Clean up any resources being used. - /// </summary> - /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Component Designer generated code - - /// <summary> - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// </summary> - private void InitializeComponent() - { - this.dataGrid = new System.Windows.Forms.DataGrid(); - this.label3 = new MediaPortal.UserInterface.Controls.MPLabel(); - this.tbViewName = new MediaPortal.UserInterface.Controls.MPTextBox(); - this.label2 = new MediaPortal.UserInterface.Controls.MPLabel(); - this.btnDelete = new MediaPortal.UserInterface.Controls.MPButton(); - this.btnSave = new MediaPortal.UserInterface.Controls.MPButton(); - this.cbViews = new MediaPortal.UserInterface.Controls.MPComboBox(); - this.label1 = new MediaPortal.UserInterface.Controls.MPLabel(); - ((System.ComponentModel.ISupportInitialize)(this.dataGrid)).BeginInit(); - this.SuspendLayout(); - // - // dataGrid - // - this.dataGrid.AlternatingBackColor = System.Drawing.Color.Lavender; - this.dataGrid.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.dataGrid.BackColor = System.Drawing.Color.WhiteSmoke; - this.dataGrid.BackgroundColor = System.Drawing.Color.LightGray; - this.dataGrid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.dataGrid.CaptionBackColor = System.Drawing.Color.LightSteelBlue; - this.dataGrid.CaptionFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); - this.dataGrid.CaptionForeColor = System.Drawing.Color.MidnightBlue; - this.dataGrid.DataMember = ""; - this.dataGrid.FlatMode = true; - this.dataGrid.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); - this.dataGrid.ForeColor = System.Drawing.Color.MidnightBlue; - this.dataGrid.GridLineColor = System.Drawing.Color.Gainsboro; - this.dataGrid.GridLineStyle = System.Windows.Forms.DataGridLineStyle.None; - this.dataGrid.HeaderBackColor = System.Drawing.Color.MidnightBlue; - this.dataGrid.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); - this.dataGrid.HeaderForeColor = System.Drawing.Color.WhiteSmoke; - this.dataGrid.LinkColor = System.Drawing.Color.Teal; - this.dataGrid.Location = new System.Drawing.Point(8, 112); - this.dataGrid.Name = "dataGrid"; - this.dataGrid.ParentRowsBackColor = System.Drawing.Color.Gainsboro; - this.dataGrid.ParentRowsForeColor = System.Drawing.Color.MidnightBlue; - this.dataGrid.SelectionBackColor = System.Drawing.Color.CadetBlue; - this.dataGrid.SelectionForeColor = System.Drawing.Color.WhiteSmoke; - this.dataGrid.Size = new System.Drawing.Size(426, 256); - this.dataGrid.TabIndex = 14; - // - // label3 - // - this.label3.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label3.Location = new System.Drawing.Point(8, 8); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(216, 32); - this.label3.TabIndex = 82; - this.label3.Text = "Program Views"; - // - // tbViewName - // - this.tbViewName.BorderColor = System.Drawing.Color.Empty; - this.tbViewName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.tbViewName.Location = new System.Drawing.Point(72, 80); - this.tbViewName.Name = "tbViewName"; - this.tbViewName.Size = new System.Drawing.Size(168, 21); - this.tbViewName.TabIndex = 20; - // - // label2 - // - this.label2.Location = new System.Drawing.Point(16, 80); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(40, 20); - this.label2.TabIndex = 19; - this.label2.Text = "Name:"; - // - // btnDelete - // - this.btnDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.btnDelete.Location = new System.Drawing.Point(373, 376); - this.btnDelete.Name = "btnDelete"; - this.btnDelete.Size = new System.Drawing.Size(48, 23); - this.btnDelete.TabIndex = 18; - this.btnDelete.Text = "Delete"; - this.btnDelete.UseVisualStyleBackColor = true; - this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click); - // - // btnSave - // - this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.btnSave.Location = new System.Drawing.Point(317, 376); - this.btnSave.Name = "btnSave"; - this.btnSave.Size = new System.Drawing.Size(48, 23); - this.btnSave.TabIndex = 17; - this.btnSave.Text = "Save"; - this.btnSave.UseVisualStyleBackColor = true; - this.btnSave.Click += new System.EventHandler(this.btnSave_Click); - // - // cbViews - // - this.cbViews.BorderColor = System.Drawing.SystemColors.ActiveCaptionText; - this.cbViews.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cbViews.Location = new System.Drawing.Point(72, 48); - this.cbViews.Name = "cbViews"; - this.cbViews.Size = new System.Drawing.Size(168, 21); - this.cbViews.TabIndex = 16; - this.cbViews.SelectedIndexChanged += new System.EventHandler(this.cbViews_SelectedIndexChanged); - // - // label1 - // - this.label1.Location = new System.Drawing.Point(16, 53); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(40, 16); - this.label1.TabIndex = 15; - this.label1.Text = "View:"; - // - // ProgramViews - // - this.Controls.Add(this.dataGrid); - this.Controls.Add(this.cbViews); - this.Controls.Add(this.label3); - this.Controls.Add(this.tbViewName); - this.Controls.Add(this.label2); - this.Controls.Add(this.btnDelete); - this.Controls.Add(this.btnSave); - this.Controls.Add(this.label1); - this.Name = "ProgramViews"; - this.Size = new System.Drawing.Size(437, 408); - ((System.ComponentModel.ISupportInitialize)(this.dataGrid)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private MediaPortal.UserInterface.Controls.MPTextBox tbViewName; - private MediaPortal.UserInterface.Controls.MPLabel label2; - private MediaPortal.UserInterface.Controls.MPButton btnDelete; - private MediaPortal.UserInterface.Controls.MPButton btnSave; - private MediaPortal.UserInterface.Controls.MPComboBox cbViews; - private MediaPortal.UserInterface.Controls.MPLabel label1; - private System.Windows.Forms.DataGrid dataGrid; - private MediaPortal.UserInterface.Controls.MPLabel label3; - - #endregion Designer Code - #region Variables ViewDefinition currentView; Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj 2007-06-14 11:48:46 UTC (rev 544) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/GUIProgramsAlt.csproj 2007-06-14 12:08:38 UTC (rev 545) @@ -124,15 +124,18 @@ <Compile Include="Design\FileInfoScraperForm.Designer.cs"> <DependentUpon>FileInfoScraperForm.cs</DependentUpon> </Compile> - <Compile Include="Design\ProgramViews.cs"> - <SubType>UserControl</SubType> - </Compile> <Compile Include="Design\SetupForm.cs"> <SubType>Form</SubType> </Compile> <Compile Include="Design\SetupForm.Designer.cs"> <DependentUpon>SetupForm.cs</DependentUpon> </Compile> + <Compile Include="Design\ProgramViews.cs"> + <SubType>UserControl</SubType> + </Compile> + <Compile Include="Design\ProgramViews.Designer.cs"> + <DependentUpon>ProgramViews.cs</DependentUpon> + </Compile> <Compile Include="FileItems\FileItem.cs" /> <Compile Include="FileItems\FileItemInfo.cs" /> <Compile Include="FileItems\FileItemList.cs" /> @@ -199,14 +202,14 @@ <SubType>Designer</SubType> <DependentUpon>FileInfoScraperForm.cs</DependentUpon> </EmbeddedResource> - <EmbeddedResource Include="Design\ProgramViews.resx"> - <DependentUpon>ProgramViews.cs</DependentUpon> - <SubType>Designer</SubType> - </EmbeddedResource> <EmbeddedResource Include="Design\SetupForm.resx"> <DependentUpon>SetupForm.cs</DependentUpon> <SubType>Designer</SubType> </EmbeddedResource> + <EmbeddedResource Include="Design\ProgramViews.resx"> + <SubType>Designer</SubType> + <DependentUpon>ProgramViews.cs</DependentUpon> + </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. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |