From 47cd845d05c10f39d1d6b807f278f5bc9c5abb92 Mon Sep 17 00:00:00 2001 From: Kurt Date: Sun, 14 Dec 2025 13:31:50 -0600 Subject: [PATCH] Add placeholder donut picturebox, update layout --- .../Gen9/DonutEditor9a.Designer.cs | 257 +++++++++++------- 1 file changed, 154 insertions(+), 103 deletions(-) diff --git a/PKHeX.WinForms/Subforms/Save Editors/Gen9/DonutEditor9a.Designer.cs b/PKHeX.WinForms/Subforms/Save Editors/Gen9/DonutEditor9a.Designer.cs index 2e8e2057e..18d6a3e03 100644 --- a/PKHeX.WinForms/Subforms/Save Editors/Gen9/DonutEditor9a.Designer.cs +++ b/PKHeX.WinForms/Subforms/Save Editors/Gen9/DonutEditor9a.Designer.cs @@ -43,7 +43,10 @@ private void InitializeComponent() PB_Berry7 = new System.Windows.Forms.PictureBox(); L_Berry8 = new System.Windows.Forms.Label(); PB_Berry8 = new System.Windows.Forms.PictureBox(); + PB_Donut = new System.Windows.Forms.PictureBox(); + flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); + TB_Unknown = new System.Windows.Forms.TextBox(); NUD_Stars = new System.Windows.Forms.NumericUpDown(); L_Donut = new System.Windows.Forms.Label(); NUD_LevelBoost = new System.Windows.Forms.NumericUpDown(); @@ -59,7 +62,7 @@ private void InitializeComponent() NUD_Calories = new System.Windows.Forms.NumericUpDown(); CB_Donut = new System.Windows.Forms.ComboBox(); CAL_Date = new System.Windows.Forms.DateTimePicker(); - TB_Unknown = new System.Windows.Forms.TextBox(); + L_Unknown = new System.Windows.Forms.Label(); tableLayoutPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)PB_Berry0).BeginInit(); ((System.ComponentModel.ISupportInitialize)PB_Berry1).BeginInit(); @@ -70,6 +73,8 @@ private void InitializeComponent() ((System.ComponentModel.ISupportInitialize)PB_Berry6).BeginInit(); ((System.ComponentModel.ISupportInitialize)PB_Berry7).BeginInit(); ((System.ComponentModel.ISupportInitialize)PB_Berry8).BeginInit(); + ((System.ComponentModel.ISupportInitialize)PB_Donut).BeginInit(); + flowLayoutPanel1.SuspendLayout(); tableLayoutPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)NUD_Stars).BeginInit(); ((System.ComponentModel.ISupportInitialize)NUD_LevelBoost).BeginInit(); @@ -110,8 +115,10 @@ private void InitializeComponent() tableLayoutPanel1.Controls.Add(PB_Berry7, 1, 7); tableLayoutPanel1.Controls.Add(L_Berry8, 0, 8); tableLayoutPanel1.Controls.Add(PB_Berry8, 1, 8); - tableLayoutPanel1.Location = new System.Drawing.Point(3, 3); + tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); + tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0); tableLayoutPanel1.Name = "tableLayoutPanel1"; + tableLayoutPanel1.Padding = new System.Windows.Forms.Padding(2); tableLayoutPanel1.RowCount = 9; tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); @@ -122,7 +129,7 @@ private void InitializeComponent() tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); - tableLayoutPanel1.Size = new System.Drawing.Size(292, 230); + tableLayoutPanel1.Size = new System.Drawing.Size(296, 238); tableLayoutPanel1.TabIndex = 0; // // CB_Berry8 @@ -131,8 +138,8 @@ private void InitializeComponent() CB_Berry8.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; CB_Berry8.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; CB_Berry8.FormattingEnabled = true; - CB_Berry8.Location = new System.Drawing.Point(124, 202); - CB_Berry8.Margin = new System.Windows.Forms.Padding(0); + CB_Berry8.Location = new System.Drawing.Point(130, 210); + CB_Berry8.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1); CB_Berry8.Name = "CB_Berry8"; CB_Berry8.Size = new System.Drawing.Size(164, 25); CB_Berry8.TabIndex = 17; @@ -143,8 +150,8 @@ private void InitializeComponent() CB_Berry7.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; CB_Berry7.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; CB_Berry7.FormattingEnabled = true; - CB_Berry7.Location = new System.Drawing.Point(124, 175); - CB_Berry7.Margin = new System.Windows.Forms.Padding(0); + CB_Berry7.Location = new System.Drawing.Point(130, 184); + CB_Berry7.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1); CB_Berry7.Name = "CB_Berry7"; CB_Berry7.Size = new System.Drawing.Size(164, 25); CB_Berry7.TabIndex = 16; @@ -155,8 +162,8 @@ private void InitializeComponent() CB_Berry6.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; CB_Berry6.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; CB_Berry6.FormattingEnabled = true; - CB_Berry6.Location = new System.Drawing.Point(124, 150); - CB_Berry6.Margin = new System.Windows.Forms.Padding(0); + CB_Berry6.Location = new System.Drawing.Point(130, 158); + CB_Berry6.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1); CB_Berry6.Name = "CB_Berry6"; CB_Berry6.Size = new System.Drawing.Size(164, 25); CB_Berry6.TabIndex = 15; @@ -167,8 +174,8 @@ private void InitializeComponent() CB_Berry5.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; CB_Berry5.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; CB_Berry5.FormattingEnabled = true; - CB_Berry5.Location = new System.Drawing.Point(124, 125); - CB_Berry5.Margin = new System.Windows.Forms.Padding(0); + CB_Berry5.Location = new System.Drawing.Point(130, 132); + CB_Berry5.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1); CB_Berry5.Name = "CB_Berry5"; CB_Berry5.Size = new System.Drawing.Size(164, 25); CB_Berry5.TabIndex = 14; @@ -179,8 +186,8 @@ private void InitializeComponent() CB_Berry4.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; CB_Berry4.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; CB_Berry4.FormattingEnabled = true; - CB_Berry4.Location = new System.Drawing.Point(124, 100); - CB_Berry4.Margin = new System.Windows.Forms.Padding(0); + CB_Berry4.Location = new System.Drawing.Point(130, 106); + CB_Berry4.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1); CB_Berry4.Name = "CB_Berry4"; CB_Berry4.Size = new System.Drawing.Size(164, 25); CB_Berry4.TabIndex = 13; @@ -191,8 +198,8 @@ private void InitializeComponent() CB_Berry3.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; CB_Berry3.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; CB_Berry3.FormattingEnabled = true; - CB_Berry3.Location = new System.Drawing.Point(124, 75); - CB_Berry3.Margin = new System.Windows.Forms.Padding(0); + CB_Berry3.Location = new System.Drawing.Point(130, 80); + CB_Berry3.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1); CB_Berry3.Name = "CB_Berry3"; CB_Berry3.Size = new System.Drawing.Size(164, 25); CB_Berry3.TabIndex = 12; @@ -203,8 +210,8 @@ private void InitializeComponent() CB_Berry2.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; CB_Berry2.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; CB_Berry2.FormattingEnabled = true; - CB_Berry2.Location = new System.Drawing.Point(124, 50); - CB_Berry2.Margin = new System.Windows.Forms.Padding(0); + CB_Berry2.Location = new System.Drawing.Point(130, 54); + CB_Berry2.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1); CB_Berry2.Name = "CB_Berry2"; CB_Berry2.Size = new System.Drawing.Size(164, 25); CB_Berry2.TabIndex = 11; @@ -215,8 +222,8 @@ private void InitializeComponent() CB_Berry1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; CB_Berry1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; CB_Berry1.FormattingEnabled = true; - CB_Berry1.Location = new System.Drawing.Point(124, 25); - CB_Berry1.Margin = new System.Windows.Forms.Padding(0); + CB_Berry1.Location = new System.Drawing.Point(130, 28); + CB_Berry1.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1); CB_Berry1.Name = "CB_Berry1"; CB_Berry1.Size = new System.Drawing.Size(164, 25); CB_Berry1.TabIndex = 10; @@ -227,8 +234,8 @@ private void InitializeComponent() CB_Berry0.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; CB_Berry0.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; CB_Berry0.FormattingEnabled = true; - CB_Berry0.Location = new System.Drawing.Point(124, 0); - CB_Berry0.Margin = new System.Windows.Forms.Padding(0); + CB_Berry0.Location = new System.Drawing.Point(130, 2); + CB_Berry0.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1); CB_Berry0.Name = "CB_Berry0"; CB_Berry0.Size = new System.Drawing.Size(164, 25); CB_Berry0.TabIndex = 9; @@ -236,7 +243,7 @@ private void InitializeComponent() // L_Berry0 // L_Berry0.Anchor = System.Windows.Forms.AnchorStyles.Right; - L_Berry0.Location = new System.Drawing.Point(0, 0); + L_Berry0.Location = new System.Drawing.Point(2, 3); L_Berry0.Margin = new System.Windows.Forms.Padding(0); L_Berry0.Name = "L_Berry0"; L_Berry0.Size = new System.Drawing.Size(104, 24); @@ -248,10 +255,10 @@ private void InitializeComponent() // PB_Berry0.AccessibleRole = System.Windows.Forms.AccessibleRole.None; PB_Berry0.Anchor = System.Windows.Forms.AnchorStyles.None; - PB_Berry0.Location = new System.Drawing.Point(104, 2); + PB_Berry0.Location = new System.Drawing.Point(106, 3); PB_Berry0.Margin = new System.Windows.Forms.Padding(0); PB_Berry0.Name = "PB_Berry0"; - PB_Berry0.Size = new System.Drawing.Size(20, 20); + PB_Berry0.Size = new System.Drawing.Size(24, 24); PB_Berry0.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; PB_Berry0.TabIndex = 18; PB_Berry0.TabStop = false; @@ -259,7 +266,7 @@ private void InitializeComponent() // L_Berry1 // L_Berry1.Anchor = System.Windows.Forms.AnchorStyles.Right; - L_Berry1.Location = new System.Drawing.Point(0, 25); + L_Berry1.Location = new System.Drawing.Point(2, 29); L_Berry1.Margin = new System.Windows.Forms.Padding(0); L_Berry1.Name = "L_Berry1"; L_Berry1.Size = new System.Drawing.Size(104, 24); @@ -271,10 +278,10 @@ private void InitializeComponent() // PB_Berry1.AccessibleRole = System.Windows.Forms.AccessibleRole.None; PB_Berry1.Anchor = System.Windows.Forms.AnchorStyles.None; - PB_Berry1.Location = new System.Drawing.Point(104, 27); + PB_Berry1.Location = new System.Drawing.Point(106, 29); PB_Berry1.Margin = new System.Windows.Forms.Padding(0); PB_Berry1.Name = "PB_Berry1"; - PB_Berry1.Size = new System.Drawing.Size(20, 20); + PB_Berry1.Size = new System.Drawing.Size(24, 24); PB_Berry1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; PB_Berry1.TabIndex = 19; PB_Berry1.TabStop = false; @@ -282,7 +289,7 @@ private void InitializeComponent() // L_Berry2 // L_Berry2.Anchor = System.Windows.Forms.AnchorStyles.Right; - L_Berry2.Location = new System.Drawing.Point(0, 50); + L_Berry2.Location = new System.Drawing.Point(2, 55); L_Berry2.Margin = new System.Windows.Forms.Padding(0); L_Berry2.Name = "L_Berry2"; L_Berry2.Size = new System.Drawing.Size(104, 24); @@ -294,10 +301,10 @@ private void InitializeComponent() // PB_Berry2.AccessibleRole = System.Windows.Forms.AccessibleRole.None; PB_Berry2.Anchor = System.Windows.Forms.AnchorStyles.None; - PB_Berry2.Location = new System.Drawing.Point(104, 52); + PB_Berry2.Location = new System.Drawing.Point(106, 55); PB_Berry2.Margin = new System.Windows.Forms.Padding(0); PB_Berry2.Name = "PB_Berry2"; - PB_Berry2.Size = new System.Drawing.Size(20, 20); + PB_Berry2.Size = new System.Drawing.Size(24, 24); PB_Berry2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; PB_Berry2.TabIndex = 20; PB_Berry2.TabStop = false; @@ -305,7 +312,7 @@ private void InitializeComponent() // L_Berry3 // L_Berry3.Anchor = System.Windows.Forms.AnchorStyles.Right; - L_Berry3.Location = new System.Drawing.Point(0, 75); + L_Berry3.Location = new System.Drawing.Point(2, 81); L_Berry3.Margin = new System.Windows.Forms.Padding(0); L_Berry3.Name = "L_Berry3"; L_Berry3.Size = new System.Drawing.Size(104, 24); @@ -317,10 +324,10 @@ private void InitializeComponent() // PB_Berry3.AccessibleRole = System.Windows.Forms.AccessibleRole.None; PB_Berry3.Anchor = System.Windows.Forms.AnchorStyles.None; - PB_Berry3.Location = new System.Drawing.Point(104, 77); + PB_Berry3.Location = new System.Drawing.Point(106, 81); PB_Berry3.Margin = new System.Windows.Forms.Padding(0); PB_Berry3.Name = "PB_Berry3"; - PB_Berry3.Size = new System.Drawing.Size(20, 20); + PB_Berry3.Size = new System.Drawing.Size(24, 24); PB_Berry3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; PB_Berry3.TabIndex = 21; PB_Berry3.TabStop = false; @@ -328,7 +335,7 @@ private void InitializeComponent() // L_Berry4 // L_Berry4.Anchor = System.Windows.Forms.AnchorStyles.Right; - L_Berry4.Location = new System.Drawing.Point(0, 100); + L_Berry4.Location = new System.Drawing.Point(2, 107); L_Berry4.Margin = new System.Windows.Forms.Padding(0); L_Berry4.Name = "L_Berry4"; L_Berry4.Size = new System.Drawing.Size(104, 24); @@ -340,10 +347,10 @@ private void InitializeComponent() // PB_Berry4.AccessibleRole = System.Windows.Forms.AccessibleRole.None; PB_Berry4.Anchor = System.Windows.Forms.AnchorStyles.None; - PB_Berry4.Location = new System.Drawing.Point(104, 102); + PB_Berry4.Location = new System.Drawing.Point(106, 107); PB_Berry4.Margin = new System.Windows.Forms.Padding(0); PB_Berry4.Name = "PB_Berry4"; - PB_Berry4.Size = new System.Drawing.Size(20, 20); + PB_Berry4.Size = new System.Drawing.Size(24, 24); PB_Berry4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; PB_Berry4.TabIndex = 22; PB_Berry4.TabStop = false; @@ -351,7 +358,7 @@ private void InitializeComponent() // L_Berry5 // L_Berry5.Anchor = System.Windows.Forms.AnchorStyles.Right; - L_Berry5.Location = new System.Drawing.Point(0, 125); + L_Berry5.Location = new System.Drawing.Point(2, 133); L_Berry5.Margin = new System.Windows.Forms.Padding(0); L_Berry5.Name = "L_Berry5"; L_Berry5.Size = new System.Drawing.Size(104, 24); @@ -363,10 +370,10 @@ private void InitializeComponent() // PB_Berry5.AccessibleRole = System.Windows.Forms.AccessibleRole.None; PB_Berry5.Anchor = System.Windows.Forms.AnchorStyles.None; - PB_Berry5.Location = new System.Drawing.Point(104, 127); + PB_Berry5.Location = new System.Drawing.Point(106, 133); PB_Berry5.Margin = new System.Windows.Forms.Padding(0); PB_Berry5.Name = "PB_Berry5"; - PB_Berry5.Size = new System.Drawing.Size(20, 20); + PB_Berry5.Size = new System.Drawing.Size(24, 24); PB_Berry5.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; PB_Berry5.TabIndex = 23; PB_Berry5.TabStop = false; @@ -374,7 +381,7 @@ private void InitializeComponent() // L_Berry6 // L_Berry6.Anchor = System.Windows.Forms.AnchorStyles.Right; - L_Berry6.Location = new System.Drawing.Point(0, 150); + L_Berry6.Location = new System.Drawing.Point(2, 159); L_Berry6.Margin = new System.Windows.Forms.Padding(0); L_Berry6.Name = "L_Berry6"; L_Berry6.Size = new System.Drawing.Size(104, 24); @@ -386,10 +393,10 @@ private void InitializeComponent() // PB_Berry6.AccessibleRole = System.Windows.Forms.AccessibleRole.None; PB_Berry6.Anchor = System.Windows.Forms.AnchorStyles.None; - PB_Berry6.Location = new System.Drawing.Point(104, 152); + PB_Berry6.Location = new System.Drawing.Point(106, 159); PB_Berry6.Margin = new System.Windows.Forms.Padding(0); PB_Berry6.Name = "PB_Berry6"; - PB_Berry6.Size = new System.Drawing.Size(20, 20); + PB_Berry6.Size = new System.Drawing.Size(24, 24); PB_Berry6.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; PB_Berry6.TabIndex = 24; PB_Berry6.TabStop = false; @@ -397,7 +404,7 @@ private void InitializeComponent() // L_Berry7 // L_Berry7.Anchor = System.Windows.Forms.AnchorStyles.Right; - L_Berry7.Location = new System.Drawing.Point(0, 175); + L_Berry7.Location = new System.Drawing.Point(2, 185); L_Berry7.Margin = new System.Windows.Forms.Padding(0); L_Berry7.Name = "L_Berry7"; L_Berry7.Size = new System.Drawing.Size(104, 24); @@ -409,10 +416,10 @@ private void InitializeComponent() // PB_Berry7.AccessibleRole = System.Windows.Forms.AccessibleRole.None; PB_Berry7.Anchor = System.Windows.Forms.AnchorStyles.None; - PB_Berry7.Location = new System.Drawing.Point(104, 177); + PB_Berry7.Location = new System.Drawing.Point(106, 185); PB_Berry7.Margin = new System.Windows.Forms.Padding(0); PB_Berry7.Name = "PB_Berry7"; - PB_Berry7.Size = new System.Drawing.Size(20, 20); + PB_Berry7.Size = new System.Drawing.Size(24, 24); PB_Berry7.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; PB_Berry7.TabIndex = 25; PB_Berry7.TabStop = false; @@ -420,7 +427,7 @@ private void InitializeComponent() // L_Berry8 // L_Berry8.Anchor = System.Windows.Forms.AnchorStyles.Right; - L_Berry8.Location = new System.Drawing.Point(0, 203); + L_Berry8.Location = new System.Drawing.Point(2, 211); L_Berry8.Margin = new System.Windows.Forms.Padding(0); L_Berry8.Name = "L_Berry8"; L_Berry8.Size = new System.Drawing.Size(104, 24); @@ -432,20 +439,40 @@ private void InitializeComponent() // PB_Berry8.AccessibleRole = System.Windows.Forms.AccessibleRole.None; PB_Berry8.Anchor = System.Windows.Forms.AnchorStyles.None; - PB_Berry8.Location = new System.Drawing.Point(104, 205); + PB_Berry8.Location = new System.Drawing.Point(106, 211); PB_Berry8.Margin = new System.Windows.Forms.Padding(0); PB_Berry8.Name = "PB_Berry8"; - PB_Berry8.Size = new System.Drawing.Size(20, 20); + PB_Berry8.Size = new System.Drawing.Size(24, 24); PB_Berry8.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; PB_Berry8.TabIndex = 26; PB_Berry8.TabStop = false; // + // PB_Donut + // + PB_Donut.Location = new System.Drawing.Point(466, 0); + PB_Donut.Name = "PB_Donut"; + PB_Donut.Size = new System.Drawing.Size(80, 80); + PB_Donut.TabIndex = 62; + PB_Donut.TabStop = false; + // + // flowLayoutPanel1 + // + flowLayoutPanel1.AutoSize = true; + flowLayoutPanel1.Controls.Add(tableLayoutPanel1); + flowLayoutPanel1.Controls.Add(tableLayoutPanel2); + flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + flowLayoutPanel1.Location = new System.Drawing.Point(0, 0); + flowLayoutPanel1.Name = "flowLayoutPanel1"; + flowLayoutPanel1.Size = new System.Drawing.Size(644, 238); + flowLayoutPanel1.TabIndex = 63; + // // tableLayoutPanel2 // tableLayoutPanel2.AutoSize = true; tableLayoutPanel2.ColumnCount = 2; - tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + tableLayoutPanel2.Controls.Add(TB_Unknown, 1, 8); tableLayoutPanel2.Controls.Add(NUD_Stars, 1, 0); tableLayoutPanel2.Controls.Add(L_Donut, 0, 3); tableLayoutPanel2.Controls.Add(NUD_LevelBoost, 1, 2); @@ -460,9 +487,13 @@ private void InitializeComponent() tableLayoutPanel2.Controls.Add(CB_Flavor2, 1, 6); tableLayoutPanel2.Controls.Add(NUD_Calories, 1, 1); tableLayoutPanel2.Controls.Add(CB_Donut, 1, 3); - tableLayoutPanel2.Location = new System.Drawing.Point(317, 3); + tableLayoutPanel2.Controls.Add(CAL_Date, 1, 7); + tableLayoutPanel2.Controls.Add(L_Unknown, 0, 8); + tableLayoutPanel2.Location = new System.Drawing.Point(296, 0); + tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(0); tableLayoutPanel2.Name = "tableLayoutPanel2"; - tableLayoutPanel2.RowCount = 7; + tableLayoutPanel2.Padding = new System.Windows.Forms.Padding(2); + tableLayoutPanel2.RowCount = 9; tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); @@ -470,13 +501,23 @@ private void InitializeComponent() tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); - tableLayoutPanel2.Size = new System.Drawing.Size(344, 175); - tableLayoutPanel2.TabIndex = 1; + tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); + tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); + tableLayoutPanel2.Size = new System.Drawing.Size(348, 238); + tableLayoutPanel2.TabIndex = 2; + // + // TB_Unknown + // + TB_Unknown.Location = new System.Drawing.Point(106, 210); + TB_Unknown.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1); + TB_Unknown.Name = "TB_Unknown"; + TB_Unknown.Size = new System.Drawing.Size(163, 25); + TB_Unknown.TabIndex = 60; // // NUD_Stars // - NUD_Stars.Location = new System.Drawing.Point(104, 0); - NUD_Stars.Margin = new System.Windows.Forms.Padding(0); + NUD_Stars.Location = new System.Drawing.Point(106, 2); + NUD_Stars.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1); NUD_Stars.Maximum = new decimal(new int[] { 6, 0, 0, 0 }); NUD_Stars.Name = "NUD_Stars"; NUD_Stars.Size = new System.Drawing.Size(61, 25); @@ -485,7 +526,7 @@ private void InitializeComponent() // L_Donut // L_Donut.Anchor = System.Windows.Forms.AnchorStyles.Right; - L_Donut.Location = new System.Drawing.Point(0, 75); + L_Donut.Location = new System.Drawing.Point(2, 81); L_Donut.Margin = new System.Windows.Forms.Padding(0); L_Donut.Name = "L_Donut"; L_Donut.Size = new System.Drawing.Size(104, 24); @@ -495,8 +536,8 @@ private void InitializeComponent() // // NUD_LevelBoost // - NUD_LevelBoost.Location = new System.Drawing.Point(104, 50); - NUD_LevelBoost.Margin = new System.Windows.Forms.Padding(0); + NUD_LevelBoost.Location = new System.Drawing.Point(106, 54); + NUD_LevelBoost.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1); NUD_LevelBoost.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); NUD_LevelBoost.Name = "NUD_LevelBoost"; NUD_LevelBoost.Size = new System.Drawing.Size(61, 25); @@ -505,7 +546,7 @@ private void InitializeComponent() // L_LevelBoost // L_LevelBoost.Anchor = System.Windows.Forms.AnchorStyles.Right; - L_LevelBoost.Location = new System.Drawing.Point(0, 50); + L_LevelBoost.Location = new System.Drawing.Point(2, 55); L_LevelBoost.Margin = new System.Windows.Forms.Padding(0); L_LevelBoost.Name = "L_LevelBoost"; L_LevelBoost.Size = new System.Drawing.Size(104, 24); @@ -516,7 +557,7 @@ private void InitializeComponent() // L_Calories // L_Calories.Anchor = System.Windows.Forms.AnchorStyles.Right; - L_Calories.Location = new System.Drawing.Point(0, 25); + L_Calories.Location = new System.Drawing.Point(2, 29); L_Calories.Margin = new System.Windows.Forms.Padding(0); L_Calories.Name = "L_Calories"; L_Calories.Size = new System.Drawing.Size(104, 24); @@ -527,7 +568,7 @@ private void InitializeComponent() // L_Stars // L_Stars.Anchor = System.Windows.Forms.AnchorStyles.Right; - L_Stars.Location = new System.Drawing.Point(0, 0); + L_Stars.Location = new System.Drawing.Point(2, 3); L_Stars.Margin = new System.Windows.Forms.Padding(0); L_Stars.Name = "L_Stars"; L_Stars.Size = new System.Drawing.Size(104, 24); @@ -538,7 +579,7 @@ private void InitializeComponent() // L_Flavor2 // L_Flavor2.Anchor = System.Windows.Forms.AnchorStyles.Right; - L_Flavor2.Location = new System.Drawing.Point(0, 150); + L_Flavor2.Location = new System.Drawing.Point(2, 159); L_Flavor2.Margin = new System.Windows.Forms.Padding(0); L_Flavor2.Name = "L_Flavor2"; L_Flavor2.Size = new System.Drawing.Size(104, 24); @@ -549,7 +590,7 @@ private void InitializeComponent() // L_Flavor1 // L_Flavor1.Anchor = System.Windows.Forms.AnchorStyles.Right; - L_Flavor1.Location = new System.Drawing.Point(0, 125); + L_Flavor1.Location = new System.Drawing.Point(2, 133); L_Flavor1.Margin = new System.Windows.Forms.Padding(0); L_Flavor1.Name = "L_Flavor1"; L_Flavor1.Size = new System.Drawing.Size(104, 24); @@ -560,7 +601,7 @@ private void InitializeComponent() // L_Flavor0 // L_Flavor0.Anchor = System.Windows.Forms.AnchorStyles.Right; - L_Flavor0.Location = new System.Drawing.Point(0, 100); + L_Flavor0.Location = new System.Drawing.Point(2, 107); L_Flavor0.Margin = new System.Windows.Forms.Padding(0); L_Flavor0.Name = "L_Flavor0"; L_Flavor0.Size = new System.Drawing.Size(104, 24); @@ -573,8 +614,8 @@ private void InitializeComponent() CB_Flavor0.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; CB_Flavor0.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; CB_Flavor0.FormattingEnabled = true; - CB_Flavor0.Location = new System.Drawing.Point(104, 100); - CB_Flavor0.Margin = new System.Windows.Forms.Padding(0); + CB_Flavor0.Location = new System.Drawing.Point(106, 106); + CB_Flavor0.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1); CB_Flavor0.Name = "CB_Flavor0"; CB_Flavor0.Size = new System.Drawing.Size(240, 25); CB_Flavor0.TabIndex = 10; @@ -584,8 +625,8 @@ private void InitializeComponent() CB_Flavor1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; CB_Flavor1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; CB_Flavor1.FormattingEnabled = true; - CB_Flavor1.Location = new System.Drawing.Point(104, 125); - CB_Flavor1.Margin = new System.Windows.Forms.Padding(0); + CB_Flavor1.Location = new System.Drawing.Point(106, 132); + CB_Flavor1.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1); CB_Flavor1.Name = "CB_Flavor1"; CB_Flavor1.Size = new System.Drawing.Size(240, 25); CB_Flavor1.TabIndex = 11; @@ -595,16 +636,16 @@ private void InitializeComponent() CB_Flavor2.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; CB_Flavor2.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; CB_Flavor2.FormattingEnabled = true; - CB_Flavor2.Location = new System.Drawing.Point(104, 150); - CB_Flavor2.Margin = new System.Windows.Forms.Padding(0); + CB_Flavor2.Location = new System.Drawing.Point(106, 158); + CB_Flavor2.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1); CB_Flavor2.Name = "CB_Flavor2"; CB_Flavor2.Size = new System.Drawing.Size(240, 25); CB_Flavor2.TabIndex = 12; // // NUD_Calories // - NUD_Calories.Location = new System.Drawing.Point(104, 25); - NUD_Calories.Margin = new System.Windows.Forms.Padding(0); + NUD_Calories.Location = new System.Drawing.Point(106, 28); + NUD_Calories.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1); NUD_Calories.Maximum = new decimal(new int[] { 65535, 0, 0, 0 }); NUD_Calories.Name = "NUD_Calories"; NUD_Calories.Size = new System.Drawing.Size(61, 25); @@ -615,8 +656,8 @@ private void InitializeComponent() CB_Donut.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; CB_Donut.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; CB_Donut.FormattingEnabled = true; - CB_Donut.Location = new System.Drawing.Point(104, 75); - CB_Donut.Margin = new System.Windows.Forms.Padding(0); + CB_Donut.Location = new System.Drawing.Point(106, 80); + CB_Donut.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1); CB_Donut.Name = "CB_Donut"; CB_Donut.Size = new System.Drawing.Size(240, 25); CB_Donut.TabIndex = 22; @@ -625,30 +666,33 @@ private void InitializeComponent() // CAL_Date.CustomFormat = "hh:mm:ss ddd MMMM dd, yyyy"; CAL_Date.Format = System.Windows.Forms.DateTimePickerFormat.Custom; - CAL_Date.Location = new System.Drawing.Point(421, 181); - CAL_Date.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); + CAL_Date.Location = new System.Drawing.Point(106, 184); + CAL_Date.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1); CAL_Date.MaxDate = new System.DateTime(4095, 12, 31, 0, 0, 0, 0); CAL_Date.Name = "CAL_Date"; CAL_Date.Size = new System.Drawing.Size(240, 25); CAL_Date.TabIndex = 58; CAL_Date.Value = new System.DateTime(2000, 1, 1, 0, 0, 0, 0); // - // TB_Unknown + // L_Unknown // - TB_Unknown.Location = new System.Drawing.Point(421, 208); - TB_Unknown.Name = "TB_Unknown"; - TB_Unknown.Size = new System.Drawing.Size(163, 25); - TB_Unknown.TabIndex = 60; + L_Unknown.Anchor = System.Windows.Forms.AnchorStyles.Right; + L_Unknown.Location = new System.Drawing.Point(2, 211); + L_Unknown.Margin = new System.Windows.Forms.Padding(0); + L_Unknown.Name = "L_Unknown"; + L_Unknown.Size = new System.Drawing.Size(104, 24); + L_Unknown.TabIndex = 61; + L_Unknown.Text = "Unknown:"; + L_Unknown.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // DonutEditor9a // + AutoSize = true; AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - Controls.Add(TB_Unknown); - Controls.Add(CAL_Date); - Controls.Add(tableLayoutPanel2); - Controls.Add(tableLayoutPanel1); + Controls.Add(PB_Donut); + Controls.Add(flowLayoutPanel1); Name = "DonutEditor9a"; - Size = new System.Drawing.Size(667, 245); + Size = new System.Drawing.Size(644, 238); tableLayoutPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)PB_Berry0).EndInit(); ((System.ComponentModel.ISupportInitialize)PB_Berry1).EndInit(); @@ -659,7 +703,11 @@ private void InitializeComponent() ((System.ComponentModel.ISupportInitialize)PB_Berry6).EndInit(); ((System.ComponentModel.ISupportInitialize)PB_Berry7).EndInit(); ((System.ComponentModel.ISupportInitialize)PB_Berry8).EndInit(); + ((System.ComponentModel.ISupportInitialize)PB_Donut).EndInit(); + flowLayoutPanel1.ResumeLayout(false); + flowLayoutPanel1.PerformLayout(); tableLayoutPanel2.ResumeLayout(false); + tableLayoutPanel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)NUD_Stars).EndInit(); ((System.ComponentModel.ISupportInitialize)NUD_LevelBoost).EndInit(); ((System.ComponentModel.ISupportInitialize)NUD_Calories).EndInit(); @@ -686,23 +734,6 @@ private void InitializeComponent() private System.Windows.Forms.ComboBox CB_Berry6; private System.Windows.Forms.ComboBox CB_Berry7; private System.Windows.Forms.ComboBox CB_Berry8; - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; - private System.Windows.Forms.Label L_Flavor2; - private System.Windows.Forms.Label L_Flavor1; - private System.Windows.Forms.Label L_Flavor0; - private System.Windows.Forms.ComboBox CB_Flavor0; - private System.Windows.Forms.ComboBox CB_Flavor1; - private System.Windows.Forms.ComboBox CB_Flavor2; - private System.Windows.Forms.Label L_Stars; - private System.Windows.Forms.NumericUpDown NUD_LevelBoost; - private System.Windows.Forms.Label L_LevelBoost; - private System.Windows.Forms.Label L_Calories; - private System.Windows.Forms.NumericUpDown NUD_Calories; - private System.Windows.Forms.Label L_Donut; - private System.Windows.Forms.ComboBox CB_Donut; - private System.Windows.Forms.DateTimePicker CAL_Date; - private System.Windows.Forms.NumericUpDown NUD_Stars; - private System.Windows.Forms.TextBox TB_Unknown; private System.Windows.Forms.PictureBox PB_Berry0; private System.Windows.Forms.PictureBox PB_Berry8; private System.Windows.Forms.PictureBox PB_Berry7; @@ -712,5 +743,25 @@ private void InitializeComponent() private System.Windows.Forms.PictureBox PB_Berry3; private System.Windows.Forms.PictureBox PB_Berry2; private System.Windows.Forms.PictureBox PB_Berry1; + private System.Windows.Forms.PictureBox PB_Donut; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; + private System.Windows.Forms.TextBox TB_Unknown; + private System.Windows.Forms.NumericUpDown NUD_Stars; + private System.Windows.Forms.Label L_Donut; + private System.Windows.Forms.NumericUpDown NUD_LevelBoost; + private System.Windows.Forms.Label L_LevelBoost; + private System.Windows.Forms.Label L_Calories; + private System.Windows.Forms.Label L_Stars; + private System.Windows.Forms.Label L_Flavor2; + private System.Windows.Forms.Label L_Flavor1; + private System.Windows.Forms.Label L_Flavor0; + private System.Windows.Forms.ComboBox CB_Flavor0; + private System.Windows.Forms.ComboBox CB_Flavor1; + private System.Windows.Forms.ComboBox CB_Flavor2; + private System.Windows.Forms.NumericUpDown NUD_Calories; + private System.Windows.Forms.ComboBox CB_Donut; + private System.Windows.Forms.DateTimePicker CAL_Date; + private System.Windows.Forms.Label L_Unknown; } }