mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-07-13 17:38:10 +00:00
MainForm - Renamed 'pictureBoxImagePreview' to 'previewPictureBox' and hide pictureBox2(pck studio logo)
This commit is contained in:
2034
PCK-Studio/MainForm.Designer.cs
generated
2034
PCK-Studio/MainForm.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -239,7 +239,7 @@ namespace PckStudio
|
||||
wasModified = false;
|
||||
isTemplateFile = false;
|
||||
saveLocation = string.Empty;
|
||||
pictureBoxImagePreview.Image = Resources.NoImageFound;
|
||||
previewPictureBox.Image = Resources.NoImageFound;
|
||||
treeViewMain.Nodes.Clear();
|
||||
treeMeta.Nodes.Clear();
|
||||
treeViewMain.Enabled = false;
|
||||
@@ -474,7 +474,7 @@ namespace PckStudio
|
||||
ReloadMetaTreeView();
|
||||
entryTypeTextBox.Text = entryDataTextBox.Text = labelImageSize.Text = string.Empty;
|
||||
buttonEdit.Visible = false;
|
||||
pictureBoxImagePreview.Image = Resources.NoImageFound;
|
||||
previewPictureBox.Image = Resources.NoImageFound;
|
||||
var node = e.Node;
|
||||
viewFileInfoToolStripMenuItem.Visible = false;
|
||||
if (node is TreeNode t && t.Tag is PckFile.FileData file)
|
||||
@@ -511,13 +511,13 @@ namespace PckStudio
|
||||
|
||||
try
|
||||
{
|
||||
pictureBoxImagePreview.Image = img;
|
||||
labelImageSize.Text = $"{pictureBoxImagePreview.Image.Size.Width}x{pictureBoxImagePreview.Image.Size.Height}";
|
||||
previewPictureBox.Image = img;
|
||||
labelImageSize.Text = $"{previewPictureBox.Image.Size.Width}x{previewPictureBox.Image.Size.Height}";
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
labelImageSize.Text = "";
|
||||
pictureBoxImagePreview.Image = Resources.NoImageFound;
|
||||
previewPictureBox.Image = Resources.NoImageFound;
|
||||
Debug.WriteLine("Not a supported image format. Setting back to default");
|
||||
Debug.WriteLine(string.Format("An error occured of type: {0} with message: {1}", ex.GetType(), ex.Message), "Exception");
|
||||
}
|
||||
|
||||
@@ -24244,7 +24244,10 @@
|
||||
<data name=">>contextMenuMetaTree.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name="pictureBox2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<metadata name="logoPictureBox.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<data name="logoPictureBox.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAbYAAAB7CAYAAAAYCKWuAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xOdTWsmQAAJjWSURBVHhe7b0J
|
||||
@@ -24903,31 +24906,31 @@
|
||||
rca4/zIAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="pictureBox2.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<data name="logoPictureBox.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="pictureBox2.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<data name="logoPictureBox.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>413, 0</value>
|
||||
</data>
|
||||
<data name="pictureBox2.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<data name="logoPictureBox.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>190, 50</value>
|
||||
</data>
|
||||
<data name="pictureBox2.SizeMode" type="System.Windows.Forms.PictureBoxSizeMode, System.Windows.Forms">
|
||||
<data name="logoPictureBox.SizeMode" type="System.Windows.Forms.PictureBoxSizeMode, System.Windows.Forms">
|
||||
<value>Zoom</value>
|
||||
</data>
|
||||
<data name="pictureBox2.TabIndex" type="System.Int32, mscorlib">
|
||||
<data name="logoPictureBox.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>14</value>
|
||||
</data>
|
||||
<data name=">>pictureBox2.Name" xml:space="preserve">
|
||||
<value>pictureBox2</value>
|
||||
<data name=">>logoPictureBox.Name" xml:space="preserve">
|
||||
<value>logoPictureBox</value>
|
||||
</data>
|
||||
<data name=">>pictureBox2.Type" xml:space="preserve">
|
||||
<data name=">>logoPictureBox.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>pictureBox2.Parent" xml:space="preserve">
|
||||
<data name=">>logoPictureBox.Parent" xml:space="preserve">
|
||||
<value>editorTab</value>
|
||||
</data>
|
||||
<data name=">>pictureBox2.ZOrder" xml:space="preserve">
|
||||
<data name=">>logoPictureBox.ZOrder" xml:space="preserve">
|
||||
<value>8</value>
|
||||
</data>
|
||||
<data name="pckOpen.BackgroundImageLayout" type="System.Windows.Forms.ImageLayout, System.Windows.Forms">
|
||||
@@ -26463,37 +26466,37 @@
|
||||
<data name=">>treeViewMain.ZOrder" xml:space="preserve">
|
||||
<value>7</value>
|
||||
</data>
|
||||
<data name="pictureBoxImagePreview.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<data name="previewPictureBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Top, Right</value>
|
||||
</data>
|
||||
<data name="pictureBoxImagePreview.BackgroundImageLayout" type="System.Windows.Forms.ImageLayout, System.Windows.Forms">
|
||||
<data name="previewPictureBox.BackgroundImageLayout" type="System.Windows.Forms.ImageLayout, System.Windows.Forms">
|
||||
<value>None</value>
|
||||
</data>
|
||||
<data name="pictureBoxImagePreview.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<data name="previewPictureBox.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="pictureBoxImagePreview.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<data name="previewPictureBox.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>345, 50</value>
|
||||
</data>
|
||||
<data name="pictureBoxImagePreview.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<data name="previewPictureBox.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>231, 218</value>
|
||||
</data>
|
||||
<data name="pictureBoxImagePreview.SizeMode" type="System.Windows.Forms.PictureBoxSizeMode, System.Windows.Forms">
|
||||
<data name="previewPictureBox.SizeMode" type="System.Windows.Forms.PictureBoxSizeMode, System.Windows.Forms">
|
||||
<value>Zoom</value>
|
||||
</data>
|
||||
<data name="pictureBoxImagePreview.TabIndex" type="System.Int32, mscorlib">
|
||||
<data name="previewPictureBox.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>18</value>
|
||||
</data>
|
||||
<data name=">>pictureBoxImagePreview.Name" xml:space="preserve">
|
||||
<value>pictureBoxImagePreview</value>
|
||||
<data name=">>previewPictureBox.Name" xml:space="preserve">
|
||||
<value>previewPictureBox</value>
|
||||
</data>
|
||||
<data name=">>pictureBoxImagePreview.Type" xml:space="preserve">
|
||||
<data name=">>previewPictureBox.Type" xml:space="preserve">
|
||||
<value>PckStudio.PictureBoxWithInterpolationMode, PCK-Studio, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null</value>
|
||||
</data>
|
||||
<data name=">>pictureBoxImagePreview.Parent" xml:space="preserve">
|
||||
<data name=">>previewPictureBox.Parent" xml:space="preserve">
|
||||
<value>editorTab</value>
|
||||
</data>
|
||||
<data name=">>pictureBoxImagePreview.ZOrder" xml:space="preserve">
|
||||
<data name=">>previewPictureBox.ZOrder" xml:space="preserve">
|
||||
<value>9</value>
|
||||
</data>
|
||||
<data name="editorTab.Location" type="System.Drawing.Point, System.Drawing">
|
||||
@@ -29098,9 +29101,6 @@
|
||||
AP//AAA=
|
||||
</value>
|
||||
</data>
|
||||
<data name="$this.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="$this.MinimumSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>1064, 660</value>
|
||||
</data>
|
||||
|
||||
Reference in New Issue
Block a user