Do not launch settings dialog after installation
This commit is contained in:
parent
a71ccbac6e
commit
cdf1a01457
17 changed files with 144 additions and 120 deletions
|
|
@ -29,64 +29,61 @@
|
|||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SetupDialog));
|
||||
this.welcomeLbl = new System.Windows.Forms.Label();
|
||||
this.newUserBtn = new System.Windows.Forms.Button();
|
||||
this.returningUserBtn = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
welcomeLbl = new System.Windows.Forms.Label();
|
||||
newUserBtn = new System.Windows.Forms.Button();
|
||||
returningUserBtn = new System.Windows.Forms.Button();
|
||||
SuspendLayout();
|
||||
//
|
||||
// welcomeLbl
|
||||
//
|
||||
this.welcomeLbl.AutoSize = true;
|
||||
this.welcomeLbl.Location = new System.Drawing.Point(14, 10);
|
||||
this.welcomeLbl.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.welcomeLbl.Name = "welcomeLbl";
|
||||
this.welcomeLbl.Size = new System.Drawing.Size(449, 135);
|
||||
this.welcomeLbl.TabIndex = 0;
|
||||
this.welcomeLbl.Text = resources.GetString("welcomeLbl.Text");
|
||||
welcomeLbl.AutoSize = true;
|
||||
welcomeLbl.Location = new System.Drawing.Point(14, 10);
|
||||
welcomeLbl.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
welcomeLbl.Name = "welcomeLbl";
|
||||
welcomeLbl.Size = new System.Drawing.Size(449, 135);
|
||||
welcomeLbl.TabIndex = 0;
|
||||
welcomeLbl.Text = resources.GetString("welcomeLbl.Text");
|
||||
//
|
||||
// newUserBtn
|
||||
//
|
||||
this.newUserBtn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.newUserBtn.Location = new System.Drawing.Point(18, 156);
|
||||
this.newUserBtn.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
this.newUserBtn.Name = "newUserBtn";
|
||||
this.newUserBtn.Size = new System.Drawing.Size(462, 66);
|
||||
this.newUserBtn.TabIndex = 2;
|
||||
this.newUserBtn.Text = "NEW USER\r\n\r\nChoose settings";
|
||||
this.newUserBtn.UseVisualStyleBackColor = true;
|
||||
this.newUserBtn.Click += new System.EventHandler(this.newUserBtn_Click);
|
||||
newUserBtn.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||
newUserBtn.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
||||
newUserBtn.Location = new System.Drawing.Point(18, 156);
|
||||
newUserBtn.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
newUserBtn.Name = "newUserBtn";
|
||||
newUserBtn.Size = new System.Drawing.Size(462, 66);
|
||||
newUserBtn.TabIndex = 2;
|
||||
newUserBtn.Text = "NEW USER";
|
||||
newUserBtn.UseVisualStyleBackColor = true;
|
||||
newUserBtn.Click += newUserBtn_Click;
|
||||
//
|
||||
// returningUserBtn
|
||||
//
|
||||
this.returningUserBtn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.returningUserBtn.Location = new System.Drawing.Point(18, 228);
|
||||
this.returningUserBtn.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
this.returningUserBtn.Name = "returningUserBtn";
|
||||
this.returningUserBtn.Size = new System.Drawing.Size(462, 66);
|
||||
this.returningUserBtn.TabIndex = 3;
|
||||
this.returningUserBtn.Text = "RETURNING USER\r\n\r\nI have previously installed Libation. This is an upgrade or re-" +
|
||||
"install";
|
||||
this.returningUserBtn.UseVisualStyleBackColor = true;
|
||||
this.returningUserBtn.Click += new System.EventHandler(this.returningUserBtn_Click);
|
||||
returningUserBtn.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||
returningUserBtn.Location = new System.Drawing.Point(18, 228);
|
||||
returningUserBtn.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
returningUserBtn.Name = "returningUserBtn";
|
||||
returningUserBtn.Size = new System.Drawing.Size(462, 66);
|
||||
returningUserBtn.TabIndex = 3;
|
||||
returningUserBtn.Text = "RETURNING USER\r\n\r\nI have previously installed Libation. This is an upgrade or re-install";
|
||||
returningUserBtn.UseVisualStyleBackColor = true;
|
||||
returningUserBtn.Click += returningUserBtn_Click;
|
||||
//
|
||||
// SetupDialog
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(493, 308);
|
||||
this.Controls.Add(this.returningUserBtn);
|
||||
this.Controls.Add(this.newUserBtn);
|
||||
this.Controls.Add(this.welcomeLbl);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
this.Name = "SetupDialog";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Welcome to Libation";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
ClientSize = new System.Drawing.Size(493, 308);
|
||||
Controls.Add(returningUserBtn);
|
||||
Controls.Add(newUserBtn);
|
||||
Controls.Add(welcomeLbl);
|
||||
FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
Name = "SetupDialog";
|
||||
StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
Text = "Welcome to Libation";
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue