main: Added TX history box placeholder

This commit is contained in:
Nathan Woodburn 2023-07-09 21:04:35 +10:00
parent eb9e201c55
commit 6c3fc72cf5
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
2 changed files with 27 additions and 1 deletions

View File

@ -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;
}
}

View File

@ -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)
{