From: <nic...@us...> - 2013-11-19 22:33:42
|
Revision: 4682 http://sourceforge.net/p/mp-plugins/code/4682 Author: nicsergio Date: 2013-11-19 22:33:39 +0000 (Tue, 19 Nov 2013) Log Message: ----------- Modified Paths: -------------- trunk/plugins/ShortCuter&SkinEditor/Source/Common/My.Common.csproj trunk/plugins/ShortCuter&SkinEditor/Source/Common/Skin.cs trunk/plugins/ShortCuter&SkinEditor/Source/Common/Tools.cs trunk/plugins/ShortCuter&SkinEditor/Source/Common/VersionInfo.Designer.cs trunk/plugins/ShortCuter&SkinEditor/Source/Common/VersionInfo.cs trunk/plugins/ShortCuter&SkinEditor/Source/Common/VersionInfo.resx trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/SkinWithSounds.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/MediaPortal.cs Added Paths: ----------- trunk/plugins/ShortCuter&SkinEditor/Source/Common/Resources/Images/Internet.png Modified: trunk/plugins/ShortCuter&SkinEditor/Source/Common/My.Common.csproj =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/Common/My.Common.csproj 2013-11-19 20:17:53 UTC (rev 4681) +++ trunk/plugins/ShortCuter&SkinEditor/Source/Common/My.Common.csproj 2013-11-19 22:33:39 UTC (rev 4682) @@ -65,6 +65,7 @@ <Content Include="Resources\Images\ArrowRight.png" /> <Content Include="Resources\Images\ArrowUp.png" /> <Content Include="Resources\Images\Info.png" /> + <Content Include="Resources\Images\Internet.png" /> <Content Include="Resources\Images\Ok.png" /> <Content Include="Resources\Images\RowAdd.png" /> <Content Include="Resources\Images\RowDown.png" /> Added: trunk/plugins/ShortCuter&SkinEditor/Source/Common/Resources/Images/Internet.png =================================================================== (Binary files differ) Index: trunk/plugins/ShortCuter&SkinEditor/Source/Common/Resources/Images/Internet.png =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/Common/Resources/Images/Internet.png 2013-11-19 20:17:53 UTC (rev 4681) +++ trunk/plugins/ShortCuter&SkinEditor/Source/Common/Resources/Images/Internet.png 2013-11-19 22:33:39 UTC (rev 4682) Property changes on: trunk/plugins/ShortCuter&SkinEditor/Source/Common/Resources/Images/Internet.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Modified: trunk/plugins/ShortCuter&SkinEditor/Source/Common/Skin.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/Common/Skin.cs 2013-11-19 20:17:53 UTC (rev 4681) +++ trunk/plugins/ShortCuter&SkinEditor/Source/Common/Skin.cs 2013-11-19 22:33:39 UTC (rev 4682) @@ -88,7 +88,7 @@ } #endregion - #region MetodiPrivati + #region Metodi Privati private bool GetSkinFiles(bool excludeHome, bool excludeFS) //Raccolta dei file della skin { if (!Directory.Exists(_paths.Skin)) Modified: trunk/plugins/ShortCuter&SkinEditor/Source/Common/Tools.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/Common/Tools.cs 2013-11-19 20:17:53 UTC (rev 4681) +++ trunk/plugins/ShortCuter&SkinEditor/Source/Common/Tools.cs 2013-11-19 22:33:39 UTC (rev 4682) @@ -9,13 +9,13 @@ { internal static class Tools //Collezione utilità { - #region Dati statici + #region Dati //Intestazione messaggi (nome assembly) private static readonly string MessageHeader = Assembly.GetExecutingAssembly().GetName().Name.ToString(); #endregion - #region Metodi pubblici statici - #region Finestre di dialogo + #region Metodi Pubblici + #region Finestre di Dialogo public static void ErrorMessage(string description) //Emissione messaggio di errore (senza errore specifico) { ErrorMessage(description, ""); //--> override metodo per parametro opzionale @@ -36,7 +36,7 @@ return (ret == DialogResult.OK); } #endregion - #region Metodi grafici + #region Metodi Grafici public static void RoundEdges(Control winControl, int radius) //Arrotondamento spigoli controllo grafico (raggiature simmetriche) { RoundEdges(winControl, radius, radius); Modified: trunk/plugins/ShortCuter&SkinEditor/Source/Common/VersionInfo.Designer.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/Common/VersionInfo.Designer.cs 2013-11-19 20:17:53 UTC (rev 4681) +++ trunk/plugins/ShortCuter&SkinEditor/Source/Common/VersionInfo.Designer.cs 2013-11-19 22:33:39 UTC (rev 4682) @@ -31,9 +31,28 @@ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(VersionInfo)); this.okPictureBox = new System.Windows.Forms.PictureBox(); this.logoPictureBox = new System.Windows.Forms.PictureBox(); - this.label1 = new System.Windows.Forms.Label(); + this.headerLabel = new System.Windows.Forms.Label(); + this.infoGroupBox = new System.Windows.Forms.GroupBox(); + this.buildDateLabel = new System.Windows.Forms.Label(); + this.authorLabel = new System.Windows.Forms.Label(); + this.descriptionLabel = new System.Windows.Forms.Label(); + this.titleLabel = new System.Windows.Forms.Label(); + this.fileLabel = new System.Windows.Forms.Label(); + this.versionLabel = new System.Windows.Forms.Label(); + this.versionHeaderLabel = new System.Windows.Forms.Label(); + this.buildDateHeaderLabel = new System.Windows.Forms.Label(); + this.authorHeaderLabel = new System.Windows.Forms.Label(); + this.descriptionHeaderLabel = new System.Windows.Forms.Label(); + this.titleHeaderLabel = new System.Windows.Forms.Label(); + this.fileHeaderLabel = new System.Windows.Forms.Label(); + this.forumLinkLabel = new System.Windows.Forms.LinkLabel(); + this.wikiLinkLabel = new System.Windows.Forms.LinkLabel(); + this.internetPictureBox = new System.Windows.Forms.PictureBox(); + this.commentLabel = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.okPictureBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).BeginInit(); + this.infoGroupBox.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.internetPictureBox)).BeginInit(); this.SuspendLayout(); // // okPictureBox @@ -51,7 +70,7 @@ // logoPictureBox // this.logoPictureBox.BackColor = System.Drawing.Color.Transparent; - this.logoPictureBox.Location = new System.Drawing.Point(12, 52); + this.logoPictureBox.Location = new System.Drawing.Point(12, 86); this.logoPictureBox.Name = "logoPictureBox"; this.logoPictureBox.Size = new System.Drawing.Size(128, 128); this.logoPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; @@ -61,28 +80,239 @@ this.logoPictureBox.MouseMove += new System.Windows.Forms.MouseEventHandler(this.VersionInfo_MouseMove); this.logoPictureBox.MouseUp += new System.Windows.Forms.MouseEventHandler(this.VersionInfo_MouseUp); // - // label1 + // headerLabel // - this.label1.BackColor = System.Drawing.Color.Transparent; - this.label1.Font = new System.Drawing.Font("Alien Encounters", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label1.ForeColor = System.Drawing.Color.White; - this.label1.Location = new System.Drawing.Point(0, 0); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(500, 36); - this.label1.TabIndex = 2; - this.label1.Text = "Version Information"; - this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.label1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.VersionInfo_MouseDown); - this.label1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.VersionInfo_MouseMove); - this.label1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.VersionInfo_MouseUp); + this.headerLabel.BackColor = System.Drawing.Color.Transparent; + this.headerLabel.Font = new System.Drawing.Font("Alien Encounters", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.headerLabel.ForeColor = System.Drawing.Color.White; + this.headerLabel.Location = new System.Drawing.Point(0, 0); + this.headerLabel.Name = "headerLabel"; + this.headerLabel.Size = new System.Drawing.Size(500, 36); + this.headerLabel.TabIndex = 2; + this.headerLabel.Text = "Version Information"; + this.headerLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.headerLabel.MouseDown += new System.Windows.Forms.MouseEventHandler(this.VersionInfo_MouseDown); + this.headerLabel.MouseMove += new System.Windows.Forms.MouseEventHandler(this.VersionInfo_MouseMove); + this.headerLabel.MouseUp += new System.Windows.Forms.MouseEventHandler(this.VersionInfo_MouseUp); // + // infoGroupBox + // + this.infoGroupBox.BackColor = System.Drawing.Color.Transparent; + this.infoGroupBox.Controls.Add(this.buildDateLabel); + this.infoGroupBox.Controls.Add(this.authorLabel); + this.infoGroupBox.Controls.Add(this.descriptionLabel); + this.infoGroupBox.Controls.Add(this.titleLabel); + this.infoGroupBox.Controls.Add(this.fileLabel); + this.infoGroupBox.Controls.Add(this.versionLabel); + this.infoGroupBox.Controls.Add(this.versionHeaderLabel); + this.infoGroupBox.Controls.Add(this.buildDateHeaderLabel); + this.infoGroupBox.Controls.Add(this.authorHeaderLabel); + this.infoGroupBox.Controls.Add(this.descriptionHeaderLabel); + this.infoGroupBox.Controls.Add(this.titleHeaderLabel); + this.infoGroupBox.Controls.Add(this.fileHeaderLabel); + this.infoGroupBox.Location = new System.Drawing.Point(164, 56); + this.infoGroupBox.Name = "infoGroupBox"; + this.infoGroupBox.Size = new System.Drawing.Size(317, 188); + this.infoGroupBox.TabIndex = 3; + this.infoGroupBox.TabStop = false; + // + // buildDateLabel + // + this.buildDateLabel.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.buildDateLabel.ForeColor = System.Drawing.Color.White; + this.buildDateLabel.Location = new System.Drawing.Point(109, 151); + this.buildDateLabel.Name = "buildDateLabel"; + this.buildDateLabel.Size = new System.Drawing.Size(202, 19); + this.buildDateLabel.TabIndex = 11; + this.buildDateLabel.Text = "build date"; + this.buildDateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // authorLabel + // + this.authorLabel.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.authorLabel.ForeColor = System.Drawing.Color.White; + this.authorLabel.Location = new System.Drawing.Point(109, 124); + this.authorLabel.Name = "authorLabel"; + this.authorLabel.Size = new System.Drawing.Size(202, 19); + this.authorLabel.TabIndex = 10; + this.authorLabel.Text = "author"; + this.authorLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // descriptionLabel + // + this.descriptionLabel.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.descriptionLabel.ForeColor = System.Drawing.Color.White; + this.descriptionLabel.Location = new System.Drawing.Point(109, 97); + this.descriptionLabel.Name = "descriptionLabel"; + this.descriptionLabel.Size = new System.Drawing.Size(202, 19); + this.descriptionLabel.TabIndex = 9; + this.descriptionLabel.Text = "description"; + this.descriptionLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // titleLabel + // + this.titleLabel.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.titleLabel.ForeColor = System.Drawing.Color.White; + this.titleLabel.Location = new System.Drawing.Point(109, 70); + this.titleLabel.Name = "titleLabel"; + this.titleLabel.Size = new System.Drawing.Size(202, 19); + this.titleLabel.TabIndex = 8; + this.titleLabel.Text = "title"; + this.titleLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // fileLabel + // + this.fileLabel.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.fileLabel.ForeColor = System.Drawing.Color.White; + this.fileLabel.Location = new System.Drawing.Point(109, 43); + this.fileLabel.Name = "fileLabel"; + this.fileLabel.Size = new System.Drawing.Size(202, 19); + this.fileLabel.TabIndex = 7; + this.fileLabel.Text = "file"; + this.fileLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // versionLabel + // + this.versionLabel.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.versionLabel.ForeColor = System.Drawing.Color.White; + this.versionLabel.Location = new System.Drawing.Point(109, 16); + this.versionLabel.Name = "versionLabel"; + this.versionLabel.Size = new System.Drawing.Size(202, 19); + this.versionLabel.TabIndex = 6; + this.versionLabel.Text = "version"; + this.versionLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // versionHeaderLabel + // + this.versionHeaderLabel.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.versionHeaderLabel.ForeColor = System.Drawing.Color.White; + this.versionHeaderLabel.Location = new System.Drawing.Point(16, 16); + this.versionHeaderLabel.Name = "versionHeaderLabel"; + this.versionHeaderLabel.Size = new System.Drawing.Size(87, 19); + this.versionHeaderLabel.TabIndex = 5; + this.versionHeaderLabel.Text = "Version:"; + this.versionHeaderLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // buildDateHeaderLabel + // + this.buildDateHeaderLabel.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.buildDateHeaderLabel.ForeColor = System.Drawing.Color.White; + this.buildDateHeaderLabel.Location = new System.Drawing.Point(16, 151); + this.buildDateHeaderLabel.Name = "buildDateHeaderLabel"; + this.buildDateHeaderLabel.Size = new System.Drawing.Size(87, 19); + this.buildDateHeaderLabel.TabIndex = 4; + this.buildDateHeaderLabel.Text = "Build Date:"; + this.buildDateHeaderLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // authorHeaderLabel + // + this.authorHeaderLabel.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.authorHeaderLabel.ForeColor = System.Drawing.Color.White; + this.authorHeaderLabel.Location = new System.Drawing.Point(16, 124); + this.authorHeaderLabel.Name = "authorHeaderLabel"; + this.authorHeaderLabel.Size = new System.Drawing.Size(87, 19); + this.authorHeaderLabel.TabIndex = 3; + this.authorHeaderLabel.Text = "Author:"; + this.authorHeaderLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // descriptionHeaderLabel + // + this.descriptionHeaderLabel.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.descriptionHeaderLabel.ForeColor = System.Drawing.Color.White; + this.descriptionHeaderLabel.Location = new System.Drawing.Point(16, 97); + this.descriptionHeaderLabel.Name = "descriptionHeaderLabel"; + this.descriptionHeaderLabel.Size = new System.Drawing.Size(87, 19); + this.descriptionHeaderLabel.TabIndex = 2; + this.descriptionHeaderLabel.Text = "Description:"; + this.descriptionHeaderLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // titleHeaderLabel + // + this.titleHeaderLabel.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.titleHeaderLabel.ForeColor = System.Drawing.Color.White; + this.titleHeaderLabel.Location = new System.Drawing.Point(16, 70); + this.titleHeaderLabel.Name = "titleHeaderLabel"; + this.titleHeaderLabel.Size = new System.Drawing.Size(87, 19); + this.titleHeaderLabel.TabIndex = 1; + this.titleHeaderLabel.Text = "Title:"; + this.titleHeaderLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // fileHeaderLabel + // + this.fileHeaderLabel.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.fileHeaderLabel.ForeColor = System.Drawing.Color.White; + this.fileHeaderLabel.Location = new System.Drawing.Point(16, 43); + this.fileHeaderLabel.Name = "fileHeaderLabel"; + this.fileHeaderLabel.Size = new System.Drawing.Size(87, 19); + this.fileHeaderLabel.TabIndex = 0; + this.fileHeaderLabel.Text = "File:"; + this.fileHeaderLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // forumLinkLabel + // + this.forumLinkLabel.BackColor = System.Drawing.Color.Transparent; + this.forumLinkLabel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.forumLinkLabel.Location = new System.Drawing.Point(410, 280); + this.forumLinkLabel.Name = "forumLinkLabel"; + this.forumLinkLabel.Size = new System.Drawing.Size(40, 15); + this.forumLinkLabel.TabIndex = 4; + this.forumLinkLabel.TabStop = true; + this.forumLinkLabel.Text = "forum"; + this.forumLinkLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.forumLinkLabel.Visible = false; + this.forumLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.forumLinkLabel_LinkClicked); + // + // wikiLinkLabel + // + this.wikiLinkLabel.BackColor = System.Drawing.Color.Transparent; + this.wikiLinkLabel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.wikiLinkLabel.Location = new System.Drawing.Point(380, 280); + this.wikiLinkLabel.Name = "wikiLinkLabel"; + this.wikiLinkLabel.Size = new System.Drawing.Size(31, 15); + this.wikiLinkLabel.TabIndex = 5; + this.wikiLinkLabel.TabStop = true; + this.wikiLinkLabel.Text = "wiki"; + this.wikiLinkLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.wikiLinkLabel.Visible = false; + this.wikiLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.wikiLinkLabel_LinkClicked); + // + // internetPictureBox + // + this.internetPictureBox.BackColor = System.Drawing.Color.Transparent; + this.internetPictureBox.Image = ((System.Drawing.Image)(resources.GetObject("internetPictureBox.Image"))); + this.internetPictureBox.Location = new System.Drawing.Point(450, 265); + this.internetPictureBox.Name = "internetPictureBox"; + this.internetPictureBox.Size = new System.Drawing.Size(32, 32); + this.internetPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; + this.internetPictureBox.TabIndex = 6; + this.internetPictureBox.TabStop = false; + this.internetPictureBox.Visible = false; + // + // commentLabel + // + this.commentLabel.BackColor = System.Drawing.Color.Transparent; + this.commentLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.commentLabel.ForeColor = System.Drawing.Color.DarkViolet; + this.commentLabel.Location = new System.Drawing.Point(180, 248); + this.commentLabel.Name = "commentLabel"; + this.commentLabel.Size = new System.Drawing.Size(288, 15); + this.commentLabel.TabIndex = 7; + this.commentLabel.Text = "comment"; + this.commentLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.commentLabel.Visible = false; + // // VersionInfo // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(500, 300); + this.Controls.Add(this.commentLabel); + this.Controls.Add(this.internetPictureBox); + this.Controls.Add(this.wikiLinkLabel); + this.Controls.Add(this.forumLinkLabel); + this.Controls.Add(this.infoGroupBox); this.Controls.Add(this.okPictureBox); - this.Controls.Add(this.label1); + this.Controls.Add(this.headerLabel); this.Controls.Add(this.logoPictureBox); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.MaximizeBox = false; @@ -97,6 +327,8 @@ this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.VersionInfo_MouseUp); ((System.ComponentModel.ISupportInitialize)(this.okPictureBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).EndInit(); + this.infoGroupBox.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.internetPictureBox)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -106,6 +338,23 @@ private System.Windows.Forms.PictureBox okPictureBox; private System.Windows.Forms.PictureBox logoPictureBox; - private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label headerLabel; + private System.Windows.Forms.GroupBox infoGroupBox; + private System.Windows.Forms.LinkLabel forumLinkLabel; + private System.Windows.Forms.LinkLabel wikiLinkLabel; + private System.Windows.Forms.PictureBox internetPictureBox; + private System.Windows.Forms.Label fileHeaderLabel; + private System.Windows.Forms.Label authorHeaderLabel; + private System.Windows.Forms.Label descriptionHeaderLabel; + private System.Windows.Forms.Label titleHeaderLabel; + private System.Windows.Forms.Label buildDateLabel; + private System.Windows.Forms.Label authorLabel; + private System.Windows.Forms.Label descriptionLabel; + private System.Windows.Forms.Label titleLabel; + private System.Windows.Forms.Label fileLabel; + private System.Windows.Forms.Label versionLabel; + private System.Windows.Forms.Label versionHeaderLabel; + private System.Windows.Forms.Label buildDateHeaderLabel; + private System.Windows.Forms.Label commentLabel; } } \ No newline at end of file Modified: trunk/plugins/ShortCuter&SkinEditor/Source/Common/VersionInfo.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/Common/VersionInfo.cs 2013-11-19 20:17:53 UTC (rev 4681) +++ trunk/plugins/ShortCuter&SkinEditor/Source/Common/VersionInfo.cs 2013-11-19 22:33:39 UTC (rev 4682) @@ -8,72 +8,67 @@ using System.Windows.Forms; using System.Drawing.Drawing2D; using System.Reflection; +using System.Diagnostics; namespace My.Common { - public partial class VersionInfo : Form + public partial class VersionInfo : Form //Form di visualizzazione informazioni sulla versione { - static VersionInfo myVersionInfo; - const double opMove = 0.6; + #region Dati + static VersionInfo myVersionInfo; //Istanza form di visualizzazione versione + const double MovingOpacity = 0.6; //Opacità durante lo spostamento della form + private bool mouseSel = false; //Selezione form con mouse attiva + private int eXSel = 0; //Memorizzazione coordinata X di pick del mouse (per spostamento form) + private int eYSel = 0; //Memorizzazione coordinata Y di pick del mouse (per spostamento form) + #endregion - //Selezione e mouse - private bool mouseSel = false; - private int eXSel = 0; - private int eYSel = 0; - - + #region Costruttore public VersionInfo() { InitializeComponent(); - Tools.RoundEdges(this, 75, 50); } + #endregion - - - - public static void ShowInfo(Image imgInfo, string comment, string forumURL, string wikiURL) - { + #region Metodi Pubblici + public static void ShowInfo(Image logo, string comment, string forumURL, string wikiURL) + { //Visualizzazione informazioni sulla versione myVersionInfo = new VersionInfo(); - myVersionInfo.logoPictureBox.Image = imgInfo; - - Assembly myAssembly = Assembly.GetExecutingAssembly(); - string name = myAssembly.GetName().Name.ToString(); - string fileName = System.IO.Path.GetFileName(myAssembly.Location); - string title = ((AssemblyTitleAttribute)myAssembly.GetCustomAttributes(typeof(AssemblyTitleAttribute), false)[0]).Title; - string description = ((AssemblyDescriptionAttribute)myAssembly.GetCustomAttributes(typeof(AssemblyDescriptionAttribute), false)[0]).Description; - string author = ((AssemblyCompanyAttribute)myAssembly.GetCustomAttributes(typeof(AssemblyCompanyAttribute), false)[0]).Company; - string buildDate = Tools.RetrieveLinkerTimestamp(myAssembly.Location); - /* Tools.InfoMessage(name + "\n" + - fileName + "\n" + - title + "\n" + - description + "\n" + - author + "\n" + - buildDate); + myVersionInfo.logoPictureBox.Image = logo; //--> logo applicazione + Tools.RoundEdges(myVersionInfo, 75, 50); //--> arrotondamento spigoli form + Assembly myAssembly = Assembly.GetExecutingAssembly(); //Raccolta informazioni assembly in esecuzione + myVersionInfo.versionLabel.Text = myAssembly.GetName().Version.ToString(); + myVersionInfo.fileLabel.Text = System.IO.Path.GetFileName(myAssembly.Location); + myVersionInfo.titleLabel.Text = ((AssemblyTitleAttribute)myAssembly.GetCustomAttributes(typeof(AssemblyTitleAttribute), false)[0]).Title; + myVersionInfo.descriptionLabel.Text = ((AssemblyDescriptionAttribute)myAssembly.GetCustomAttributes(typeof(AssemblyDescriptionAttribute), false)[0]).Description; + myVersionInfo.authorLabel.Text = ((AssemblyCompanyAttribute)myAssembly.GetCustomAttributes(typeof(AssemblyCompanyAttribute), false)[0]).Company; + myVersionInfo.buildDateLabel.Text = Tools.RetrieveLinkerTimestamp(myAssembly.Location); - //Tools.InfoMessage(myAssembly.FullName + " V" + - myAssembly.GetName().Version.ToString() + "\n\n" + - ">>> " + description + " <<<" + "\n\n\n\n" + - "...a big thank to Marduk65 for this skin!"); + if (comment.Length > 0) //Eventuale visualizzazione commento + { + myVersionInfo.commentLabel.Visible= true; + myVersionInfo.commentLabel.Text = comment; + } + if (forumURL.Length > 0) //Eventuale visualizzazione link forum + { + myVersionInfo.internetPictureBox.Visible = true; + myVersionInfo.forumLinkLabel.Visible = true; + myVersionInfo.forumLinkLabel.Links.Add(0, myVersionInfo.forumLinkLabel.Text.Length, forumURL); + if (wikiURL.Length > 0) //Eventuale visualizzazione link documentazione + { + myVersionInfo.wikiLinkLabel.Visible = true; + myVersionInfo.wikiLinkLabel.Links.Add(0, myVersionInfo.wikiLinkLabel.Text.Length, wikiURL); + } + } - //Tools.InfoMessage(title + " V" + myAssembly.GetName().Version.ToString() + "\n\n" + - ">>> " + description + " <<<" + "\n\n\n\n" + - "...a big thank to MoPath & Chemelli for this plugin!"); - date - */ - myVersionInfo.ShowDialog(); - + myVersionInfo.ShowDialog(); //--> visualizzazione form } + #endregion - - - - - - - + #region Consumazione Eventi + #region Eventi Form private void VersionInfo_Paint(object sender, PaintEventArgs e) { Graphics mGraphics = e.Graphics; @@ -89,15 +84,20 @@ gp.AddArc(r.X + r.Width - 40, r.Y + r.Height - 20, 40, 20, 0, 90); gp.AddArc(r.X, r.Y + r.Height - 20, 40, 20, 90, 90); mGraphics.FillPath(mLGB, gp); + + if (this.internetPictureBox.Visible) + { + Pen p = new Pen(Color.DarkBlue); + mGraphics.DrawLine(p, 12, 275, 442, 275); + p.Dispose(); + } } - - private void VersionInfo_MouseDown(object sender, MouseEventArgs e) { mouseSel = true; eXSel = e.X; eYSel = e.Y; - this.Opacity = opMove; + this.Opacity = MovingOpacity; } private void VersionInfo_MouseMove(object sender, MouseEventArgs e) { @@ -112,11 +112,22 @@ mouseSel = false; this.Opacity = 1; } + #endregion + + + private void forumLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + Process.Start(e.Link.LinkData.ToString()); + } + + private void wikiLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + Process.Start(e.Link.LinkData.ToString()); + } private void okPictureBox_Click(object sender, EventArgs e) { this.Close(); } - - + #endregion } } Modified: trunk/plugins/ShortCuter&SkinEditor/Source/Common/VersionInfo.resx =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/Common/VersionInfo.resx 2013-11-19 20:17:53 UTC (rev 4681) +++ trunk/plugins/ShortCuter&SkinEditor/Source/Common/VersionInfo.resx 2013-11-19 22:33:39 UTC (rev 4682) @@ -173,9 +173,115 @@ <metadata name="logoPictureBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> - <metadata name="label1.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <metadata name="headerLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> + <metadata name="infoGroupBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="buildDateLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="authorLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="descriptionLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="titleLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="fileLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="versionLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="versionHeaderLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="buildDateHeaderLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="authorHeaderLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="descriptionHeaderLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="titleHeaderLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="fileHeaderLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="forumLinkLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="wikiLinkLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="internetPictureBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <data name="internetPictureBox.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1B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luu69RC89z9z/CeWXn2Jv + 6zcwCCcXUFvWJPXzHI9JLM0xT8FU1ZAKGbbvn19OlXj+KiaWyUNGdJHQ2lABfbLUOIBxn4/bbmvjKLrv + vsDF715LVs+9n9BIVcnqu4fYxuvUmnug7V0L/pZqaI3PBMtDkNcIa5RT9peRpvjzUOL6MQ1MY+ptPCre + CqgVO2ecgWvuMLaUX0HMyW9xbuxHXPnuFQbGXqL2Bulg8AESO24hrvlrmOzpkoDmu5SBb5X1WlEzXCSn + GvCpdOt3DwX9HVOUdCKCuCYHHvJJTHp+jVgU34ukE7dQN/IETdeeoYjuBseGxpA7cA+pHaPwoFvSNN96 + zHYrg97ilFEl3Yj18vywP74J/69gOJV/xFxXocSwFlmyLNJLebaiBxrC0rdmdAt2y+zDnqqL2Jo3CBua + 80tiumAR2YoFPjVvZgjyRtmL0w4q2Yr0masLPlZ0yP1j0f1RKNhnvsd0Ff+b7VqlyXapMme7iAUs59IQ + hkN2AcM2o59pe/Ama2XSGNs++SHTLvUOyz5zhGkvamU6Fh5gra8QslzEC9iuYi3aQ4bhWvnXf5qNB0NY + NZkprP6EkrNYLlW6tKkpS1huxXQudmSszd/AEOS4MwTZHvTZjelcJGCtL1/OchWbUWI9eodN3/+U6VLx + 98r/62AKxe8zXcSTWULxP2hNYbpUfcISVsowXStkma7lspLPLpWfsFwqp7Bcqz6iU0+mv9/h1JMm/RfS + CDnUhkr9VgAAAABJRU5ErkJggg== +</value> + </data> + <metadata name="commentLabel.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> <metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> Modified: trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/SkinWithSounds.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/SkinWithSounds.cs 2013-11-19 20:17:53 UTC (rev 4681) +++ trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/SkinWithSounds.cs 2013-11-19 22:33:39 UTC (rev 4682) @@ -20,7 +20,7 @@ } #endregion - #region MetodiPrivati + #region Metodi Privati private bool GetSkinSounds() //Raccolta effetti sonori della skin { DirectoryInfo dInfo = new DirectoryInfo(_paths.Sounds); Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs 2013-11-19 20:17:53 UTC (rev 4681) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/BHEditorForm.cs 2013-11-19 22:33:39 UTC (rev 4682) @@ -882,7 +882,8 @@ } private void infoPictureBox_Click(object sender, EventArgs e) { - VersionInfo.ShowInfo(XtremeMenuEditor.Properties.Resources.Editor,"...a big thank to Marduk65 for this skin!","",""); + VersionInfo.ShowInfo(XtremeMenuEditor.Properties.Resources.Editor, "...a big thank to Marduk65 for this skin!", + "http://forum.team-mediaportal.com/threads/skin-xtreme-widescreen-16-9-11-10-2013-new-version-1-3-0-1-released.109707/", ""); } #endregion Modified: trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/MediaPortal.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/MediaPortal.cs 2013-11-19 20:17:53 UTC (rev 4681) +++ trunk/plugins/ShortCuter&SkinEditor/Source/XtremeMenuEditor/MediaPortal.cs 2013-11-19 22:33:39 UTC (rev 4682) @@ -53,7 +53,7 @@ } #endregion - #region MetodiPrivati + #region Metodi Privati private bool GetSkinBackgroundImages(bool onlyBigImages) //Raccolta immagini di background della skin (onlyBigImages: solo quelle almeno 1280x720) { DirectoryInfo dInfo = new DirectoryInfo(_paths.Media); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |