mirror of
https://github.com/Nathanwoodburn/FireWallet.git
synced 2024-11-10 17:28:17 +11:00
main: Finished settings page
This commit is contained in:
parent
4f4a3e7a9e
commit
d3b50b98f3
115
FireWallet/MainForm.Designer.cs
generated
115
FireWallet/MainForm.Designer.cs
generated
@ -90,6 +90,10 @@ namespace FireWallet
|
|||||||
labelDomainSearch = new Label();
|
labelDomainSearch = new Label();
|
||||||
textBoxDomainSearch = new TextBox();
|
textBoxDomainSearch = new TextBox();
|
||||||
panelSettings = new Panel();
|
panelSettings = new Panel();
|
||||||
|
groupBoxSettingsMisc = new GroupBox();
|
||||||
|
labelSettings6 = new Label();
|
||||||
|
numericUpDownConfirmations = new NumericUpDown();
|
||||||
|
labelSettings5 = new Label();
|
||||||
labelSettingsSaved = new Label();
|
labelSettingsSaved = new Label();
|
||||||
buttonSettingsSave = new Button();
|
buttonSettingsSave = new Button();
|
||||||
groupBoxSettingsExplorer = new GroupBox();
|
groupBoxSettingsExplorer = new GroupBox();
|
||||||
@ -101,10 +105,9 @@ namespace FireWallet
|
|||||||
textBoxExAddr = new TextBox();
|
textBoxExAddr = new TextBox();
|
||||||
labelSettings4 = new Label();
|
labelSettings4 = new Label();
|
||||||
textBoxExTX = new TextBox();
|
textBoxExTX = new TextBox();
|
||||||
groupBoxSettingsMisc = new GroupBox();
|
labelSettings7 = new Label();
|
||||||
labelSettings5 = new Label();
|
numericUpDownTXCount = new NumericUpDown();
|
||||||
numericUpDownConfirmations = new NumericUpDown();
|
labelSettings8 = new Label();
|
||||||
labelSettings6 = new Label();
|
|
||||||
statusStripmain.SuspendLayout();
|
statusStripmain.SuspendLayout();
|
||||||
panelaccount.SuspendLayout();
|
panelaccount.SuspendLayout();
|
||||||
groupBoxaccount.SuspendLayout();
|
groupBoxaccount.SuspendLayout();
|
||||||
@ -118,9 +121,10 @@ namespace FireWallet
|
|||||||
panelDomains.SuspendLayout();
|
panelDomains.SuspendLayout();
|
||||||
groupBoxDomains.SuspendLayout();
|
groupBoxDomains.SuspendLayout();
|
||||||
panelSettings.SuspendLayout();
|
panelSettings.SuspendLayout();
|
||||||
groupBoxSettingsExplorer.SuspendLayout();
|
|
||||||
groupBoxSettingsMisc.SuspendLayout();
|
groupBoxSettingsMisc.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)numericUpDownConfirmations).BeginInit();
|
((System.ComponentModel.ISupportInitialize)numericUpDownConfirmations).BeginInit();
|
||||||
|
groupBoxSettingsExplorer.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)numericUpDownTXCount).BeginInit();
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
//
|
//
|
||||||
// statusStripmain
|
// statusStripmain
|
||||||
@ -722,6 +726,47 @@ namespace FireWallet
|
|||||||
panelSettings.TabIndex = 19;
|
panelSettings.TabIndex = 19;
|
||||||
panelSettings.Visible = false;
|
panelSettings.Visible = false;
|
||||||
//
|
//
|
||||||
|
// groupBoxSettingsMisc
|
||||||
|
//
|
||||||
|
groupBoxSettingsMisc.Controls.Add(labelSettings8);
|
||||||
|
groupBoxSettingsMisc.Controls.Add(labelSettings6);
|
||||||
|
groupBoxSettingsMisc.Controls.Add(numericUpDownTXCount);
|
||||||
|
groupBoxSettingsMisc.Controls.Add(labelSettings7);
|
||||||
|
groupBoxSettingsMisc.Controls.Add(numericUpDownConfirmations);
|
||||||
|
groupBoxSettingsMisc.Controls.Add(labelSettings5);
|
||||||
|
groupBoxSettingsMisc.Location = new Point(14, 210);
|
||||||
|
groupBoxSettingsMisc.Name = "groupBoxSettingsMisc";
|
||||||
|
groupBoxSettingsMisc.Size = new Size(487, 194);
|
||||||
|
groupBoxSettingsMisc.TabIndex = 7;
|
||||||
|
groupBoxSettingsMisc.TabStop = false;
|
||||||
|
groupBoxSettingsMisc.Text = "Misc Settings";
|
||||||
|
//
|
||||||
|
// labelSettings6
|
||||||
|
//
|
||||||
|
labelSettings6.AutoSize = true;
|
||||||
|
labelSettings6.Location = new Point(255, 36);
|
||||||
|
labelSettings6.Name = "labelSettings6";
|
||||||
|
labelSettings6.Size = new Size(54, 21);
|
||||||
|
labelSettings6.TabIndex = 2;
|
||||||
|
labelSettings6.Text = "blocks";
|
||||||
|
//
|
||||||
|
// numericUpDownConfirmations
|
||||||
|
//
|
||||||
|
numericUpDownConfirmations.Location = new Point(129, 34);
|
||||||
|
numericUpDownConfirmations.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
|
||||||
|
numericUpDownConfirmations.Name = "numericUpDownConfirmations";
|
||||||
|
numericUpDownConfirmations.Size = new Size(120, 29);
|
||||||
|
numericUpDownConfirmations.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// labelSettings5
|
||||||
|
//
|
||||||
|
labelSettings5.AutoSize = true;
|
||||||
|
labelSettings5.Location = new Point(11, 36);
|
||||||
|
labelSettings5.Name = "labelSettings5";
|
||||||
|
labelSettings5.Size = new Size(112, 21);
|
||||||
|
labelSettings5.TabIndex = 0;
|
||||||
|
labelSettings5.Text = "Confirmations:";
|
||||||
|
//
|
||||||
// labelSettingsSaved
|
// labelSettingsSaved
|
||||||
//
|
//
|
||||||
labelSettingsSaved.AutoSize = true;
|
labelSettingsSaved.AutoSize = true;
|
||||||
@ -826,43 +871,31 @@ namespace FireWallet
|
|||||||
textBoxExTX.Size = new Size(307, 29);
|
textBoxExTX.Size = new Size(307, 29);
|
||||||
textBoxExTX.TabIndex = 1;
|
textBoxExTX.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// groupBoxSettingsMisc
|
// labelSettings7
|
||||||
//
|
//
|
||||||
groupBoxSettingsMisc.Controls.Add(labelSettings6);
|
labelSettings7.AutoSize = true;
|
||||||
groupBoxSettingsMisc.Controls.Add(numericUpDownConfirmations);
|
labelSettings7.Location = new Point(71, 73);
|
||||||
groupBoxSettingsMisc.Controls.Add(labelSettings5);
|
labelSettings7.Name = "labelSettings7";
|
||||||
groupBoxSettingsMisc.Location = new Point(14, 210);
|
labelSettings7.Size = new Size(52, 21);
|
||||||
groupBoxSettingsMisc.Name = "groupBoxSettingsMisc";
|
labelSettings7.TabIndex = 0;
|
||||||
groupBoxSettingsMisc.Size = new Size(487, 194);
|
labelSettings7.Text = "Show:";
|
||||||
groupBoxSettingsMisc.TabIndex = 7;
|
|
||||||
groupBoxSettingsMisc.TabStop = false;
|
|
||||||
groupBoxSettingsMisc.Text = "Misc Settings";
|
|
||||||
//
|
//
|
||||||
// labelSettings5
|
// numericUpDownTXCount
|
||||||
//
|
//
|
||||||
labelSettings5.AutoSize = true;
|
numericUpDownTXCount.Location = new Point(129, 69);
|
||||||
labelSettings5.Location = new Point(11, 36);
|
numericUpDownTXCount.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
|
||||||
labelSettings5.Name = "labelSettings5";
|
numericUpDownTXCount.Name = "numericUpDownTXCount";
|
||||||
labelSettings5.Size = new Size(112, 21);
|
numericUpDownTXCount.Size = new Size(120, 29);
|
||||||
labelSettings5.TabIndex = 0;
|
numericUpDownTXCount.TabIndex = 1;
|
||||||
labelSettings5.Text = "Confirmations:";
|
|
||||||
//
|
//
|
||||||
// numericUpDown1
|
// labelSettings8
|
||||||
//
|
//
|
||||||
numericUpDownConfirmations.Location = new Point(129, 34);
|
labelSettings8.AutoSize = true;
|
||||||
numericUpDownConfirmations.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
|
labelSettings8.Location = new Point(255, 71);
|
||||||
numericUpDownConfirmations.Name = "numericUpDown1";
|
labelSettings8.Name = "labelSettings8";
|
||||||
numericUpDownConfirmations.Size = new Size(120, 29);
|
labelSettings8.Size = new Size(120, 21);
|
||||||
numericUpDownConfirmations.TabIndex = 1;
|
labelSettings8.TabIndex = 2;
|
||||||
//
|
labelSettings8.Text = "TXs on portfolio";
|
||||||
// labelSettings6
|
|
||||||
//
|
|
||||||
labelSettings6.AutoSize = true;
|
|
||||||
labelSettings6.Location = new Point(255, 36);
|
|
||||||
labelSettings6.Name = "labelSettings6";
|
|
||||||
labelSettings6.Size = new Size(54, 21);
|
|
||||||
labelSettings6.TabIndex = 2;
|
|
||||||
labelSettings6.Text = "blocks";
|
|
||||||
//
|
//
|
||||||
// MainForm
|
// MainForm
|
||||||
//
|
//
|
||||||
@ -904,11 +937,12 @@ namespace FireWallet
|
|||||||
groupBoxDomains.ResumeLayout(false);
|
groupBoxDomains.ResumeLayout(false);
|
||||||
panelSettings.ResumeLayout(false);
|
panelSettings.ResumeLayout(false);
|
||||||
panelSettings.PerformLayout();
|
panelSettings.PerformLayout();
|
||||||
groupBoxSettingsExplorer.ResumeLayout(false);
|
|
||||||
groupBoxSettingsExplorer.PerformLayout();
|
|
||||||
groupBoxSettingsMisc.ResumeLayout(false);
|
groupBoxSettingsMisc.ResumeLayout(false);
|
||||||
groupBoxSettingsMisc.PerformLayout();
|
groupBoxSettingsMisc.PerformLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)numericUpDownConfirmations).EndInit();
|
((System.ComponentModel.ISupportInitialize)numericUpDownConfirmations).EndInit();
|
||||||
|
groupBoxSettingsExplorer.ResumeLayout(false);
|
||||||
|
groupBoxSettingsExplorer.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)numericUpDownTXCount).EndInit();
|
||||||
ResumeLayout(false);
|
ResumeLayout(false);
|
||||||
PerformLayout();
|
PerformLayout();
|
||||||
}
|
}
|
||||||
@ -985,5 +1019,8 @@ namespace FireWallet
|
|||||||
private Label labelSettings6;
|
private Label labelSettings6;
|
||||||
private NumericUpDown numericUpDownConfirmations;
|
private NumericUpDown numericUpDownConfirmations;
|
||||||
private Label labelSettings5;
|
private Label labelSettings5;
|
||||||
|
private Label labelSettings8;
|
||||||
|
private NumericUpDown numericUpDownTXCount;
|
||||||
|
private Label labelSettings7;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -42,6 +42,7 @@ namespace FireWallet
|
|||||||
if (userSettings["hide-splash"] == "false")
|
if (userSettings["hide-splash"] == "false")
|
||||||
{
|
{
|
||||||
// Show splash screen
|
// Show splash screen
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -905,6 +906,7 @@ namespace FireWallet
|
|||||||
textBoxExBlock.Text = userSettings["explorer-block"];
|
textBoxExBlock.Text = userSettings["explorer-block"];
|
||||||
textBoxExName.Text = userSettings["explorer-domain"];
|
textBoxExName.Text = userSettings["explorer-domain"];
|
||||||
numericUpDownConfirmations.Value = int.Parse(userSettings["confirmations"]);
|
numericUpDownConfirmations.Value = int.Parse(userSettings["confirmations"]);
|
||||||
|
numericUpDownTXCount.Value = int.Parse(userSettings["portfolio-tx"]);
|
||||||
labelSettingsSaved.Hide();
|
labelSettingsSaved.Hide();
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
@ -1184,9 +1186,8 @@ namespace FireWallet
|
|||||||
sw.WriteLine("explorer-addr: " + textBoxExAddr.Text);
|
sw.WriteLine("explorer-addr: " + textBoxExAddr.Text);
|
||||||
sw.WriteLine("explorer-block: " + textBoxExBlock.Text);
|
sw.WriteLine("explorer-block: " + textBoxExBlock.Text);
|
||||||
sw.WriteLine("explorer-domain: " + textBoxExName.Text);
|
sw.WriteLine("explorer-domain: " + textBoxExName.Text);
|
||||||
|
|
||||||
sw.WriteLine("confirmations: " + numericUpDownConfirmations.Value);
|
sw.WriteLine("confirmations: " + numericUpDownConfirmations.Value);
|
||||||
sw.WriteLine("portfolio-tx: " + userSettings["portfolio-tx"]);
|
sw.WriteLine("portfolio-tx: " + numericUpDownTXCount.Value);
|
||||||
sw.WriteLine("hide-splash: " + userSettings["hide-splash"]);
|
sw.WriteLine("hide-splash: " + userSettings["hide-splash"]);
|
||||||
sw.Dispose();
|
sw.Dispose();
|
||||||
LoadSettings();
|
LoadSettings();
|
||||||
|
Loading…
Reference in New Issue
Block a user