From 6c3fc72cf5f1a636f99a5df8ad086d972f915490 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Sun, 9 Jul 2023 21:04:35 +1000 Subject: [PATCH] main: Added TX history box placeholder --- FireWalletLite/MainForm.Designer.cs | 25 +++++++++++++++++++++++++ FireWalletLite/MainForm.cs | 3 ++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/FireWalletLite/MainForm.Designer.cs b/FireWalletLite/MainForm.Designer.cs index 7a770c4..d06aa03 100644 --- a/FireWalletLite/MainForm.Designer.cs +++ b/FireWalletLite/MainForm.Designer.cs @@ -43,6 +43,8 @@ labelPassword = new Label(); LoginButton = new Button(); panelPortfolio = new Panel(); + groupBoxHistory = new GroupBox(); + panelHistory = new Panel(); buttonRenew = new Button(); groupBoxDomains = new GroupBox(); panelDomainList = new Panel(); @@ -57,6 +59,7 @@ ((System.ComponentModel.ISupportInitialize)pictureBoxLogo).BeginInit(); groupBoxLogin.SuspendLayout(); panelPortfolio.SuspendLayout(); + groupBoxHistory.SuspendLayout(); groupBoxDomains.SuspendLayout(); panelNav.SuspendLayout(); groupBoxAccount.SuspendLayout(); @@ -179,6 +182,7 @@ // // panelPortfolio // + panelPortfolio.Controls.Add(groupBoxHistory); panelPortfolio.Controls.Add(buttonRenew); panelPortfolio.Controls.Add(groupBoxDomains); panelPortfolio.Controls.Add(panelNav); @@ -189,6 +193,24 @@ panelPortfolio.TabIndex = 2; panelPortfolio.Visible = false; // + // groupBoxHistory + // + groupBoxHistory.Controls.Add(panelHistory); + groupBoxHistory.Location = new Point(102, 226); + groupBoxHistory.Name = "groupBoxHistory"; + groupBoxHistory.Size = new Size(299, 293); + groupBoxHistory.TabIndex = 4; + groupBoxHistory.TabStop = false; + groupBoxHistory.Text = "History"; + // + // panelHistory + // + panelHistory.Dock = DockStyle.Fill; + panelHistory.Location = new Point(3, 19); + panelHistory.Name = "panelHistory"; + panelHistory.Size = new Size(293, 271); + panelHistory.TabIndex = 0; + // // buttonRenew // buttonRenew.Enabled = false; @@ -309,6 +331,7 @@ groupBoxLogin.ResumeLayout(false); groupBoxLogin.PerformLayout(); panelPortfolio.ResumeLayout(false); + groupBoxHistory.ResumeLayout(false); groupBoxDomains.ResumeLayout(false); panelNav.ResumeLayout(false); groupBoxAccount.ResumeLayout(false); @@ -341,5 +364,7 @@ private PictureBox pictureBoxLogo; private ToolStripStatusLabel LabelSyncWarning; private ToolStripDropDownButton DropDownHelp; + private GroupBox groupBoxHistory; + private Panel panelHistory; } } \ No newline at end of file diff --git a/FireWalletLite/MainForm.cs b/FireWalletLite/MainForm.cs index 944cb5c..0f99792 100644 --- a/FireWalletLite/MainForm.cs +++ b/FireWalletLite/MainForm.cs @@ -485,7 +485,8 @@ namespace FireWalletLite buttonReceive.Top = statusStripMain.Height + 10; buttonSend.Top = buttonReceive.Top + buttonReceive.Height + 10; buttonRenew.Top = groupBoxAccount.Top + groupBoxAccount.Height + 10; - + groupBoxHistory.Top = buttonRenew.Top + buttonRenew.Height + 10; + groupBoxHistory.Height = this.Height - groupBoxHistory.Top - 40; } private void MainForm_FormClosing(object sender, FormClosingEventArgs e) {