Update a few Forms start position to Center Parent

This commit is contained in:
miku-666
2022-12-25 00:58:38 +01:00
parent 56f838000f
commit edacd7ad22
12 changed files with 94 additions and 71 deletions

View File

@@ -350,7 +350,9 @@
this.Controls.Add(this.metroTabControl1);
this.Font = new System.Drawing.Font("Segoe UI", 8.25F);
this.ForeColor = System.Drawing.Color.White;
this.Location = new System.Drawing.Point(0, 0);
this.Name = "PCKCenterBeta";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Pck Center";
this.metroTabControl1.ResumeLayout(false);
this.metroTabPage1.ResumeLayout(false);

View File

@@ -128,7 +128,7 @@
this.pckWebServerTextBox.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
this.pckWebServerTextBox.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel);
//
// Pref
// Preferences
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
@@ -140,7 +140,7 @@
this.Controls.Add(this.buttonClose);
this.Controls.Add(this.buttonSave);
this.ForeColor = System.Drawing.Color.White;
this.Name = "Pref";
this.Name = "Preferences";
this.ResumeLayout(false);
this.PerformLayout();

View File

@@ -330,13 +330,19 @@
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 8.25pt</value>
</data>
<data name="$this.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 0</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>Preferences</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>Pref</value>
<value>Preferences</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>PckStudio.ToolboxItems.ThemeForm, PCK-Studio, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
</root>

View File

@@ -63,6 +63,61 @@
((System.ComponentModel.ISupportInitialize)(this.inflationUpDown)).BeginInit();
this.SuspendLayout();
//
// parentLabel
//
parentLabel.AutoSize = true;
parentLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
parentLabel.Location = new System.Drawing.Point(357, 72);
parentLabel.Name = "parentLabel";
parentLabel.Size = new System.Drawing.Size(64, 25);
parentLabel.TabIndex = 2;
parentLabel.Text = "Parent:";
parentLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// positionLabel
//
positionLabel.AutoSize = true;
positionLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
positionLabel.Location = new System.Drawing.Point(33, 72);
positionLabel.Name = "positionLabel";
positionLabel.Size = new System.Drawing.Size(75, 25);
positionLabel.TabIndex = 4;
positionLabel.Text = "Position:";
positionLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// sizeLabel
//
sizeLabel.AutoSize = true;
sizeLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
sizeLabel.Location = new System.Drawing.Point(33, 97);
sizeLabel.Name = "sizeLabel";
sizeLabel.Size = new System.Drawing.Size(46, 25);
sizeLabel.TabIndex = 22;
sizeLabel.Text = "Size:";
sizeLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// uvLabel
//
uvLabel.AutoSize = true;
uvLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
uvLabel.Location = new System.Drawing.Point(33, 123);
uvLabel.Name = "uvLabel";
uvLabel.Size = new System.Drawing.Size(39, 25);
uvLabel.TabIndex = 26;
uvLabel.Text = "UV:";
uvLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// inflationLabel
//
inflationLabel.AutoSize = true;
inflationLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
inflationLabel.Location = new System.Drawing.Point(33, 149);
inflationLabel.Name = "inflationLabel";
inflationLabel.Size = new System.Drawing.Size(55, 25);
inflationLabel.TabIndex = 31;
inflationLabel.Text = "Scale:";
inflationLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// closeButton
//
this.closeButton.Location = new System.Drawing.Point(252, 187);
@@ -81,17 +136,6 @@
this.toolTip.StyleManager = null;
this.toolTip.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// parentLabel
//
parentLabel.AutoSize = true;
parentLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
parentLabel.Location = new System.Drawing.Point(357, 72);
parentLabel.Name = "parentLabel";
parentLabel.Size = new System.Drawing.Size(64, 25);
parentLabel.TabIndex = 2;
parentLabel.Text = "Parent:";
parentLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// parentComboBox
//
this.parentComboBox.FormattingEnabled = true;
@@ -133,17 +177,6 @@
this.parentComboBox.Theme = MetroFramework.MetroThemeStyle.Dark;
this.parentComboBox.UseSelectable = true;
//
// positionLabel
//
positionLabel.AutoSize = true;
positionLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
positionLabel.Location = new System.Drawing.Point(33, 72);
positionLabel.Name = "positionLabel";
positionLabel.Size = new System.Drawing.Size(75, 25);
positionLabel.TabIndex = 4;
positionLabel.Text = "Position:";
positionLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// PosXUpDown
//
this.PosXUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
@@ -279,17 +312,6 @@
this.SizeXUpDown.Size = new System.Drawing.Size(73, 22);
this.SizeXUpDown.TabIndex = 23;
//
// sizeLabel
//
sizeLabel.AutoSize = true;
sizeLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
sizeLabel.Location = new System.Drawing.Point(33, 97);
sizeLabel.Name = "sizeLabel";
sizeLabel.Size = new System.Drawing.Size(46, 25);
sizeLabel.TabIndex = 22;
sizeLabel.Text = "Size:";
sizeLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// uvYUpDown
//
this.uvYUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
@@ -340,17 +362,6 @@
this.uvXUpDown.Size = new System.Drawing.Size(73, 22);
this.uvXUpDown.TabIndex = 27;
//
// uvLabel
//
uvLabel.AutoSize = true;
uvLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
uvLabel.Location = new System.Drawing.Point(33, 123);
uvLabel.Name = "uvLabel";
uvLabel.Size = new System.Drawing.Size(39, 25);
uvLabel.TabIndex = 26;
uvLabel.Text = "UV:";
uvLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// armorCheckBox
//
this.armorCheckBox.AutoSize = true;
@@ -399,17 +410,6 @@
this.inflationUpDown.Size = new System.Drawing.Size(73, 22);
this.inflationUpDown.TabIndex = 32;
//
// inflationLabel
//
inflationLabel.AutoSize = true;
inflationLabel.FontSize = MetroFramework.MetroLabelSize.Tall;
inflationLabel.Location = new System.Drawing.Point(33, 149);
inflationLabel.Name = "inflationLabel";
inflationLabel.Size = new System.Drawing.Size(55, 25);
inflationLabel.TabIndex = 31;
inflationLabel.Text = "Scale:";
inflationLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// BoxEditor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -436,10 +436,12 @@
this.Controls.Add(this.closeButton);
this.Font = new System.Drawing.Font("Segoe UI", 8.25F);
this.ForeColor = System.Drawing.Color.White;
this.Location = new System.Drawing.Point(0, 0);
this.MaximumSize = new System.Drawing.Size(630, 554);
this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(630, 220);
this.Name = "BoxEditor";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "BOX Editor";
((System.ComponentModel.ISupportInitialize)(this.PosXUpDown)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.PosYUpDown)).EndInit();

View File

@@ -51,7 +51,7 @@ namespace PckStudio.Forms.Utilities.Skins
}
public BoxEditor(string inBOX, bool hasInflation)
public BoxEditor(string inBOX, bool hasInflation)
{
InitializeComponent();

View File

@@ -117,9 +117,6 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="parentLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
@@ -135,4 +132,7 @@
<metadata name="inflationLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -121,7 +121,9 @@ namespace PckStudio.Forms.Utilities
this.Controls.Add(this.listBox1);
this.Font = new System.Drawing.Font("Segoe UI", 8.25F);
this.ForeColor = System.Drawing.Color.White;
this.Location = new System.Drawing.Point(0, 0);
this.Name = "TextureConverterUtility";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Texture Converter";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TextureConverterUtility_FormClosing);
this.Load += new System.EventHandler(this.TextureConverterUtility_Load);

View File

@@ -312,7 +312,7 @@
this.replacePCKToolStripMenuItem.Text = "Replace with external PCK";
this.replacePCKToolStripMenuItem.Click += new System.EventHandler(this.replacePCKToolStripMenuItem_Click);
//
// installPS3
// InstallPS3
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
@@ -321,8 +321,10 @@
this.Controls.Add(this.metroTabControlMain);
this.Font = new System.Drawing.Font("Segoe UI", 8.25F);
this.ForeColor = System.Drawing.Color.White;
this.Location = new System.Drawing.Point(0, 0);
this.MaximizeBox = false;
this.Name = "installPS3";
this.Name = "InstallPS3";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Install to Playstation®3";
this.Load += new System.EventHandler(this.installPS3_Load);
this.metroTabPageMain.ResumeLayout(false);

View File

@@ -314,7 +314,7 @@ namespace PckStudio.Forms
this.replacePCKToolStripMenuItem.Text = "Replace with external PCK";
this.replacePCKToolStripMenuItem.Click += new System.EventHandler(this.replacePCKToolStripMenuItem_Click);
//
// installVita
// InstallVita
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
@@ -323,8 +323,10 @@ namespace PckStudio.Forms
this.Controls.Add(this.metroTabControlMain);
this.Font = new System.Drawing.Font("Segoe UI", 8.25F);
this.ForeColor = System.Drawing.Color.White;
this.Location = new System.Drawing.Point(0, 0);
this.MaximizeBox = false;
this.Name = "installVita";
this.Name = "InstallVita";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Install to Playstation®Vita";
this.Load += new System.EventHandler(this.installVita_Load);
this.metroTabPageMain.ResumeLayout(false);

View File

@@ -305,7 +305,7 @@
resources.ApplyResources(this.replacePCKToolStripMenuItem, "replacePCKToolStripMenuItem");
this.replacePCKToolStripMenuItem.Click += new System.EventHandler(this.replacePCKToolStripMenuItem_Click);
//
// installWiiU
// InstallWiiU
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
@@ -313,7 +313,7 @@
this.Controls.Add(this.metroTabControlMain);
this.ForeColor = System.Drawing.Color.White;
this.MaximizeBox = false;
this.Name = "installWiiU";
this.Name = "InstallWiiU";
this.metroTabPageMain.ResumeLayout(false);
this.myTablePanel1.ResumeLayout(false);
this.myTablePanel1.PerformLayout();

View File

@@ -2436,6 +2436,12 @@
AABJRU5ErkJggg==
</value>
</data>
<data name="$this.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 0</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>Install to Wii U</value>
</data>
@@ -2452,9 +2458,9 @@
<value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>installWiiU</value>
<value>InstallWiiU</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>PckStudio.ToolboxItems.ThemeForm, PCK-Studio, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
</root>

View File

@@ -572,6 +572,7 @@
</EmbeddedResource>
<EmbeddedResource Include="Forms\Utilities\Skins\BoxEditor.resx">
<DependentUpon>BoxEditor.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\Utilities\Skins\ANIMEditor.resx">
<DependentUpon>ANIMEditor.cs</DependentUpon>