From af1e483d362be2936906b8a7dd85d883e327fd58 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 15 Nov 2014 13:43:19 +0000 Subject: [PATCH] added / redesigned controls --- .../addBackupWizard.Designer.cs | 84 ++++++++++++++----- 1 file changed, 62 insertions(+), 22 deletions(-) diff --git a/Saviour Backup System/addBackupWizard.Designer.cs b/Saviour Backup System/addBackupWizard.Designer.cs index 669fad9..30c7fa7 100644 --- a/Saviour Backup System/addBackupWizard.Designer.cs +++ b/Saviour Backup System/addBackupWizard.Designer.cs @@ -36,93 +36,130 @@ this.label3 = new System.Windows.Forms.Label(); this.textBox3 = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.textBox4 = new System.Windows.Forms.TextBox(); + this.directoryBrowseButton = new System.Windows.Forms.Button(); this.SuspendLayout(); // // textBox1 // this.textBox1.Font = new System.Drawing.Font("Lucida Sans Unicode", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.textBox1.Location = new System.Drawing.Point(12, 49); + this.textBox1.Location = new System.Drawing.Point(12, 40); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; + this.textBox1.ReadOnly = true; this.textBox1.Size = new System.Drawing.Size(165, 181); this.textBox1.TabIndex = 0; // // textBox2 // - this.textBox2.Font = new System.Drawing.Font("Lucida Sans Unicode", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.textBox2.Location = new System.Drawing.Point(319, 49); + this.textBox2.Font = new System.Drawing.Font("Lucida Sans Unicode", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox2.Location = new System.Drawing.Point(302, 42); this.textBox2.MaxLength = 30; this.textBox2.Name = "textBox2"; - this.textBox2.Size = new System.Drawing.Size(232, 32); + this.textBox2.Size = new System.Drawing.Size(249, 28); this.textBox2.TabIndex = 1; // // label1 // this.label1.AutoSize = true; - this.label1.Font = new System.Drawing.Font("Lucida Sans Unicode", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label1.Location = new System.Drawing.Point(193, 52); + this.label1.Font = new System.Drawing.Font("Lucida Sans Unicode", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label1.Location = new System.Drawing.Point(183, 43); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(120, 20); + this.label1.Size = new System.Drawing.Size(113, 18); this.label1.TabIndex = 2; this.label1.Text = "Backup Name:"; // // label2 // this.label2.AutoSize = true; - this.label2.Font = new System.Drawing.Font("Lucida Sans Unicode", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label2.Location = new System.Drawing.Point(257, 91); + this.label2.Font = new System.Drawing.Font("Lucida Sans Unicode", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label2.Location = new System.Drawing.Point(245, 82); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(56, 20); + this.label2.Size = new System.Drawing.Size(51, 18); this.label2.TabIndex = 4; this.label2.Text = "Drive:"; // // drivesDropdown // - this.drivesDropdown.Font = new System.Drawing.Font("Lucida Sans Unicode", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.drivesDropdown.Font = new System.Drawing.Font("Lucida Sans Unicode", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.drivesDropdown.FormattingEnabled = true; - this.drivesDropdown.Location = new System.Drawing.Point(319, 88); + this.drivesDropdown.Location = new System.Drawing.Point(302, 81); this.drivesDropdown.MaxDropDownItems = 26; this.drivesDropdown.Name = "drivesDropdown"; - this.drivesDropdown.Size = new System.Drawing.Size(232, 28); + this.drivesDropdown.Size = new System.Drawing.Size(249, 24); this.drivesDropdown.Sorted = true; this.drivesDropdown.TabIndex = 5; // // label3 // this.label3.AutoSize = true; - this.label3.Font = new System.Drawing.Font("Lucida Sans Unicode", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label3.Location = new System.Drawing.Point(352, 136); + this.label3.Font = new System.Drawing.Font("Lucida Sans Unicode", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label3.Location = new System.Drawing.Point(331, 114); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(80, 20); + this.label3.Size = new System.Drawing.Size(76, 18); this.label3.TabIndex = 7; this.label3.Text = "Capacity:"; // // textBox3 // - this.textBox3.Font = new System.Drawing.Font("Lucida Sans Unicode", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.textBox3.Location = new System.Drawing.Point(432, 133); + this.textBox3.Font = new System.Drawing.Font("Lucida Sans Unicode", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox3.Location = new System.Drawing.Point(432, 113); this.textBox3.MaxLength = 30; this.textBox3.Name = "textBox3"; this.textBox3.ReadOnly = true; - this.textBox3.Size = new System.Drawing.Size(119, 32); + this.textBox3.Size = new System.Drawing.Size(119, 28); this.textBox3.TabIndex = 6; this.textBox3.Text = "N/A"; // // label4 // this.label4.AutoSize = true; - this.label4.Font = new System.Drawing.Font("Lucida Sans Unicode", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label4.Location = new System.Drawing.Point(104, 9); + this.label4.Font = new System.Drawing.Font("Lucida Sans Unicode", 17F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label4.Location = new System.Drawing.Point(12, 9); this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(196, 34); + this.label4.Size = new System.Drawing.Size(162, 28); this.label4.TabIndex = 8; this.label4.Text = "Add a Backup"; // + // label5 + // + this.label5.AutoSize = true; + this.label5.Font = new System.Drawing.Font("Lucida Sans Unicode", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label5.Location = new System.Drawing.Point(12, 231); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(81, 18); + this.label5.TabIndex = 10; + this.label5.Text = "Directory:"; + // + // textBox4 + // + this.textBox4.Font = new System.Drawing.Font("Lucida Sans Unicode", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox4.Location = new System.Drawing.Point(100, 227); + this.textBox4.MaxLength = 30; + this.textBox4.Name = "textBox4"; + this.textBox4.Size = new System.Drawing.Size(370, 28); + this.textBox4.TabIndex = 9; + // + // directoryBrowseButton + // + this.directoryBrowseButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.directoryBrowseButton.Location = new System.Drawing.Point(476, 227); + this.directoryBrowseButton.Name = "directoryBrowseButton"; + this.directoryBrowseButton.Size = new System.Drawing.Size(75, 28); + this.directoryBrowseButton.TabIndex = 11; + this.directoryBrowseButton.Text = "Browse"; + this.directoryBrowseButton.UseVisualStyleBackColor = true; + this.directoryBrowseButton.Click += new System.EventHandler(this.directoryBrowseButton_Click); + // // addBackupWizard // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(563, 436); + this.Controls.Add(this.directoryBrowseButton); + this.Controls.Add(this.label5); + this.Controls.Add(this.textBox4); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.textBox3); @@ -148,5 +185,8 @@ private System.Windows.Forms.Label label3; private System.Windows.Forms.TextBox textBox3; private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.TextBox textBox4; + private System.Windows.Forms.Button directoryBrowseButton; } } \ No newline at end of file