Fix Currency Counter On Profile Form

This commit is contained in:
Alan Moon 2025-06-21 10:58:01 -07:00
parent f772058b1d
commit 9b06ddfd74

View File

@ -41,12 +41,12 @@
pbCurrencyIcon = new PictureBox(); pbCurrencyIcon = new PictureBox();
lblCurrencyAmount = new Label(); lblCurrencyAmount = new Label();
flpUsernameCurrency = new FlowLayoutPanel(); flpUsernameCurrency = new FlowLayoutPanel();
flpCurrency = new FlowLayoutPanel(); panel1 = new Panel();
((System.ComponentModel.ISupportInitialize)pbUserPfp).BeginInit(); ((System.ComponentModel.ISupportInitialize)pbUserPfp).BeginInit();
((System.ComponentModel.ISupportInitialize)pbUserStatus).BeginInit(); ((System.ComponentModel.ISupportInitialize)pbUserStatus).BeginInit();
((System.ComponentModel.ISupportInitialize)pbCurrencyIcon).BeginInit(); ((System.ComponentModel.ISupportInitialize)pbCurrencyIcon).BeginInit();
flpUsernameCurrency.SuspendLayout(); flpUsernameCurrency.SuspendLayout();
flpCurrency.SuspendLayout(); panel1.SuspendLayout();
SuspendLayout(); SuspendLayout();
// //
// pbUserPfp // pbUserPfp
@ -163,7 +163,7 @@
// pbCurrencyIcon // pbCurrencyIcon
// //
pbCurrencyIcon.Image = Properties.Resources.CurrencyIcon; pbCurrencyIcon.Image = Properties.Resources.CurrencyIcon;
pbCurrencyIcon.Location = new Point(3, 3); pbCurrencyIcon.Location = new Point(5, 6);
pbCurrencyIcon.Name = "pbCurrencyIcon"; pbCurrencyIcon.Name = "pbCurrencyIcon";
pbCurrencyIcon.Size = new Size(15, 14); pbCurrencyIcon.Size = new Size(15, 14);
pbCurrencyIcon.SizeMode = PictureBoxSizeMode.StretchImage; pbCurrencyIcon.SizeMode = PictureBoxSizeMode.StretchImage;
@ -177,7 +177,7 @@
lblCurrencyAmount.BackColor = Color.Transparent; lblCurrencyAmount.BackColor = Color.Transparent;
lblCurrencyAmount.Font = new Font("Segoe UI", 9F, FontStyle.Bold); lblCurrencyAmount.Font = new Font("Segoe UI", 9F, FontStyle.Bold);
lblCurrencyAmount.ForeColor = Color.White; lblCurrencyAmount.ForeColor = Color.White;
lblCurrencyAmount.Location = new Point(24, 5); lblCurrencyAmount.Location = new Point(22, 6);
lblCurrencyAmount.Name = "lblCurrencyAmount"; lblCurrencyAmount.Name = "lblCurrencyAmount";
lblCurrencyAmount.Size = new Size(14, 15); lblCurrencyAmount.Size = new Size(14, 15);
lblCurrencyAmount.TabIndex = 12; lblCurrencyAmount.TabIndex = 12;
@ -188,21 +188,21 @@
// //
flpUsernameCurrency.BackColor = Color.Transparent; flpUsernameCurrency.BackColor = Color.Transparent;
flpUsernameCurrency.Controls.Add(lblUsername); flpUsernameCurrency.Controls.Add(lblUsername);
flpUsernameCurrency.Controls.Add(flpCurrency); flpUsernameCurrency.Controls.Add(panel1);
flpUsernameCurrency.Location = new Point(152, 8); flpUsernameCurrency.Location = new Point(152, 8);
flpUsernameCurrency.Name = "flpUsernameCurrency"; flpUsernameCurrency.Name = "flpUsernameCurrency";
flpUsernameCurrency.Size = new Size(246, 33); flpUsernameCurrency.Size = new Size(246, 33);
flpUsernameCurrency.TabIndex = 13; flpUsernameCurrency.TabIndex = 13;
flpUsernameCurrency.WrapContents = false; flpUsernameCurrency.WrapContents = false;
// //
// flpCurrency // panel1
// //
flpCurrency.Controls.Add(pbCurrencyIcon); panel1.Controls.Add(pbCurrencyIcon);
flpCurrency.Controls.Add(lblCurrencyAmount); panel1.Controls.Add(lblCurrencyAmount);
flpCurrency.Location = new Point(114, 3); panel1.Location = new Point(114, 3);
flpCurrency.Name = "flpCurrency"; panel1.Name = "panel1";
flpCurrency.Size = new Size(76, 23); panel1.Size = new Size(73, 24);
flpCurrency.TabIndex = 4; panel1.TabIndex = 14;
// //
// Profile // Profile
// //
@ -233,8 +233,8 @@
((System.ComponentModel.ISupportInitialize)pbCurrencyIcon).EndInit(); ((System.ComponentModel.ISupportInitialize)pbCurrencyIcon).EndInit();
flpUsernameCurrency.ResumeLayout(false); flpUsernameCurrency.ResumeLayout(false);
flpUsernameCurrency.PerformLayout(); flpUsernameCurrency.PerformLayout();
flpCurrency.ResumeLayout(false); panel1.ResumeLayout(false);
flpCurrency.PerformLayout(); panel1.PerformLayout();
ResumeLayout(false); ResumeLayout(false);
} }
@ -252,6 +252,6 @@
private PictureBox pbCurrencyIcon; private PictureBox pbCurrencyIcon;
private Label lblCurrencyAmount; private Label lblCurrencyAmount;
private FlowLayoutPanel flpUsernameCurrency; private FlowLayoutPanel flpUsernameCurrency;
private FlowLayoutPanel flpCurrency; private Panel panel1;
} }
} }