MainForm redesign + fixes

This commit is contained in:
EternalModz
2024-08-10 00:15:05 -07:00
parent e1d1037327
commit 52e66df00c
15 changed files with 1023 additions and 866 deletions

View File

@@ -29,11 +29,11 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.PictureBox logoPictureBox;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
System.Windows.Forms.PictureBox logoPictureBox;
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.contextMenuPCKEntries = new System.Windows.Forms.ContextMenuStrip(this.components);
this.createToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -90,11 +90,11 @@
this.mashUpPackToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.recentlyOpenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.packSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.fullBoxSupportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.saveToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.quickChangeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -131,10 +131,11 @@
this.editAllEntriesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.tabControl = new MetroFramework.Controls.MetroTabControl();
this.openTab = new MetroFramework.Controls.MetroTabPage();
this.pckOpen = new System.Windows.Forms.PictureBox();
this.label5 = new MetroFramework.Controls.MetroLabel();
this.labelVersion = new MetroFramework.Controls.MetroLabel();
this.ChangelogRichTextBox = new System.Windows.Forms.RichTextBox();
this.panel1 = new System.Windows.Forms.Panel();
this.whatsNewBtn = new CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton();
this.pckCenterBtn = new CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton();
this.creditsBtn = new CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton();
this.buttomBox = new System.Windows.Forms.PictureBox();
this.editorTab = new MetroFramework.Controls.MetroTabPage();
this.pckFileLabel = new MetroFramework.Controls.MetroLabel();
this.labelImageSize = new MetroFramework.Controls.MetroLabel();
@@ -152,29 +153,24 @@
this.imageList = new System.Windows.Forms.ImageList(this.components);
this.previewPictureBox = new PckStudio.ToolboxItems.InterpolationPictureBox();
this.LittleEndianCheckBox = new MetroFramework.Controls.MetroCheckBox();
logoPictureBox = new System.Windows.Forms.PictureBox();
toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
logoPictureBox = new System.Windows.Forms.PictureBox();
((System.ComponentModel.ISupportInitialize)(logoPictureBox)).BeginInit();
this.contextMenuPCKEntries.SuspendLayout();
this.menuStrip.SuspendLayout();
this.contextMenuMetaTree.SuspendLayout();
this.tabControl.SuspendLayout();
this.openTab.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pckOpen)).BeginInit();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.buttomBox)).BeginInit();
this.editorTab.SuspendLayout();
this.PropertiesTabControl.SuspendLayout();
this.MetaTab.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.previewPictureBox)).BeginInit();
this.SuspendLayout();
//
// logoPictureBox
//
resources.ApplyResources(logoPictureBox, "logoPictureBox");
logoPictureBox.Name = "logoPictureBox";
logoPictureBox.TabStop = false;
//
// toolStripSeparator1
//
toolStripSeparator1.Name = "toolStripSeparator1";
@@ -190,6 +186,12 @@
toolStripSeparator4.Name = "toolStripSeparator4";
resources.ApplyResources(toolStripSeparator4, "toolStripSeparator4");
//
// logoPictureBox
//
resources.ApplyResources(logoPictureBox, "logoPictureBox");
logoPictureBox.Name = "logoPictureBox";
logoPictureBox.TabStop = false;
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
@@ -520,7 +522,7 @@
// menuStrip
//
resources.ApplyResources(this.menuStrip, "menuStrip");
this.menuStrip.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(13)))), ((int)(((byte)(13)))), ((int)(((byte)(13)))));
this.menuStrip.BackColor = System.Drawing.Color.Transparent;
this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem,
this.editToolStripMenuItem,
@@ -530,7 +532,7 @@
//
// fileToolStripMenuItem
//
this.fileToolStripMenuItem.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(13)))), ((int)(((byte)(13)))), ((int)(((byte)(13)))));
this.fileToolStripMenuItem.BackColor = System.Drawing.Color.Transparent;
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.newToolStripMenuItem,
this.openToolStripMenuItem,
@@ -543,6 +545,7 @@
this.saveToolStripMenuItem,
this.exitToolStripMenuItem});
this.fileToolStripMenuItem.ForeColor = System.Drawing.Color.Silver;
this.fileToolStripMenuItem.Image = global::PckStudio.Properties.Resources.fileAsset;
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
resources.ApplyResources(this.fileToolStripMenuItem, "fileToolStripMenuItem");
//
@@ -584,6 +587,12 @@
resources.ApplyResources(this.recentlyOpenToolStripMenuItem, "recentlyOpenToolStripMenuItem");
this.recentlyOpenToolStripMenuItem.Name = "recentlyOpenToolStripMenuItem";
//
// closeToolStripMenuItem
//
resources.ApplyResources(this.closeToolStripMenuItem, "closeToolStripMenuItem");
this.closeToolStripMenuItem.Name = "closeToolStripMenuItem";
this.closeToolStripMenuItem.Click += new System.EventHandler(this.closeToolStripMenuItem_Click);
//
// packSettingsToolStripMenuItem
//
this.packSettingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
@@ -611,12 +620,6 @@
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveAsPCK);
//
// closeToolStripMenuItem
//
resources.ApplyResources(this.closeToolStripMenuItem, "closeToolStripMenuItem");
this.closeToolStripMenuItem.Name = "closeToolStripMenuItem";
this.closeToolStripMenuItem.Click += new System.EventHandler(this.closeToolStripMenuItem_Click);
//
// exitToolStripMenuItem
//
resources.ApplyResources(this.exitToolStripMenuItem, "exitToolStripMenuItem");
@@ -628,6 +631,7 @@
this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.quickChangeToolStripMenuItem});
this.editToolStripMenuItem.ForeColor = System.Drawing.Color.Silver;
this.editToolStripMenuItem.Image = global::PckStudio.Properties.Resources.editAsset;
this.editToolStripMenuItem.Name = "editToolStripMenuItem";
resources.ApplyResources(this.editToolStripMenuItem, "editToolStripMenuItem");
//
@@ -685,8 +689,9 @@
this.toolStripSeparator3,
this.settingsToolStripMenuItem});
this.helpToolStripMenuItem.ForeColor = System.Drawing.Color.Silver;
resources.ApplyResources(this.helpToolStripMenuItem, "helpToolStripMenuItem");
this.helpToolStripMenuItem.Image = global::PckStudio.Properties.Resources.helpAsset;
this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
resources.ApplyResources(this.helpToolStripMenuItem, "helpToolStripMenuItem");
//
// checkForUpdatesToolStripMenuItem
//
@@ -870,7 +875,7 @@
this.tabControl.Controls.Add(this.editorTab);
resources.ApplyResources(this.tabControl, "tabControl");
this.tabControl.Name = "tabControl";
this.tabControl.SelectedIndex = 0;
this.tabControl.SelectedIndex = 1;
this.tabControl.Style = MetroFramework.MetroColorStyle.Silver;
this.tabControl.TabStop = false;
this.tabControl.Theme = MetroFramework.MetroThemeStyle.Dark;
@@ -879,60 +884,104 @@
//
// openTab
//
this.openTab.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
this.openTab.Controls.Add(this.pckOpen);
this.openTab.Controls.Add(this.label5);
this.openTab.Controls.Add(this.labelVersion);
this.openTab.Controls.Add(this.ChangelogRichTextBox);
this.openTab.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.openTab.Controls.Add(this.buttomBox);
this.openTab.Controls.Add(this.panel1);
this.openTab.ForeColor = System.Drawing.Color.Transparent;
this.openTab.HorizontalScrollbarBarColor = true;
this.openTab.HorizontalScrollbarHighlightOnWheel = false;
this.openTab.HorizontalScrollbarSize = 10;
this.openTab.HorizontalScrollbarSize = 12;
resources.ApplyResources(this.openTab, "openTab");
this.openTab.Name = "openTab";
this.openTab.Style = MetroFramework.MetroColorStyle.Black;
this.openTab.Theme = MetroFramework.MetroThemeStyle.Dark;
this.openTab.UseCustomBackColor = true;
this.openTab.UseStyleColors = true;
this.openTab.VerticalScrollbarBarColor = false;
this.openTab.VerticalScrollbarHighlightOnWheel = false;
this.openTab.VerticalScrollbarSize = 10;
this.openTab.VerticalScrollbarSize = 12;
//
// pckOpen
// panel1
//
this.pckOpen.BackColor = System.Drawing.Color.Transparent;
resources.ApplyResources(this.pckOpen, "pckOpen");
this.pckOpen.Name = "pckOpen";
this.pckOpen.TabStop = false;
this.pckOpen.Click += new System.EventHandler(this.OpenPck_Click);
this.pckOpen.DragDrop += new System.Windows.Forms.DragEventHandler(this.OpenPck_DragDrop);
this.pckOpen.DragEnter += new System.Windows.Forms.DragEventHandler(this.OpenPck_DragEnter);
this.pckOpen.DragLeave += new System.EventHandler(this.OpenPck_DragLeave);
this.pckOpen.MouseEnter += new System.EventHandler(this.OpenPck_MouseEnter);
this.pckOpen.MouseLeave += new System.EventHandler(this.OpenPck_MouseLeave);
this.panel1.Controls.Add(logoPictureBox);
this.panel1.Controls.Add(this.whatsNewBtn);
this.panel1.Controls.Add(this.pckCenterBtn);
this.panel1.Controls.Add(this.creditsBtn);
resources.ApplyResources(this.panel1, "panel1");
this.panel1.Name = "panel1";
//
// label5
// whatsNewBtn
//
resources.ApplyResources(this.label5, "label5");
this.label5.BackColor = System.Drawing.Color.Transparent;
this.label5.ForeColor = System.Drawing.Color.White;
this.label5.Name = "label5";
this.label5.Theme = MetroFramework.MetroThemeStyle.Dark;
resources.ApplyResources(this.whatsNewBtn, "whatsNewBtn");
this.whatsNewBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
this.whatsNewBtn.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
this.whatsNewBtn.BorderRadius = 15;
this.whatsNewBtn.BorderSize = 1;
this.whatsNewBtn.ClickedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
this.whatsNewBtn.FlatAppearance.BorderSize = 0;
this.whatsNewBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
this.whatsNewBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(35)))), ((int)(((byte)(35)))), ((int)(((byte)(35)))));
this.whatsNewBtn.ForeColor = System.Drawing.Color.White;
this.whatsNewBtn.GradientColorPrimary = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45)))));
this.whatsNewBtn.GradientColorSecondary = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45)))));
this.whatsNewBtn.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(35)))), ((int)(((byte)(35)))), ((int)(((byte)(35)))));
this.whatsNewBtn.Image = global::PckStudio.Properties.Resources.whatsNewAsset;
this.whatsNewBtn.Name = "whatsNewBtn";
this.whatsNewBtn.TextColor = System.Drawing.Color.White;
this.whatsNewBtn.UseVisualStyleBackColor = false;
//
// labelVersion
// pckCenterBtn
//
resources.ApplyResources(this.labelVersion, "labelVersion");
this.labelVersion.ForeColor = System.Drawing.Color.White;
this.labelVersion.Name = "labelVersion";
this.labelVersion.Theme = MetroFramework.MetroThemeStyle.Dark;
resources.ApplyResources(this.pckCenterBtn, "pckCenterBtn");
this.pckCenterBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
this.pckCenterBtn.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
this.pckCenterBtn.BorderRadius = 15;
this.pckCenterBtn.BorderSize = 1;
this.pckCenterBtn.ClickedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
this.pckCenterBtn.FlatAppearance.BorderSize = 0;
this.pckCenterBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
this.pckCenterBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(35)))), ((int)(((byte)(35)))), ((int)(((byte)(35)))));
this.pckCenterBtn.ForeColor = System.Drawing.Color.White;
this.pckCenterBtn.GradientColorPrimary = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45)))));
this.pckCenterBtn.GradientColorSecondary = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45)))));
this.pckCenterBtn.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(35)))), ((int)(((byte)(35)))), ((int)(((byte)(35)))));
this.pckCenterBtn.Image = global::PckStudio.Properties.Resources.pckCenterAsset;
this.pckCenterBtn.Name = "pckCenterBtn";
this.pckCenterBtn.TextColor = System.Drawing.Color.White;
this.pckCenterBtn.UseVisualStyleBackColor = false;
//
// ChangelogRichTextBox
// creditsBtn
//
this.ChangelogRichTextBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(13)))), ((int)(((byte)(13)))), ((int)(((byte)(13)))));
this.ChangelogRichTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
resources.ApplyResources(this.ChangelogRichTextBox, "ChangelogRichTextBox");
this.ChangelogRichTextBox.ForeColor = System.Drawing.Color.White;
this.ChangelogRichTextBox.Name = "ChangelogRichTextBox";
this.ChangelogRichTextBox.ReadOnly = true;
resources.ApplyResources(this.creditsBtn, "creditsBtn");
this.creditsBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
this.creditsBtn.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
this.creditsBtn.BorderRadius = 15;
this.creditsBtn.BorderSize = 1;
this.creditsBtn.ClickedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
this.creditsBtn.FlatAppearance.BorderSize = 0;
this.creditsBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
this.creditsBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(35)))), ((int)(((byte)(35)))), ((int)(((byte)(35)))));
this.creditsBtn.ForeColor = System.Drawing.Color.White;
this.creditsBtn.GradientColorPrimary = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45)))));
this.creditsBtn.GradientColorSecondary = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(45)))));
this.creditsBtn.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(35)))), ((int)(((byte)(35)))), ((int)(((byte)(35)))));
this.creditsBtn.Image = global::PckStudio.Properties.Resources.creditsAsset;
this.creditsBtn.Name = "creditsBtn";
this.creditsBtn.TextColor = System.Drawing.Color.White;
this.creditsBtn.UseVisualStyleBackColor = false;
//
// buttomBox
//
this.buttomBox.BackColor = System.Drawing.Color.Transparent;
resources.ApplyResources(this.buttomBox, "buttomBox");
this.buttomBox.Name = "buttomBox";
this.buttomBox.TabStop = false;
this.buttomBox.Click += new System.EventHandler(this.OpenPck_Click);
this.buttomBox.DragDrop += new System.Windows.Forms.DragEventHandler(this.OpenPck_DragDrop);
this.buttomBox.DragEnter += new System.Windows.Forms.DragEventHandler(this.OpenPck_DragEnter);
this.buttomBox.DragLeave += new System.EventHandler(this.OpenPck_DragLeave);
this.buttomBox.MouseEnter += new System.EventHandler(this.OpenPck_MouseEnter);
this.buttomBox.MouseLeave += new System.EventHandler(this.OpenPck_MouseLeave);
//
// editorTab
//
@@ -944,7 +993,6 @@
this.editorTab.Controls.Add(this.PropertiesTabControl);
this.editorTab.Controls.Add(this.label11);
this.editorTab.Controls.Add(this.treeViewMain);
this.editorTab.Controls.Add(logoPictureBox);
this.editorTab.Controls.Add(this.previewPictureBox);
this.editorTab.ForeColor = System.Drawing.Color.Transparent;
this.editorTab.HorizontalScrollbarBarColor = true;
@@ -977,8 +1025,8 @@
//
// PropertiesTabControl
//
resources.ApplyResources(this.PropertiesTabControl, "PropertiesTabControl");
this.PropertiesTabControl.Controls.Add(this.MetaTab);
resources.ApplyResources(this.PropertiesTabControl, "PropertiesTabControl");
this.PropertiesTabControl.Name = "PropertiesTabControl";
this.PropertiesTabControl.SelectedIndex = 0;
this.PropertiesTabControl.Style = MetroFramework.MetroColorStyle.Silver;
@@ -996,13 +1044,13 @@
this.MetaTab.Controls.Add(this.metroLabel1);
this.MetaTab.HorizontalScrollbarBarColor = true;
this.MetaTab.HorizontalScrollbarHighlightOnWheel = false;
this.MetaTab.HorizontalScrollbarSize = 10;
this.MetaTab.HorizontalScrollbarSize = 12;
resources.ApplyResources(this.MetaTab, "MetaTab");
this.MetaTab.Name = "MetaTab";
this.MetaTab.Theme = MetroFramework.MetroThemeStyle.Dark;
this.MetaTab.VerticalScrollbarBarColor = true;
this.MetaTab.VerticalScrollbarHighlightOnWheel = false;
this.MetaTab.VerticalScrollbarSize = 10;
this.MetaTab.VerticalScrollbarSize = 12;
//
// metroLabel2
//
@@ -1012,7 +1060,7 @@
//
// treeMeta
//
this.treeMeta.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(13)))), ((int)(((byte)(13)))), ((int)(((byte)(13)))));
this.treeMeta.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
this.treeMeta.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.treeMeta.ContextMenuStrip = this.contextMenuMetaTree;
resources.ApplyResources(this.treeMeta, "treeMeta");
@@ -1032,6 +1080,7 @@
this.entryTypeTextBox.CustomButton.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image")));
this.entryTypeTextBox.CustomButton.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("resource.ImeMode")));
this.entryTypeTextBox.CustomButton.Location = ((System.Drawing.Point)(resources.GetObject("resource.Location")));
this.entryTypeTextBox.CustomButton.Margin = ((System.Windows.Forms.Padding)(resources.GetObject("resource.Margin")));
this.entryTypeTextBox.CustomButton.Name = "";
this.entryTypeTextBox.CustomButton.Size = ((System.Drawing.Size)(resources.GetObject("resource.Size")));
this.entryTypeTextBox.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
@@ -1062,6 +1111,7 @@
this.entryDataTextBox.CustomButton.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image1")));
this.entryDataTextBox.CustomButton.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("resource.ImeMode1")));
this.entryDataTextBox.CustomButton.Location = ((System.Drawing.Point)(resources.GetObject("resource.Location1")));
this.entryDataTextBox.CustomButton.Margin = ((System.Windows.Forms.Padding)(resources.GetObject("resource.Margin1")));
this.entryDataTextBox.CustomButton.Name = "";
this.entryDataTextBox.CustomButton.Size = ((System.Drawing.Size)(resources.GetObject("resource.Size1")));
this.entryDataTextBox.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
@@ -1105,10 +1155,10 @@
// treeViewMain
//
this.treeViewMain.AllowDrop = true;
resources.ApplyResources(this.treeViewMain, "treeViewMain");
this.treeViewMain.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(12)))), ((int)(((byte)(12)))), ((int)(((byte)(12)))));
this.treeViewMain.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
this.treeViewMain.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.treeViewMain.ContextMenuStrip = this.contextMenuPCKEntries;
resources.ApplyResources(this.treeViewMain, "treeViewMain");
this.treeViewMain.ForeColor = System.Drawing.Color.White;
this.treeViewMain.ImageList = this.imageList;
this.treeViewMain.LabelEdit = true;
@@ -1117,12 +1167,12 @@
this.treeViewMain.BeforeLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.treeViewMain_BeforeLabelEdit);
this.treeViewMain.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.treeViewMain_ItemDrag);
this.treeViewMain.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewMain_AfterSelect);
this.treeViewMain.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeViewMain_NodeMouseClick);
this.treeViewMain.DragDrop += new System.Windows.Forms.DragEventHandler(this.treeViewMain_DragDrop);
this.treeViewMain.DragEnter += new System.Windows.Forms.DragEventHandler(this.treeViewMain_DragEnter);
this.treeViewMain.DragOver += new System.Windows.Forms.DragEventHandler(this.treeViewMain_DragOver);
this.treeViewMain.DoubleClick += new System.EventHandler(this.treeViewMain_DoubleClick);
this.treeViewMain.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeViewMain_KeyDown);
this.treeViewMain.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeViewMain_NodeMouseClick);
//
// imageList
//
@@ -1132,8 +1182,8 @@
//
// previewPictureBox
//
resources.ApplyResources(this.previewPictureBox, "previewPictureBox");
this.previewPictureBox.BackColor = System.Drawing.Color.Transparent;
resources.ApplyResources(this.previewPictureBox, "previewPictureBox");
this.previewPictureBox.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.NearestNeighbor;
this.previewPictureBox.Name = "previewPictureBox";
this.previewPictureBox.TabStop = false;
@@ -1145,23 +1195,20 @@
this.LittleEndianCheckBox.Name = "LittleEndianCheckBox";
this.LittleEndianCheckBox.Style = MetroFramework.MetroColorStyle.White;
this.LittleEndianCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
this.LittleEndianCheckBox.UseCustomBackColor = true;
this.LittleEndianCheckBox.UseSelectable = true;
//
// MainForm
//
this.ApplyImageInvert = true;
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
this.Controls.Add(this.LittleEndianCheckBox);
this.Controls.Add(this.menuStrip);
this.Controls.Add(this.tabControl);
this.DisplayHeader = false;
this.ForeColor = System.Drawing.Color.Silver;
this.ForeColor = System.Drawing.Color.White;
this.MainMenuStrip = this.menuStrip;
this.Name = "MainForm";
this.ShadowType = MetroFramework.Forms.MetroFormShadowType.DropShadow;
this.Style = MetroFramework.MetroColorStyle.Black;
this.Theme = MetroFramework.MetroThemeStyle.Dark;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
this.Load += new System.EventHandler(this.MainForm_Load);
((System.ComponentModel.ISupportInitialize)(logoPictureBox)).EndInit();
@@ -1171,8 +1218,8 @@
this.contextMenuMetaTree.ResumeLayout(false);
this.tabControl.ResumeLayout(false);
this.openTab.ResumeLayout(false);
this.openTab.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pckOpen)).EndInit();
this.panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.buttomBox)).EndInit();
this.editorTab.ResumeLayout(false);
this.editorTab.PerformLayout();
this.PropertiesTabControl.ResumeLayout(false);
@@ -1249,10 +1296,7 @@
private System.Windows.Forms.ToolStripMenuItem addTextureToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem as3DSTextureFileToolStripMenuItem;
private MetroFramework.Controls.MetroTabPage openTab;
private System.Windows.Forms.PictureBox pckOpen;
private MetroFramework.Controls.MetroLabel label5;
private MetroFramework.Controls.MetroLabel labelVersion;
private System.Windows.Forms.RichTextBox ChangelogRichTextBox;
private System.Windows.Forms.PictureBox buttomBox;
private System.Windows.Forms.ToolStripMenuItem colourscolToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem miscToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem CreateSkinsPCKToolStripMenuItem1;
@@ -1303,6 +1347,10 @@
private System.Windows.Forms.ToolStripMenuItem version2ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem version3114ToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
private System.Windows.Forms.Panel panel1;
private CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton whatsNewBtn;
private CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton pckCenterBtn;
private CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton creditsBtn;
}
}

View File

@@ -1,4 +1,5 @@
using OMI.Formats.Behaviour;
using CBH_WinForm_Theme_Library_NET;
using OMI.Formats.Behaviour;
using OMI.Formats.GameRule;
using OMI.Formats.Languages;
using OMI.Formats.Material;
@@ -29,6 +30,7 @@ using PckStudio.Internal.Misc;
using PckStudio.Internal.Serializer;
using PckStudio.Popups;
using PckStudio.Properties;
using PckStudio.ToolboxItems;
using System;
using System.Collections.Generic;
using System.Diagnostics;
@@ -42,7 +44,7 @@ using System.Windows.Forms;
namespace PckStudio
{
public partial class MainForm : MetroFramework.Forms.MetroForm
public partial class MainForm : ThemeForm
{
private PckManager PckManager = null;
string saveLocation;
@@ -87,12 +89,11 @@ namespace PckStudio
treeViewMain.TreeViewNodeSorter = new PckNodeSorter();
pckOpen.AllowDrop = true;
buttomBox.AllowDrop = true;
Text = Application.ProductName;
labelVersion.Text = $"{Application.ProductName}: {ApplicationScope.CurrentVersion}";
ChangelogRichTextBox.Text = Resources.CHANGELOG;
this.Text = $"PCK Studio - {ApplicationScope.CurrentVersion}"; // Version title
pckFileTypeHandler = new Dictionary<PckAssetType, Action<PckAsset>>(15)
{
@@ -1933,12 +1934,12 @@ namespace PckStudio
private void OpenPck_MouseEnter(object sender, EventArgs e)
{
pckOpen.Image = Resources.pckOpen;
buttomBox.Image = Resources.pckOpen;
}
private void OpenPck_MouseLeave(object sender, EventArgs e)
{
pckOpen.Image = Resources.pckClosed;
buttomBox.Image = Resources.pckClosed;
}
private void CheckSaveState()
@@ -1958,7 +1959,7 @@ namespace PckStudio
private void OpenPck_DragEnter(object sender, DragEventArgs e)
{
pckOpen.Image = Resources.pckDrop;
buttomBox.Image = Resources.pckDrop;
string[] files = (string[])e.Data.GetData(DataFormats.FileDrop) ?? Array.Empty<string>();
foreach (string file in files)
{
@@ -1979,7 +1980,7 @@ namespace PckStudio
private void OpenPck_DragLeave(object sender, EventArgs e)
{
pckOpen.Image = Resources.pckClosed;
buttomBox.Image = Resources.pckClosed;
}
private void OpenPck_Click(object sender, EventArgs e)

File diff suppressed because it is too large Load Diff

View File

@@ -106,6 +106,9 @@
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
<Reference Include="DarkNet">
<HintPath>..\..\FUI-Enforcer\FUI-Enforcer\bin\Debug\DarkNet.dll</HintPath>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
@@ -142,6 +145,12 @@
<Compile Include="Forms\Additional-Popups\FilterPrompt.Designer.cs">
<DependentUpon>FilterPrompt.cs</DependentUpon>
</Compile>
<Compile Include="Forms\Additional-Popups\ChangeLogForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\Additional-Popups\ChangeLogForm.Designer.cs">
<DependentUpon>ChangeLogForm.cs</DependentUpon>
</Compile>
<Compile Include="Forms\ContributorsForm.cs">
<SubType>Form</SubType>
</Compile>
@@ -580,6 +589,9 @@
<EmbeddedResource Include="ToolboxItems\GithubUserPanel.resx">
<DependentUpon>GithubUserPanel.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="ToolboxItems\ThemeForm.resx">
<DependentUpon>ThemeForm.cs</DependentUpon>
</EmbeddedResource>
<None Include="CommunityKey.snk" />
<None Include="Properties\app.manifest" />
<None Include="Properties\Settings.settings">
@@ -596,6 +608,8 @@
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\whatsNewAsset.png" />
<None Include="Resources\pckCenterAsset.png" />
<None Include="Resources\atlases\bannerData.json" />
<None Include="Resources\atlases\blockData.json" />
<None Include="Resources\atlases\entityBehavioursData.json" />
@@ -666,6 +680,10 @@
<Content Include="Resources\atlases\terrain.png" />
<None Include="Resources\external\trello.png" />
<None Include="Resources\icons\file_copy.png" />
<None Include="Resources\creditsAsset.png" />
<None Include="Resources\editAsset.png" />
<None Include="Resources\fileAsset.png" />
<None Include="Resources\helpAsset.png" />
<Content Include="Resources\icons\file_delete.png" />
<Content Include="Resources\icons\file_empty.png" />
<None Include="Resources\icons\file_export.png" />
@@ -691,9 +709,6 @@
<IncludeAssets>compile; runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="DarkNet">
<Version>2.3.0</Version>
</PackageReference>
<PackageReference Include="DiscordRichPresence">
<Version>1.1.4.20</Version>
</PackageReference>

View File

@@ -57,7 +57,7 @@ namespace PckStudio
if (args.Length > 0 && File.Exists(args[0]) && args[0].EndsWith(".pck"))
MainInstance.InitPckFromFile(args[0]);
Application.ApplicationExit += (sender, e) => { RPC.Deinitialize(); };
MainInstance.FocusMe();
//MainInstance.FocusMe();
Application.Run(MainInstance);
}

View File

@@ -235,9 +235,8 @@ namespace PckStudio.Properties {
}
/// <summary>
/// Looks up a localized string similar to 7.0 (IN DEVELOPMENT)
/// Looks up a localized string similar to 7.0.0.0
///====================
///Some features may be completely missing or incomplete at this point in time!
///
///-Added .3dst (3DS Texture) support
///-Semi-added Sub-Pck editing
@@ -248,7 +247,8 @@ namespace PckStudio.Properties {
///-Massive codebase overhaul and optimization lead by miku-666 (aka NessieHax)!!!
///-Some UI redesigned by yaboiFoxx
///-Improved the changelog!
///-New icons for each o [rest of string was truncated]&quot;;.
///-New icons for each of the file types, with unique image icons for skin, texture, and cape files
///-Added the abili [rest of string was truncated]&quot;;.
/// </summary>
public static string CHANGELOG {
get {
@@ -306,6 +306,16 @@ namespace PckStudio.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap creditsAsset {
get {
object obj = ResourceManager.GetObject("creditsAsset", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@@ -316,6 +326,16 @@ namespace PckStudio.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap editAsset {
get {
object obj = ResourceManager.GetObject("editAsset", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@@ -608,6 +628,16 @@ namespace PckStudio.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap fileAsset {
get {
object obj = ResourceManager.GetObject("fileAsset", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@@ -638,6 +668,16 @@ namespace PckStudio.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap helpAsset {
get {
object obj = ResourceManager.GetObject("helpAsset", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@@ -666,9 +706,9 @@ namespace PckStudio.Properties {
/// {
/// &quot;internalName&quot;: &quot;helmetCloth&quot;,
/// &quot;displayName&quot;: &quot;Leather Cap&quot;,
/// &quot;allowCustomColour&quot;: true,
/// &quot;hasColourEntry&quot;: true,
/// &quot;colourEntry&quot;: {
/// &quot;hasCustomColour&quot;: true,
/// &quot;defaultName&quot;: &quot;Armour_Default_Leather_Colour&quot;,
/// &quot;variants&quot;: [ &quot;Armour_Default_Leather_Colour&quot; ]
/// }
@@ -678,7 +718,7 @@ namespace PckStudio.Properties {
/// &quot;displayName&quot;: &quot;Chain Helmet&quot;
/// },
/// {
/// &quot;internalName&quot;: &quot; [rest of string was truncated]&quot;;.
/// &quot;internalName&quot;: [rest of string was truncated]&quot;;.
/// </summary>
public static string itemData {
get {
@@ -939,6 +979,16 @@ namespace PckStudio.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap pckCenterAsset {
get {
object obj = ResourceManager.GetObject("pckCenterAsset", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@@ -1199,6 +1249,16 @@ namespace PckStudio.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap whatsNewAsset {
get {
object obj = ResourceManager.GetObject("whatsNewAsset", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>

View File

@@ -388,4 +388,22 @@
<data name="file_restore" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons\file_restore.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="creditsAsset" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\creditsAsset.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="editAsset" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\editAsset.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="fileAsset" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\fileAsset.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="helpAsset" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\helpAsset.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="pckCenterAsset" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\pckCenterAsset.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="whatsNewAsset" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\whatsNewAsset.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 773 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 594 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 424 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 776 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 820 B

View File

@@ -7,7 +7,7 @@
* including commercial applications, and to alter it and redistribute it
* freely, subject to the following restrictions:
*
* 1.The origin of this software must not be misrepresented; you must not
* 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software. If you use this software
* in a product, an acknowledgment in the product documentation would be
* appreciated but is not required.
@@ -15,14 +15,25 @@
* misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution.
**/
using Dark.Net;
using System.ComponentModel;
using System.Windows.Forms;
namespace PckStudio.ToolboxItems
{
public class ThemeForm : Form
public partial class ThemeForm : Form
{
public ThemeForm(Theme theme)
: base()
{
DarkNet.Instance.SetWindowThemeForms(this, theme);
StartPosition = FormStartPosition.Manual; // Set the StartPosition to Manual
Invalidate();
}
public ThemeForm()
: this(Theme.Auto)
{
}
@@ -31,5 +42,17 @@ namespace PckStudio.ToolboxItems
{
container.Add(this);
}
protected override void OnLoad(System.EventArgs e)
{
base.OnLoad(e);
// Check if the form is not in design mode
if (!DesignMode)
{
// Center the form on the screen manually
CenterToScreen();
}
}
}
}

View File

@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>