mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-12 15:31:56 +00:00
Several updates, many changes.
This commit is contained in:
@@ -57,10 +57,8 @@
|
||||
this.phoenixarcGitHubButton = new CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton();
|
||||
this.phoenixarcPictureBox = new CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_PictureBox();
|
||||
this.phoenixarcNameLabel = new System.Windows.Forms.Label();
|
||||
this.LegacyDevelopersTab = new MetroFramework.Controls.MetroTabPage();
|
||||
this.OtherCreditsTab = new MetroFramework.Controls.MetroTabPage();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.OthersTab = new MetroFramework.Controls.MetroTabPage();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.ProgramDetailsTab = new System.Windows.Forms.TabPage();
|
||||
this.panel2.SuspendLayout();
|
||||
this.ProgramInformationTabControl.SuspendLayout();
|
||||
@@ -73,8 +71,7 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.mattNLPictureBox)).BeginInit();
|
||||
this.panel3.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.phoenixarcPictureBox)).BeginInit();
|
||||
this.LegacyDevelopersTab.SuspendLayout();
|
||||
this.OthersTab.SuspendLayout();
|
||||
this.OtherCreditsTab.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel2
|
||||
@@ -181,8 +178,7 @@
|
||||
//
|
||||
this.ProgramInformationTabControl.Alignment = System.Windows.Forms.TabAlignment.Left;
|
||||
this.ProgramInformationTabControl.Controls.Add(this.DevelopersTab);
|
||||
this.ProgramInformationTabControl.Controls.Add(this.LegacyDevelopersTab);
|
||||
this.ProgramInformationTabControl.Controls.Add(this.OthersTab);
|
||||
this.ProgramInformationTabControl.Controls.Add(this.OtherCreditsTab);
|
||||
this.ProgramInformationTabControl.Controls.Add(this.ProgramDetailsTab);
|
||||
this.ProgramInformationTabControl.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.ProgramInformationTabControl.ItemSize = new System.Drawing.Size(35, 135);
|
||||
@@ -561,69 +557,36 @@
|
||||
this.phoenixarcNameLabel.TabIndex = 4;
|
||||
this.phoenixarcNameLabel.Text = "PhoenixARC";
|
||||
//
|
||||
// LegacyDevelopersTab
|
||||
// OtherCreditsTab
|
||||
//
|
||||
this.LegacyDevelopersTab.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.LegacyDevelopersTab.Controls.Add(this.label3);
|
||||
this.LegacyDevelopersTab.HorizontalScrollbarBarColor = true;
|
||||
this.LegacyDevelopersTab.HorizontalScrollbarHighlightOnWheel = false;
|
||||
this.LegacyDevelopersTab.HorizontalScrollbarSize = 10;
|
||||
this.LegacyDevelopersTab.Location = new System.Drawing.Point(139, 4);
|
||||
this.LegacyDevelopersTab.Name = "LegacyDevelopersTab";
|
||||
this.LegacyDevelopersTab.Size = new System.Drawing.Size(498, 363);
|
||||
this.LegacyDevelopersTab.TabIndex = 0;
|
||||
this.LegacyDevelopersTab.Text = "Legacy Developers";
|
||||
this.LegacyDevelopersTab.UseCustomBackColor = true;
|
||||
this.LegacyDevelopersTab.UseCustomForeColor = true;
|
||||
this.LegacyDevelopersTab.VerticalScrollbarBarColor = true;
|
||||
this.LegacyDevelopersTab.VerticalScrollbarHighlightOnWheel = false;
|
||||
this.LegacyDevelopersTab.VerticalScrollbarSize = 10;
|
||||
this.OtherCreditsTab.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.OtherCreditsTab.Controls.Add(this.label3);
|
||||
this.OtherCreditsTab.HorizontalScrollbarBarColor = true;
|
||||
this.OtherCreditsTab.HorizontalScrollbarHighlightOnWheel = false;
|
||||
this.OtherCreditsTab.HorizontalScrollbarSize = 10;
|
||||
this.OtherCreditsTab.Location = new System.Drawing.Point(139, 4);
|
||||
this.OtherCreditsTab.Name = "OtherCreditsTab";
|
||||
this.OtherCreditsTab.Size = new System.Drawing.Size(498, 363);
|
||||
this.OtherCreditsTab.TabIndex = 0;
|
||||
this.OtherCreditsTab.Text = "Other Credits";
|
||||
this.OtherCreditsTab.UseCustomBackColor = true;
|
||||
this.OtherCreditsTab.UseCustomForeColor = true;
|
||||
this.OtherCreditsTab.VerticalScrollbarBarColor = true;
|
||||
this.OtherCreditsTab.VerticalScrollbarHighlightOnWheel = false;
|
||||
this.OtherCreditsTab.VerticalScrollbarSize = 10;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.label3.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||
this.label3.Location = new System.Drawing.Point(3, 0);
|
||||
this.label3.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.label3.Location = new System.Drawing.Point(4, 0);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(372, 45);
|
||||
this.label3.Size = new System.Drawing.Size(475, 210);
|
||||
this.label3.TabIndex = 7;
|
||||
this.label3.Text = "Base program and PCK development by: Jam1gamer\r\nVisual tools, server development " +
|
||||
"functions and OG UI by: JackHasWifi\r\nDevelopment assisted by: XxModZxXWiiPlaza a" +
|
||||
"nd SlothWiiPlaza";
|
||||
//
|
||||
// OthersTab
|
||||
//
|
||||
this.OthersTab.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.OthersTab.Controls.Add(this.label6);
|
||||
this.OthersTab.HorizontalScrollbarBarColor = true;
|
||||
this.OthersTab.HorizontalScrollbarHighlightOnWheel = true;
|
||||
this.OthersTab.HorizontalScrollbarSize = 10;
|
||||
this.OthersTab.Location = new System.Drawing.Point(139, 4);
|
||||
this.OthersTab.Name = "OthersTab";
|
||||
this.OthersTab.Size = new System.Drawing.Size(498, 363);
|
||||
this.OthersTab.TabIndex = 1;
|
||||
this.OthersTab.Text = "Others";
|
||||
this.OthersTab.UseCustomBackColor = true;
|
||||
this.OthersTab.UseCustomForeColor = true;
|
||||
this.OthersTab.VerticalScrollbarBarColor = true;
|
||||
this.OthersTab.VerticalScrollbarHighlightOnWheel = false;
|
||||
this.OthersTab.VerticalScrollbarSize = 10;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.label6.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||
this.label6.Location = new System.Drawing.Point(3, 0);
|
||||
this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(199, 30);
|
||||
this.label6.TabIndex = 8;
|
||||
this.label6.Text = "3D rendering found by: NewAgent\r\n3D skin rendering by: Łukasz Rejman";
|
||||
this.label3.Text = resources.GetString("label3.Text");
|
||||
//
|
||||
// ProgramDetailsTab
|
||||
//
|
||||
@@ -672,10 +635,8 @@
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel3.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.phoenixarcPictureBox)).EndInit();
|
||||
this.LegacyDevelopersTab.ResumeLayout(false);
|
||||
this.LegacyDevelopersTab.PerformLayout();
|
||||
this.OthersTab.ResumeLayout(false);
|
||||
this.OthersTab.PerformLayout();
|
||||
this.OtherCreditsTab.ResumeLayout(false);
|
||||
this.OtherCreditsTab.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -688,9 +649,7 @@
|
||||
private CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton GitHubButton;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private MetroFramework.Controls.MetroTabPage LegacyDevelopersTab;
|
||||
private MetroFramework.Controls.MetroTabPage OthersTab;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private MetroFramework.Controls.MetroTabPage OtherCreditsTab;
|
||||
private System.Windows.Forms.TabPage DevelopersTab;
|
||||
private System.Windows.Forms.Panel panel6;
|
||||
private System.Windows.Forms.Label eternalModzLabel;
|
||||
|
||||
@@ -7,6 +7,7 @@ using System.Net;
|
||||
using System.Security.Cryptography;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Octokit;
|
||||
using PckStudio.Extensions;
|
||||
using PckStudio.ToolboxItems;
|
||||
@@ -18,6 +19,8 @@ namespace PckStudio
|
||||
public AboutThisProgram()
|
||||
{
|
||||
InitializeComponent();
|
||||
// Subscribe to the KeyDown event
|
||||
this.KeyDown += MainForm_KeyDown;
|
||||
}
|
||||
|
||||
private async Task<User[]> AcquireDeveloperUserInfoAsync(params string[] usernames)
|
||||
@@ -70,5 +73,15 @@ namespace PckStudio
|
||||
{
|
||||
Process.Start("https://discord.gg/dAepk3Bhud");
|
||||
}
|
||||
|
||||
private void MainForm_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
// Check if Ctrl + W is pressed
|
||||
if (e.Control && e.KeyCode == Keys.W)
|
||||
{
|
||||
// Close the application
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13323,6 +13323,18 @@
|
||||
pkH+sST/AFX4cDoT6cZy39c8N59lXE2W4bP8mxP1nBY323/LrE0f93xFfBf8xVDD1f4uHq/8uPs9YuM5
|
||||
fIVcL9Tx89LfDpv/AMuV/wBPJW+Pz+Vj/9k=
|
||||
</value>
|
||||
</data>
|
||||
<data name="label3.Text" xml:space="preserve">
|
||||
<value>PCK Dev Assists:
|
||||
AleBlbl7276
|
||||
jerrinth
|
||||
SkyForces
|
||||
|
||||
Other Credits:
|
||||
Base program and PCK development by: Jam1gamer
|
||||
Visual tools, server functions and OG UI by: JackHasWifi / Nobledez
|
||||
De velopment assisted by: XxModZxXWiiPlaza and SlothWiiPlaza
|
||||
3D skin rendering by: Łukasz Rejman</value>
|
||||
</data>
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
|
||||
@@ -30,10 +30,10 @@
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddFilePrompt));
|
||||
this.TextLabel = new System.Windows.Forms.Label();
|
||||
this.OKButton = new System.Windows.Forms.Button();
|
||||
this.InputTextBox = new MetroFramework.Controls.MetroTextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.FileTypeComboBox = new MetroFramework.Controls.MetroComboBox();
|
||||
this.AddBtn = new CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// TextLabel
|
||||
@@ -42,14 +42,6 @@
|
||||
this.TextLabel.ForeColor = System.Drawing.Color.White;
|
||||
this.TextLabel.Name = "TextLabel";
|
||||
//
|
||||
// OKButton
|
||||
//
|
||||
resources.ApplyResources(this.OKButton, "OKButton");
|
||||
this.OKButton.ForeColor = System.Drawing.Color.White;
|
||||
this.OKButton.Name = "OKButton";
|
||||
this.OKButton.UseVisualStyleBackColor = true;
|
||||
this.OKButton.Click += new System.EventHandler(this.OKBtn_Click);
|
||||
//
|
||||
// InputTextBox
|
||||
//
|
||||
//
|
||||
@@ -58,6 +50,7 @@
|
||||
this.InputTextBox.CustomButton.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image")));
|
||||
this.InputTextBox.CustomButton.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("resource.ImeMode")));
|
||||
this.InputTextBox.CustomButton.Location = ((System.Drawing.Point)(resources.GetObject("resource.Location")));
|
||||
this.InputTextBox.CustomButton.Margin = ((System.Windows.Forms.Padding)(resources.GetObject("resource.Margin")));
|
||||
this.InputTextBox.CustomButton.Name = "";
|
||||
this.InputTextBox.CustomButton.Size = ((System.Drawing.Size)(resources.GetObject("resource.Size")));
|
||||
this.InputTextBox.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
|
||||
@@ -112,18 +105,39 @@
|
||||
this.FileTypeComboBox.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.FileTypeComboBox.UseSelectable = true;
|
||||
//
|
||||
// AddBtn
|
||||
//
|
||||
resources.ApplyResources(this.AddBtn, "AddBtn");
|
||||
this.AddBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.AddBtn.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.AddBtn.BorderRadius = 10;
|
||||
this.AddBtn.BorderSize = 1;
|
||||
this.AddBtn.ClickedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.AddBtn.FlatAppearance.BorderSize = 0;
|
||||
this.AddBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.AddBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(250)))), ((int)(((byte)(165)))));
|
||||
this.AddBtn.ForeColor = System.Drawing.Color.White;
|
||||
this.AddBtn.GradientColorPrimary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.AddBtn.GradientColorSecondary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.AddBtn.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(250)))), ((int)(((byte)(165)))));
|
||||
this.AddBtn.Image = global::PckStudio.Properties.Resources.plus___24px;
|
||||
this.AddBtn.Name = "AddBtn";
|
||||
this.AddBtn.TextColor = System.Drawing.Color.White;
|
||||
this.AddBtn.UseVisualStyleBackColor = false;
|
||||
this.AddBtn.Click += new System.EventHandler(this.AddBtn_Click);
|
||||
//
|
||||
// AddFilePrompt
|
||||
//
|
||||
this.AcceptButton = this.OKButton;
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.Controls.Add(this.AddBtn);
|
||||
this.Controls.Add(this.FileTypeComboBox);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.InputTextBox);
|
||||
this.Controls.Add(this.OKButton);
|
||||
this.Controls.Add(this.TextLabel);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "AddFilePrompt";
|
||||
@@ -133,10 +147,10 @@
|
||||
}
|
||||
|
||||
#endregion
|
||||
public System.Windows.Forms.Button OKButton;
|
||||
public System.Windows.Forms.Label TextLabel;
|
||||
private MetroFramework.Controls.MetroTextBox InputTextBox;
|
||||
public System.Windows.Forms.Label label1;
|
||||
private MetroFramework.Controls.MetroComboBox FileTypeComboBox;
|
||||
}
|
||||
private CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton AddBtn;
|
||||
}
|
||||
}
|
||||
@@ -27,8 +27,7 @@ namespace PckStudio.Popups
|
||||
|
||||
private void OKBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
if(FileTypeComboBox.SelectedIndex > -1)
|
||||
DialogResult = DialogResult.OK;
|
||||
|
||||
}
|
||||
|
||||
private void InputTextBox_KeyDown(object sender, KeyEventArgs e)
|
||||
@@ -36,5 +35,11 @@ namespace PckStudio.Popups
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
OKBtn_Click(sender, e);
|
||||
}
|
||||
|
||||
private void AddBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (FileTypeComboBox.SelectedIndex > -1)
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -123,10 +123,14 @@
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="TextLabel.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>19, 22</value>
|
||||
<value>30, 33</value>
|
||||
</data>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="TextLabel.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>4, 0, 4, 0</value>
|
||||
</data>
|
||||
<data name="TextLabel.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>29, 13</value>
|
||||
<value>34, 16</value>
|
||||
</data>
|
||||
<data name="TextLabel.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
@@ -149,34 +153,6 @@
|
||||
<data name=">>TextLabel.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="OKButton.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
|
||||
<value>Flat</value>
|
||||
</data>
|
||||
<data name="OKButton.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>165, 93</value>
|
||||
</data>
|
||||
<data name="OKButton.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>75, 23</value>
|
||||
</data>
|
||||
<data name="OKButton.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="OKButton.Text" xml:space="preserve">
|
||||
<value>Add File</value>
|
||||
</data>
|
||||
<data name=">>OKButton.Name" xml:space="preserve">
|
||||
<value>OKButton</value>
|
||||
</data>
|
||||
<data name=">>OKButton.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>OKButton.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>OKButton.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="resource.Image" type="System.Resources.ResXNullRef, System.Windows.Forms">
|
||||
<value />
|
||||
</data>
|
||||
@@ -184,10 +160,13 @@
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="resource.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>303, 1</value>
|
||||
<value>543, 2</value>
|
||||
</data>
|
||||
<data name="resource.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>4, 4, 4, 4</value>
|
||||
</data>
|
||||
<data name="resource.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>21, 21</value>
|
||||
<value>31, 28</value>
|
||||
</data>
|
||||
<data name="resource.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
@@ -196,10 +175,13 @@
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="InputTextBox.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>60, 17</value>
|
||||
<value>77, 21</value>
|
||||
</data>
|
||||
<data name="InputTextBox.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>4, 4, 4, 4</value>
|
||||
</data>
|
||||
<data name="InputTextBox.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>325, 23</value>
|
||||
<value>433, 28</value>
|
||||
</data>
|
||||
<data name="InputTextBox.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
@@ -214,7 +196,7 @@
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>InputTextBox.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="label1.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
@@ -223,10 +205,13 @@
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>19, 61</value>
|
||||
<value>30, 76</value>
|
||||
</data>
|
||||
<data name="label1.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>4, 0, 4, 0</value>
|
||||
</data>
|
||||
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>31, 13</value>
|
||||
<value>39, 16</value>
|
||||
</data>
|
||||
<data name="label1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>6</value>
|
||||
@@ -247,7 +232,7 @@
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>label1.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="FileTypeComboBox.ItemHeight" type="System.Int32, mscorlib">
|
||||
<value>23</value>
|
||||
@@ -298,10 +283,13 @@
|
||||
<value>MaterialFile (entityMaterials.bin)</value>
|
||||
</data>
|
||||
<data name="FileTypeComboBox.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>60, 51</value>
|
||||
<value>77, 63</value>
|
||||
</data>
|
||||
<data name="FileTypeComboBox.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>4, 4, 4, 4</value>
|
||||
</data>
|
||||
<data name="FileTypeComboBox.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>325, 29</value>
|
||||
<value>432, 29</value>
|
||||
</data>
|
||||
<data name="FileTypeComboBox.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>7</value>
|
||||
@@ -316,16 +304,58 @@
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>FileTypeComboBox.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="AddBtn.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>None</value>
|
||||
</data>
|
||||
<data name="AddBtn.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
|
||||
<value>Flat</value>
|
||||
</data>
|
||||
<data name="AddBtn.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 12pt</value>
|
||||
</data>
|
||||
<data name="AddBtn.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="AddBtn.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>210, 103</value>
|
||||
</data>
|
||||
<data name="AddBtn.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>120, 40</value>
|
||||
</data>
|
||||
<data name="AddBtn.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>22</value>
|
||||
</data>
|
||||
<data name="AddBtn.Text" xml:space="preserve">
|
||||
<value>Add File</value>
|
||||
</data>
|
||||
<data name="AddBtn.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
<data name="AddBtn.TextImageRelation" type="System.Windows.Forms.TextImageRelation, System.Windows.Forms">
|
||||
<value>ImageBeforeText</value>
|
||||
</data>
|
||||
<data name=">>AddBtn.Name" xml:space="preserve">
|
||||
<value>AddBtn</value>
|
||||
</data>
|
||||
<data name=">>AddBtn.Type" xml:space="preserve">
|
||||
<value>CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton, CBH-WinForm-Theme-Library, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>AddBtn.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>AddBtn.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
|
||||
<value>6, 13</value>
|
||||
<value>8, 16</value>
|
||||
</data>
|
||||
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>405, 124</value>
|
||||
<value>540, 155</value>
|
||||
</data>
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
@@ -2550,9 +2580,15 @@
|
||||
<data name="$this.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="$this.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>4, 4, 4, 4</value>
|
||||
</data>
|
||||
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
|
||||
<value>CenterParent</value>
|
||||
</data>
|
||||
<data name="$this.Text" xml:space="preserve">
|
||||
<value>Add FIle Prompt</value>
|
||||
</data>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>AddFilePrompt</value>
|
||||
</data>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
System.Windows.Forms.Label label2;
|
||||
this.keyTextBox = new System.Windows.Forms.TextBox();
|
||||
this.valueTextBox = new System.Windows.Forms.TextBox();
|
||||
this.saveButton = new System.Windows.Forms.Button();
|
||||
this.SaveBtn = new CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton();
|
||||
label1 = new System.Windows.Forms.Label();
|
||||
label2 = new System.Windows.Forms.Label();
|
||||
this.SuspendLayout();
|
||||
@@ -66,30 +66,40 @@
|
||||
resources.ApplyResources(this.valueTextBox, "valueTextBox");
|
||||
this.valueTextBox.Name = "valueTextBox";
|
||||
//
|
||||
// saveButton
|
||||
// SaveBtn
|
||||
//
|
||||
resources.ApplyResources(this.saveButton, "saveButton");
|
||||
this.saveButton.ForeColor = System.Drawing.Color.White;
|
||||
this.saveButton.Name = "saveButton";
|
||||
this.saveButton.UseVisualStyleBackColor = true;
|
||||
this.saveButton.Click += new System.EventHandler(this.saveButton_Click);
|
||||
resources.ApplyResources(this.SaveBtn, "SaveBtn");
|
||||
this.SaveBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.SaveBtn.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.SaveBtn.BorderRadius = 10;
|
||||
this.SaveBtn.BorderSize = 1;
|
||||
this.SaveBtn.ClickedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.SaveBtn.FlatAppearance.BorderSize = 0;
|
||||
this.SaveBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.SaveBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(250)))), ((int)(((byte)(165)))));
|
||||
this.SaveBtn.ForeColor = System.Drawing.Color.White;
|
||||
this.SaveBtn.GradientColorPrimary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.SaveBtn.GradientColorSecondary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.SaveBtn.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(250)))), ((int)(((byte)(165)))));
|
||||
this.SaveBtn.Name = "SaveBtn";
|
||||
this.SaveBtn.TextColor = System.Drawing.Color.White;
|
||||
this.SaveBtn.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// AddPropertyPrompt
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.saveButton);
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.Controls.Add(this.SaveBtn);
|
||||
this.Controls.Add(label2);
|
||||
this.Controls.Add(label1);
|
||||
this.Controls.Add(this.valueTextBox);
|
||||
this.Controls.Add(this.keyTextBox);
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "AddPropertyPrompt";
|
||||
this.Resizable = false;
|
||||
this.ShadowType = MetroFramework.Forms.MetroFormShadowType.DropShadow;
|
||||
this.Style = MetroFramework.MetroColorStyle.Black;
|
||||
this.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -99,6 +109,6 @@
|
||||
|
||||
private System.Windows.Forms.TextBox keyTextBox;
|
||||
private System.Windows.Forms.TextBox valueTextBox;
|
||||
private System.Windows.Forms.Button saveButton;
|
||||
private CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton SaveBtn;
|
||||
}
|
||||
}
|
||||
@@ -1,10 +1,11 @@
|
||||
using System;
|
||||
using PckStudio.ToolboxItems;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace PckStudio.Forms.Additional_Popups
|
||||
{
|
||||
public partial class AddPropertyPrompt : MetroFramework.Forms.MetroForm
|
||||
public partial class AddPropertyPrompt : ThemeForm
|
||||
{
|
||||
public KeyValuePair<string, string> Property => new KeyValuePair<string, string>(keyTextBox.Text, valueTextBox.Text);
|
||||
|
||||
@@ -28,7 +29,7 @@ namespace PckStudio.Forms.Additional_Popups
|
||||
|
||||
private void saveButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.OK;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -114,6 +114,7 @@
|
||||
//
|
||||
// metroTabControl1
|
||||
//
|
||||
this.metroTabControl1.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.metroTabControl1.Controls.Add(this.Blocks);
|
||||
this.metroTabControl1.Controls.Add(this.Items);
|
||||
this.metroTabControl1.Location = new System.Drawing.Point(6, 8);
|
||||
@@ -145,8 +146,9 @@
|
||||
this.Items.TabIndex = 0;
|
||||
this.Items.Text = "Items";
|
||||
//
|
||||
// SaveButton
|
||||
// acceptBtn
|
||||
//
|
||||
this.acceptBtn.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.acceptBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.acceptBtn.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.acceptBtn.BorderRadius = 10;
|
||||
@@ -161,10 +163,10 @@
|
||||
this.acceptBtn.GradientColorPrimary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.acceptBtn.GradientColorSecondary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.acceptBtn.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(250)))), ((int)(((byte)(165)))));
|
||||
this.acceptBtn.Image = ((System.Drawing.Image)(resources.GetObject("SaveButton.Image")));
|
||||
this.acceptBtn.Image = ((System.Drawing.Image)(resources.GetObject("acceptBtn.Image")));
|
||||
this.acceptBtn.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.acceptBtn.Location = new System.Drawing.Point(46, 198);
|
||||
this.acceptBtn.Name = "SaveButton";
|
||||
this.acceptBtn.Name = "acceptBtn";
|
||||
this.acceptBtn.Size = new System.Drawing.Size(120, 40);
|
||||
this.acceptBtn.TabIndex = 19;
|
||||
this.acceptBtn.Text = "Save";
|
||||
@@ -174,8 +176,9 @@
|
||||
this.acceptBtn.UseVisualStyleBackColor = false;
|
||||
this.acceptBtn.Click += new System.EventHandler(this.AcceptBtn_Click);
|
||||
//
|
||||
// CancelButton
|
||||
// CancelBtn
|
||||
//
|
||||
this.CancelBtn.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.CancelBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.CancelBtn.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.CancelBtn.BorderRadius = 10;
|
||||
@@ -190,10 +193,10 @@
|
||||
this.CancelBtn.GradientColorPrimary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.CancelBtn.GradientColorSecondary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.CancelBtn.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(36)))), ((int)(((byte)(38)))));
|
||||
this.CancelBtn.Image = ((System.Drawing.Image)(resources.GetObject("CancelButton.Image")));
|
||||
this.CancelBtn.Image = ((System.Drawing.Image)(resources.GetObject("CancelBtn.Image")));
|
||||
this.CancelBtn.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.CancelBtn.Location = new System.Drawing.Point(172, 198);
|
||||
this.CancelBtn.Name = "CancelButton";
|
||||
this.CancelBtn.Name = "CancelBtn";
|
||||
this.CancelBtn.Size = new System.Drawing.Size(120, 40);
|
||||
this.CancelBtn.TabIndex = 20;
|
||||
this.CancelBtn.Text = "Cancel";
|
||||
@@ -209,7 +212,6 @@
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.ClientSize = new System.Drawing.Size(338, 246);
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.CancelBtn);
|
||||
this.Controls.Add(this.acceptBtn);
|
||||
this.Controls.Add(this.metroTextBox1);
|
||||
@@ -217,11 +219,13 @@
|
||||
this.Controls.Add(this.metroTabControl1);
|
||||
this.Font = new System.Drawing.Font("Segoe UI", 8.25F);
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Location = new System.Drawing.Point(0, 0);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "ChangeTile";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Change Title";
|
||||
this.metroTabControl1.ResumeLayout(false);
|
||||
this.Blocks.ResumeLayout(false);
|
||||
this.Items.ResumeLayout(false);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -129,7 +129,7 @@ namespace PckStudio.Forms.Additional_Popups.Animation
|
||||
this.CancelButton.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(36)))), ((int)(((byte)(38)))));
|
||||
this.CancelButton.Image = ((System.Drawing.Image)(resources.GetObject("CancelButton.Image")));
|
||||
this.CancelButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.CancelButton.Location = new System.Drawing.Point(141, 240);
|
||||
this.CancelButton.Location = new System.Drawing.Point(139, 240);
|
||||
this.CancelButton.Name = "CancelButton";
|
||||
this.CancelButton.Size = new System.Drawing.Size(120, 40);
|
||||
this.CancelButton.TabIndex = 22;
|
||||
@@ -158,7 +158,7 @@ namespace PckStudio.Forms.Additional_Popups.Animation
|
||||
this.SaveButton.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(250)))), ((int)(((byte)(165)))));
|
||||
this.SaveButton.Image = ((System.Drawing.Image)(resources.GetObject("SaveButton.Image")));
|
||||
this.SaveButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.SaveButton.Location = new System.Drawing.Point(15, 240);
|
||||
this.SaveButton.Location = new System.Drawing.Point(13, 240);
|
||||
this.SaveButton.Name = "SaveButton";
|
||||
this.SaveButton.Size = new System.Drawing.Size(120, 40);
|
||||
this.SaveButton.TabIndex = 21;
|
||||
@@ -175,7 +175,6 @@ namespace PckStudio.Forms.Additional_Popups.Animation
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.ClientSize = new System.Drawing.Size(273, 292);
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.CancelButton);
|
||||
this.Controls.Add(this.SaveButton);
|
||||
this.Controls.Add(this.FrameList);
|
||||
@@ -184,12 +183,14 @@ namespace PckStudio.Forms.Additional_Popups.Animation
|
||||
this.Controls.Add(this.label1);
|
||||
this.Font = new System.Drawing.Font("Segoe UI", 8.25F);
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Location = new System.Drawing.Point(0, 0);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "FrameEditor";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Frame Editor";
|
||||
this.Load += new System.EventHandler(this.FrameEditor_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.FrameTimeUpDown)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -140,7 +140,6 @@ namespace PckStudio.Forms.Additional_Popups.Animation
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.ClientSize = new System.Drawing.Size(368, 128);
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.CancelButton);
|
||||
this.Controls.Add(this.SaveButton);
|
||||
this.Controls.Add(this.label3);
|
||||
@@ -148,13 +147,15 @@ namespace PckStudio.Forms.Additional_Popups.Animation
|
||||
this.Controls.Add(this.TimeUpDown);
|
||||
this.Font = new System.Drawing.Font("Segoe UI", 8.25F);
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Location = new System.Drawing.Point(0, 0);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.MinimumSize = new System.Drawing.Size(266, 96);
|
||||
this.Name = "SetBulkSpeed";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Set Bulk Speed";
|
||||
((System.ComponentModel.ISupportInitialize)(this.TimeUpDown)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -34,7 +34,7 @@
|
||||
this.metroComboBox1 = new MetroFramework.Controls.MetroComboBox();
|
||||
this.TextLabel = new System.Windows.Forms.Label();
|
||||
this.InputTextBox = new MetroFramework.Controls.MetroTextBox();
|
||||
this.createSkinsPckCheckBox = new CBH.Controls.CrEaTiiOn_ModernCheckBox();
|
||||
this.createSkinsPckCheckBox = new System.Windows.Forms.CheckBox();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// OkButton
|
||||
@@ -130,16 +130,9 @@
|
||||
//
|
||||
// createSkinsPckCheckBox
|
||||
//
|
||||
this.createSkinsPckCheckBox.BackColor = System.Drawing.Color.Transparent;
|
||||
this.createSkinsPckCheckBox.Checked = false;
|
||||
this.createSkinsPckCheckBox.CheckedBackColorA = System.Drawing.Color.Transparent;
|
||||
this.createSkinsPckCheckBox.CheckedBackColorB = System.Drawing.Color.Transparent;
|
||||
this.createSkinsPckCheckBox.CheckedBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200)))));
|
||||
this.createSkinsPckCheckBox.CheckedColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(36)))), ((int)(((byte)(38)))));
|
||||
this.createSkinsPckCheckBox.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
resources.ApplyResources(this.createSkinsPckCheckBox, "createSkinsPckCheckBox");
|
||||
this.createSkinsPckCheckBox.ForeColor = System.Drawing.Color.White;
|
||||
this.createSkinsPckCheckBox.Name = "createSkinsPckCheckBox";
|
||||
this.createSkinsPckCheckBox.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// CreateTexturePack
|
||||
//
|
||||
@@ -153,7 +146,7 @@
|
||||
this.Controls.Add(this.InputTextBox);
|
||||
this.Controls.Add(this.TextLabel);
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "CreateTexturePack";
|
||||
@@ -168,6 +161,6 @@
|
||||
private MetroFramework.Controls.MetroComboBox metroComboBox1;
|
||||
public System.Windows.Forms.Label label1;
|
||||
private CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton OkButton;
|
||||
private CBH.Controls.CrEaTiiOn_ModernCheckBox createSkinsPckCheckBox;
|
||||
private System.Windows.Forms.CheckBox createSkinsPckCheckBox;
|
||||
}
|
||||
}
|
||||
@@ -24,5 +24,10 @@ namespace PckStudio
|
||||
return;
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
private void createSkinsPckCheckBox_CheckedChanged(object sender)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -29,64 +29,42 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddEntry));
|
||||
this.acceptBtn = new System.Windows.Forms.Button();
|
||||
this.CancelBtn = new System.Windows.Forms.Button();
|
||||
this.treeViewEntity = new System.Windows.Forms.TreeView();
|
||||
this.metroLabel2 = new MetroFramework.Controls.MetroLabel();
|
||||
this.FilterLabel = new MetroFramework.Controls.MetroLabel();
|
||||
this.metroTextBox1 = new MetroFramework.Controls.MetroTextBox();
|
||||
this.metroTabControl1 = new MetroFramework.Controls.MetroTabControl();
|
||||
this.Blocks = new System.Windows.Forms.TabPage();
|
||||
this.CancelBtn = new CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton();
|
||||
this.AddBtn = new CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton();
|
||||
this.metroTabControl1.SuspendLayout();
|
||||
this.Blocks.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// acceptBtn
|
||||
//
|
||||
this.acceptBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.acceptBtn.ForeColor = System.Drawing.Color.White;
|
||||
this.acceptBtn.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.acceptBtn.Location = new System.Drawing.Point(92, 196);
|
||||
this.acceptBtn.Name = "acceptBtn";
|
||||
this.acceptBtn.Size = new System.Drawing.Size(75, 23);
|
||||
this.acceptBtn.TabIndex = 7;
|
||||
this.acceptBtn.Text = "Add";
|
||||
this.acceptBtn.UseVisualStyleBackColor = true;
|
||||
this.acceptBtn.Click += new System.EventHandler(this.AcceptBtn_Click);
|
||||
//
|
||||
// CancelBtn
|
||||
//
|
||||
this.CancelBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.CancelBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.CancelBtn.ForeColor = System.Drawing.Color.White;
|
||||
this.CancelBtn.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.CancelBtn.Location = new System.Drawing.Point(172, 196);
|
||||
this.CancelBtn.Name = "CancelBtn";
|
||||
this.CancelBtn.Size = new System.Drawing.Size(75, 23);
|
||||
this.CancelBtn.TabIndex = 13;
|
||||
this.CancelBtn.Text = "Cancel";
|
||||
this.CancelBtn.UseVisualStyleBackColor = true;
|
||||
this.CancelBtn.Click += new System.EventHandler(this.CancelBtn_Click);
|
||||
//
|
||||
// treeViewEntity
|
||||
//
|
||||
this.treeViewEntity.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.treeViewEntity.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
|
||||
this.treeViewEntity.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.treeViewEntity.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.treeViewEntity.ForeColor = System.Drawing.Color.White;
|
||||
this.treeViewEntity.Location = new System.Drawing.Point(0, 0);
|
||||
this.treeViewEntity.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.treeViewEntity.Name = "treeViewEntity";
|
||||
this.treeViewEntity.Size = new System.Drawing.Size(318, 142);
|
||||
this.treeViewEntity.Size = new System.Drawing.Size(427, 184);
|
||||
this.treeViewEntity.TabIndex = 14;
|
||||
this.treeViewEntity.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViews_AfterSelect);
|
||||
//
|
||||
// metroLabel2
|
||||
// FilterLabel
|
||||
//
|
||||
this.metroLabel2.AutoSize = true;
|
||||
this.metroLabel2.Location = new System.Drawing.Point(133, 19);
|
||||
this.metroLabel2.Name = "metroLabel2";
|
||||
this.metroLabel2.Size = new System.Drawing.Size(46, 19);
|
||||
this.metroLabel2.TabIndex = 16;
|
||||
this.metroLabel2.Text = "Filter: ";
|
||||
this.metroLabel2.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.FilterLabel.AutoSize = true;
|
||||
this.FilterLabel.Location = new System.Drawing.Point(99, 243);
|
||||
this.FilterLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.FilterLabel.Name = "FilterLabel";
|
||||
this.FilterLabel.Size = new System.Drawing.Size(46, 19);
|
||||
this.FilterLabel.TabIndex = 16;
|
||||
this.FilterLabel.Text = "Filter: ";
|
||||
this.FilterLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.FilterLabel.UseCustomBackColor = true;
|
||||
this.FilterLabel.UseCustomForeColor = true;
|
||||
//
|
||||
// metroTextBox1
|
||||
//
|
||||
@@ -94,16 +72,18 @@
|
||||
//
|
||||
//
|
||||
this.metroTextBox1.CustomButton.Image = null;
|
||||
this.metroTextBox1.CustomButton.Location = new System.Drawing.Point(134, 1);
|
||||
this.metroTextBox1.CustomButton.Location = new System.Drawing.Point(182, 2);
|
||||
this.metroTextBox1.CustomButton.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.metroTextBox1.CustomButton.Name = "";
|
||||
this.metroTextBox1.CustomButton.Size = new System.Drawing.Size(21, 21);
|
||||
this.metroTextBox1.CustomButton.Size = new System.Drawing.Size(23, 23);
|
||||
this.metroTextBox1.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
|
||||
this.metroTextBox1.CustomButton.TabIndex = 1;
|
||||
this.metroTextBox1.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
|
||||
this.metroTextBox1.CustomButton.UseSelectable = true;
|
||||
this.metroTextBox1.CustomButton.Visible = false;
|
||||
this.metroTextBox1.Lines = new string[0];
|
||||
this.metroTextBox1.Location = new System.Drawing.Point(173, 18);
|
||||
this.metroTextBox1.Location = new System.Drawing.Point(143, 240);
|
||||
this.metroTextBox1.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.metroTextBox1.MaxLength = 32767;
|
||||
this.metroTextBox1.Name = "metroTextBox1";
|
||||
this.metroTextBox1.PasswordChar = '\0';
|
||||
@@ -112,7 +92,7 @@
|
||||
this.metroTextBox1.SelectionLength = 0;
|
||||
this.metroTextBox1.SelectionStart = 0;
|
||||
this.metroTextBox1.ShortcutsEnabled = true;
|
||||
this.metroTextBox1.Size = new System.Drawing.Size(156, 23);
|
||||
this.metroTextBox1.Size = new System.Drawing.Size(208, 28);
|
||||
this.metroTextBox1.TabIndex = 17;
|
||||
this.metroTextBox1.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.metroTextBox1.UseSelectable = true;
|
||||
@@ -123,10 +103,11 @@
|
||||
// metroTabControl1
|
||||
//
|
||||
this.metroTabControl1.Controls.Add(this.Blocks);
|
||||
this.metroTabControl1.Location = new System.Drawing.Point(6, 8);
|
||||
this.metroTabControl1.Location = new System.Drawing.Point(8, 10);
|
||||
this.metroTabControl1.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.metroTabControl1.Name = "metroTabControl1";
|
||||
this.metroTabControl1.SelectedIndex = 0;
|
||||
this.metroTabControl1.Size = new System.Drawing.Size(326, 184);
|
||||
this.metroTabControl1.Size = new System.Drawing.Size(435, 226);
|
||||
this.metroTabControl1.Style = MetroFramework.MetroColorStyle.White;
|
||||
this.metroTabControl1.TabIndex = 18;
|
||||
this.metroTabControl1.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
@@ -137,32 +118,92 @@
|
||||
this.Blocks.BackColor = System.Drawing.SystemColors.WindowFrame;
|
||||
this.Blocks.Controls.Add(this.treeViewEntity);
|
||||
this.Blocks.Location = new System.Drawing.Point(4, 38);
|
||||
this.Blocks.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.Blocks.Name = "Blocks";
|
||||
this.Blocks.Size = new System.Drawing.Size(318, 142);
|
||||
this.Blocks.Size = new System.Drawing.Size(427, 184);
|
||||
this.Blocks.TabIndex = 0;
|
||||
this.Blocks.Text = "Entities";
|
||||
//
|
||||
// CancelBtn
|
||||
//
|
||||
this.CancelBtn.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.CancelBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.CancelBtn.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.CancelBtn.BorderRadius = 10;
|
||||
this.CancelBtn.BorderSize = 1;
|
||||
this.CancelBtn.ClickedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.CancelBtn.FlatAppearance.BorderSize = 0;
|
||||
this.CancelBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.CancelBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(36)))), ((int)(((byte)(38)))));
|
||||
this.CancelBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.CancelBtn.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.CancelBtn.ForeColor = System.Drawing.Color.White;
|
||||
this.CancelBtn.GradientColorPrimary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.CancelBtn.GradientColorSecondary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.CancelBtn.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(36)))), ((int)(((byte)(38)))));
|
||||
this.CancelBtn.Image = ((System.Drawing.Image)(resources.GetObject("CancelBtn.Image")));
|
||||
this.CancelBtn.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.CancelBtn.Location = new System.Drawing.Point(228, 279);
|
||||
this.CancelBtn.Name = "CancelBtn";
|
||||
this.CancelBtn.Size = new System.Drawing.Size(120, 40);
|
||||
this.CancelBtn.TabIndex = 22;
|
||||
this.CancelBtn.Text = "Cancel";
|
||||
this.CancelBtn.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
this.CancelBtn.TextColor = System.Drawing.Color.White;
|
||||
this.CancelBtn.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
||||
this.CancelBtn.UseVisualStyleBackColor = false;
|
||||
this.CancelBtn.Click += new System.EventHandler(this.CancelBtn_Click);
|
||||
//
|
||||
// AddBtn
|
||||
//
|
||||
this.AddBtn.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.AddBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.AddBtn.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.AddBtn.BorderRadius = 10;
|
||||
this.AddBtn.BorderSize = 1;
|
||||
this.AddBtn.ClickedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.AddBtn.FlatAppearance.BorderSize = 0;
|
||||
this.AddBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.AddBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(250)))), ((int)(((byte)(165)))));
|
||||
this.AddBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.AddBtn.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.AddBtn.ForeColor = System.Drawing.Color.White;
|
||||
this.AddBtn.GradientColorPrimary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.AddBtn.GradientColorSecondary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.AddBtn.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(250)))), ((int)(((byte)(165)))));
|
||||
this.AddBtn.Image = global::PckStudio.Properties.Resources.plus___24px;
|
||||
this.AddBtn.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.AddBtn.Location = new System.Drawing.Point(102, 279);
|
||||
this.AddBtn.Name = "AddBtn";
|
||||
this.AddBtn.Size = new System.Drawing.Size(120, 40);
|
||||
this.AddBtn.TabIndex = 21;
|
||||
this.AddBtn.Text = "Add";
|
||||
this.AddBtn.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
this.AddBtn.TextColor = System.Drawing.Color.White;
|
||||
this.AddBtn.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
||||
this.AddBtn.UseVisualStyleBackColor = false;
|
||||
this.AddBtn.Click += new System.EventHandler(this.AddNtb_Click);
|
||||
//
|
||||
// AddEntry
|
||||
//
|
||||
this.AcceptButton = this.acceptBtn;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CancelButton = this.CancelBtn;
|
||||
this.ClientSize = new System.Drawing.Size(338, 228);
|
||||
this.ControlBox = false;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.ClientSize = new System.Drawing.Size(451, 331);
|
||||
this.Controls.Add(this.metroTextBox1);
|
||||
this.Controls.Add(this.metroLabel2);
|
||||
this.Controls.Add(this.metroTabControl1);
|
||||
this.Controls.Add(this.CancelBtn);
|
||||
this.Controls.Add(this.acceptBtn);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.Controls.Add(this.AddBtn);
|
||||
this.Controls.Add(this.FilterLabel);
|
||||
this.Controls.Add(this.metroTabControl1);
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Location = new System.Drawing.Point(0, 0);
|
||||
this.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "AddEntry";
|
||||
this.Resizable = false;
|
||||
this.Style = MetroFramework.MetroColorStyle.Silver;
|
||||
this.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.Text = "Add Entry";
|
||||
this.metroTabControl1.ResumeLayout(false);
|
||||
this.Blocks.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
@@ -176,12 +217,12 @@
|
||||
}
|
||||
|
||||
#endregion
|
||||
private System.Windows.Forms.Button CancelBtn;
|
||||
private System.Windows.Forms.TreeView treeViewEntity;
|
||||
private MetroFramework.Controls.MetroLabel metroLabel2;
|
||||
private MetroFramework.Controls.MetroLabel FilterLabel;
|
||||
private MetroFramework.Controls.MetroTextBox metroTextBox1;
|
||||
private MetroFramework.Controls.MetroTabControl metroTabControl1;
|
||||
private System.Windows.Forms.TabPage Blocks;
|
||||
public System.Windows.Forms.Button acceptBtn;
|
||||
}
|
||||
private CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton CancelBtn;
|
||||
private CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton AddBtn;
|
||||
}
|
||||
}
|
||||
@@ -3,10 +3,11 @@ using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
using MetroFramework.Forms;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using PckStudio.ToolboxItems;
|
||||
|
||||
namespace PckStudio.Forms.Additional_Popups.EntityForms
|
||||
{
|
||||
public partial class AddEntry : MetroForm
|
||||
public partial class AddEntry : ThemeForm
|
||||
{
|
||||
string selectedEntity = "";
|
||||
|
||||
@@ -98,17 +99,17 @@ namespace PckStudio.Forms.Additional_Popups.EntityForms
|
||||
treeViewEntity.EndUpdate();
|
||||
}
|
||||
|
||||
private void CancelBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.Cancel;
|
||||
Close();
|
||||
}
|
||||
private void CancelBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.Cancel;
|
||||
Close();
|
||||
}
|
||||
|
||||
private void AcceptBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(selectedEntity)) CancelBtn_Click(sender, e);
|
||||
DialogResult = DialogResult.OK;
|
||||
Close();
|
||||
}
|
||||
}
|
||||
private void AddNtb_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(selectedEntity)) CancelBtn_Click(sender, e);
|
||||
DialogResult = DialogResult.OK;
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,6 +118,15 @@
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="CancelBtn.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABGdBTUEAALGPC/xhBQAAAOFJREFUSEvt
|
||||
lTEOgzAQBHkCTZq8MMlTKdPlNc4O2pOMuIAtQsdIJ4xvd08CC4aLbkopD9XNt83gwevbHAleKnirmoeg
|
||||
tQee3l6j5qiaZlkpH9XdrZ+gsRbwjm7lILAQNofQswb2wwOENkA6hD33oD08wGAjLIaw9h70hwcYHQDz
|
||||
ENfx8EAB9QnhWq+7j3MKQQ4M/hcOCqsfCyzeySEUdN4jUsDqhbrS09UFRgfA4rSw9h70D8FgI6RHkT33
|
||||
oH0IQhsgDQ/oWQP7QxBYCJvhARprYXuImud+rkGC8344F2uG4QvjMhwJEIsdYQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAA0AAAAAAAEAIAD7NAAA1gAAAICAAAABACAAKAgBANE1AACAgAAAAQAIAChMAAD5PQEAQEAAAAEA
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
this.CreateButton = new CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton();
|
||||
this.ValueTextBox = new MetroFramework.Controls.MetroTextBox();
|
||||
this.availableComboBox = new MetroFramework.Controls.MetroComboBox();
|
||||
metroLabel1 = new MetroFramework.Controls.MetroLabel();
|
||||
this.NameTextBox = new MetroFramework.Controls.MetroTextBox();
|
||||
metroLabel2 = new MetroFramework.Controls.MetroLabel();
|
||||
metroLabel1 = new MetroFramework.Controls.MetroLabel();
|
||||
@@ -44,7 +43,7 @@
|
||||
// metroLabel2
|
||||
//
|
||||
metroLabel2.AutoSize = true;
|
||||
metroLabel2.Location = new System.Drawing.Point(44, 39);
|
||||
metroLabel2.Location = new System.Drawing.Point(48, 39);
|
||||
metroLabel2.Name = "metroLabel2";
|
||||
metroLabel2.Size = new System.Drawing.Size(42, 19);
|
||||
metroLabel2.TabIndex = 1;
|
||||
@@ -79,7 +78,7 @@
|
||||
this.CancelButton.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(36)))), ((int)(((byte)(38)))));
|
||||
this.CancelButton.Image = ((System.Drawing.Image)(resources.GetObject("CancelButton.Image")));
|
||||
this.CancelButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.CancelButton.Location = new System.Drawing.Point(157, 69);
|
||||
this.CancelButton.Location = new System.Drawing.Point(157, 83);
|
||||
this.CancelButton.Name = "CancelButton";
|
||||
this.CancelButton.Size = new System.Drawing.Size(120, 40);
|
||||
this.CancelButton.TabIndex = 22;
|
||||
@@ -108,7 +107,7 @@
|
||||
this.CreateButton.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(250)))), ((int)(((byte)(165)))));
|
||||
this.CreateButton.Image = ((System.Drawing.Image)(resources.GetObject("CreateButton.Image")));
|
||||
this.CreateButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.CreateButton.Location = new System.Drawing.Point(31, 69);
|
||||
this.CreateButton.Location = new System.Drawing.Point(31, 83);
|
||||
this.CreateButton.Name = "CreateButton";
|
||||
this.CreateButton.Size = new System.Drawing.Size(120, 40);
|
||||
this.CreateButton.TabIndex = 21;
|
||||
@@ -134,7 +133,7 @@
|
||||
this.ValueTextBox.CustomButton.UseSelectable = true;
|
||||
this.ValueTextBox.CustomButton.Visible = false;
|
||||
this.ValueTextBox.Lines = new string[0];
|
||||
this.ValueTextBox.Location = new System.Drawing.Point(99, 39);
|
||||
this.ValueTextBox.Location = new System.Drawing.Point(96, 39);
|
||||
this.ValueTextBox.MaxLength = 32767;
|
||||
this.ValueTextBox.Name = "ValueTextBox";
|
||||
this.ValueTextBox.PasswordChar = '\0';
|
||||
@@ -151,6 +150,20 @@
|
||||
this.ValueTextBox.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
|
||||
this.ValueTextBox.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
|
||||
//
|
||||
// availableComboBox
|
||||
//
|
||||
this.availableComboBox.FormattingEnabled = true;
|
||||
this.availableComboBox.ItemHeight = 23;
|
||||
this.availableComboBox.Location = new System.Drawing.Point(72, 21);
|
||||
this.availableComboBox.Name = "availableComboBox";
|
||||
this.availableComboBox.Size = new System.Drawing.Size(165, 29);
|
||||
this.availableComboBox.Style = MetroFramework.MetroColorStyle.Silver;
|
||||
this.availableComboBox.TabIndex = 6;
|
||||
this.availableComboBox.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.availableComboBox.UseSelectable = true;
|
||||
this.availableComboBox.Visible = false;
|
||||
this.availableComboBox.SelectedIndexChanged += new System.EventHandler(this.availableComboBox_SelectedIndexChanged);
|
||||
//
|
||||
// NameTextBox
|
||||
//
|
||||
//
|
||||
@@ -166,7 +179,7 @@
|
||||
this.NameTextBox.CustomButton.UseSelectable = true;
|
||||
this.NameTextBox.CustomButton.Visible = false;
|
||||
this.NameTextBox.Lines = new string[0];
|
||||
this.NameTextBox.Location = new System.Drawing.Point(99, 10);
|
||||
this.NameTextBox.Location = new System.Drawing.Point(96, 10);
|
||||
this.NameTextBox.MaxLength = 32767;
|
||||
this.NameTextBox.Name = "NameTextBox";
|
||||
this.NameTextBox.PasswordChar = '\0';
|
||||
@@ -183,35 +196,20 @@
|
||||
this.NameTextBox.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
|
||||
this.NameTextBox.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
|
||||
//
|
||||
// availableComboBox
|
||||
//
|
||||
this.availableComboBox.FormattingEnabled = true;
|
||||
this.availableComboBox.ItemHeight = 23;
|
||||
this.availableComboBox.Location = new System.Drawing.Point(72, 21);
|
||||
this.availableComboBox.Name = "availableComboBox";
|
||||
this.availableComboBox.Size = new System.Drawing.Size(165, 29);
|
||||
this.availableComboBox.Style = MetroFramework.MetroColorStyle.Silver;
|
||||
this.availableComboBox.TabIndex = 6;
|
||||
this.availableComboBox.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.availableComboBox.UseSelectable = true;
|
||||
this.availableComboBox.Visible = false;
|
||||
this.availableComboBox.SelectedIndexChanged += new System.EventHandler(this.availableComboBox_SelectedIndexChanged);
|
||||
//
|
||||
// AddParameter
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.ClientSize = new System.Drawing.Size(309, 121);
|
||||
this.ClientSize = new System.Drawing.Size(309, 135);
|
||||
this.Controls.Add(this.CancelButton);
|
||||
this.Controls.Add(this.CreateButton);
|
||||
this.Controls.Add(this.ValueTextBox);
|
||||
this.Controls.Add(this.NameTextBox);
|
||||
this.Controls.Add(metroLabel2);
|
||||
this.Controls.Add(metroLabel1);
|
||||
this.Font = new System.Drawing.Font("Segoe UI", 8.25F);
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Location = new System.Drawing.Point(0, 0);
|
||||
this.MaximizeBox = false;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -28,28 +28,38 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InProgressPrompt));
|
||||
this.metroLabel1 = new MetroFramework.Controls.MetroLabel();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// metroLabel1
|
||||
//
|
||||
this.metroLabel1.AutoSize = true;
|
||||
this.metroLabel1.Location = new System.Drawing.Point(43, 20);
|
||||
this.metroLabel1.ForeColor = System.Drawing.Color.White;
|
||||
this.metroLabel1.Location = new System.Drawing.Point(37, 27);
|
||||
this.metroLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.metroLabel1.Name = "metroLabel1";
|
||||
this.metroLabel1.Size = new System.Drawing.Size(307, 19);
|
||||
this.metroLabel1.TabIndex = 0;
|
||||
this.metroLabel1.Text = "Please wait while PCK Studio processes the request.";
|
||||
this.metroLabel1.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.metroLabel1.UseCustomBackColor = true;
|
||||
this.metroLabel1.UseCustomForeColor = true;
|
||||
//
|
||||
// InProgressPrompt
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.ClientSize = new System.Drawing.Size(396, 59);
|
||||
this.ClientSize = new System.Drawing.Size(380, 73);
|
||||
this.Controls.Add(this.metroLabel1);
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Location = new System.Drawing.Point(0, 0);
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.Name = "InProgressPrompt";
|
||||
this.Text = "Please Wait...";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -30,9 +30,9 @@
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ItemSelectionPopUp));
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.okBtn = new System.Windows.Forms.Button();
|
||||
this.cancelButton = new System.Windows.Forms.Button();
|
||||
this.ComboBox = new MetroFramework.Controls.MetroComboBox();
|
||||
this.cancelBtn = new CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton();
|
||||
this.addBtn = new CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label2
|
||||
@@ -41,22 +41,6 @@
|
||||
this.label2.ForeColor = System.Drawing.Color.White;
|
||||
this.label2.Name = "label2";
|
||||
//
|
||||
// okBtn
|
||||
//
|
||||
resources.ApplyResources(this.okBtn, "okBtn");
|
||||
this.okBtn.ForeColor = System.Drawing.Color.White;
|
||||
this.okBtn.Name = "okBtn";
|
||||
this.okBtn.UseVisualStyleBackColor = true;
|
||||
this.okBtn.Click += new System.EventHandler(this.okBtn_Click);
|
||||
//
|
||||
// cancelButton
|
||||
//
|
||||
resources.ApplyResources(this.cancelButton, "cancelButton");
|
||||
this.cancelButton.ForeColor = System.Drawing.Color.White;
|
||||
this.cancelButton.Name = "cancelButton";
|
||||
this.cancelButton.UseVisualStyleBackColor = true;
|
||||
this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
|
||||
//
|
||||
// ComboBox
|
||||
//
|
||||
this.ComboBox.FormattingEnabled = true;
|
||||
@@ -65,17 +49,58 @@
|
||||
this.ComboBox.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.ComboBox.UseSelectable = true;
|
||||
//
|
||||
// cancelBtn
|
||||
//
|
||||
resources.ApplyResources(this.cancelBtn, "cancelBtn");
|
||||
this.cancelBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.cancelBtn.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.cancelBtn.BorderRadius = 10;
|
||||
this.cancelBtn.BorderSize = 1;
|
||||
this.cancelBtn.ClickedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.cancelBtn.FlatAppearance.BorderSize = 0;
|
||||
this.cancelBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.cancelBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(36)))), ((int)(((byte)(38)))));
|
||||
this.cancelBtn.ForeColor = System.Drawing.Color.White;
|
||||
this.cancelBtn.GradientColorPrimary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.cancelBtn.GradientColorSecondary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.cancelBtn.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(36)))), ((int)(((byte)(38)))));
|
||||
this.cancelBtn.Name = "cancelBtn";
|
||||
this.cancelBtn.TextColor = System.Drawing.Color.White;
|
||||
this.cancelBtn.UseVisualStyleBackColor = false;
|
||||
this.cancelBtn.Click += new System.EventHandler(this.cancelBtn_Click);
|
||||
//
|
||||
// addBtn
|
||||
//
|
||||
resources.ApplyResources(this.addBtn, "addBtn");
|
||||
this.addBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.addBtn.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.addBtn.BorderRadius = 10;
|
||||
this.addBtn.BorderSize = 1;
|
||||
this.addBtn.ClickedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.addBtn.FlatAppearance.BorderSize = 0;
|
||||
this.addBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.addBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(250)))), ((int)(((byte)(165)))));
|
||||
this.addBtn.ForeColor = System.Drawing.Color.White;
|
||||
this.addBtn.GradientColorPrimary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.addBtn.GradientColorSecondary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.addBtn.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(250)))), ((int)(((byte)(165)))));
|
||||
this.addBtn.Image = global::PckStudio.Properties.Resources.plus___24px;
|
||||
this.addBtn.Name = "addBtn";
|
||||
this.addBtn.TextColor = System.Drawing.Color.White;
|
||||
this.addBtn.UseVisualStyleBackColor = false;
|
||||
this.addBtn.Click += new System.EventHandler(this.addBtn_Click);
|
||||
//
|
||||
// ItemSelectionPopUp
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.cancelBtn);
|
||||
this.Controls.Add(this.addBtn);
|
||||
this.Controls.Add(this.ComboBox);
|
||||
this.Controls.Add(this.cancelButton);
|
||||
this.Controls.Add(this.okBtn);
|
||||
this.Controls.Add(this.label2);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "ItemSelectionPopUp";
|
||||
@@ -85,9 +110,9 @@
|
||||
}
|
||||
|
||||
#endregion
|
||||
private System.Windows.Forms.Button cancelButton;
|
||||
public System.Windows.Forms.Label label2;
|
||||
public System.Windows.Forms.Button okBtn;
|
||||
private MetroFramework.Controls.MetroComboBox ComboBox;
|
||||
private CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton cancelBtn;
|
||||
private CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton addBtn;
|
||||
}
|
||||
}
|
||||
@@ -15,8 +15,8 @@ namespace PckStudio.Forms.Additional_Popups
|
||||
}
|
||||
public string ButtonText
|
||||
{
|
||||
get => okBtn.Text;
|
||||
set => okBtn.Text = value;
|
||||
get => addBtn.Text;
|
||||
set => addBtn.Text = value;
|
||||
}
|
||||
|
||||
public ItemSelectionPopUp(params string[] items)
|
||||
@@ -27,15 +27,25 @@ namespace PckStudio.Forms.Additional_Popups
|
||||
|
||||
private void okBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
if(ComboBox.SelectedIndex > -1)
|
||||
cancelButton_Click(sender, e);
|
||||
DialogResult = DialogResult.OK;
|
||||
|
||||
}
|
||||
|
||||
private void cancelButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.Cancel;
|
||||
Close();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void addBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (ComboBox.SelectedIndex > -1)
|
||||
cancelButton_Click(sender, e);
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
private void cancelBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.Cancel;
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -37,9 +37,10 @@
|
||||
//
|
||||
this.LanguageComboBox.FormattingEnabled = true;
|
||||
this.LanguageComboBox.ItemHeight = 23;
|
||||
this.LanguageComboBox.Location = new System.Drawing.Point(23, 12);
|
||||
this.LanguageComboBox.Location = new System.Drawing.Point(31, 15);
|
||||
this.LanguageComboBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.LanguageComboBox.Name = "LanguageComboBox";
|
||||
this.LanguageComboBox.Size = new System.Drawing.Size(243, 29);
|
||||
this.LanguageComboBox.Size = new System.Drawing.Size(323, 29);
|
||||
this.LanguageComboBox.Style = MetroFramework.MetroColorStyle.Black;
|
||||
this.LanguageComboBox.TabIndex = 0;
|
||||
this.LanguageComboBox.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
@@ -63,9 +64,10 @@
|
||||
this.AddButton.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(250)))), ((int)(((byte)(165)))));
|
||||
this.AddButton.Image = ((System.Drawing.Image)(resources.GetObject("AddButton.Image")));
|
||||
this.AddButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.AddButton.Location = new System.Drawing.Point(84, 49);
|
||||
this.AddButton.Location = new System.Drawing.Point(112, 60);
|
||||
this.AddButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.AddButton.Name = "AddButton";
|
||||
this.AddButton.Size = new System.Drawing.Size(120, 40);
|
||||
this.AddButton.Size = new System.Drawing.Size(160, 49);
|
||||
this.AddButton.TabIndex = 18;
|
||||
this.AddButton.Text = "Add";
|
||||
this.AddButton.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
@@ -76,15 +78,19 @@
|
||||
//
|
||||
// AddLanguage
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.ClientSize = new System.Drawing.Size(289, 101);
|
||||
this.ClientSize = new System.Drawing.Size(385, 124);
|
||||
this.Controls.Add(this.AddButton);
|
||||
this.Controls.Add(this.LanguageComboBox);
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Location = new System.Drawing.Point(0, 0);
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.MinimumSize = new System.Drawing.Size(289, 140);
|
||||
this.MinimumSize = new System.Drawing.Size(380, 163);
|
||||
this.Name = "AddLanguage";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "Add Language";
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -30,8 +30,8 @@
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MultiTextPrompt));
|
||||
this.PromptTextBox = new MetroFramework.Controls.MetroTextBox();
|
||||
this.okBtn = new MetroFramework.Controls.MetroButton();
|
||||
this.cancelBtn = new MetroFramework.Controls.MetroButton();
|
||||
this.cancelBtn = new CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton();
|
||||
this.okBtn = new CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// PromptTextBox
|
||||
@@ -40,17 +40,18 @@
|
||||
//
|
||||
//
|
||||
this.PromptTextBox.CustomButton.Image = null;
|
||||
this.PromptTextBox.CustomButton.Location = new System.Drawing.Point(34, 1);
|
||||
this.PromptTextBox.CustomButton.Location = new System.Drawing.Point(71, 1);
|
||||
this.PromptTextBox.CustomButton.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.PromptTextBox.CustomButton.Name = "";
|
||||
this.PromptTextBox.CustomButton.Size = new System.Drawing.Size(283, 283);
|
||||
this.PromptTextBox.CustomButton.Size = new System.Drawing.Size(363, 363);
|
||||
this.PromptTextBox.CustomButton.Style = MetroFramework.MetroColorStyle.Blue;
|
||||
this.PromptTextBox.CustomButton.TabIndex = 1;
|
||||
this.PromptTextBox.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light;
|
||||
this.PromptTextBox.CustomButton.UseSelectable = true;
|
||||
this.PromptTextBox.CustomButton.Visible = false;
|
||||
this.PromptTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.PromptTextBox.Lines = new string[0];
|
||||
this.PromptTextBox.Location = new System.Drawing.Point(20, 60);
|
||||
this.PromptTextBox.Location = new System.Drawing.Point(21, 18);
|
||||
this.PromptTextBox.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.PromptTextBox.MaxLength = 32767;
|
||||
this.PromptTextBox.Multiline = true;
|
||||
this.PromptTextBox.Name = "PromptTextBox";
|
||||
@@ -62,7 +63,7 @@
|
||||
this.PromptTextBox.SelectionStart = 0;
|
||||
this.PromptTextBox.ShortcutsEnabled = true;
|
||||
this.PromptTextBox.ShowClearButton = true;
|
||||
this.PromptTextBox.Size = new System.Drawing.Size(318, 285);
|
||||
this.PromptTextBox.Size = new System.Drawing.Size(435, 365);
|
||||
this.PromptTextBox.Style = MetroFramework.MetroColorStyle.Black;
|
||||
this.PromptTextBox.TabIndex = 0;
|
||||
this.PromptTextBox.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
@@ -71,45 +72,82 @@
|
||||
this.PromptTextBox.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
|
||||
this.PromptTextBox.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
|
||||
//
|
||||
// okBtn
|
||||
//
|
||||
this.okBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.okBtn.Location = new System.Drawing.Point(264, 351);
|
||||
this.okBtn.Name = "okBtn";
|
||||
this.okBtn.Size = new System.Drawing.Size(74, 23);
|
||||
this.okBtn.TabIndex = 1;
|
||||
this.okBtn.Text = "OK";
|
||||
this.okBtn.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.okBtn.UseSelectable = true;
|
||||
this.okBtn.Click += new System.EventHandler(this.okBtn_Click);
|
||||
//
|
||||
// cancelBtn
|
||||
//
|
||||
this.cancelBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cancelBtn.Location = new System.Drawing.Point(183, 351);
|
||||
this.cancelBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.cancelBtn.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.cancelBtn.BorderRadius = 10;
|
||||
this.cancelBtn.BorderSize = 1;
|
||||
this.cancelBtn.ClickedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.cancelBtn.FlatAppearance.BorderSize = 0;
|
||||
this.cancelBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.cancelBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(36)))), ((int)(((byte)(38)))));
|
||||
this.cancelBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.cancelBtn.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.cancelBtn.ForeColor = System.Drawing.Color.White;
|
||||
this.cancelBtn.GradientColorPrimary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.cancelBtn.GradientColorSecondary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.cancelBtn.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(36)))), ((int)(((byte)(38)))));
|
||||
this.cancelBtn.Image = ((System.Drawing.Image)(resources.GetObject("cancelBtn.Image")));
|
||||
this.cancelBtn.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.cancelBtn.Location = new System.Drawing.Point(241, 399);
|
||||
this.cancelBtn.Name = "cancelBtn";
|
||||
this.cancelBtn.Size = new System.Drawing.Size(75, 23);
|
||||
this.cancelBtn.TabIndex = 2;
|
||||
this.cancelBtn.Size = new System.Drawing.Size(120, 40);
|
||||
this.cancelBtn.TabIndex = 24;
|
||||
this.cancelBtn.Text = "Cancel";
|
||||
this.cancelBtn.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.cancelBtn.UseSelectable = true;
|
||||
this.cancelBtn.Click += new System.EventHandler(this.cancelBtn_Click);
|
||||
this.cancelBtn.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
this.cancelBtn.TextColor = System.Drawing.Color.White;
|
||||
this.cancelBtn.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
||||
this.cancelBtn.UseVisualStyleBackColor = false;
|
||||
this.cancelBtn.Click += new System.EventHandler(this.cancelBtn_Click_1);
|
||||
//
|
||||
// okBtn
|
||||
//
|
||||
this.okBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.okBtn.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.okBtn.BorderRadius = 10;
|
||||
this.okBtn.BorderSize = 1;
|
||||
this.okBtn.ClickedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.okBtn.FlatAppearance.BorderSize = 0;
|
||||
this.okBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.okBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(250)))), ((int)(((byte)(165)))));
|
||||
this.okBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.okBtn.Font = new System.Drawing.Font("Segoe UI", 12F);
|
||||
this.okBtn.ForeColor = System.Drawing.Color.White;
|
||||
this.okBtn.GradientColorPrimary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.okBtn.GradientColorSecondary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.okBtn.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(250)))), ((int)(((byte)(165)))));
|
||||
this.okBtn.Image = ((System.Drawing.Image)(resources.GetObject("okBtn.Image")));
|
||||
this.okBtn.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.okBtn.Location = new System.Drawing.Point(115, 399);
|
||||
this.okBtn.Name = "okBtn";
|
||||
this.okBtn.Size = new System.Drawing.Size(120, 40);
|
||||
this.okBtn.TabIndex = 23;
|
||||
this.okBtn.Text = "Ok";
|
||||
this.okBtn.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
this.okBtn.TextColor = System.Drawing.Color.White;
|
||||
this.okBtn.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
||||
this.okBtn.UseVisualStyleBackColor = false;
|
||||
this.okBtn.Click += new System.EventHandler(this.okBtn_Click_1);
|
||||
//
|
||||
// MultiTextPrompt
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(358, 385);
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.ClientSize = new System.Drawing.Size(477, 446);
|
||||
this.Controls.Add(this.cancelBtn);
|
||||
this.Controls.Add(this.okBtn);
|
||||
this.Controls.Add(this.PromptTextBox);
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Location = new System.Drawing.Point(0, 0);
|
||||
this.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.MinimizeBox = false;
|
||||
this.MinimumSize = new System.Drawing.Size(270, 335);
|
||||
this.MinimumSize = new System.Drawing.Size(360, 412);
|
||||
this.Name = "MultiTextPrompt";
|
||||
this.Padding = new System.Windows.Forms.Padding(20, 60, 20, 40);
|
||||
this.Style = MetroFramework.MetroColorStyle.Black;
|
||||
this.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.Padding = new System.Windows.Forms.Padding(27, 74, 27, 49);
|
||||
this.Text = "Multi-Text Prompt";
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -117,7 +155,7 @@
|
||||
#endregion
|
||||
|
||||
private MetroFramework.Controls.MetroTextBox PromptTextBox;
|
||||
private MetroFramework.Controls.MetroButton okBtn;
|
||||
private MetroFramework.Controls.MetroButton cancelBtn;
|
||||
private CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton cancelBtn;
|
||||
internal CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton okBtn;
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,10 @@
|
||||
using System;
|
||||
using PckStudio.ToolboxItems;
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace PckStudio.Forms.Additional_Popups
|
||||
{
|
||||
public partial class MultiTextPrompt : MetroFramework.Forms.MetroForm
|
||||
public partial class MultiTextPrompt : ThemeForm
|
||||
{
|
||||
public string[] TextOutput => DialogResult == DialogResult.OK ? PromptTextBox.Lines : Array.Empty<string>();
|
||||
public MultiTextPrompt(string[] list = null)
|
||||
@@ -12,12 +13,17 @@ namespace PckStudio.Forms.Additional_Popups
|
||||
PromptTextBox.Lines = list;
|
||||
}
|
||||
|
||||
private void okBtn_Click(object sender, EventArgs e)
|
||||
private void cancelBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void okBtn_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
private void cancelBtn_Click(object sender, EventArgs e)
|
||||
private void cancelBtn_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.Cancel;
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -30,9 +30,9 @@
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NumericPrompt));
|
||||
this.TextLabel = new System.Windows.Forms.Label();
|
||||
this.OKButton = new System.Windows.Forms.Button();
|
||||
this.ContextLabel = new MetroFramework.Controls.MetroLabel();
|
||||
this.ValueUpDown = new System.Windows.Forms.NumericUpDown();
|
||||
this.setBtn = new CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton();
|
||||
((System.ComponentModel.ISupportInitialize)(this.ValueUpDown)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
@@ -42,14 +42,6 @@
|
||||
this.TextLabel.ForeColor = System.Drawing.Color.White;
|
||||
this.TextLabel.Name = "TextLabel";
|
||||
//
|
||||
// OKButton
|
||||
//
|
||||
resources.ApplyResources(this.OKButton, "OKButton");
|
||||
this.OKButton.ForeColor = System.Drawing.Color.White;
|
||||
this.OKButton.Name = "OKButton";
|
||||
this.OKButton.UseVisualStyleBackColor = true;
|
||||
this.OKButton.Click += new System.EventHandler(this.OKBtn_Click);
|
||||
//
|
||||
// ContextLabel
|
||||
//
|
||||
resources.ApplyResources(this.ContextLabel, "ContextLabel");
|
||||
@@ -63,22 +55,39 @@
|
||||
resources.ApplyResources(this.ValueUpDown, "ValueUpDown");
|
||||
this.ValueUpDown.Name = "ValueUpDown";
|
||||
//
|
||||
// setBtn
|
||||
//
|
||||
this.setBtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.setBtn.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.setBtn.BorderRadius = 10;
|
||||
this.setBtn.BorderSize = 1;
|
||||
this.setBtn.ClickedColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.setBtn.FlatAppearance.BorderSize = 0;
|
||||
this.setBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.setBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(250)))), ((int)(((byte)(165)))));
|
||||
resources.ApplyResources(this.setBtn, "setBtn");
|
||||
this.setBtn.ForeColor = System.Drawing.Color.White;
|
||||
this.setBtn.GradientColorPrimary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.setBtn.GradientColorSecondary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.setBtn.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(250)))), ((int)(((byte)(165)))));
|
||||
this.setBtn.Name = "setBtn";
|
||||
this.setBtn.TextColor = System.Drawing.Color.White;
|
||||
this.setBtn.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// NumericPrompt
|
||||
//
|
||||
this.AcceptButton = this.OKButton;
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.Controls.Add(this.setBtn);
|
||||
this.Controls.Add(this.ValueUpDown);
|
||||
this.Controls.Add(this.ContextLabel);
|
||||
this.Controls.Add(this.OKButton);
|
||||
this.Controls.Add(this.TextLabel);
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "NumericPrompt";
|
||||
this.Resizable = false;
|
||||
this.ShadowType = MetroFramework.Forms.MetroFormShadowType.DropShadow;
|
||||
this.Style = MetroFramework.MetroColorStyle.Silver;
|
||||
this.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.Load += new System.EventHandler(this.RenamePrompt_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.ValueUpDown)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
@@ -87,9 +96,9 @@
|
||||
}
|
||||
|
||||
#endregion
|
||||
public System.Windows.Forms.Button OKButton;
|
||||
public System.Windows.Forms.Label TextLabel;
|
||||
public MetroFramework.Controls.MetroLabel ContextLabel;
|
||||
private System.Windows.Forms.NumericUpDown ValueUpDown;
|
||||
internal CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton setBtn;
|
||||
}
|
||||
}
|
||||
@@ -1,10 +1,11 @@
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
using MetroFramework.Forms;
|
||||
using PckStudio.ToolboxItems;
|
||||
|
||||
namespace PckStudio
|
||||
{
|
||||
public partial class NumericPrompt : MetroForm
|
||||
public partial class NumericPrompt : ThemeForm
|
||||
{
|
||||
public int SelectedValue => (int)ValueUpDown.Value;
|
||||
|
||||
@@ -27,7 +28,7 @@ namespace PckStudio
|
||||
|
||||
private void OKBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.OK;
|
||||
|
||||
}
|
||||
|
||||
private void RenamePrompt_Load(object sender, EventArgs e)
|
||||
|
||||
@@ -127,10 +127,13 @@
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="TextLabel.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>19, 90</value>
|
||||
<value>42, 114</value>
|
||||
</data>
|
||||
<data name="TextLabel.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>4, 0, 4, 0</value>
|
||||
</data>
|
||||
<data name="TextLabel.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>34, 13</value>
|
||||
<value>42, 16</value>
|
||||
</data>
|
||||
<data name="TextLabel.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
@@ -153,47 +156,17 @@
|
||||
<data name=">>TextLabel.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="OKButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Bottom</value>
|
||||
</data>
|
||||
<data name="OKButton.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
|
||||
<value>Flat</value>
|
||||
</data>
|
||||
<data name="OKButton.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="OKButton.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>95, 118</value>
|
||||
</data>
|
||||
<data name="OKButton.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>75, 23</value>
|
||||
</data>
|
||||
<data name="OKButton.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="OKButton.Text" xml:space="preserve">
|
||||
<value>Set</value>
|
||||
</data>
|
||||
<data name=">>OKButton.Name" xml:space="preserve">
|
||||
<value>OKButton</value>
|
||||
</data>
|
||||
<data name=">>OKButton.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>OKButton.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>OKButton.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="ContextLabel.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Top</value>
|
||||
</data>
|
||||
<data name="ContextLabel.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>28, 27</value>
|
||||
<value>38, 33</value>
|
||||
</data>
|
||||
<data name="ContextLabel.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>4, 0, 4, 0</value>
|
||||
</data>
|
||||
<data name="ContextLabel.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>208, 58</value>
|
||||
<value>277, 71</value>
|
||||
</data>
|
||||
<data name="ContextLabel.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>6</value>
|
||||
@@ -211,13 +184,16 @@
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>ContextLabel.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="ValueUpDown.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>71, 88</value>
|
||||
<value>92, 108</value>
|
||||
</data>
|
||||
<data name="ValueUpDown.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>4, 4, 4, 4</value>
|
||||
</data>
|
||||
<data name="ValueUpDown.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>164, 20</value>
|
||||
<value>219, 22</value>
|
||||
</data>
|
||||
<data name="ValueUpDown.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>7</value>
|
||||
@@ -232,16 +208,64 @@
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>ValueUpDown.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="setBtn.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
|
||||
<value>Flat</value>
|
||||
</data>
|
||||
<data name="setBtn.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 12pt</value>
|
||||
</data>
|
||||
<data name="setBtn.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABGdBTUEAALGPC/xhBQAAALtJREFUSEvt
|
||||
1TEKwkAQheG9hKA23ke8T7TzpBZBD6HNOuv+ivDGxOyQLh9MYd5zVgwhaTFJzvlgc7GZqmPFMCv2td9k
|
||||
/BCKmY+jqH8bPoRS5IDiTKwoRA/4/X3y+Q+IYp0iD2OdIg9jnSIPY50i99xtOpsdc7R52LhYp8g98gDZ
|
||||
tVONFBVF7llT+bBrmxopKorc4x2wrZGiosg9s/9F75u8Yppv8rVWQnrWKQvLC+f2qrUpP3DPusU/UnoC
|
||||
1EgDy/vtD/MAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="setBtn.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="setBtn.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>116, 152</value>
|
||||
</data>
|
||||
<data name="setBtn.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>120, 40</value>
|
||||
</data>
|
||||
<data name="setBtn.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>24</value>
|
||||
</data>
|
||||
<data name="setBtn.Text" xml:space="preserve">
|
||||
<value>Set</value>
|
||||
</data>
|
||||
<data name="setBtn.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleRight</value>
|
||||
</data>
|
||||
<data name="setBtn.TextImageRelation" type="System.Windows.Forms.TextImageRelation, System.Windows.Forms">
|
||||
<value>ImageBeforeText</value>
|
||||
</data>
|
||||
<data name=">>setBtn.Name" xml:space="preserve">
|
||||
<value>setBtn</value>
|
||||
</data>
|
||||
<data name=">>setBtn.Type" xml:space="preserve">
|
||||
<value>CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton, CBH-WinForm-Theme-Library, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>setBtn.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>setBtn.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
|
||||
<value>6, 13</value>
|
||||
<value>8, 16</value>
|
||||
</data>
|
||||
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>264, 150</value>
|
||||
<value>352, 199</value>
|
||||
</data>
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
@@ -2749,9 +2773,21 @@
|
||||
AP//AAA=
|
||||
</value>
|
||||
</data>
|
||||
<data name="$this.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="$this.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>4, 4, 4, 4</value>
|
||||
</data>
|
||||
<data name="$this.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>27, 74, 27, 25</value>
|
||||
</data>
|
||||
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
|
||||
<value>CenterParent</value>
|
||||
</data>
|
||||
<data name="$this.Text" xml:space="preserve">
|
||||
<value>Numeric Prompt</value>
|
||||
</data>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>NumericPrompt</value>
|
||||
</data>
|
||||
|
||||
@@ -30,23 +30,13 @@
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TextPrompt));
|
||||
this.InputTextBox = new MetroFramework.Controls.MetroTextBox();
|
||||
this.CancelButton = new CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton();
|
||||
this.OKButton = new CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// TextLabel
|
||||
// InputTextBox
|
||||
//
|
||||
resources.ApplyResources(this.TextLabel, "TextLabel");
|
||||
this.TextLabel.ForeColor = System.Drawing.Color.White;
|
||||
this.TextLabel.Name = "TextLabel";
|
||||
//
|
||||
// OKButton
|
||||
//
|
||||
resources.ApplyResources(this.OKButton, "OKButton");
|
||||
this.OKButton.ForeColor = System.Drawing.Color.White;
|
||||
this.OKButton.Name = "OKButton";
|
||||
this.OKButton.UseVisualStyleBackColor = true;
|
||||
this.OKButton.Click += new System.EventHandler(this.OKBtn_Click);
|
||||
//
|
||||
this.InputTextBox.CustomButton.Image = null;
|
||||
this.InputTextBox.CustomButton.Location = new System.Drawing.Point(61, 1);
|
||||
@@ -61,7 +51,7 @@
|
||||
this.InputTextBox.Location = new System.Drawing.Point(7, 9);
|
||||
this.InputTextBox.MaxLength = 32767;
|
||||
this.InputTextBox.Multiline = true;
|
||||
this.InputTextBox.Name = "PromptTextBox";
|
||||
this.InputTextBox.Name = "InputTextBox";
|
||||
this.InputTextBox.PasswordChar = '\0';
|
||||
this.InputTextBox.PromptText = "Paste Multi-line text here...";
|
||||
this.InputTextBox.ScrollBars = System.Windows.Forms.ScrollBars.None;
|
||||
@@ -79,7 +69,7 @@
|
||||
this.InputTextBox.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
|
||||
this.InputTextBox.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
|
||||
//
|
||||
// SaveButton
|
||||
// OKButton
|
||||
//
|
||||
this.OKButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.OKButton.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
@@ -95,10 +85,10 @@
|
||||
this.OKButton.GradientColorPrimary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.OKButton.GradientColorSecondary = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.OKButton.HoverOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(250)))), ((int)(((byte)(165)))));
|
||||
this.OKButton.Image = ((System.Drawing.Image)(resources.GetObject("SaveButton.Image")));
|
||||
this.OKButton.Image = ((System.Drawing.Image)(resources.GetObject("OKButton.Image")));
|
||||
this.OKButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.OKButton.Location = new System.Drawing.Point(56, 300);
|
||||
this.OKButton.Name = "SaveButton";
|
||||
this.OKButton.Location = new System.Drawing.Point(119, 300);
|
||||
this.OKButton.Name = "OKButton";
|
||||
this.OKButton.Size = new System.Drawing.Size(120, 40);
|
||||
this.OKButton.TabIndex = 21;
|
||||
this.OKButton.Text = "Save";
|
||||
@@ -108,34 +98,27 @@
|
||||
this.OKButton.UseVisualStyleBackColor = false;
|
||||
this.OKButton.Click += new System.EventHandler(this.OKBtn_Click);
|
||||
//
|
||||
// contextLabel
|
||||
//
|
||||
resources.ApplyResources(this.contextLabel, "contextLabel");
|
||||
this.contextLabel.FontSize = MetroFramework.MetroLabelSize.Small;
|
||||
this.contextLabel.Name = "contextLabel";
|
||||
this.contextLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.contextLabel.WrapToLine = true;
|
||||
//
|
||||
// TextPrompt
|
||||
//
|
||||
this.AcceptButton = this.OKButton;
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.ClientSize = new System.Drawing.Size(358, 348);
|
||||
this.Controls.Add(this.contextLabel);
|
||||
this.Controls.Add(this.OKButton);
|
||||
this.Controls.Add(this.InputTextBox);
|
||||
this.Font = new System.Drawing.Font("Segoe UI", 8.25F);
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Location = new System.Drawing.Point(0, 0);
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "TextPrompt";
|
||||
this.Padding = new System.Windows.Forms.Padding(20, 60, 20, 40);
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "Text Prompt";
|
||||
this.Load += new System.EventHandler(this.RenamePrompt_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
349
PCK-Studio/Forms/Editor/AnimationEditor.Designer.cs
generated
349
PCK-Studio/Forms/Editor/AnimationEditor.Designer.cs
generated
@@ -28,72 +28,72 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AnimationEditor));
|
||||
this.frameTreeView = new System.Windows.Forms.TreeView();
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.addFrameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.removeFrameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.TextureIcons = new System.Windows.Forms.ImageList(this.components);
|
||||
this.menuStrip = new System.Windows.Forms.MenuStrip();
|
||||
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.saveToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.importToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.importAnimationTextureToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.importJavaAnimationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.importGifToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.exportAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.exportJavaAnimationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.gifToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.bulkAnimationSpeedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.changeTileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.howToInterpolation = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.editorControlsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.setBulkSpedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.javaAnimationSupportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.InterpolationCheckbox = new MetroFramework.Controls.MetroCheckBox();
|
||||
this.AnimationStartStopBtn = new MetroFramework.Controls.MetroButton();
|
||||
this.tileLabel = new MetroFramework.Controls.MetroLabel();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.animationPictureBox = new PckStudio.ToolboxItems.AnimationPictureBox();
|
||||
this.frameTimeandTicksToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.contextMenuStrip1.SuspendLayout();
|
||||
this.menuStrip.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.animationPictureBox)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// frameTreeView
|
||||
//
|
||||
this.frameTreeView.AllowDrop = true;
|
||||
this.frameTreeView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AnimationEditor));
|
||||
this.frameTreeView = new System.Windows.Forms.TreeView();
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.addFrameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.removeFrameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.TextureIcons = new System.Windows.Forms.ImageList(this.components);
|
||||
this.menuStrip = new System.Windows.Forms.MenuStrip();
|
||||
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.saveToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.bulkAnimationSpeedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.importJavaAnimationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.exportJavaAnimationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.changeTileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.importGifToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.howToInterpolation = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.editorControlsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.setBulkSpedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.javaAnimationSupportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.importToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.importAnimationTextureToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.exportAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.gifToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.InterpolationCheckbox = new MetroFramework.Controls.MetroCheckBox();
|
||||
this.AnimationStartStopBtn = new MetroFramework.Controls.MetroButton();
|
||||
this.tileLabel = new MetroFramework.Controls.MetroLabel();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.animationPictureBox = new PckStudio.ToolboxItems.AnimationPictureBox();
|
||||
this.frameTimeandTicksToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.contextMenuStrip1.SuspendLayout();
|
||||
this.menuStrip.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.animationPictureBox)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// frameTreeView
|
||||
//
|
||||
this.frameTreeView.AllowDrop = true;
|
||||
this.frameTreeView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.frameTreeView.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.frameTreeView.ContextMenuStrip = this.contextMenuStrip1;
|
||||
this.frameTreeView.ForeColor = System.Drawing.Color.White;
|
||||
this.frameTreeView.ImageIndex = 0;
|
||||
this.frameTreeView.ImageList = this.TextureIcons;
|
||||
this.frameTreeView.Location = new System.Drawing.Point(20, 88);
|
||||
this.frameTreeView.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.frameTreeView.Name = "frameTreeView";
|
||||
this.frameTreeView.SelectedImageIndex = 0;
|
||||
this.frameTreeView.ShowLines = false;
|
||||
this.frameTreeView.ShowRootLines = false;
|
||||
this.frameTreeView.Size = new System.Drawing.Size(134, 253);
|
||||
this.frameTreeView.TabIndex = 15;
|
||||
this.frameTreeView.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.frameTreeView_ItemDrag);
|
||||
this.frameTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.frameTreeView_AfterSelect);
|
||||
this.frameTreeView.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_doubleClick);
|
||||
this.frameTreeView.DragDrop += new System.Windows.Forms.DragEventHandler(this.frameTreeView_DragDrop);
|
||||
this.frameTreeView.DragEnter += new System.Windows.Forms.DragEventHandler(this.frameTreeView_DragEnter);
|
||||
this.frameTreeView.DragOver += new System.Windows.Forms.DragEventHandler(this.frameTreeView_DragOver);
|
||||
//
|
||||
// contextMenuStrip1
|
||||
//
|
||||
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.frameTreeView.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.frameTreeView.ContextMenuStrip = this.contextMenuStrip1;
|
||||
this.frameTreeView.ForeColor = System.Drawing.Color.White;
|
||||
this.frameTreeView.ImageIndex = 0;
|
||||
this.frameTreeView.ImageList = this.TextureIcons;
|
||||
this.frameTreeView.Location = new System.Drawing.Point(20, 88);
|
||||
this.frameTreeView.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.frameTreeView.Name = "frameTreeView";
|
||||
this.frameTreeView.SelectedImageIndex = 0;
|
||||
this.frameTreeView.ShowLines = false;
|
||||
this.frameTreeView.ShowRootLines = false;
|
||||
this.frameTreeView.Size = new System.Drawing.Size(134, 253);
|
||||
this.frameTreeView.TabIndex = 15;
|
||||
this.frameTreeView.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.frameTreeView_ItemDrag);
|
||||
this.frameTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.frameTreeView_AfterSelect);
|
||||
this.frameTreeView.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_doubleClick);
|
||||
this.frameTreeView.DragDrop += new System.Windows.Forms.DragEventHandler(this.frameTreeView_DragDrop);
|
||||
this.frameTreeView.DragEnter += new System.Windows.Forms.DragEventHandler(this.frameTreeView_DragEnter);
|
||||
this.frameTreeView.DragOver += new System.Windows.Forms.DragEventHandler(this.frameTreeView_DragOver);
|
||||
//
|
||||
// contextMenuStrip1
|
||||
//
|
||||
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.addFrameToolStripMenuItem,
|
||||
this.removeFrameToolStripMenuItem});
|
||||
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||||
@@ -193,6 +193,13 @@
|
||||
this.changeTileToolStripMenuItem.Text = "Change Tile";
|
||||
this.changeTileToolStripMenuItem.Click += new System.EventHandler(this.changeTileToolStripMenuItem_Click);
|
||||
//
|
||||
// importGifToolStripMenuItem
|
||||
//
|
||||
this.importGifToolStripMenuItem.Name = "importGifToolStripMenuItem";
|
||||
this.importGifToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
|
||||
this.importGifToolStripMenuItem.Text = "Import Gif";
|
||||
this.importGifToolStripMenuItem.Click += new System.EventHandler(this.importGifToolStripMenuItem_Click);
|
||||
//
|
||||
// helpToolStripMenuItem
|
||||
//
|
||||
this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
@@ -200,98 +207,102 @@
|
||||
this.editorControlsToolStripMenuItem,
|
||||
this.setBulkSpedToolStripMenuItem,
|
||||
this.javaAnimationSupportToolStripMenuItem});
|
||||
this.helpToolStripMenuItem.ForeColor = System.Drawing.Color.White;
|
||||
this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
|
||||
this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
|
||||
this.helpToolStripMenuItem.Text = "Help";
|
||||
//
|
||||
// howToInterpolation
|
||||
//
|
||||
this.howToInterpolation.Name = "howToInterpolation";
|
||||
this.howToInterpolation.Size = new System.Drawing.Size(200, 22);
|
||||
this.howToInterpolation.Text = "Interpolation";
|
||||
this.howToInterpolation.Click += new System.EventHandler(this.howToInterpolation_Click);
|
||||
//
|
||||
// editorControlsToolStripMenuItem
|
||||
//
|
||||
this.editorControlsToolStripMenuItem.Name = "editorControlsToolStripMenuItem";
|
||||
this.editorControlsToolStripMenuItem.Size = new System.Drawing.Size(200, 22);
|
||||
this.editorControlsToolStripMenuItem.Text = "Editor Controls";
|
||||
this.editorControlsToolStripMenuItem.Click += new System.EventHandler(this.editorControlsToolStripMenuItem_Click);
|
||||
//
|
||||
// setBulkSpedToolStripMenuItem
|
||||
//
|
||||
this.setBulkSpedToolStripMenuItem.Name = "setBulkSpedToolStripMenuItem";
|
||||
this.setBulkSpedToolStripMenuItem.Size = new System.Drawing.Size(200, 22);
|
||||
this.setBulkSpedToolStripMenuItem.Text = "Set Bulk Speed";
|
||||
this.setBulkSpedToolStripMenuItem.Click += new System.EventHandler(this.setBulkSpeedToolStripMenuItem_Click);
|
||||
//
|
||||
// javaAnimationSupportToolStripMenuItem
|
||||
//
|
||||
this.javaAnimationSupportToolStripMenuItem.Name = "javaAnimationSupportToolStripMenuItem";
|
||||
this.javaAnimationSupportToolStripMenuItem.Size = new System.Drawing.Size(200, 22);
|
||||
this.javaAnimationSupportToolStripMenuItem.Text = "Java Animation Support";
|
||||
this.javaAnimationSupportToolStripMenuItem.Click += new System.EventHandler(this.javaAnimationSupportToolStripMenuItem_Click);
|
||||
//
|
||||
// InterpolationCheckbox
|
||||
//
|
||||
this.InterpolationCheckbox.AutoSize = true;
|
||||
this.InterpolationCheckbox.Location = new System.Drawing.Point(161, 63);
|
||||
this.InterpolationCheckbox.Name = "InterpolationCheckbox";
|
||||
this.InterpolationCheckbox.Size = new System.Drawing.Size(129, 15);
|
||||
this.InterpolationCheckbox.TabIndex = 17;
|
||||
this.InterpolationCheckbox.Text = "Enable Interpolation";
|
||||
this.InterpolationCheckbox.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.InterpolationCheckbox.UseSelectable = true;
|
||||
this.InterpolationCheckbox.CheckedChanged += new System.EventHandler(this.InterpolationCheckbox_CheckedChanged);
|
||||
//
|
||||
// AnimationStartStopBtn
|
||||
//
|
||||
this.AnimationStartStopBtn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
this.helpToolStripMenuItem.ForeColor = System.Drawing.Color.White;
|
||||
this.helpToolStripMenuItem.Image = global::PckStudio.Properties.Resources.help_30px;
|
||||
this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
|
||||
this.helpToolStripMenuItem.Size = new System.Drawing.Size(60, 20);
|
||||
this.helpToolStripMenuItem.Text = "Help";
|
||||
//
|
||||
// howToInterpolation
|
||||
//
|
||||
this.howToInterpolation.Name = "howToInterpolation";
|
||||
this.howToInterpolation.Size = new System.Drawing.Size(200, 22);
|
||||
this.howToInterpolation.Text = "Interpolation";
|
||||
this.howToInterpolation.Click += new System.EventHandler(this.howToInterpolation_Click);
|
||||
//
|
||||
// editorControlsToolStripMenuItem
|
||||
//
|
||||
this.editorControlsToolStripMenuItem.Name = "editorControlsToolStripMenuItem";
|
||||
this.editorControlsToolStripMenuItem.Size = new System.Drawing.Size(200, 22);
|
||||
this.editorControlsToolStripMenuItem.Text = "Editor Controls";
|
||||
this.editorControlsToolStripMenuItem.Click += new System.EventHandler(this.editorControlsToolStripMenuItem_Click);
|
||||
//
|
||||
// setBulkSpedToolStripMenuItem
|
||||
//
|
||||
this.setBulkSpedToolStripMenuItem.Name = "setBulkSpedToolStripMenuItem";
|
||||
this.setBulkSpedToolStripMenuItem.Size = new System.Drawing.Size(200, 22);
|
||||
this.setBulkSpedToolStripMenuItem.Text = "Set Bulk Speed";
|
||||
this.setBulkSpedToolStripMenuItem.Click += new System.EventHandler(this.setBulkSpeedToolStripMenuItem_Click);
|
||||
//
|
||||
// javaAnimationSupportToolStripMenuItem
|
||||
//
|
||||
this.javaAnimationSupportToolStripMenuItem.Name = "javaAnimationSupportToolStripMenuItem";
|
||||
this.javaAnimationSupportToolStripMenuItem.Size = new System.Drawing.Size(200, 22);
|
||||
this.javaAnimationSupportToolStripMenuItem.Text = "Java Animation Support";
|
||||
this.javaAnimationSupportToolStripMenuItem.Click += new System.EventHandler(this.javaAnimationSupportToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripSeparator1
|
||||
//
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 6);
|
||||
//
|
||||
// importToolStripMenuItem
|
||||
//
|
||||
this.importToolStripMenuItem.Name = "importToolStripMenuItem";
|
||||
this.importToolStripMenuItem.Size = new System.Drawing.Size(32, 19);
|
||||
//
|
||||
// importAnimationTextureToolStripMenuItem
|
||||
//
|
||||
this.importAnimationTextureToolStripMenuItem.Name = "importAnimationTextureToolStripMenuItem";
|
||||
this.importAnimationTextureToolStripMenuItem.Size = new System.Drawing.Size(32, 19);
|
||||
//
|
||||
// exportAsToolStripMenuItem
|
||||
//
|
||||
this.exportAsToolStripMenuItem.Name = "exportAsToolStripMenuItem";
|
||||
this.exportAsToolStripMenuItem.Size = new System.Drawing.Size(32, 19);
|
||||
//
|
||||
// gifToolStripMenuItem
|
||||
//
|
||||
this.gifToolStripMenuItem.Name = "gifToolStripMenuItem";
|
||||
this.gifToolStripMenuItem.Size = new System.Drawing.Size(32, 19);
|
||||
//
|
||||
// InterpolationCheckbox
|
||||
//
|
||||
this.InterpolationCheckbox.AutoSize = true;
|
||||
this.InterpolationCheckbox.Location = new System.Drawing.Point(161, 63);
|
||||
this.InterpolationCheckbox.Name = "InterpolationCheckbox";
|
||||
this.InterpolationCheckbox.Size = new System.Drawing.Size(129, 15);
|
||||
this.InterpolationCheckbox.TabIndex = 17;
|
||||
this.InterpolationCheckbox.Text = "Enable Interpolation";
|
||||
this.InterpolationCheckbox.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.InterpolationCheckbox.UseSelectable = true;
|
||||
this.InterpolationCheckbox.CheckedChanged += new System.EventHandler(this.InterpolationCheckbox_CheckedChanged);
|
||||
//
|
||||
// AnimationStartStopBtn
|
||||
//
|
||||
this.AnimationStartStopBtn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.AnimationStartStopBtn.Location = new System.Drawing.Point(157, 317);
|
||||
this.AnimationStartStopBtn.Name = "AnimationStartStopBtn";
|
||||
this.AnimationStartStopBtn.Size = new System.Drawing.Size(232, 24);
|
||||
this.AnimationStartStopBtn.Style = MetroFramework.MetroColorStyle.White;
|
||||
this.AnimationStartStopBtn.TabIndex = 18;
|
||||
this.AnimationStartStopBtn.Text = "Play Animation";
|
||||
this.AnimationStartStopBtn.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.AnimationStartStopBtn.UseSelectable = true;
|
||||
this.AnimationStartStopBtn.Click += new System.EventHandler(this.AnimationStartStopBtn_Click);
|
||||
//
|
||||
// tileLabel
|
||||
//
|
||||
this.tileLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.tileLabel.AutoSize = true;
|
||||
this.tileLabel.Location = new System.Drawing.Point(20, 341);
|
||||
this.tileLabel.MinimumSize = new System.Drawing.Size(170, 19);
|
||||
this.tileLabel.Name = "tileLabel";
|
||||
this.tileLabel.Size = new System.Drawing.Size(57, 19);
|
||||
this.tileLabel.TabIndex = 20;
|
||||
this.tileLabel.Text = "tileLabel";
|
||||
this.tileLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pictureBox1.Location = new System.Drawing.Point(154, 60);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(238, 24);
|
||||
this.pictureBox1.TabIndex = 21;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// animationPictureBox
|
||||
//
|
||||
this.animationPictureBox.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.animationPictureBox.Location = new System.Drawing.Point(157, 88);
|
||||
this.animationPictureBox.Name = "animationPictureBox";
|
||||
this.animationPictureBox.Size = new System.Drawing.Size(235, 223);
|
||||
this.animationPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.animationPictureBox.TabIndex = 16;
|
||||
this.animationPictureBox.TabStop = false;
|
||||
this.AnimationStartStopBtn.Location = new System.Drawing.Point(157, 317);
|
||||
this.AnimationStartStopBtn.Name = "AnimationStartStopBtn";
|
||||
this.AnimationStartStopBtn.Size = new System.Drawing.Size(232, 24);
|
||||
this.AnimationStartStopBtn.Style = MetroFramework.MetroColorStyle.White;
|
||||
this.AnimationStartStopBtn.TabIndex = 18;
|
||||
this.AnimationStartStopBtn.Text = "Play Animation";
|
||||
this.AnimationStartStopBtn.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.AnimationStartStopBtn.UseSelectable = true;
|
||||
this.AnimationStartStopBtn.Click += new System.EventHandler(this.AnimationStartStopBtn_Click);
|
||||
//
|
||||
// tileLabel
|
||||
//
|
||||
this.tileLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.tileLabel.AutoSize = true;
|
||||
this.tileLabel.Location = new System.Drawing.Point(20, 341);
|
||||
this.tileLabel.MinimumSize = new System.Drawing.Size(170, 19);
|
||||
this.tileLabel.Name = "tileLabel";
|
||||
this.tileLabel.Size = new System.Drawing.Size(57, 19);
|
||||
this.tileLabel.TabIndex = 20;
|
||||
this.tileLabel.Text = "tileLabel";
|
||||
this.tileLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
@@ -303,12 +314,26 @@
|
||||
this.pictureBox1.TabIndex = 21;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// importGifToolStripMenuItem
|
||||
// animationPictureBox
|
||||
//
|
||||
this.importGifToolStripMenuItem.Name = "importGifToolStripMenuItem";
|
||||
this.importGifToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
|
||||
this.importGifToolStripMenuItem.Text = "Import Gif";
|
||||
this.importGifToolStripMenuItem.Click += new System.EventHandler(this.importGifToolStripMenuItem_Click);
|
||||
this.animationPictureBox.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.animationPictureBox.BlendColor = System.Drawing.Color.White;
|
||||
this.animationPictureBox.BlendMode = PckStudio.Extensions.BlendMode.Add;
|
||||
this.animationPictureBox.Image = null;
|
||||
this.animationPictureBox.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.Default;
|
||||
this.animationPictureBox.Location = new System.Drawing.Point(157, 88);
|
||||
this.animationPictureBox.Name = "animationPictureBox";
|
||||
this.animationPictureBox.Size = new System.Drawing.Size(235, 223);
|
||||
this.animationPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.animationPictureBox.TabIndex = 16;
|
||||
this.animationPictureBox.TabStop = false;
|
||||
//
|
||||
// frameTimeandTicksToolStripMenuItem
|
||||
//
|
||||
this.frameTimeandTicksToolStripMenuItem.Name = "frameTimeandTicksToolStripMenuItem";
|
||||
this.frameTimeandTicksToolStripMenuItem.Size = new System.Drawing.Size(32, 19);
|
||||
//
|
||||
// AnimationEditor
|
||||
//
|
||||
@@ -334,8 +359,8 @@
|
||||
this.contextMenuStrip1.ResumeLayout(false);
|
||||
this.menuStrip.ResumeLayout(false);
|
||||
this.menuStrip.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.animationPictureBox)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.animationPictureBox)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
|
||||
@@ -158,7 +158,6 @@ namespace PckStudio.Forms.Editor
|
||||
if (!(treeView1.SelectedNode.Tag is BehaviourFile.RiderPositionOverride entry)) return;
|
||||
|
||||
var diag = new AddEntry("behaviours", ApplicationScope.EntityImages);
|
||||
diag.acceptBtn.Text = "Save";
|
||||
|
||||
if (diag.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
|
||||
50
PCK-Studio/Forms/Editor/LOCEditor.Designer.cs
generated
50
PCK-Studio/Forms/Editor/LOCEditor.Designer.cs
generated
@@ -31,6 +31,10 @@
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LOCEditor));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.addDisplayIDToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.deleteDisplayIDToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
@@ -41,11 +45,11 @@
|
||||
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.locSort = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.buttonReplaceAll = new System.Windows.Forms.Button();
|
||||
this.dataGridViewLocEntryData = new System.Windows.Forms.DataGridView();
|
||||
this.textBoxReplaceAll = new System.Windows.Forms.TextBox();
|
||||
this.treeViewLocKeys = new System.Windows.Forms.TreeView();
|
||||
this.ReplaceAllButton = new CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton();
|
||||
this.buttonReplaceAll = new System.Windows.Forms.Button();
|
||||
this.contextMenuStrip1.SuspendLayout();
|
||||
this.GridContextMenu.SuspendLayout();
|
||||
this.menuStrip.SuspendLayout();
|
||||
@@ -106,6 +110,7 @@
|
||||
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.saveToolStripMenuItem});
|
||||
this.fileToolStripMenuItem.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
|
||||
this.fileToolStripMenuItem.Image = global::PckStudio.Properties.Resources.file_32px;
|
||||
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
||||
resources.ApplyResources(this.fileToolStripMenuItem, "fileToolStripMenuItem");
|
||||
//
|
||||
@@ -130,22 +135,44 @@
|
||||
//
|
||||
this.dataGridViewLocEntryData.AllowUserToAddRows = false;
|
||||
this.dataGridViewLocEntryData.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
dataGridViewCellStyle1.ForeColor = System.Drawing.Color.White;
|
||||
this.dataGridViewLocEntryData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dataGridViewLocEntryData.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.dataGridViewLocEntryData.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("Segoe UI", 8.25F);
|
||||
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewLocEntryData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("Segoe UI", 8.25F);
|
||||
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewLocEntryData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dataGridViewLocEntryData.ColumnHeadersVisible = false;
|
||||
this.locSort.SetColumnSpan(this.dataGridViewLocEntryData, 2);
|
||||
this.dataGridViewLocEntryData.ContextMenuStrip = this.GridContextMenu;
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("Segoe UI", 8.25F);
|
||||
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dataGridViewLocEntryData.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
resources.ApplyResources(this.dataGridViewLocEntryData, "dataGridViewLocEntryData");
|
||||
this.dataGridViewLocEntryData.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25)))));
|
||||
this.dataGridViewLocEntryData.Name = "dataGridViewLocEntryData";
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("Segoe UI", 8.25F);
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridViewLocEntryData.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.dataGridViewLocEntryData.RowHeadersVisible = false;
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.White;
|
||||
this.dataGridViewLocEntryData.RowsDefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.dataGridViewLocEntryData.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellEndEdit);
|
||||
//
|
||||
// textBoxReplaceAll
|
||||
@@ -189,13 +216,18 @@
|
||||
this.ReplaceAllButton.UseVisualStyleBackColor = false;
|
||||
this.ReplaceAllButton.Click += new System.EventHandler(this.ReplaceAllButton_Click);
|
||||
//
|
||||
// buttonReplaceAll
|
||||
//
|
||||
resources.ApplyResources(this.buttonReplaceAll, "buttonReplaceAll");
|
||||
this.buttonReplaceAll.Name = "buttonReplaceAll";
|
||||
//
|
||||
// LOCEditor
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.Controls.Add(this.menuStrip);
|
||||
this.Controls.Add(this.locSort);
|
||||
this.Controls.Add(this.menuStrip);
|
||||
this.ForeColor = System.Drawing.Color.White;
|
||||
this.Name = "LOCEditor";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.LOCEditor_FormClosing);
|
||||
|
||||
@@ -170,13 +170,13 @@
|
||||
<value>321, 17</value>
|
||||
</metadata>
|
||||
<data name="saveToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>98, 22</value>
|
||||
<value>180, 22</value>
|
||||
</data>
|
||||
<data name="saveToolStripMenuItem.Text" xml:space="preserve">
|
||||
<value>Save</value>
|
||||
</data>
|
||||
<data name="fileToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>37, 20</value>
|
||||
<value>53, 20</value>
|
||||
</data>
|
||||
<data name="fileToolStripMenuItem.Text" xml:space="preserve">
|
||||
<value>File</value>
|
||||
@@ -201,7 +201,7 @@
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>menuStrip.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="locSort.ColumnCount" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
@@ -214,7 +214,7 @@
|
||||
<value>303, 32</value>
|
||||
</data>
|
||||
<data name="dataGridViewLocEntryData.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>554, 525</value>
|
||||
<value>594, 552</value>
|
||||
</data>
|
||||
<data name="dataGridViewLocEntryData.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
@@ -238,7 +238,7 @@
|
||||
<value>303, 3</value>
|
||||
</data>
|
||||
<data name="textBoxReplaceAll.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>457, 22</value>
|
||||
<value>497, 22</value>
|
||||
</data>
|
||||
<data name="textBoxReplaceAll.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
@@ -262,7 +262,7 @@
|
||||
<value>3, 3</value>
|
||||
</data>
|
||||
<data name="treeViewLocKeys.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>294, 554</value>
|
||||
<value>294, 581</value>
|
||||
</data>
|
||||
<data name="treeViewLocKeys.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
@@ -298,7 +298,7 @@
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="ReplaceAllButton.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>766, 3</value>
|
||||
<value>806, 3</value>
|
||||
</data>
|
||||
<data name="ReplaceAllButton.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>91, 23</value>
|
||||
@@ -319,7 +319,7 @@
|
||||
<value>ReplaceAllButton</value>
|
||||
</data>
|
||||
<data name=">>ReplaceAllButton.Type" xml:space="preserve">
|
||||
<value>CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton, CBH-Ultimate-Theme-Library-NET-Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
<value>CBH.Ultimate.Controls.CrEaTiiOn_Ultimate_GradientButton, CBH-WinForm-Theme-Library, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>ReplaceAllButton.Parent" xml:space="preserve">
|
||||
<value>locSort</value>
|
||||
@@ -327,14 +327,17 @@
|
||||
<data name=">>ReplaceAllButton.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="locSort.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
<value>Fill</value>
|
||||
</data>
|
||||
<data name="locSort.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>20, 34</value>
|
||||
<value>0, 24</value>
|
||||
</data>
|
||||
<data name="locSort.RowCount" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="locSort.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>860, 560</value>
|
||||
<value>900, 587</value>
|
||||
</data>
|
||||
<data name="locSort.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
@@ -349,11 +352,26 @@
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>locSort.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="locSort.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
|
||||
<value><?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="dataGridViewLocEntryData" Row="1" RowSpan="1" Column="1" ColumnSpan="2" /><Control Name="textBoxReplaceAll" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="treeViewLocKeys" Row="0" RowSpan="2" Column="0" ColumnSpan="1" /><Control Name="ReplaceAllButton" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /></Controls><Columns Styles="Absolute,300,Percent,100,AutoSize,0" /><Rows Styles="AutoSize,0,Percent,100,Absolute,20" /></TableLayoutSettings></value>
|
||||
</data>
|
||||
<data name="buttonReplaceAll.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="buttonReplaceAll.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>75, 23</value>
|
||||
</data>
|
||||
<data name="buttonReplaceAll.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>buttonReplaceAll.Name" xml:space="preserve">
|
||||
<value>buttonReplaceAll</value>
|
||||
</data>
|
||||
<data name=">>buttonReplaceAll.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
@@ -2872,6 +2890,9 @@
|
||||
AP//AAA=
|
||||
</value>
|
||||
</data>
|
||||
<data name="$this.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="$this.MinimumSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>900, 650</value>
|
||||
</data>
|
||||
|
||||
@@ -56,9 +56,10 @@
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.variantLabel.AutoSize = true;
|
||||
this.variantLabel.Location = new System.Drawing.Point(3, 254);
|
||||
this.variantLabel.Location = new System.Drawing.Point(4, 315);
|
||||
this.variantLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.variantLabel.Name = "variantLabel";
|
||||
this.variantLabel.Size = new System.Drawing.Size(82, 28);
|
||||
this.variantLabel.Size = new System.Drawing.Size(109, 35);
|
||||
this.variantLabel.TabIndex = 18;
|
||||
this.variantLabel.Text = "Variant:";
|
||||
this.variantLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
@@ -70,9 +71,10 @@
|
||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.fileToolStripMenuItem,
|
||||
this.viewToolStripMenuItem});
|
||||
this.menuStrip1.Location = new System.Drawing.Point(20, 60);
|
||||
this.menuStrip1.Location = new System.Drawing.Point(27, 74);
|
||||
this.menuStrip1.Name = "menuStrip1";
|
||||
this.menuStrip1.Size = new System.Drawing.Size(590, 24);
|
||||
this.menuStrip1.Padding = new System.Windows.Forms.Padding(8, 2, 0, 2);
|
||||
this.menuStrip1.Size = new System.Drawing.Size(786, 24);
|
||||
this.menuStrip1.TabIndex = 16;
|
||||
this.menuStrip1.Text = "menuStrip1";
|
||||
//
|
||||
@@ -147,7 +149,8 @@
|
||||
this.tableLayoutPanel1.Controls.Add(this.variantComboBox, 1, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.variantLabel, 0, 2);
|
||||
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(20, 84);
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(27, 98);
|
||||
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.RowCount = 6;
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 40F));
|
||||
@@ -156,7 +159,7 @@
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 40F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(590, 565);
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(786, 700);
|
||||
this.tableLayoutPanel1.TabIndex = 17;
|
||||
//
|
||||
// originalPictureBox
|
||||
@@ -164,10 +167,11 @@
|
||||
this.originalPictureBox.BackColor = System.Drawing.Color.Transparent;
|
||||
this.originalPictureBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.originalPictureBox.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.NearestNeighbor;
|
||||
this.originalPictureBox.Location = new System.Drawing.Point(238, 3);
|
||||
this.originalPictureBox.Location = new System.Drawing.Point(317, 4);
|
||||
this.originalPictureBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.originalPictureBox.Name = "originalPictureBox";
|
||||
this.tableLayoutPanel1.SetRowSpan(this.originalPictureBox, 6);
|
||||
this.originalPictureBox.Size = new System.Drawing.Size(349, 559);
|
||||
this.originalPictureBox.Size = new System.Drawing.Size(465, 692);
|
||||
this.originalPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.originalPictureBox.TabIndex = 4;
|
||||
this.originalPictureBox.TabStop = false;
|
||||
@@ -184,9 +188,10 @@
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.selectTilePictureBox, 2);
|
||||
this.selectTilePictureBox.Image = null;
|
||||
this.selectTilePictureBox.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.NearestNeighbor;
|
||||
this.selectTilePictureBox.Location = new System.Drawing.Point(3, 3);
|
||||
this.selectTilePictureBox.Location = new System.Drawing.Point(4, 4);
|
||||
this.selectTilePictureBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.selectTilePictureBox.Name = "selectTilePictureBox";
|
||||
this.selectTilePictureBox.Size = new System.Drawing.Size(229, 220);
|
||||
this.selectTilePictureBox.Size = new System.Drawing.Size(305, 272);
|
||||
this.selectTilePictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.selectTilePictureBox.TabIndex = 0;
|
||||
this.selectTilePictureBox.TabStop = false;
|
||||
@@ -198,9 +203,10 @@
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.replaceButton.AutoSize = true;
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.replaceButton, 2);
|
||||
this.replaceButton.Location = new System.Drawing.Point(3, 539);
|
||||
this.replaceButton.Location = new System.Drawing.Point(4, 669);
|
||||
this.replaceButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.replaceButton.Name = "replaceButton";
|
||||
this.replaceButton.Size = new System.Drawing.Size(229, 23);
|
||||
this.replaceButton.Size = new System.Drawing.Size(305, 27);
|
||||
this.replaceButton.TabIndex = 14;
|
||||
this.replaceButton.Text = "Replace";
|
||||
this.replaceButton.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
@@ -213,9 +219,10 @@
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.animationButton.AutoSize = true;
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.animationButton, 2);
|
||||
this.animationButton.Location = new System.Drawing.Point(3, 511);
|
||||
this.animationButton.Location = new System.Drawing.Point(4, 634);
|
||||
this.animationButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.animationButton.Name = "animationButton";
|
||||
this.animationButton.Size = new System.Drawing.Size(229, 22);
|
||||
this.animationButton.Size = new System.Drawing.Size(305, 27);
|
||||
this.animationButton.TabIndex = 16;
|
||||
this.animationButton.Text = "Animation";
|
||||
this.animationButton.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
@@ -228,9 +235,10 @@
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tileNameLabel.AutoSize = true;
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.tileNameLabel, 2);
|
||||
this.tileNameLabel.Location = new System.Drawing.Point(3, 235);
|
||||
this.tileNameLabel.Location = new System.Drawing.Point(4, 296);
|
||||
this.tileNameLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.tileNameLabel.Name = "tileNameLabel";
|
||||
this.tileNameLabel.Size = new System.Drawing.Size(229, 19);
|
||||
this.tileNameLabel.Size = new System.Drawing.Size(305, 19);
|
||||
this.tileNameLabel.TabIndex = 19;
|
||||
this.tileNameLabel.Text = "TileName";
|
||||
this.tileNameLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
@@ -242,9 +250,10 @@
|
||||
this.variantComboBox.Enabled = false;
|
||||
this.variantComboBox.FormattingEnabled = true;
|
||||
this.variantComboBox.ItemHeight = 23;
|
||||
this.variantComboBox.Location = new System.Drawing.Point(91, 257);
|
||||
this.variantComboBox.Location = new System.Drawing.Point(121, 319);
|
||||
this.variantComboBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.variantComboBox.Name = "variantComboBox";
|
||||
this.variantComboBox.Size = new System.Drawing.Size(141, 29);
|
||||
this.variantComboBox.Size = new System.Drawing.Size(188, 29);
|
||||
this.variantComboBox.TabIndex = 17;
|
||||
this.variantComboBox.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.variantComboBox.UseSelectable = true;
|
||||
@@ -252,15 +261,17 @@
|
||||
//
|
||||
// TextureAtlasEditor
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(630, 669);
|
||||
this.ClientSize = new System.Drawing.Size(840, 823);
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.Controls.Add(this.menuStrip1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MainMenuStrip = this.menuStrip1;
|
||||
this.MinimumSize = new System.Drawing.Size(630, 669);
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.MinimumSize = new System.Drawing.Size(840, 823);
|
||||
this.Name = "TextureAtlasEditor";
|
||||
this.Padding = new System.Windows.Forms.Padding(27, 74, 27, 25);
|
||||
this.ShadowType = MetroFramework.Forms.MetroFormShadowType.None;
|
||||
this.Style = MetroFramework.MetroColorStyle.Silver;
|
||||
this.Text = "Texture Atlas Editor";
|
||||
|
||||
1
PCK-Studio/MainForm.Designer.cs
generated
1
PCK-Studio/MainForm.Designer.cs
generated
@@ -32,7 +32,6 @@
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
||||
System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||
System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
|
||||
this.logoPictureBox = new System.Windows.Forms.PictureBox();
|
||||
this.contextMenuPCKEntries = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.createToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.folderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
|
||||
@@ -90,10 +90,28 @@ namespace PckStudio
|
||||
[PckFileType.ModelsFile] = HandleModelsFile,
|
||||
[PckFileType.BehavioursFile] = HandleBehavioursFile,
|
||||
[PckFileType.MaterialFile] = HandleMaterialFile,
|
||||
};
|
||||
}
|
||||
|
||||
public void LoadPckFromFile(string filepath)
|
||||
};
|
||||
|
||||
// Set KeyPreview property to true
|
||||
this.KeyPreview = true;
|
||||
|
||||
// Subscribe to the KeyDown event
|
||||
this.KeyDown += MainForm_KeyDown;
|
||||
}
|
||||
|
||||
// CTRL + W to close the form
|
||||
private void MainForm_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
// Check if Ctrl + W is pressed
|
||||
if (e.Control && e.KeyCode == Keys.W)
|
||||
{
|
||||
// Close the application
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
|
||||
public void LoadPckFromFile(string filepath)
|
||||
{
|
||||
checkSaveState();
|
||||
treeViewMain.Nodes.Clear();
|
||||
@@ -2290,5 +2308,5 @@ namespace PckStudio
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -643,6 +643,8 @@
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\plus_+_24px.png" />
|
||||
<None Include="Resources\plus_math_32px.png" />
|
||||
<None Include="Resources\Tools_48px.png" />
|
||||
<None Include="Resources\save_24px.png" />
|
||||
<None Include="Resources\rubik%27s_cube_24px.png" />
|
||||
@@ -785,12 +787,6 @@
|
||||
-->
|
||||
<Target Name="GetGitInfo" BeforeTargets="WriteGitInfo" Condition="'$(BuildHash)' == ''">
|
||||
<!-- write hash and branch to console.-->
|
||||
<Exec Condition="'$(Configuration)' == 'Debug'" Command="git -C $(ProjectDir) describe --always" ConsoleToMsBuild="true">
|
||||
<Output TaskParameter="ConsoleOutput" PropertyName="GitHash" />
|
||||
</Exec>
|
||||
<Exec Command="git -C $(ProjectDir) branch --show-current" ConsoleToMsBuild="true">
|
||||
<Output TaskParameter="ConsoleOutput" PropertyName="GitBranch" />
|
||||
</Exec>
|
||||
<PropertyGroup>
|
||||
<BuildHash Condition="'$(Configuration)' == 'Debug'">$(GitHash)</BuildHash>
|
||||
<BuildBranch>$(GitBranch)</BuildBranch>
|
||||
|
||||
91
PCK-Studio/Properties/Resources.Designer.cs
generated
91
PCK-Studio/Properties/Resources.Designer.cs
generated
@@ -252,6 +252,16 @@ namespace PckStudio.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap edit_26px {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("edit_26px", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
@@ -304,6 +314,16 @@ namespace PckStudio.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap file_32px {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("file_32px", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
@@ -354,16 +374,6 @@ namespace PckStudio.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap file_32px {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("file_32px", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
@@ -564,6 +574,26 @@ namespace PckStudio.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap plus___24px {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("plus___24px", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap plus_math_32px {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("plus_math_32px", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||
/// </summary>
|
||||
@@ -634,16 +664,6 @@ namespace PckStudio.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap sdDownload {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("sdDownload", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
@@ -717,30 +737,27 @@ namespace PckStudio.Properties {
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {
|
||||
/// "COMMENT_1": "Tile data research by MattNL",
|
||||
/// "COMMENT_2": "JSON conversion by PhoenixARC",
|
||||
/// "COMMENT_2": "JSON by PhoenixARC, MattNL, and NessieHax (Miku-666)",
|
||||
/// "blocks": [
|
||||
/// {
|
||||
/// "internalName": "grass_top",
|
||||
/// "displayName": "Grass Block (Top)"
|
||||
/// "displayName": "Grass Block (Top)",
|
||||
/// "hasColourEntry": true,
|
||||
/// "colourEntry": {
|
||||
/// "isWaterColour": false,
|
||||
/// "defaultName": "Grass_Common",
|
||||
/// "variants": [
|
||||
/// "Grass_Common",
|
||||
/// "Grass_Mesa",
|
||||
/// "Grass_Swamp1",
|
||||
/// "Grass_Swamp2"
|
||||
/// ]
|
||||
/// }
|
||||
/// },
|
||||
/// {
|
||||
/// "internalName": "stone",
|
||||
/// "displayName": "Stone"
|
||||
/// },
|
||||
/// {
|
||||
/// "internalName": "dirt",
|
||||
/// "displayName": "Dirt"
|
||||
/// },
|
||||
/// {
|
||||
/// "internalName": "grass_side",
|
||||
/// "displayName": "Grass Block (Side)"
|
||||
/// },
|
||||
/// {
|
||||
/// "internalName": "planks_oak",
|
||||
/// "displayName": "Oak Planks"
|
||||
/// },
|
||||
/// {
|
||||
/// "internalName": [rest of string was truncated]";.
|
||||
/// [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
public static string tileData {
|
||||
get {
|
||||
|
||||
@@ -211,9 +211,6 @@
|
||||
<data name="pckDrop" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\pckDrop.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Splash" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Splash.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="CAPE_ICON" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\iconImageList\CAPE ICON.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
@@ -280,15 +277,6 @@
|
||||
<data name="TexturePackIcon" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\TexturePackIcon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="pckClosed" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\pckClosed.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="pckDrop" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\pckDrop.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="pckOpen" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\pckOpen.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="check_all_480px" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\check_all_480px.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
@@ -373,4 +361,10 @@
|
||||
<data name="ProjectLogo" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\..\ProjectLogo.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="plus_math_32px" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\plus_math_32px.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="plus___24px" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\plus_+_24px.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
||||
BIN
PCK-Studio/Resources/plus_+_24px.png
Normal file
BIN
PCK-Studio/Resources/plus_+_24px.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 203 B |
BIN
PCK-Studio/Resources/plus_math_32px.png
Normal file
BIN
PCK-Studio/Resources/plus_math_32px.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 165 B |
BIN
ProjectLogo.ico
BIN
ProjectLogo.ico
Binary file not shown.
|
Before Width: | Height: | Size: 146 KiB After Width: | Height: | Size: 165 KiB |
BIN
ProjectLogo.png
BIN
ProjectLogo.png
Binary file not shown.
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 114 KiB |
2
Vendor/OMI-Lib
vendored
2
Vendor/OMI-Lib
vendored
Submodule Vendor/OMI-Lib updated: c33a6adafe...e8f344a1ff
Reference in New Issue
Block a user