mirror of
https://github.com/kwsch/NHSE.git
synced 2026-09-30 22:06:37 -05:00
Misc position fixes
Closes #733 Fixes plaza x/y control position Fixes storage page-up/down button position
This commit is contained in:
@@ -951,8 +951,7 @@ private void InitializeComponent()
|
||||
//
|
||||
// L_PlazaX
|
||||
//
|
||||
L_PlazaX.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||
L_PlazaX.Location = new System.Drawing.Point(0, -104);
|
||||
L_PlazaX.Location = new System.Drawing.Point(0, 2);
|
||||
L_PlazaX.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
L_PlazaX.Name = "L_PlazaX";
|
||||
L_PlazaX.Size = new System.Drawing.Size(72, 26);
|
||||
@@ -962,8 +961,7 @@ private void InitializeComponent()
|
||||
//
|
||||
// NUD_PlazaX
|
||||
//
|
||||
NUD_PlazaX.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||
NUD_PlazaX.Location = new System.Drawing.Point(73, -103);
|
||||
NUD_PlazaX.Location = new System.Drawing.Point(73, 4);
|
||||
NUD_PlazaX.Margin = new System.Windows.Forms.Padding(4);
|
||||
NUD_PlazaX.Maximum = new decimal(new int[] { 1024, 0, 0, 0 });
|
||||
NUD_PlazaX.Name = "NUD_PlazaX";
|
||||
@@ -974,8 +972,7 @@ private void InitializeComponent()
|
||||
//
|
||||
// L_PlazaY
|
||||
//
|
||||
L_PlazaY.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||
L_PlazaY.Location = new System.Drawing.Point(123, -104);
|
||||
L_PlazaY.Location = new System.Drawing.Point(123, 2);
|
||||
L_PlazaY.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
L_PlazaY.Name = "L_PlazaY";
|
||||
L_PlazaY.Size = new System.Drawing.Size(72, 26);
|
||||
@@ -985,8 +982,7 @@ private void InitializeComponent()
|
||||
//
|
||||
// NUD_PlazaY
|
||||
//
|
||||
NUD_PlazaY.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||
NUD_PlazaY.Location = new System.Drawing.Point(196, -103);
|
||||
NUD_PlazaY.Location = new System.Drawing.Point(196, 4);
|
||||
NUD_PlazaY.Margin = new System.Windows.Forms.Padding(4);
|
||||
NUD_PlazaY.Maximum = new decimal(new int[] { 1024, 0, 0, 0 });
|
||||
NUD_PlazaY.Name = "NUD_PlazaY";
|
||||
|
||||
@@ -129,12 +129,12 @@
|
||||
<metadata name="CM_Remove.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>465, 17</value>
|
||||
</metadata>
|
||||
<metadata name="CM_DLField.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>620, 17</value>
|
||||
</metadata>
|
||||
<metadata name="CM_DLBuilding.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>930, 17</value>
|
||||
</metadata>
|
||||
<metadata name="CM_DLField.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>620, 17</value>
|
||||
</metadata>
|
||||
<metadata name="CM_DLMapAcres.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 56</value>
|
||||
</metadata>
|
||||
|
||||
156
NHSE.WinForms/Subforms/PlayerItemEditor.Designer.cs
generated
156
NHSE.WinForms/Subforms/PlayerItemEditor.Designer.cs
generated
@@ -29,110 +29,106 @@ protected override void Dispose(bool disposing)
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.B_Cancel = new System.Windows.Forms.Button();
|
||||
this.B_Save = new System.Windows.Forms.Button();
|
||||
this.B_Dump = new System.Windows.Forms.Button();
|
||||
this.B_Load = new System.Windows.Forms.Button();
|
||||
this.PAN_Items = new System.Windows.Forms.Panel();
|
||||
this.B_Inject = new System.Windows.Forms.Button();
|
||||
this.ItemEditor = new NHSE.WinForms.ItemEditor();
|
||||
this.SuspendLayout();
|
||||
B_Cancel = new System.Windows.Forms.Button();
|
||||
B_Save = new System.Windows.Forms.Button();
|
||||
B_Dump = new System.Windows.Forms.Button();
|
||||
B_Load = new System.Windows.Forms.Button();
|
||||
PAN_Items = new System.Windows.Forms.Panel();
|
||||
B_Inject = new System.Windows.Forms.Button();
|
||||
ItemEditor = new ItemEditor();
|
||||
SuspendLayout();
|
||||
//
|
||||
// B_Cancel
|
||||
//
|
||||
this.B_Cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.B_Cancel.Location = new System.Drawing.Point(772, 398);
|
||||
this.B_Cancel.Name = "B_Cancel";
|
||||
this.B_Cancel.Size = new System.Drawing.Size(72, 23);
|
||||
this.B_Cancel.TabIndex = 5;
|
||||
this.B_Cancel.Text = "Cancel";
|
||||
this.B_Cancel.UseVisualStyleBackColor = true;
|
||||
this.B_Cancel.Click += new System.EventHandler(this.B_Cancel_Click);
|
||||
B_Cancel.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||
B_Cancel.Location = new System.Drawing.Point(840, 398);
|
||||
B_Cancel.Name = "B_Cancel";
|
||||
B_Cancel.Size = new System.Drawing.Size(72, 23);
|
||||
B_Cancel.TabIndex = 5;
|
||||
B_Cancel.Text = "Cancel";
|
||||
B_Cancel.UseVisualStyleBackColor = true;
|
||||
B_Cancel.Click += B_Cancel_Click;
|
||||
//
|
||||
// B_Save
|
||||
//
|
||||
this.B_Save.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.B_Save.Location = new System.Drawing.Point(850, 398);
|
||||
this.B_Save.Name = "B_Save";
|
||||
this.B_Save.Size = new System.Drawing.Size(72, 23);
|
||||
this.B_Save.TabIndex = 4;
|
||||
this.B_Save.Text = "Save";
|
||||
this.B_Save.UseVisualStyleBackColor = true;
|
||||
this.B_Save.Click += new System.EventHandler(this.B_Save_Click);
|
||||
B_Save.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||
B_Save.Location = new System.Drawing.Point(918, 398);
|
||||
B_Save.Name = "B_Save";
|
||||
B_Save.Size = new System.Drawing.Size(72, 23);
|
||||
B_Save.TabIndex = 4;
|
||||
B_Save.Text = "Save";
|
||||
B_Save.UseVisualStyleBackColor = true;
|
||||
B_Save.Click += B_Save_Click;
|
||||
//
|
||||
// B_Dump
|
||||
//
|
||||
this.B_Dump.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.B_Dump.Location = new System.Drawing.Point(9, 398);
|
||||
this.B_Dump.Name = "B_Dump";
|
||||
this.B_Dump.Size = new System.Drawing.Size(90, 23);
|
||||
this.B_Dump.TabIndex = 7;
|
||||
this.B_Dump.Text = "Dump";
|
||||
this.B_Dump.UseVisualStyleBackColor = true;
|
||||
this.B_Dump.Click += new System.EventHandler(this.B_Dump_Click);
|
||||
B_Dump.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left;
|
||||
B_Dump.Location = new System.Drawing.Point(9, 398);
|
||||
B_Dump.Name = "B_Dump";
|
||||
B_Dump.Size = new System.Drawing.Size(90, 23);
|
||||
B_Dump.TabIndex = 7;
|
||||
B_Dump.Text = "Dump";
|
||||
B_Dump.UseVisualStyleBackColor = true;
|
||||
B_Dump.Click += B_Dump_Click;
|
||||
//
|
||||
// B_Load
|
||||
//
|
||||
this.B_Load.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.B_Load.Location = new System.Drawing.Point(105, 398);
|
||||
this.B_Load.Name = "B_Load";
|
||||
this.B_Load.Size = new System.Drawing.Size(90, 23);
|
||||
this.B_Load.TabIndex = 8;
|
||||
this.B_Load.Text = "Load";
|
||||
this.B_Load.UseVisualStyleBackColor = true;
|
||||
this.B_Load.Click += new System.EventHandler(this.B_Load_Click);
|
||||
B_Load.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left;
|
||||
B_Load.Location = new System.Drawing.Point(105, 398);
|
||||
B_Load.Name = "B_Load";
|
||||
B_Load.Size = new System.Drawing.Size(90, 23);
|
||||
B_Load.TabIndex = 8;
|
||||
B_Load.Text = "Load";
|
||||
B_Load.UseVisualStyleBackColor = true;
|
||||
B_Load.Click += B_Load_Click;
|
||||
//
|
||||
// PAN_Items
|
||||
//
|
||||
this.PAN_Items.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.PAN_Items.Location = new System.Drawing.Point(9, 12);
|
||||
this.PAN_Items.Name = "PAN_Items";
|
||||
this.PAN_Items.Size = new System.Drawing.Size(727, 380);
|
||||
this.PAN_Items.TabIndex = 9;
|
||||
PAN_Items.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||
PAN_Items.Location = new System.Drawing.Point(9, 12);
|
||||
PAN_Items.Name = "PAN_Items";
|
||||
PAN_Items.Size = new System.Drawing.Size(795, 380);
|
||||
PAN_Items.TabIndex = 9;
|
||||
//
|
||||
// B_Inject
|
||||
//
|
||||
this.B_Inject.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.B_Inject.Location = new System.Drawing.Point(420, 398);
|
||||
this.B_Inject.Name = "B_Inject";
|
||||
this.B_Inject.Size = new System.Drawing.Size(90, 23);
|
||||
this.B_Inject.TabIndex = 10;
|
||||
this.B_Inject.Text = "Inject";
|
||||
this.B_Inject.UseVisualStyleBackColor = true;
|
||||
this.B_Inject.Click += new System.EventHandler(this.B_Inject_Click);
|
||||
B_Inject.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left;
|
||||
B_Inject.Location = new System.Drawing.Point(420, 398);
|
||||
B_Inject.Name = "B_Inject";
|
||||
B_Inject.Size = new System.Drawing.Size(90, 23);
|
||||
B_Inject.TabIndex = 10;
|
||||
B_Inject.Text = "Inject";
|
||||
B_Inject.UseVisualStyleBackColor = true;
|
||||
B_Inject.Click += B_Inject_Click;
|
||||
//
|
||||
// ItemEditor
|
||||
//
|
||||
this.ItemEditor.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.ItemEditor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.ItemEditor.Location = new System.Drawing.Point(742, 12);
|
||||
this.ItemEditor.Name = "ItemEditor";
|
||||
this.ItemEditor.Size = new System.Drawing.Size(180, 380);
|
||||
this.ItemEditor.TabIndex = 6;
|
||||
ItemEditor.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
|
||||
ItemEditor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
ItemEditor.Location = new System.Drawing.Point(810, 12);
|
||||
ItemEditor.Name = "ItemEditor";
|
||||
ItemEditor.Size = new System.Drawing.Size(180, 380);
|
||||
ItemEditor.TabIndex = 6;
|
||||
//
|
||||
// PlayerItemEditor
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
||||
this.ClientSize = new System.Drawing.Size(934, 431);
|
||||
this.Controls.Add(this.B_Inject);
|
||||
this.Controls.Add(this.PAN_Items);
|
||||
this.Controls.Add(this.B_Load);
|
||||
this.Controls.Add(this.B_Dump);
|
||||
this.Controls.Add(this.ItemEditor);
|
||||
this.Controls.Add(this.B_Cancel);
|
||||
this.Controls.Add(this.B_Save);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.Icon = global::NHSE.WinForms.Properties.Resources.icon;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "PlayerItemEditor";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "Inventory Editor";
|
||||
this.ResumeLayout(false);
|
||||
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
||||
ClientSize = new System.Drawing.Size(1002, 431);
|
||||
Controls.Add(B_Inject);
|
||||
Controls.Add(B_Load);
|
||||
Controls.Add(B_Dump);
|
||||
Controls.Add(ItemEditor);
|
||||
Controls.Add(B_Cancel);
|
||||
Controls.Add(B_Save);
|
||||
Controls.Add(PAN_Items);
|
||||
FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
Icon = Properties.Resources.icon;
|
||||
MaximizeBox = false;
|
||||
MinimizeBox = false;
|
||||
Name = "PlayerItemEditor";
|
||||
StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
Text = "Inventory Editor";
|
||||
ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
@@ -26,36 +26,36 @@
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
|
||||
Reference in New Issue
Block a user