diff --git a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/English.xml b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/English.xml index 2bcf0b5e..f8f803f5 100644 --- a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/English.xml +++ b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/English.xml @@ -153,7 +153,7 @@ - + diff --git a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/Japanese.xml b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/Japanese.xml index 0a7d7612..ad88517b 100644 --- a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/Japanese.xml +++ b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Languages/Japanese.xml @@ -111,7 +111,7 @@ - + diff --git a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/AboutDialog.Designer.cs b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/AboutDialog.Designer.cs index 0cfefb9d..23a8a36a 100644 --- a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/AboutDialog.Designer.cs +++ b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/AboutDialog.Designer.cs @@ -29,577 +29,591 @@ namespace UniversalEditor.UserInterface.WindowsForms.Dialogs /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutDialog)); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.lblApplicationTitle = new System.Windows.Forms.Label(); - this.lblVersion = new System.Windows.Forms.Label(); - this.label1 = new System.Windows.Forms.Label(); - this.cmdOK = new System.Windows.Forms.Button(); - this.tbsTabs = new System.Windows.Forms.TabControl(); - this.tabAuthors = new System.Windows.Forms.TabPage(); - this.txtContributors = new System.Windows.Forms.TextBox(); - this.tabInstalledComponents = new System.Windows.Forms.TabPage(); - this.splitContainer1 = new System.Windows.Forms.SplitContainer(); - this.tvComponents = new System.Windows.Forms.TreeView(); - this.imlSmallIcons = new System.Windows.Forms.ImageList(this.components); - this.pnlAssemblyInfo = new System.Windows.Forms.Panel(); - this.cmdOpenContainingFolder = new System.Windows.Forms.Button(); - this.txtAssemblyLocation = new System.Windows.Forms.TextBox(); - this.label4 = new System.Windows.Forms.Label(); - this.txtAssemblyFullName = new System.Windows.Forms.TextBox(); - this.label3 = new System.Windows.Forms.Label(); - this.fraDescription = new System.Windows.Forms.GroupBox(); - this.txtAssemblyDescription = new System.Windows.Forms.TextBox(); - this.pnlDataFormatInfo = new System.Windows.Forms.Panel(); - this.fraDataFormatContentTypes = new System.Windows.Forms.GroupBox(); - this.lvDataFormatContentTypes = new System.Windows.Forms.ListView(); - this.chDataFormatContentType = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.fraDataFormatFilters = new System.Windows.Forms.GroupBox(); - this.lvDataFormatFilters = new System.Windows.Forms.ListView(); - this.chDataFormatFilterTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.chDataFormatFilterFilters = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.txtDataFormatTypeName = new System.Windows.Forms.TextBox(); - this.label6 = new System.Windows.Forms.Label(); - this.txtDataFormatID = new System.Windows.Forms.TextBox(); - this.lblDataFormatID = new System.Windows.Forms.Label(); - this.pnlObjectModelInfo = new System.Windows.Forms.Panel(); - this.txtObjectModelTitle = new System.Windows.Forms.TextBox(); - this.lblObjectModelTitle = new System.Windows.Forms.Label(); - this.txtObjectModelTypeName = new System.Windows.Forms.TextBox(); - this.lblObjectModelTypeName = new System.Windows.Forms.Label(); - this.txtObjectModelID = new System.Windows.Forms.TextBox(); - this.lblObjectModelID = new System.Windows.Forms.Label(); - this.tabLicense = new System.Windows.Forms.TabPage(); - this.label2 = new System.Windows.Forms.Label(); - this.txtLicense = new System.Windows.Forms.TextBox(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - this.tbsTabs.SuspendLayout(); - this.tabAuthors.SuspendLayout(); - this.tabInstalledComponents.SuspendLayout(); - this.splitContainer1.Panel1.SuspendLayout(); - this.splitContainer1.Panel2.SuspendLayout(); - this.splitContainer1.SuspendLayout(); - this.pnlAssemblyInfo.SuspendLayout(); - this.fraDescription.SuspendLayout(); - this.pnlDataFormatInfo.SuspendLayout(); - this.fraDataFormatContentTypes.SuspendLayout(); - this.fraDataFormatFilters.SuspendLayout(); - this.pnlObjectModelInfo.SuspendLayout(); - this.tabLicense.SuspendLayout(); - this.SuspendLayout(); - // - // pictureBox1 - // - this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); - this.pictureBox1.Location = new System.Drawing.Point(12, 12); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(32, 32); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox1.TabIndex = 0; - this.pictureBox1.TabStop = false; - // - // lblApplicationTitle - // - this.lblApplicationTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutDialog)); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.lblApplicationTitle = new System.Windows.Forms.Label(); + this.lblVersion = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.cmdOK = new System.Windows.Forms.Button(); + this.tbsTabs = new System.Windows.Forms.TabControl(); + this.tabAuthors = new System.Windows.Forms.TabPage(); + this.txtContributors = new System.Windows.Forms.TextBox(); + this.tabInstalledComponents = new System.Windows.Forms.TabPage(); + this.splitContainer1 = new System.Windows.Forms.SplitContainer(); + this.tvComponents = new System.Windows.Forms.TreeView(); + this.imlSmallIcons = new System.Windows.Forms.ImageList(this.components); + this.pnlAssemblyInfo = new System.Windows.Forms.Panel(); + this.cmdOpenContainingFolder = new System.Windows.Forms.Button(); + this.txtAssemblyLocation = new System.Windows.Forms.TextBox(); + this.label4 = new System.Windows.Forms.Label(); + this.txtAssemblyFullName = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.fraDescription = new System.Windows.Forms.GroupBox(); + this.txtAssemblyDescription = new System.Windows.Forms.TextBox(); + this.pnlDataFormatInfo = new System.Windows.Forms.Panel(); + this.fraDataFormatContentTypes = new System.Windows.Forms.GroupBox(); + this.lvDataFormatContentTypes = new System.Windows.Forms.ListView(); + this.chDataFormatContentType = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.fraDataFormatFilters = new System.Windows.Forms.GroupBox(); + this.lvDataFormatFilters = new System.Windows.Forms.ListView(); + this.chDataFormatFilterTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.chDataFormatFilterFilters = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.txtDataFormatTypeName = new System.Windows.Forms.TextBox(); + this.label6 = new System.Windows.Forms.Label(); + this.txtDataFormatID = new System.Windows.Forms.TextBox(); + this.lblDataFormatID = new System.Windows.Forms.Label(); + this.pnlObjectModelInfo = new System.Windows.Forms.Panel(); + this.txtObjectModelTitle = new System.Windows.Forms.TextBox(); + this.lblObjectModelTitle = new System.Windows.Forms.Label(); + this.txtObjectModelTypeName = new System.Windows.Forms.TextBox(); + this.lblObjectModelTypeName = new System.Windows.Forms.Label(); + this.txtObjectModelID = new System.Windows.Forms.TextBox(); + this.lblObjectModelID = new System.Windows.Forms.Label(); + this.tabLicense = new System.Windows.Forms.TabPage(); + this.label2 = new System.Windows.Forms.Label(); + this.txtLicense = new System.Windows.Forms.TextBox(); + this.lblPlatform = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.tbsTabs.SuspendLayout(); + this.tabAuthors.SuspendLayout(); + this.tabInstalledComponents.SuspendLayout(); + this.splitContainer1.Panel1.SuspendLayout(); + this.splitContainer1.Panel2.SuspendLayout(); + this.splitContainer1.SuspendLayout(); + this.pnlAssemblyInfo.SuspendLayout(); + this.fraDescription.SuspendLayout(); + this.pnlDataFormatInfo.SuspendLayout(); + this.fraDataFormatContentTypes.SuspendLayout(); + this.fraDataFormatFilters.SuspendLayout(); + this.pnlObjectModelInfo.SuspendLayout(); + this.tabLicense.SuspendLayout(); + this.SuspendLayout(); + // + // pictureBox1 + // + this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); + this.pictureBox1.Location = new System.Drawing.Point(12, 12); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(32, 32); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox1.TabIndex = 0; + this.pictureBox1.TabStop = false; + // + // lblApplicationTitle + // + this.lblApplicationTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.lblApplicationTitle.FlatStyle = System.Windows.Forms.FlatStyle.System; - this.lblApplicationTitle.Location = new System.Drawing.Point(50, 12); - this.lblApplicationTitle.Name = "lblApplicationTitle"; - this.lblApplicationTitle.Size = new System.Drawing.Size(470, 19); - this.lblApplicationTitle.TabIndex = 1; - this.lblApplicationTitle.Text = "Universal Editor"; - // - // lblVersion - // - this.lblVersion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.lblApplicationTitle.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.lblApplicationTitle.Location = new System.Drawing.Point(50, 12); + this.lblApplicationTitle.Name = "lblApplicationTitle"; + this.lblApplicationTitle.Size = new System.Drawing.Size(470, 19); + this.lblApplicationTitle.TabIndex = 1; + this.lblApplicationTitle.Text = "Universal Editor"; + // + // lblVersion + // + this.lblVersion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.lblVersion.FlatStyle = System.Windows.Forms.FlatStyle.System; - this.lblVersion.Location = new System.Drawing.Point(50, 31); - this.lblVersion.Name = "lblVersion"; - this.lblVersion.Size = new System.Drawing.Size(470, 13); - this.lblVersion.TabIndex = 1; - this.lblVersion.Text = "Version 1.0"; - // - // label1 - // - this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.lblVersion.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.lblVersion.Location = new System.Drawing.Point(50, 31); + this.lblVersion.Name = "lblVersion"; + this.lblVersion.Size = new System.Drawing.Size(470, 13); + this.lblVersion.TabIndex = 1; + this.lblVersion.Text = "Version 1.0"; + // + // label1 + // + this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; - this.label1.Location = new System.Drawing.Point(13, 60); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(507, 2); - this.label1.TabIndex = 2; - // - // cmdOK - // - this.cmdOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.cmdOK.FlatStyle = System.Windows.Forms.FlatStyle.System; - this.cmdOK.Location = new System.Drawing.Point(445, 378); - this.cmdOK.Name = "cmdOK"; - this.cmdOK.Size = new System.Drawing.Size(75, 23); - this.cmdOK.TabIndex = 3; - this.cmdOK.Text = "OK"; - this.cmdOK.UseVisualStyleBackColor = true; - // - // tbsTabs - // - this.tbsTabs.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.label1.Location = new System.Drawing.Point(13, 60); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(507, 2); + this.label1.TabIndex = 2; + // + // cmdOK + // + this.cmdOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.cmdOK.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.cmdOK.Location = new System.Drawing.Point(445, 378); + this.cmdOK.Name = "cmdOK"; + this.cmdOK.Size = new System.Drawing.Size(75, 23); + this.cmdOK.TabIndex = 3; + this.cmdOK.Text = "OK"; + this.cmdOK.UseVisualStyleBackColor = true; + // + // tbsTabs + // + this.tbsTabs.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.tbsTabs.Controls.Add(this.tabAuthors); - this.tbsTabs.Controls.Add(this.tabInstalledComponents); - this.tbsTabs.Controls.Add(this.tabLicense); - this.tbsTabs.Location = new System.Drawing.Point(12, 65); - this.tbsTabs.Name = "tbsTabs"; - this.tbsTabs.SelectedIndex = 0; - this.tbsTabs.Size = new System.Drawing.Size(508, 307); - this.tbsTabs.TabIndex = 4; - // - // tabAuthors - // - this.tabAuthors.Controls.Add(this.txtContributors); - this.tabAuthors.Location = new System.Drawing.Point(4, 22); - this.tabAuthors.Name = "tabAuthors"; - this.tabAuthors.Padding = new System.Windows.Forms.Padding(3); - this.tabAuthors.Size = new System.Drawing.Size(500, 281); - this.tabAuthors.TabIndex = 0; - this.tabAuthors.Text = "Contributors"; - this.tabAuthors.UseVisualStyleBackColor = true; - // - // txtContributors - // - this.txtContributors.Dock = System.Windows.Forms.DockStyle.Fill; - this.txtContributors.Location = new System.Drawing.Point(3, 3); - this.txtContributors.Multiline = true; - this.txtContributors.Name = "txtContributors"; - this.txtContributors.ReadOnly = true; - this.txtContributors.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.txtContributors.Size = new System.Drawing.Size(494, 275); - this.txtContributors.TabIndex = 0; - this.txtContributors.Text = "Michael Becker, Lead Developer"; - // - // tabInstalledComponents - // - this.tabInstalledComponents.Controls.Add(this.splitContainer1); - this.tabInstalledComponents.Location = new System.Drawing.Point(4, 22); - this.tabInstalledComponents.Name = "tabInstalledComponents"; - this.tabInstalledComponents.Padding = new System.Windows.Forms.Padding(3); - this.tabInstalledComponents.Size = new System.Drawing.Size(500, 281); - this.tabInstalledComponents.TabIndex = 1; - this.tabInstalledComponents.Text = "Installed Components"; - this.tabInstalledComponents.UseVisualStyleBackColor = true; - // - // splitContainer1 - // - this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; - this.splitContainer1.Location = new System.Drawing.Point(3, 3); - this.splitContainer1.Name = "splitContainer1"; - // - // splitContainer1.Panel1 - // - this.splitContainer1.Panel1.Controls.Add(this.tvComponents); - // - // splitContainer1.Panel2 - // - this.splitContainer1.Panel2.Controls.Add(this.pnlAssemblyInfo); - this.splitContainer1.Panel2.Controls.Add(this.pnlDataFormatInfo); - this.splitContainer1.Panel2.Controls.Add(this.pnlObjectModelInfo); - this.splitContainer1.Size = new System.Drawing.Size(494, 275); - this.splitContainer1.SplitterDistance = 261; - this.splitContainer1.TabIndex = 1; - // - // tvComponents - // - this.tvComponents.Dock = System.Windows.Forms.DockStyle.Fill; - this.tvComponents.ImageIndex = 0; - this.tvComponents.ImageList = this.imlSmallIcons; - this.tvComponents.Location = new System.Drawing.Point(0, 0); - this.tvComponents.Name = "tvComponents"; - this.tvComponents.SelectedImageIndex = 0; - this.tvComponents.Size = new System.Drawing.Size(261, 275); - this.tvComponents.TabIndex = 0; - this.tvComponents.AfterCollapse += new System.Windows.Forms.TreeViewEventHandler(this.tvComponents_AfterCollapse); - this.tvComponents.AfterExpand += new System.Windows.Forms.TreeViewEventHandler(this.tvComponents_AfterExpand); - this.tvComponents.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvComponents_AfterSelect); - // - // imlSmallIcons - // - this.imlSmallIcons.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imlSmallIcons.ImageStream"))); - this.imlSmallIcons.TransparentColor = Color.Transparent; - this.imlSmallIcons.Images.SetKeyName(0, "LibraryClosed"); - this.imlSmallIcons.Images.SetKeyName(1, "LibraryOpen"); - this.imlSmallIcons.Images.SetKeyName(2, "DataFormat"); - this.imlSmallIcons.Images.SetKeyName(3, "ObjectModel"); - // - // pnlAssemblyInfo - // - this.pnlAssemblyInfo.Controls.Add(this.cmdOpenContainingFolder); - this.pnlAssemblyInfo.Controls.Add(this.txtAssemblyLocation); - this.pnlAssemblyInfo.Controls.Add(this.label4); - this.pnlAssemblyInfo.Controls.Add(this.txtAssemblyFullName); - this.pnlAssemblyInfo.Controls.Add(this.label3); - this.pnlAssemblyInfo.Controls.Add(this.fraDescription); - this.pnlAssemblyInfo.Dock = System.Windows.Forms.DockStyle.Fill; - this.pnlAssemblyInfo.Enabled = false; - this.pnlAssemblyInfo.Location = new System.Drawing.Point(0, 0); - this.pnlAssemblyInfo.Name = "pnlAssemblyInfo"; - this.pnlAssemblyInfo.Size = new System.Drawing.Size(229, 275); - this.pnlAssemblyInfo.TabIndex = 2; - this.pnlAssemblyInfo.Visible = false; - // - // cmdOpenContainingFolder - // - this.cmdOpenContainingFolder.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.cmdOpenContainingFolder.AutoSize = true; - this.cmdOpenContainingFolder.FlatStyle = System.Windows.Forms.FlatStyle.System; - this.cmdOpenContainingFolder.Location = new System.Drawing.Point(95, 55); - this.cmdOpenContainingFolder.Name = "cmdOpenContainingFolder"; - this.cmdOpenContainingFolder.Size = new System.Drawing.Size(132, 23); - this.cmdOpenContainingFolder.TabIndex = 4; - this.cmdOpenContainingFolder.Text = "Open Containing Folder"; - this.cmdOpenContainingFolder.UseVisualStyleBackColor = true; - this.cmdOpenContainingFolder.Click += new System.EventHandler(this.cmdOpenContainingFolder_Click); - // - // txtAssemblyLocation - // - this.txtAssemblyLocation.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.tbsTabs.Controls.Add(this.tabAuthors); + this.tbsTabs.Controls.Add(this.tabInstalledComponents); + this.tbsTabs.Controls.Add(this.tabLicense); + this.tbsTabs.Location = new System.Drawing.Point(12, 65); + this.tbsTabs.Name = "tbsTabs"; + this.tbsTabs.SelectedIndex = 0; + this.tbsTabs.Size = new System.Drawing.Size(508, 307); + this.tbsTabs.TabIndex = 4; + // + // tabAuthors + // + this.tabAuthors.Controls.Add(this.txtContributors); + this.tabAuthors.Location = new System.Drawing.Point(4, 22); + this.tabAuthors.Name = "tabAuthors"; + this.tabAuthors.Padding = new System.Windows.Forms.Padding(3); + this.tabAuthors.Size = new System.Drawing.Size(500, 281); + this.tabAuthors.TabIndex = 0; + this.tabAuthors.Text = "Contributors"; + this.tabAuthors.UseVisualStyleBackColor = true; + // + // txtContributors + // + this.txtContributors.Dock = System.Windows.Forms.DockStyle.Fill; + this.txtContributors.Location = new System.Drawing.Point(3, 3); + this.txtContributors.Multiline = true; + this.txtContributors.Name = "txtContributors"; + this.txtContributors.ReadOnly = true; + this.txtContributors.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; + this.txtContributors.Size = new System.Drawing.Size(494, 275); + this.txtContributors.TabIndex = 0; + this.txtContributors.Text = "Michael Becker, Lead Developer"; + // + // tabInstalledComponents + // + this.tabInstalledComponents.Controls.Add(this.splitContainer1); + this.tabInstalledComponents.Location = new System.Drawing.Point(4, 22); + this.tabInstalledComponents.Name = "tabInstalledComponents"; + this.tabInstalledComponents.Padding = new System.Windows.Forms.Padding(3); + this.tabInstalledComponents.Size = new System.Drawing.Size(500, 281); + this.tabInstalledComponents.TabIndex = 1; + this.tabInstalledComponents.Text = "Installed Components"; + this.tabInstalledComponents.UseVisualStyleBackColor = true; + // + // splitContainer1 + // + this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainer1.Location = new System.Drawing.Point(3, 3); + this.splitContainer1.Name = "splitContainer1"; + // + // splitContainer1.Panel1 + // + this.splitContainer1.Panel1.Controls.Add(this.tvComponents); + // + // splitContainer1.Panel2 + // + this.splitContainer1.Panel2.Controls.Add(this.pnlAssemblyInfo); + this.splitContainer1.Panel2.Controls.Add(this.pnlDataFormatInfo); + this.splitContainer1.Panel2.Controls.Add(this.pnlObjectModelInfo); + this.splitContainer1.Size = new System.Drawing.Size(494, 275); + this.splitContainer1.SplitterDistance = 261; + this.splitContainer1.TabIndex = 1; + // + // tvComponents + // + this.tvComponents.Dock = System.Windows.Forms.DockStyle.Fill; + this.tvComponents.ImageIndex = 0; + this.tvComponents.ImageList = this.imlSmallIcons; + this.tvComponents.Location = new System.Drawing.Point(0, 0); + this.tvComponents.Name = "tvComponents"; + this.tvComponents.SelectedImageIndex = 0; + this.tvComponents.Size = new System.Drawing.Size(261, 275); + this.tvComponents.TabIndex = 0; + this.tvComponents.AfterCollapse += new System.Windows.Forms.TreeViewEventHandler(this.tvComponents_AfterCollapse); + this.tvComponents.AfterExpand += new System.Windows.Forms.TreeViewEventHandler(this.tvComponents_AfterExpand); + this.tvComponents.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvComponents_AfterSelect); + // + // imlSmallIcons + // + this.imlSmallIcons.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imlSmallIcons.ImageStream"))); + this.imlSmallIcons.TransparentColor = System.Drawing.Color.Transparent; + this.imlSmallIcons.Images.SetKeyName(0, "LibraryClosed"); + this.imlSmallIcons.Images.SetKeyName(1, "LibraryOpen"); + this.imlSmallIcons.Images.SetKeyName(2, "DataFormat"); + this.imlSmallIcons.Images.SetKeyName(3, "ObjectModel"); + // + // pnlAssemblyInfo + // + this.pnlAssemblyInfo.Controls.Add(this.cmdOpenContainingFolder); + this.pnlAssemblyInfo.Controls.Add(this.txtAssemblyLocation); + this.pnlAssemblyInfo.Controls.Add(this.label4); + this.pnlAssemblyInfo.Controls.Add(this.txtAssemblyFullName); + this.pnlAssemblyInfo.Controls.Add(this.label3); + this.pnlAssemblyInfo.Controls.Add(this.fraDescription); + this.pnlAssemblyInfo.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlAssemblyInfo.Enabled = false; + this.pnlAssemblyInfo.Location = new System.Drawing.Point(0, 0); + this.pnlAssemblyInfo.Name = "pnlAssemblyInfo"; + this.pnlAssemblyInfo.Size = new System.Drawing.Size(229, 275); + this.pnlAssemblyInfo.TabIndex = 2; + this.pnlAssemblyInfo.Visible = false; + // + // cmdOpenContainingFolder + // + this.cmdOpenContainingFolder.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.cmdOpenContainingFolder.AutoSize = true; + this.cmdOpenContainingFolder.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.cmdOpenContainingFolder.Location = new System.Drawing.Point(95, 55); + this.cmdOpenContainingFolder.Name = "cmdOpenContainingFolder"; + this.cmdOpenContainingFolder.Size = new System.Drawing.Size(132, 23); + this.cmdOpenContainingFolder.TabIndex = 4; + this.cmdOpenContainingFolder.Text = "Open Containing Folder"; + this.cmdOpenContainingFolder.UseVisualStyleBackColor = true; + this.cmdOpenContainingFolder.Click += new System.EventHandler(this.cmdOpenContainingFolder_Click); + // + // txtAssemblyLocation + // + this.txtAssemblyLocation.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.txtAssemblyLocation.Location = new System.Drawing.Point(64, 29); - this.txtAssemblyLocation.Name = "txtAssemblyLocation"; - this.txtAssemblyLocation.ReadOnly = true; - this.txtAssemblyLocation.Size = new System.Drawing.Size(162, 20); - this.txtAssemblyLocation.TabIndex = 3; - // - // label4 - // - this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(3, 32); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(51, 13); - this.label4.TabIndex = 2; - this.label4.Text = "Location:"; - // - // txtAssemblyFullName - // - this.txtAssemblyFullName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.txtAssemblyLocation.Location = new System.Drawing.Point(64, 29); + this.txtAssemblyLocation.Name = "txtAssemblyLocation"; + this.txtAssemblyLocation.ReadOnly = true; + this.txtAssemblyLocation.Size = new System.Drawing.Size(162, 20); + this.txtAssemblyLocation.TabIndex = 3; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(3, 32); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(51, 13); + this.label4.TabIndex = 2; + this.label4.Text = "Location:"; + // + // txtAssemblyFullName + // + this.txtAssemblyFullName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.txtAssemblyFullName.Location = new System.Drawing.Point(64, 3); - this.txtAssemblyFullName.Name = "txtAssemblyFullName"; - this.txtAssemblyFullName.ReadOnly = true; - this.txtAssemblyFullName.Size = new System.Drawing.Size(162, 20); - this.txtAssemblyFullName.TabIndex = 3; - // - // label3 - // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(3, 6); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(55, 13); - this.label3.TabIndex = 2; - this.label3.Text = "Full name:"; - // - // fraDescription - // - this.fraDescription.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.txtAssemblyFullName.Location = new System.Drawing.Point(64, 3); + this.txtAssemblyFullName.Name = "txtAssemblyFullName"; + this.txtAssemblyFullName.ReadOnly = true; + this.txtAssemblyFullName.Size = new System.Drawing.Size(162, 20); + this.txtAssemblyFullName.TabIndex = 3; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(3, 6); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(55, 13); + this.label3.TabIndex = 2; + this.label3.Text = "Full name:"; + // + // fraDescription + // + this.fraDescription.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.fraDescription.Controls.Add(this.txtAssemblyDescription); - this.fraDescription.Location = new System.Drawing.Point(3, 84); - this.fraDescription.Name = "fraDescription"; - this.fraDescription.Size = new System.Drawing.Size(223, 188); - this.fraDescription.TabIndex = 1; - this.fraDescription.TabStop = false; - this.fraDescription.Text = "Description"; - // - // txtAssemblyDescription - // - this.txtAssemblyDescription.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.fraDescription.Controls.Add(this.txtAssemblyDescription); + this.fraDescription.Location = new System.Drawing.Point(3, 84); + this.fraDescription.Name = "fraDescription"; + this.fraDescription.Size = new System.Drawing.Size(223, 188); + this.fraDescription.TabIndex = 1; + this.fraDescription.TabStop = false; + this.fraDescription.Text = "Description"; + // + // txtAssemblyDescription + // + this.txtAssemblyDescription.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.txtAssemblyDescription.HideSelection = false; - this.txtAssemblyDescription.Location = new System.Drawing.Point(6, 19); - this.txtAssemblyDescription.Multiline = true; - this.txtAssemblyDescription.Name = "txtAssemblyDescription"; - this.txtAssemblyDescription.ReadOnly = true; - this.txtAssemblyDescription.Size = new System.Drawing.Size(211, 163); - this.txtAssemblyDescription.TabIndex = 0; - // - // pnlDataFormatInfo - // - this.pnlDataFormatInfo.Controls.Add(this.fraDataFormatContentTypes); - this.pnlDataFormatInfo.Controls.Add(this.fraDataFormatFilters); - this.pnlDataFormatInfo.Controls.Add(this.txtDataFormatTypeName); - this.pnlDataFormatInfo.Controls.Add(this.label6); - this.pnlDataFormatInfo.Controls.Add(this.txtDataFormatID); - this.pnlDataFormatInfo.Controls.Add(this.lblDataFormatID); - this.pnlDataFormatInfo.Dock = System.Windows.Forms.DockStyle.Fill; - this.pnlDataFormatInfo.Enabled = false; - this.pnlDataFormatInfo.Location = new System.Drawing.Point(0, 0); - this.pnlDataFormatInfo.Name = "pnlDataFormatInfo"; - this.pnlDataFormatInfo.Size = new System.Drawing.Size(229, 275); - this.pnlDataFormatInfo.TabIndex = 4; - this.pnlDataFormatInfo.Visible = false; - // - // fraDataFormatContentTypes - // - this.fraDataFormatContentTypes.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.txtAssemblyDescription.HideSelection = false; + this.txtAssemblyDescription.Location = new System.Drawing.Point(6, 19); + this.txtAssemblyDescription.Multiline = true; + this.txtAssemblyDescription.Name = "txtAssemblyDescription"; + this.txtAssemblyDescription.ReadOnly = true; + this.txtAssemblyDescription.Size = new System.Drawing.Size(211, 163); + this.txtAssemblyDescription.TabIndex = 0; + // + // pnlDataFormatInfo + // + this.pnlDataFormatInfo.Controls.Add(this.fraDataFormatContentTypes); + this.pnlDataFormatInfo.Controls.Add(this.fraDataFormatFilters); + this.pnlDataFormatInfo.Controls.Add(this.txtDataFormatTypeName); + this.pnlDataFormatInfo.Controls.Add(this.label6); + this.pnlDataFormatInfo.Controls.Add(this.txtDataFormatID); + this.pnlDataFormatInfo.Controls.Add(this.lblDataFormatID); + this.pnlDataFormatInfo.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlDataFormatInfo.Enabled = false; + this.pnlDataFormatInfo.Location = new System.Drawing.Point(0, 0); + this.pnlDataFormatInfo.Name = "pnlDataFormatInfo"; + this.pnlDataFormatInfo.Size = new System.Drawing.Size(229, 275); + this.pnlDataFormatInfo.TabIndex = 4; + this.pnlDataFormatInfo.Visible = false; + // + // fraDataFormatContentTypes + // + this.fraDataFormatContentTypes.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.fraDataFormatContentTypes.Controls.Add(this.lvDataFormatContentTypes); - this.fraDataFormatContentTypes.Location = new System.Drawing.Point(3, 55); - this.fraDataFormatContentTypes.Name = "fraDataFormatContentTypes"; - this.fraDataFormatContentTypes.Size = new System.Drawing.Size(223, 100); - this.fraDataFormatContentTypes.TabIndex = 4; - this.fraDataFormatContentTypes.TabStop = false; - this.fraDataFormatContentTypes.Text = "Content types"; - // - // lvDataFormatContentTypes - // - this.lvDataFormatContentTypes.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.fraDataFormatContentTypes.Controls.Add(this.lvDataFormatContentTypes); + this.fraDataFormatContentTypes.Location = new System.Drawing.Point(3, 55); + this.fraDataFormatContentTypes.Name = "fraDataFormatContentTypes"; + this.fraDataFormatContentTypes.Size = new System.Drawing.Size(223, 100); + this.fraDataFormatContentTypes.TabIndex = 4; + this.fraDataFormatContentTypes.TabStop = false; + this.fraDataFormatContentTypes.Text = "Content types"; + // + // lvDataFormatContentTypes + // + this.lvDataFormatContentTypes.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.lvDataFormatContentTypes.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.lvDataFormatContentTypes.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.chDataFormatContentType}); - this.lvDataFormatContentTypes.FullRowSelect = true; - this.lvDataFormatContentTypes.GridLines = true; - this.lvDataFormatContentTypes.HideSelection = false; - this.lvDataFormatContentTypes.Location = new System.Drawing.Point(6, 19); - this.lvDataFormatContentTypes.Name = "lvDataFormatContentTypes"; - this.lvDataFormatContentTypes.Size = new System.Drawing.Size(211, 75); - this.lvDataFormatContentTypes.TabIndex = 0; - this.lvDataFormatContentTypes.UseCompatibleStateImageBehavior = false; - this.lvDataFormatContentTypes.View = System.Windows.Forms.View.Details; - // - // chDataFormatContentType - // - this.chDataFormatContentType.Text = "Content type"; - this.chDataFormatContentType.Width = 204; - // - // fraDataFormatFilters - // - this.fraDataFormatFilters.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.lvDataFormatContentTypes.FullRowSelect = true; + this.lvDataFormatContentTypes.GridLines = true; + this.lvDataFormatContentTypes.HideSelection = false; + this.lvDataFormatContentTypes.Location = new System.Drawing.Point(6, 19); + this.lvDataFormatContentTypes.Name = "lvDataFormatContentTypes"; + this.lvDataFormatContentTypes.Size = new System.Drawing.Size(211, 75); + this.lvDataFormatContentTypes.TabIndex = 0; + this.lvDataFormatContentTypes.UseCompatibleStateImageBehavior = false; + this.lvDataFormatContentTypes.View = System.Windows.Forms.View.Details; + // + // chDataFormatContentType + // + this.chDataFormatContentType.Text = "Content type"; + this.chDataFormatContentType.Width = 204; + // + // fraDataFormatFilters + // + this.fraDataFormatFilters.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.fraDataFormatFilters.Controls.Add(this.lvDataFormatFilters); - this.fraDataFormatFilters.Location = new System.Drawing.Point(3, 161); - this.fraDataFormatFilters.Name = "fraDataFormatFilters"; - this.fraDataFormatFilters.Size = new System.Drawing.Size(223, 111); - this.fraDataFormatFilters.TabIndex = 4; - this.fraDataFormatFilters.TabStop = false; - this.fraDataFormatFilters.Text = "Filters"; - // - // lvDataFormatFilters - // - this.lvDataFormatFilters.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.fraDataFormatFilters.Controls.Add(this.lvDataFormatFilters); + this.fraDataFormatFilters.Location = new System.Drawing.Point(3, 161); + this.fraDataFormatFilters.Name = "fraDataFormatFilters"; + this.fraDataFormatFilters.Size = new System.Drawing.Size(223, 111); + this.fraDataFormatFilters.TabIndex = 4; + this.fraDataFormatFilters.TabStop = false; + this.fraDataFormatFilters.Text = "Filters"; + // + // lvDataFormatFilters + // + this.lvDataFormatFilters.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.lvDataFormatFilters.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.lvDataFormatFilters.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.chDataFormatFilterTitle, this.chDataFormatFilterFilters}); - this.lvDataFormatFilters.FullRowSelect = true; - this.lvDataFormatFilters.GridLines = true; - this.lvDataFormatFilters.HideSelection = false; - this.lvDataFormatFilters.Location = new System.Drawing.Point(6, 19); - this.lvDataFormatFilters.Name = "lvDataFormatFilters"; - this.lvDataFormatFilters.Size = new System.Drawing.Size(211, 86); - this.lvDataFormatFilters.TabIndex = 0; - this.lvDataFormatFilters.UseCompatibleStateImageBehavior = false; - this.lvDataFormatFilters.View = System.Windows.Forms.View.Details; - // - // chDataFormatFilterTitle - // - this.chDataFormatFilterTitle.Text = "Title"; - this.chDataFormatFilterTitle.Width = 105; - // - // chDataFormatFilterFilters - // - this.chDataFormatFilterFilters.Text = "Filters"; - this.chDataFormatFilterFilters.Width = 99; - // - // txtDataFormatTypeName - // - this.txtDataFormatTypeName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.lvDataFormatFilters.FullRowSelect = true; + this.lvDataFormatFilters.GridLines = true; + this.lvDataFormatFilters.HideSelection = false; + this.lvDataFormatFilters.Location = new System.Drawing.Point(6, 19); + this.lvDataFormatFilters.Name = "lvDataFormatFilters"; + this.lvDataFormatFilters.Size = new System.Drawing.Size(211, 86); + this.lvDataFormatFilters.TabIndex = 0; + this.lvDataFormatFilters.UseCompatibleStateImageBehavior = false; + this.lvDataFormatFilters.View = System.Windows.Forms.View.Details; + // + // chDataFormatFilterTitle + // + this.chDataFormatFilterTitle.Text = "Title"; + this.chDataFormatFilterTitle.Width = 105; + // + // chDataFormatFilterFilters + // + this.chDataFormatFilterFilters.Text = "Filters"; + this.chDataFormatFilterFilters.Width = 99; + // + // txtDataFormatTypeName + // + this.txtDataFormatTypeName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.txtDataFormatTypeName.Location = new System.Drawing.Point(72, 29); - this.txtDataFormatTypeName.Name = "txtDataFormatTypeName"; - this.txtDataFormatTypeName.ReadOnly = true; - this.txtDataFormatTypeName.Size = new System.Drawing.Size(154, 20); - this.txtDataFormatTypeName.TabIndex = 3; - // - // label6 - // - this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(3, 32); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(63, 13); - this.label6.TabIndex = 2; - this.label6.Text = "Type name:"; - // - // txtDataFormatID - // - this.txtDataFormatID.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.txtDataFormatTypeName.Location = new System.Drawing.Point(72, 29); + this.txtDataFormatTypeName.Name = "txtDataFormatTypeName"; + this.txtDataFormatTypeName.ReadOnly = true; + this.txtDataFormatTypeName.Size = new System.Drawing.Size(154, 20); + this.txtDataFormatTypeName.TabIndex = 3; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(3, 32); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(63, 13); + this.label6.TabIndex = 2; + this.label6.Text = "Type name:"; + // + // txtDataFormatID + // + this.txtDataFormatID.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.txtDataFormatID.Location = new System.Drawing.Point(72, 3); - this.txtDataFormatID.Name = "txtDataFormatID"; - this.txtDataFormatID.ReadOnly = true; - this.txtDataFormatID.Size = new System.Drawing.Size(154, 20); - this.txtDataFormatID.TabIndex = 3; - // - // lblDataFormatID - // - this.lblDataFormatID.AutoSize = true; - this.lblDataFormatID.Location = new System.Drawing.Point(3, 6); - this.lblDataFormatID.Name = "lblDataFormatID"; - this.lblDataFormatID.Size = new System.Drawing.Size(21, 13); - this.lblDataFormatID.TabIndex = 2; - this.lblDataFormatID.Text = "ID:"; - // - // pnlObjectModelInfo - // - this.pnlObjectModelInfo.Controls.Add(this.txtObjectModelTitle); - this.pnlObjectModelInfo.Controls.Add(this.lblObjectModelTitle); - this.pnlObjectModelInfo.Controls.Add(this.txtObjectModelTypeName); - this.pnlObjectModelInfo.Controls.Add(this.lblObjectModelTypeName); - this.pnlObjectModelInfo.Controls.Add(this.txtObjectModelID); - this.pnlObjectModelInfo.Controls.Add(this.lblObjectModelID); - this.pnlObjectModelInfo.Dock = System.Windows.Forms.DockStyle.Fill; - this.pnlObjectModelInfo.Enabled = false; - this.pnlObjectModelInfo.Location = new System.Drawing.Point(0, 0); - this.pnlObjectModelInfo.Name = "pnlObjectModelInfo"; - this.pnlObjectModelInfo.Size = new System.Drawing.Size(229, 275); - this.pnlObjectModelInfo.TabIndex = 3; - this.pnlObjectModelInfo.Visible = false; - // - // txtObjectModelTitle - // - this.txtObjectModelTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.txtDataFormatID.Location = new System.Drawing.Point(72, 3); + this.txtDataFormatID.Name = "txtDataFormatID"; + this.txtDataFormatID.ReadOnly = true; + this.txtDataFormatID.Size = new System.Drawing.Size(154, 20); + this.txtDataFormatID.TabIndex = 3; + // + // lblDataFormatID + // + this.lblDataFormatID.AutoSize = true; + this.lblDataFormatID.Location = new System.Drawing.Point(3, 6); + this.lblDataFormatID.Name = "lblDataFormatID"; + this.lblDataFormatID.Size = new System.Drawing.Size(21, 13); + this.lblDataFormatID.TabIndex = 2; + this.lblDataFormatID.Text = "ID:"; + // + // pnlObjectModelInfo + // + this.pnlObjectModelInfo.Controls.Add(this.txtObjectModelTitle); + this.pnlObjectModelInfo.Controls.Add(this.lblObjectModelTitle); + this.pnlObjectModelInfo.Controls.Add(this.txtObjectModelTypeName); + this.pnlObjectModelInfo.Controls.Add(this.lblObjectModelTypeName); + this.pnlObjectModelInfo.Controls.Add(this.txtObjectModelID); + this.pnlObjectModelInfo.Controls.Add(this.lblObjectModelID); + this.pnlObjectModelInfo.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlObjectModelInfo.Enabled = false; + this.pnlObjectModelInfo.Location = new System.Drawing.Point(0, 0); + this.pnlObjectModelInfo.Name = "pnlObjectModelInfo"; + this.pnlObjectModelInfo.Size = new System.Drawing.Size(229, 275); + this.pnlObjectModelInfo.TabIndex = 3; + this.pnlObjectModelInfo.Visible = false; + // + // txtObjectModelTitle + // + this.txtObjectModelTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.txtObjectModelTitle.Location = new System.Drawing.Point(72, 55); - this.txtObjectModelTitle.Name = "txtObjectModelTitle"; - this.txtObjectModelTitle.ReadOnly = true; - this.txtObjectModelTitle.Size = new System.Drawing.Size(154, 20); - this.txtObjectModelTitle.TabIndex = 3; - // - // lblObjectModelTitle - // - this.lblObjectModelTitle.AutoSize = true; - this.lblObjectModelTitle.Location = new System.Drawing.Point(3, 58); - this.lblObjectModelTitle.Name = "lblObjectModelTitle"; - this.lblObjectModelTitle.Size = new System.Drawing.Size(30, 13); - this.lblObjectModelTitle.TabIndex = 2; - this.lblObjectModelTitle.Text = "Title:"; - // - // txtObjectModelTypeName - // - this.txtObjectModelTypeName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.txtObjectModelTitle.Location = new System.Drawing.Point(72, 55); + this.txtObjectModelTitle.Name = "txtObjectModelTitle"; + this.txtObjectModelTitle.ReadOnly = true; + this.txtObjectModelTitle.Size = new System.Drawing.Size(154, 20); + this.txtObjectModelTitle.TabIndex = 3; + // + // lblObjectModelTitle + // + this.lblObjectModelTitle.AutoSize = true; + this.lblObjectModelTitle.Location = new System.Drawing.Point(3, 58); + this.lblObjectModelTitle.Name = "lblObjectModelTitle"; + this.lblObjectModelTitle.Size = new System.Drawing.Size(30, 13); + this.lblObjectModelTitle.TabIndex = 2; + this.lblObjectModelTitle.Text = "Title:"; + // + // txtObjectModelTypeName + // + this.txtObjectModelTypeName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.txtObjectModelTypeName.Location = new System.Drawing.Point(72, 29); - this.txtObjectModelTypeName.Name = "txtObjectModelTypeName"; - this.txtObjectModelTypeName.ReadOnly = true; - this.txtObjectModelTypeName.Size = new System.Drawing.Size(154, 20); - this.txtObjectModelTypeName.TabIndex = 3; - // - // lblObjectModelTypeName - // - this.lblObjectModelTypeName.AutoSize = true; - this.lblObjectModelTypeName.Location = new System.Drawing.Point(3, 32); - this.lblObjectModelTypeName.Name = "lblObjectModelTypeName"; - this.lblObjectModelTypeName.Size = new System.Drawing.Size(63, 13); - this.lblObjectModelTypeName.TabIndex = 2; - this.lblObjectModelTypeName.Text = "Type name:"; - // - // txtObjectModelID - // - this.txtObjectModelID.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.txtObjectModelTypeName.Location = new System.Drawing.Point(72, 29); + this.txtObjectModelTypeName.Name = "txtObjectModelTypeName"; + this.txtObjectModelTypeName.ReadOnly = true; + this.txtObjectModelTypeName.Size = new System.Drawing.Size(154, 20); + this.txtObjectModelTypeName.TabIndex = 3; + // + // lblObjectModelTypeName + // + this.lblObjectModelTypeName.AutoSize = true; + this.lblObjectModelTypeName.Location = new System.Drawing.Point(3, 32); + this.lblObjectModelTypeName.Name = "lblObjectModelTypeName"; + this.lblObjectModelTypeName.Size = new System.Drawing.Size(63, 13); + this.lblObjectModelTypeName.TabIndex = 2; + this.lblObjectModelTypeName.Text = "Type name:"; + // + // txtObjectModelID + // + this.txtObjectModelID.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.txtObjectModelID.Location = new System.Drawing.Point(72, 3); - this.txtObjectModelID.Name = "txtObjectModelID"; - this.txtObjectModelID.ReadOnly = true; - this.txtObjectModelID.Size = new System.Drawing.Size(154, 20); - this.txtObjectModelID.TabIndex = 3; - // - // lblObjectModelID - // - this.lblObjectModelID.AutoSize = true; - this.lblObjectModelID.Location = new System.Drawing.Point(3, 6); - this.lblObjectModelID.Name = "lblObjectModelID"; - this.lblObjectModelID.Size = new System.Drawing.Size(21, 13); - this.lblObjectModelID.TabIndex = 2; - this.lblObjectModelID.Text = "ID:"; - // - // tabLicense - // - this.tabLicense.Controls.Add(this.label2); - this.tabLicense.Controls.Add(this.txtLicense); - this.tabLicense.Location = new System.Drawing.Point(4, 22); - this.tabLicense.Name = "tabLicense"; - this.tabLicense.Padding = new System.Windows.Forms.Padding(3); - this.tabLicense.Size = new System.Drawing.Size(500, 281); - this.tabLicense.TabIndex = 2; - this.tabLicense.Text = "Application License"; - this.tabLicense.UseVisualStyleBackColor = true; - // - // label2 - // - this.label2.Location = new System.Drawing.Point(6, 9); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(488, 49); - this.label2.TabIndex = 2; - this.label2.Text = resources.GetString("label2.Text"); - // - // txtLicense - // - this.txtLicense.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.txtObjectModelID.Location = new System.Drawing.Point(72, 3); + this.txtObjectModelID.Name = "txtObjectModelID"; + this.txtObjectModelID.ReadOnly = true; + this.txtObjectModelID.Size = new System.Drawing.Size(154, 20); + this.txtObjectModelID.TabIndex = 3; + // + // lblObjectModelID + // + this.lblObjectModelID.AutoSize = true; + this.lblObjectModelID.Location = new System.Drawing.Point(3, 6); + this.lblObjectModelID.Name = "lblObjectModelID"; + this.lblObjectModelID.Size = new System.Drawing.Size(21, 13); + this.lblObjectModelID.TabIndex = 2; + this.lblObjectModelID.Text = "ID:"; + // + // tabLicense + // + this.tabLicense.Controls.Add(this.label2); + this.tabLicense.Controls.Add(this.txtLicense); + this.tabLicense.Location = new System.Drawing.Point(4, 22); + this.tabLicense.Name = "tabLicense"; + this.tabLicense.Padding = new System.Windows.Forms.Padding(3); + this.tabLicense.Size = new System.Drawing.Size(500, 281); + this.tabLicense.TabIndex = 2; + this.tabLicense.Text = "Application License"; + this.tabLicense.UseVisualStyleBackColor = true; + // + // label2 + // + this.label2.Location = new System.Drawing.Point(6, 9); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(488, 49); + this.label2.TabIndex = 2; + this.label2.Text = resources.GetString("label2.Text"); + // + // txtLicense + // + this.txtLicense.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.txtLicense.Location = new System.Drawing.Point(3, 61); - this.txtLicense.Multiline = true; - this.txtLicense.Name = "txtLicense"; - this.txtLicense.ReadOnly = true; - this.txtLicense.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.txtLicense.Size = new System.Drawing.Size(491, 210); - this.txtLicense.TabIndex = 1; - this.txtLicense.Text = resources.GetString("txtLicense.Text"); - // - // AboutDialog - // - this.AcceptButton = this.cmdOK; - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.CancelButton = this.cmdOK; - this.ClientSize = new System.Drawing.Size(532, 413); - this.Controls.Add(this.tbsTabs); - this.Controls.Add(this.cmdOK); - this.Controls.Add(this.label1); - this.Controls.Add(this.lblVersion); - this.Controls.Add(this.lblApplicationTitle); - this.Controls.Add(this.pictureBox1); - this.MinimumSize = new System.Drawing.Size(467, 438); - this.Name = "AboutDialog"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "About Universal Editor"; - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - this.tbsTabs.ResumeLayout(false); - this.tabAuthors.ResumeLayout(false); - this.tabAuthors.PerformLayout(); - this.tabInstalledComponents.ResumeLayout(false); - this.splitContainer1.Panel1.ResumeLayout(false); - this.splitContainer1.Panel2.ResumeLayout(false); - this.splitContainer1.ResumeLayout(false); - this.pnlAssemblyInfo.ResumeLayout(false); - this.pnlAssemblyInfo.PerformLayout(); - this.fraDescription.ResumeLayout(false); - this.fraDescription.PerformLayout(); - this.pnlDataFormatInfo.ResumeLayout(false); - this.pnlDataFormatInfo.PerformLayout(); - this.fraDataFormatContentTypes.ResumeLayout(false); - this.fraDataFormatFilters.ResumeLayout(false); - this.pnlObjectModelInfo.ResumeLayout(false); - this.pnlObjectModelInfo.PerformLayout(); - this.tabLicense.ResumeLayout(false); - this.tabLicense.PerformLayout(); - this.ResumeLayout(false); + this.txtLicense.Location = new System.Drawing.Point(3, 61); + this.txtLicense.Multiline = true; + this.txtLicense.Name = "txtLicense"; + this.txtLicense.ReadOnly = true; + this.txtLicense.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; + this.txtLicense.Size = new System.Drawing.Size(491, 210); + this.txtLicense.TabIndex = 1; + this.txtLicense.Text = resources.GetString("txtLicense.Text"); + // + // lblPlatform + // + this.lblPlatform.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.lblPlatform.Enabled = false; + this.lblPlatform.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.lblPlatform.Location = new System.Drawing.Point(10, 383); + this.lblPlatform.Name = "lblPlatform"; + this.lblPlatform.Size = new System.Drawing.Size(429, 18); + this.lblPlatform.TabIndex = 5; + this.lblPlatform.Text = "Powered by the Universal Editor Platform"; + // + // AboutDialog + // + this.AcceptButton = this.cmdOK; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.CancelButton = this.cmdOK; + this.ClientSize = new System.Drawing.Size(532, 413); + this.Controls.Add(this.lblPlatform); + this.Controls.Add(this.tbsTabs); + this.Controls.Add(this.cmdOK); + this.Controls.Add(this.label1); + this.Controls.Add(this.lblVersion); + this.Controls.Add(this.lblApplicationTitle); + this.Controls.Add(this.pictureBox1); + this.MinimumSize = new System.Drawing.Size(467, 438); + this.Name = "AboutDialog"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "About Universal Editor"; + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.tbsTabs.ResumeLayout(false); + this.tabAuthors.ResumeLayout(false); + this.tabAuthors.PerformLayout(); + this.tabInstalledComponents.ResumeLayout(false); + this.splitContainer1.Panel1.ResumeLayout(false); + this.splitContainer1.Panel2.ResumeLayout(false); + this.splitContainer1.ResumeLayout(false); + this.pnlAssemblyInfo.ResumeLayout(false); + this.pnlAssemblyInfo.PerformLayout(); + this.fraDescription.ResumeLayout(false); + this.fraDescription.PerformLayout(); + this.pnlDataFormatInfo.ResumeLayout(false); + this.pnlDataFormatInfo.PerformLayout(); + this.fraDataFormatContentTypes.ResumeLayout(false); + this.fraDataFormatFilters.ResumeLayout(false); + this.pnlObjectModelInfo.ResumeLayout(false); + this.pnlObjectModelInfo.PerformLayout(); + this.tabLicense.ResumeLayout(false); + this.tabLicense.PerformLayout(); + this.ResumeLayout(false); } @@ -647,5 +661,6 @@ namespace UniversalEditor.UserInterface.WindowsForms.Dialogs private System.Windows.Forms.GroupBox fraDataFormatContentTypes; private System.Windows.Forms.ListView lvDataFormatContentTypes; private System.Windows.Forms.ColumnHeader chDataFormatContentType; + private System.Windows.Forms.Label lblPlatform; } } \ No newline at end of file diff --git a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/AboutDialog.cs b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/AboutDialog.cs index 4fa16ac2..1a8a0261 100644 --- a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/AboutDialog.cs +++ b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/AboutDialog.cs @@ -7,97 +7,101 @@ using System.Windows.Forms; namespace UniversalEditor.UserInterface.WindowsForms.Dialogs { - public partial class AboutDialog : Glue.GlueWindow - { - public AboutDialog() - { - InitializeComponent(); - InitializeImageLists(); - InitializeInstalledComponentsTab(); + public partial class AboutDialog : Glue.GlueWindow + { + public AboutDialog() + { + InitializeComponent(); + InitializeImageLists(); + InitializeInstalledComponentsTab(); - Font = SystemFonts.MenuFont; - lblApplicationTitle.Font = new Font(Font, FontStyle.Bold); + Font = SystemFonts.MenuFont; + lblApplicationTitle.Font = new Font(Font, FontStyle.Bold); + lblApplicationTitle.Text = Engine.CurrentEngine.DefaultLanguage.GetStringTableEntry("ApplicationTitle", "Universal Editor"); + lblPlatform.Visible = (lblApplicationTitle.Text != "Universal Editor"); - lblVersion.Text = "Version " + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); - } + this.Text = "About " + lblApplicationTitle.Text; - private void InitializeImageLists() - { - IconMethods.PopulateSystemIcons(ref imlSmallIcons); - } - private void InitializeInstalledComponentsTab() - { - tvComponents.Nodes.Clear(); + lblVersion.Text = "Version " + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); + } - #region Object Models - { - TreeNode tnParent = null; - ObjectModelReference[] omrs = UniversalEditor.Common.Reflection.GetAvailableObjectModels(); - foreach (ObjectModelReference omr in omrs) - { - string title = omr.ObjectModelType.Assembly.GetName().Name; - object[] atts = omr.ObjectModelType.Assembly.GetCustomAttributes(typeof(System.Reflection.AssemblyTitleAttribute), false); - if (atts.Length > 0) - { - title = (atts[0] as System.Reflection.AssemblyTitleAttribute).Title; - } + private void InitializeImageLists() + { + IconMethods.PopulateSystemIcons(ref imlSmallIcons); + } + private void InitializeInstalledComponentsTab() + { + tvComponents.Nodes.Clear(); - if (tnParent == null) - { - if (tvComponents.Nodes.ContainsKey(title)) - { - tnParent = tvComponents.Nodes[title]; - } - else - { - tnParent = tvComponents.Nodes.Add(title, title, "LibraryClosed"); - } - } - else - { - if (tvComponents.Nodes.ContainsKey(title)) - { - tnParent = tnParent.Nodes[title]; - } - else - { - tnParent = tnParent.Nodes.Add(title, title, "LibraryClosed", "LibraryClosed"); - } - } - tnParent.Tag = omr.ObjectModelType.Assembly; + #region Object Models + { + TreeNode tnParent = null; + ObjectModelReference[] omrs = UniversalEditor.Common.Reflection.GetAvailableObjectModels(); + foreach (ObjectModelReference omr in omrs) + { + string title = omr.ObjectModelType.Assembly.GetName().Name; + object[] atts = omr.ObjectModelType.Assembly.GetCustomAttributes(typeof(System.Reflection.AssemblyTitleAttribute), false); + if (atts.Length > 0) + { + title = (atts[0] as System.Reflection.AssemblyTitleAttribute).Title; + } - foreach (string s in omr.Path) - { - if (tnParent == null) - { - if (tvComponents.Nodes.ContainsKey(s)) - { - tnParent = tvComponents.Nodes[s]; - } - else - { - tnParent = tvComponents.Nodes.Add(s, s, "generic-folder-closed", "generic-folder-closed"); - } - } - else - { - if (tnParent.Nodes.ContainsKey(s)) - { - tnParent = tnParent.Nodes[s]; - } - else - { - tnParent = tnParent.Nodes.Add(s, s, "generic-folder-closed", "generic-folder-closed"); - } - } + if (tnParent == null) + { + if (tvComponents.Nodes.ContainsKey(title)) + { + tnParent = tvComponents.Nodes[title]; + } + else + { + tnParent = tvComponents.Nodes.Add(title, title, "LibraryClosed"); + } + } + else + { + if (tvComponents.Nodes.ContainsKey(title)) + { + tnParent = tnParent.Nodes[title]; + } + else + { + tnParent = tnParent.Nodes.Add(title, title, "LibraryClosed", "LibraryClosed"); + } + } + tnParent.Tag = omr.ObjectModelType.Assembly; - if (Array.IndexOf(omr.Path, s) == omr.Path.Length - 1) - { - tnParent.ImageKey = "ObjectModel"; - tnParent.SelectedImageKey = "ObjectModel"; - tnParent.Tag = omr; + foreach (string s in omr.Path) + { + if (tnParent == null) + { + if (tvComponents.Nodes.ContainsKey(s)) + { + tnParent = tvComponents.Nodes[s]; + } + else + { + tnParent = tvComponents.Nodes.Add(s, s, "generic-folder-closed", "generic-folder-closed"); + } + } + else + { + if (tnParent.Nodes.ContainsKey(s)) + { + tnParent = tnParent.Nodes[s]; + } + else + { + tnParent = tnParent.Nodes.Add(s, s, "generic-folder-closed", "generic-folder-closed"); + } + } - DataFormatReference[] dfrs = UniversalEditor.Common.Reflection.GetAvailableDataFormats(omr); + if (Array.IndexOf(omr.Path, s) == omr.Path.Length - 1) + { + tnParent.ImageKey = "ObjectModel"; + tnParent.SelectedImageKey = "ObjectModel"; + tnParent.Tag = omr; + + DataFormatReference[] dfrs = UniversalEditor.Common.Reflection.GetAvailableDataFormats(omr); if (dfrs.Length > 0) { TreeNode tnParentDataFormats = null; @@ -150,149 +154,149 @@ namespace UniversalEditor.UserInterface.WindowsForms.Dialogs } } } - } - } - tnParent = null; - } - } - #endregion + } + } + tnParent = null; + } + } + #endregion tvComponents.Sort(); - } + } - private void tvComponents_AfterExpand(object sender, TreeViewEventArgs e) - { - UpdateNodeImage(e.Node); - } - private void tvComponents_AfterCollapse(object sender, TreeViewEventArgs e) - { - UpdateNodeImage(e.Node); - } + private void tvComponents_AfterExpand(object sender, TreeViewEventArgs e) + { + UpdateNodeImage(e.Node); + } + private void tvComponents_AfterCollapse(object sender, TreeViewEventArgs e) + { + UpdateNodeImage(e.Node); + } - private void UpdateNodeImage(TreeNode node) - { - if (node == null) return; - switch (node.ImageKey) - { - case "LibraryClosed": - { - node.ImageKey = "LibraryOpen"; - node.SelectedImageKey = "LibraryOpen"; - break; - } - case "LibraryOpen": - { - node.ImageKey = "LibraryClosed"; - node.SelectedImageKey = "LibraryClosed"; - break; - } - case "generic-folder-closed": - { - node.ImageKey = "generic-folder-open"; - node.SelectedImageKey = "generic-folder-open"; - break; - } - case "generic-folder-open": - { - node.ImageKey = "generic-folder-closed"; - node.SelectedImageKey = "generic-folder-closed"; - break; - } - } - } + private void UpdateNodeImage(TreeNode node) + { + if (node == null) return; + switch (node.ImageKey) + { + case "LibraryClosed": + { + node.ImageKey = "LibraryOpen"; + node.SelectedImageKey = "LibraryOpen"; + break; + } + case "LibraryOpen": + { + node.ImageKey = "LibraryClosed"; + node.SelectedImageKey = "LibraryClosed"; + break; + } + case "generic-folder-closed": + { + node.ImageKey = "generic-folder-open"; + node.SelectedImageKey = "generic-folder-open"; + break; + } + case "generic-folder-open": + { + node.ImageKey = "generic-folder-closed"; + node.SelectedImageKey = "generic-folder-closed"; + break; + } + } + } - private void tvComponents_AfterSelect(object sender, TreeViewEventArgs e) - { - if (e.Node == null) return; + private void tvComponents_AfterSelect(object sender, TreeViewEventArgs e) + { + if (e.Node == null) return; - pnlAssemblyInfo.Visible = false; - pnlAssemblyInfo.Enabled = false; + pnlAssemblyInfo.Visible = false; + pnlAssemblyInfo.Enabled = false; - pnlObjectModelInfo.Visible = false; - pnlObjectModelInfo.Enabled = false; + pnlObjectModelInfo.Visible = false; + pnlObjectModelInfo.Enabled = false; - pnlDataFormatInfo.Visible = false; - pnlDataFormatInfo.Enabled = false; + pnlDataFormatInfo.Visible = false; + pnlDataFormatInfo.Enabled = false; - if (e.Node.Tag is System.Reflection.Assembly) - { - System.Reflection.Assembly asm = (e.Node.Tag as System.Reflection.Assembly); + if (e.Node.Tag is System.Reflection.Assembly) + { + System.Reflection.Assembly asm = (e.Node.Tag as System.Reflection.Assembly); - txtAssemblyFullName.Text = asm.FullName; - txtAssemblyLocation.Text = asm.Location; + txtAssemblyFullName.Text = asm.FullName; + txtAssemblyLocation.Text = asm.Location; - object[] atts = asm.GetCustomAttributes(typeof(System.Reflection.AssemblyDescriptionAttribute), false); - if (atts.Length > 0) - { - txtAssemblyDescription.Text = ((atts[0] as System.Reflection.AssemblyDescriptionAttribute).Description); - } + object[] atts = asm.GetCustomAttributes(typeof(System.Reflection.AssemblyDescriptionAttribute), false); + if (atts.Length > 0) + { + txtAssemblyDescription.Text = ((atts[0] as System.Reflection.AssemblyDescriptionAttribute).Description); + } - pnlAssemblyInfo.Enabled = true; - pnlAssemblyInfo.Visible = true; - } - else if (e.Node.Tag is ObjectModelReference) - { - ObjectModelReference omr = (e.Node.Tag as ObjectModelReference); - txtObjectModelID.Text = omr.ObjectModelID.ToString("B"); - if (omr.ObjectModelTypeName == null) - { - txtObjectModelTypeName.Text = "(null)"; - } - else - { - txtObjectModelTypeName.Text = omr.ObjectModelTypeName; - } - txtObjectModelTitle.Text = omr.Title; + pnlAssemblyInfo.Enabled = true; + pnlAssemblyInfo.Visible = true; + } + else if (e.Node.Tag is ObjectModelReference) + { + ObjectModelReference omr = (e.Node.Tag as ObjectModelReference); + txtObjectModelID.Text = omr.ObjectModelID.ToString("B"); + if (omr.ObjectModelTypeName == null) + { + txtObjectModelTypeName.Text = "(null)"; + } + else + { + txtObjectModelTypeName.Text = omr.ObjectModelTypeName; + } + txtObjectModelTitle.Text = omr.Title; - pnlObjectModelInfo.Enabled = true; - pnlObjectModelInfo.Visible = true; - } - else if (e.Node.Tag is DataFormatReference) - { - DataFormatReference dfr = (e.Node.Tag as DataFormatReference); - txtDataFormatID.Text = dfr.ID.ToString("B"); - if (dfr.DataFormatType != null) - { - txtDataFormatTypeName.Text = dfr.DataFormatType.FullName; - } - else - { - txtDataFormatTypeName.Text = "(null)"; - } + pnlObjectModelInfo.Enabled = true; + pnlObjectModelInfo.Visible = true; + } + else if (e.Node.Tag is DataFormatReference) + { + DataFormatReference dfr = (e.Node.Tag as DataFormatReference); + txtDataFormatID.Text = dfr.ID.ToString("B"); + if (dfr.DataFormatType != null) + { + txtDataFormatTypeName.Text = dfr.DataFormatType.FullName; + } + else + { + txtDataFormatTypeName.Text = "(null)"; + } - lvDataFormatFilters.Items.Clear(); - foreach (DataFormatFilter filter in dfr.Filters) - { - ListViewItem lvi = new ListViewItem(); - lvi.Text = filter.Title; + lvDataFormatFilters.Items.Clear(); + foreach (DataFormatFilter filter in dfr.Filters) + { + ListViewItem lvi = new ListViewItem(); + lvi.Text = filter.Title; - StringBuilder sb = new StringBuilder(); - foreach (string s in filter.FileNameFilters) - { - sb.Append(s); - if (filter.FileNameFilters.IndexOf(s) < filter.FileNameFilters.Count - 1) - { - sb.Append(", "); - } - } - lvi.SubItems.Add(sb.ToString()); - lvDataFormatFilters.Items.Add(lvi); - } - foreach (string ct in dfr.ContentTypes) - { - ListViewItem lvi = new ListViewItem(); - lvi.Text = ct; - lvDataFormatContentTypes.Items.Add(lvi); - } + StringBuilder sb = new StringBuilder(); + foreach (string s in filter.FileNameFilters) + { + sb.Append(s); + if (filter.FileNameFilters.IndexOf(s) < filter.FileNameFilters.Count - 1) + { + sb.Append(", "); + } + } + lvi.SubItems.Add(sb.ToString()); + lvDataFormatFilters.Items.Add(lvi); + } + foreach (string ct in dfr.ContentTypes) + { + ListViewItem lvi = new ListViewItem(); + lvi.Text = ct; + lvDataFormatContentTypes.Items.Add(lvi); + } - pnlDataFormatInfo.Enabled = true; - pnlDataFormatInfo.Visible = true; - } - } + pnlDataFormatInfo.Enabled = true; + pnlDataFormatInfo.Visible = true; + } + } - private void cmdOpenContainingFolder_Click(object sender, EventArgs e) - { - System.Diagnostics.Process.Start(System.IO.Path.GetDirectoryName(txtAssemblyLocation.Text)); - } + private void cmdOpenContainingFolder_Click(object sender, EventArgs e) + { + System.Diagnostics.Process.Start(System.IO.Path.GetDirectoryName(txtAssemblyLocation.Text)); + } - } + } } \ No newline at end of file diff --git a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/AboutDialog.resx b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/AboutDialog.resx index 9882905a..f946238e 100644 --- a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/AboutDialog.resx +++ b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/AboutDialog.resx @@ -18,7 +18,7 @@ System.Resources.ResXResourceReader, System.Windows.Forms, ... System.Resources.ResXResourceWriter, System.Windows.Forms, ... this is my long stringthis is a comment - Blue + Blue [base64 mime encoded serialized .NET Framework object] @@ -155,75 +155,75 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABK - EQAAAk1TRnQBSQFMAgEBBAEAASABAAEgAQABEAEAARABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFA + EQAAAk1TRnQBSQFMAgEBBAEAASgBAAEoAQABEAEAARABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFA AwABIAMAAQEBAAEgBgABIP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wAPAAH4Ae4B4wH/ - KAADAgH/AwIB/wMCAf8sAAMCAf8DAgH/AwIB/wMCAf8DAgH/AwIB/wMCAf8DAgH/AwIB/wMCAf8DAgH/ - MAADVQGqAdYBzgHJAf80AAH4Ae4B4wH/AZkBMgECAf8B+AHuAeMB/yAAAwIB/wFWAQIBVgH/AwIB/wOD - Af8DAgH/AwIB/yAAAwIB/wFiAQIBYgH/AVsBAgFbAf8BVAECAVQB/wFOAQIBTgH/AUkBAgFJAf8BRQEC - AUUB/wFAAQIBQAH/AT0BAgE9Af8BOgECAToB/wE6AQIBOgH/AwIB/xQAA1UBqgHiAd0B2QH/AeIB3QHZ - Af8IAANVAaoBygHBAboB/wF2AV8BTAH/AWcBTQE4Af8wAAH4Ae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AT4DAAEoAwABQAMAASADAAEBAQABAQYAAQEWAAP/gQAH/wHv AfwBfwHwAQEB/wHnAf8BxwH4AR8B4AEBAfEBhwH/AYMB8AEHAcABAQHgAQcB/gEBAeABAQGAAQEBwAEH Af4BgQHAAgABAQHAAQcB/gHBAYABAQEAAQEBwAEHAe4B4wEAAQEBAAEBAcABBwHGAccDAAEBAcABBwGC diff --git a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/MainWindow.cs b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/MainWindow.cs index c2e56bf7..33b51697 100644 --- a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/MainWindow.cs +++ b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/MainWindow.cs @@ -53,7 +53,7 @@ namespace UniversalEditor.UserInterface.WindowsForms pnlSolutionExplorer.ParentWindow = this; this.Icon = LocalConfiguration.MainIcon; - this.Text = LocalConfiguration.ApplicationName; + this.Text = Engine.CurrentEngine.DefaultLanguage.GetStringTableEntry("ApplicationTitle", "Universal Editor"); mnuContextDocumentTypeDataFormat.Font = new Font(SystemFonts.MenuFont, FontStyle.Bold); diff --git a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/SplashScreenWindow.Designer.cs b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/SplashScreenWindow.Designer.cs index 6638b2b5..9e03ff1c 100644 --- a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/SplashScreenWindow.Designer.cs +++ b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/SplashScreenWindow.Designer.cs @@ -34,8 +34,9 @@ this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.lblTitle = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); - this.lblSeparator = new System.Windows.Forms.Label(); + this.panel1 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.panel1.SuspendLayout(); this.SuspendLayout(); // // pictureBox1 @@ -52,9 +53,9 @@ // this.lblStatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.lblStatus.Location = new System.Drawing.Point(12, 150); + this.lblStatus.Location = new System.Drawing.Point(12, 13); this.lblStatus.Name = "lblStatus"; - this.lblStatus.Size = new System.Drawing.Size(497, 16); + this.lblStatus.Size = new System.Drawing.Size(493, 16); this.lblStatus.TabIndex = 2; this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // @@ -62,10 +63,10 @@ // this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.progressBar1.Location = new System.Drawing.Point(12, 175); + this.progressBar1.Location = new System.Drawing.Point(12, 38); this.progressBar1.MarqueeAnimationSpeed = 5; this.progressBar1.Name = "progressBar1"; - this.progressBar1.Size = new System.Drawing.Size(497, 23); + this.progressBar1.Size = new System.Drawing.Size(493, 23); this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Marquee; this.progressBar1.TabIndex = 3; // @@ -93,35 +94,37 @@ this.label1.TabIndex = 4; this.label1.Text = "version 4.0"; // - // lblSeparator + // panel1 // - this.lblSeparator.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.lblSeparator.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; - this.lblSeparator.Location = new System.Drawing.Point(12, 140); - this.lblSeparator.Name = "lblSeparator"; - this.lblSeparator.Size = new System.Drawing.Size(497, 2); - this.lblSeparator.TabIndex = 5; + this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(37)))), ((int)(((byte)(38))))); + this.panel1.Controls.Add(this.lblStatus); + this.panel1.Controls.Add(this.progressBar1); + this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel1.Location = new System.Drawing.Point(0, 134); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(517, 72); + this.panel1.TabIndex = 5; // // SplashScreenWindow // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(521, 210); + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48))))); + this.ClientSize = new System.Drawing.Size(517, 206); this.ControlBox = false; - this.Controls.Add(this.lblSeparator); + this.Controls.Add(this.panel1); this.Controls.Add(this.label1); this.Controls.Add(this.lblTitle); - this.Controls.Add(this.progressBar1); - this.Controls.Add(this.lblStatus); this.Controls.Add(this.pictureBox1); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.ForeColor = System.Drawing.Color.White; + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "SplashScreenWindow"; this.ShowIcon = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.panel1.ResumeLayout(false); this.ResumeLayout(false); } @@ -133,6 +136,6 @@ private System.Windows.Forms.ProgressBar progressBar1; private System.Windows.Forms.Label lblTitle; private System.Windows.Forms.Label label1; - private System.Windows.Forms.Label lblSeparator; + private System.Windows.Forms.Panel panel1; } } \ No newline at end of file diff --git a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/SplashScreenWindow.cs b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/SplashScreenWindow.cs index b0851cb0..82daf436 100644 --- a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/SplashScreenWindow.cs +++ b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/SplashScreenWindow.cs @@ -7,102 +7,105 @@ using System.Windows.Forms; namespace UniversalEditor.UserInterface.WindowsForms { - public partial class SplashScreenWindow : Form - { - public SplashScreenWindow() - { - InitializeComponent(); + public partial class SplashScreenWindow : Form + { + public SplashScreenWindow() + { + InitializeComponent(); - // base.Font = SystemFonts.MenuFont; - // label1.Font = new Font(base.Font.FontFamily, 18, FontStyle.Bold); - // label1.Text = Configuration.ApplicationName; + // base.Font = SystemFonts.MenuFont; + // label1.Font = new Font(base.Font.FontFamily, 18, FontStyle.Bold); + // label1.Text = Configuration.ApplicationName; - // label2.Font = base.Font; + // label2.Font = base.Font; - /* - string path = System.Reflection.Assembly.GetExecutingAssembly().Location; - Icon icn = IconMethods.ExtractAssociatedIcon(path, 0); - if (icn != null) - { - pictureBox1.Image = icn.ToBitmap(); - } - */ + /* + string path = System.Reflection.Assembly.GetExecutingAssembly().Location; + Icon icn = IconMethods.ExtractAssociatedIcon(path, 0); + if (icn != null) + { + pictureBox1.Image = icn.ToBitmap(); + } + */ - if (LocalConfiguration.SplashScreen.Image != null) - { - pictureBox1.Image = LocalConfiguration.SplashScreen.Image; - } - else - { - if (!String.IsNullOrEmpty(LocalConfiguration.SplashScreen.ImageFileName)) - { - if (System.IO.File.Exists(LocalConfiguration.SplashScreen.ImageFileName)) - { - pictureBox1.Image = Image.FromFile(LocalConfiguration.SplashScreen.ImageFileName); - } - } - } - // Size = pictureBox1.Image.Size; - } + lblTitle.Text = Engine.CurrentEngine.DefaultLanguage.GetStringTableEntry("ApplicationTitle", "Universal Editor"); + this.Text = lblTitle.Text; - protected override void OnShown(EventArgs e) - { - base.OnShown(e); + if (LocalConfiguration.SplashScreen.Image != null) + { + pictureBox1.Image = LocalConfiguration.SplashScreen.Image; + } + else + { + if (!String.IsNullOrEmpty(LocalConfiguration.SplashScreen.ImageFileName)) + { + if (System.IO.File.Exists(LocalConfiguration.SplashScreen.ImageFileName)) + { + pictureBox1.Image = Image.FromFile(LocalConfiguration.SplashScreen.ImageFileName); + } + } + } + // Size = pictureBox1.Image.Size; + } - if (LocalConfiguration.SplashScreen.Sound != null) - { - System.Media.SoundPlayer sp = new System.Media.SoundPlayer(LocalConfiguration.SplashScreen.Sound); - sp.Play(); - } - else - { - if (System.IO.File.Exists(LocalConfiguration.SplashScreen.SoundFileName)) - { - System.Media.SoundPlayer sp = new System.Media.SoundPlayer(LocalConfiguration.SplashScreen.SoundFileName); - sp.Play(); - } - } - } + protected override void OnShown(EventArgs e) + { + base.OnShown(e); - protected override void OnPaint(PaintEventArgs e) - { - base.OnPaint(e); - e.Graphics.DrawRectangle(Pens.Black, new Rectangle(0, 0, base.Width - 1, base.Height - 1)); - } + if (LocalConfiguration.SplashScreen.Sound != null) + { + System.Media.SoundPlayer sp = new System.Media.SoundPlayer(LocalConfiguration.SplashScreen.Sound); + sp.Play(); + } + else + { + if (System.IO.File.Exists(LocalConfiguration.SplashScreen.SoundFileName)) + { + System.Media.SoundPlayer sp = new System.Media.SoundPlayer(LocalConfiguration.SplashScreen.SoundFileName); + sp.Play(); + } + } + } - internal void InvokeClose() - { - Invoke(new Action(_InvokeClose)); - } - private void _InvokeClose() - { - Close(); - } + protected override void OnPaint(PaintEventArgs e) + { + base.OnPaint(e); + e.Graphics.DrawRectangle(Pens.Black, new Rectangle(0, 0, base.Width - 1, base.Height - 1)); + } - internal void InvokeUpdateStatus(string p) - { - Invoke(new Action(_InvokeUpdateStatus), p); - } - private void _InvokeUpdateStatus(string p) - { - lblStatus.Text = p; - } - } - public class SplashScreenSettings - { - private bool mvarEnabled = true; - public bool Enabled { get { return mvarEnabled; } set { mvarEnabled = value; } } + internal void InvokeClose() + { + Invoke(new Action(_InvokeClose)); + } + private void _InvokeClose() + { + Close(); + } - private string mvarImageFileName = String.Empty; - public string ImageFileName { get { return mvarImageFileName; } set { mvarImageFileName = value; } } + internal void InvokeUpdateStatus(string p) + { + Invoke(new Action(_InvokeUpdateStatus), p); + } + private void _InvokeUpdateStatus(string p) + { + lblStatus.Text = p; + } + } + public class SplashScreenSettings + { + private bool mvarEnabled = true; + public bool Enabled { get { return mvarEnabled; } set { mvarEnabled = value; } } - private string mvarSoundFileName = String.Empty; - public string SoundFileName { get { return mvarSoundFileName; } set { mvarSoundFileName = value; } } + private string mvarImageFileName = String.Empty; + public string ImageFileName { get { return mvarImageFileName; } set { mvarImageFileName = value; } } - private Image mvarImage = null; - public Image Image { get { return mvarImage; } set { mvarImage = value; } } + private string mvarSoundFileName = String.Empty; + public string SoundFileName { get { return mvarSoundFileName; } set { mvarSoundFileName = value; } } - private System.IO.MemoryStream mvarSound = null; - public System.IO.MemoryStream Sound { get { return mvarSound; } set { mvarSound = value; } } - } + private Image mvarImage = null; + public Image Image { get { return mvarImage; } set { mvarImage = value; } } + + private System.IO.MemoryStream mvarSound = null; + public System.IO.MemoryStream Sound { get { return mvarSound; } set { mvarSound = value; } } + } } diff --git a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/WindowsFormsEngine.cs b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/WindowsFormsEngine.cs index 2fb5a1e8..9992e2e3 100644 --- a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/WindowsFormsEngine.cs +++ b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/WindowsFormsEngine.cs @@ -26,15 +26,15 @@ namespace UniversalEditor.UserInterface.WindowsForms { base.AfterInitialization(); - Commands["HelpLicensingAndActivation"].Executed += delegate(object sender, EventArgs e) + AttachCommandEventHandler("HelpLicensingAndActivation", delegate(object sender, EventArgs e) { MessageBox.Show("This product has already been activated.", "Licensing and Activation", MessageBoxButtons.OK, MessageBoxIcon.Information); - }; - Commands["HelpAboutPlatform"].Executed += delegate(object sender, EventArgs e) + }); + AttachCommandEventHandler("HelpAboutPlatform", delegate(object sender, EventArgs e) { AboutDialog dlg = new AboutDialog(); dlg.ShowDialog(); - }; + }); } protected override void InitializeBranding() @@ -156,9 +156,14 @@ namespace UniversalEditor.UserInterface.WindowsForms { if (LocalConfiguration.SplashScreen.Enabled) { + int spins = 0, maxspins = 30; + if (splasher == null) return; + while (splasher == null) { System.Threading.Thread.Sleep(500); + if (spins == maxspins) return; + spins++; } splasher.InvokeUpdateStatus(message); } @@ -396,7 +401,7 @@ namespace UniversalEditor.UserInterface.WindowsForms { if (ConfigurationManager.GetValue(new string[] { "Application", "ConfirmExit" }, false)) { - if (MessageBox.Show("Are you sure you wish to quit " + LocalConfiguration.ApplicationName + "?", "Quit Application", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == System.Windows.Forms.DialogResult.No) return false; + if (MessageBox.Show("Are you sure you wish to quit " + Engine.CurrentEngine.DefaultLanguage.GetStringTableEntry("ApplicationTitle") + "?", "Quit Application", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == System.Windows.Forms.DialogResult.No) return false; } return base.BeforeStopApplication(); } diff --git a/CSharp/Libraries/UniversalEditor.UserInterface/Engine.cs b/CSharp/Libraries/UniversalEditor.UserInterface/Engine.cs index d5c13f1d..8b0713bc 100644 --- a/CSharp/Libraries/UniversalEditor.UserInterface/Engine.cs +++ b/CSharp/Libraries/UniversalEditor.UserInterface/Engine.cs @@ -233,8 +233,19 @@ namespace UniversalEditor.UserInterface LastWindow.ShowOptionsDialog(); }); #endregion - + #region Window + AttachCommandEventHandler("WindowNewWindow", delegate(object sender, EventArgs e) + { + OpenWindow(); + }); + #endregion #region Help + Command helpAboutPlatform = mvarCommands["HelpAboutPlatform"]; + if (helpAboutPlatform != null) + { + helpAboutPlatform.Title = String.Format(helpAboutPlatform.Title, mvarDefaultLanguage.GetStringTableEntry("ApplicationTitle", "Universal Editor")); + } + Command helpLanguage = mvarCommands["HelpLanguage"]; if (helpLanguage != null) { @@ -422,7 +433,7 @@ namespace UniversalEditor.UserInterface markup.CopyTo(mvarRawMarkup); - UpdateSplashScreenStatus("Loading XML configuration files", Array.IndexOf(xmlfiles, xmlfile) + 1); + // UpdateSplashScreenStatus("Loading XML configuration files", Array.IndexOf(xmlfiles, xmlfile) + 1); } #endregion @@ -850,6 +861,10 @@ namespace UniversalEditor.UserInterface private void Initialize() { + // Initialize the XML files before anything else, since this also loads string tables needed + // to display the application title + InitializeXMLConfiguration(); + System.Threading.Thread threadLoader = new System.Threading.Thread(threadLoader_ThreadStart); threadLoader.Name = "Initialization Thread"; threadLoader.Start(); @@ -869,9 +884,6 @@ namespace UniversalEditor.UserInterface UpdateSplashScreenStatus("Loading data formats..."); UniversalEditor.Common.Reflection.GetAvailableDataFormats(); - // Initialize the XML files - InitializeXMLConfiguration(); - // Initialize Recent File Manager mvarRecentFileManager.DataFileName = DataPath + System.IO.Path.DirectorySeparatorChar.ToString() + "RecentItems.xml"; mvarRecentFileManager.Load();