diff --git a/Saviour Backup System/addBackupWizard.Designer.cs b/Saviour Backup System/addBackupWizard.Designer.cs index 4a37a27..f2f395f 100644 --- a/Saviour Backup System/addBackupWizard.Designer.cs +++ b/Saviour Backup System/addBackupWizard.Designer.cs @@ -28,29 +28,26 @@ /// private void InitializeComponent() { - this.textBox1 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.drivesDropdown = new System.Windows.Forms.ComboBox(); - this.label3 = new System.Windows.Forms.Label(); - this.textBox3 = new System.Windows.Forms.TextBox(); - this.label4 = new System.Windows.Forms.Label(); + this.title = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); - this.textBox4 = new System.Windows.Forms.TextBox(); + this.folderPath = new System.Windows.Forms.TextBox(); this.directoryBrowseButton = new System.Windows.Forms.Button(); + this.introTextBox = new System.Windows.Forms.RichTextBox(); + this.switchButton1 = new DevComponents.DotNetBar.Controls.SwitchButton(); + this.switchButton3 = new DevComponents.DotNetBar.Controls.SwitchButton(); + this.label6 = new System.Windows.Forms.Label(); + this.label8 = new System.Windows.Forms.Label(); + this.label9 = new System.Windows.Forms.Label(); + this.compressionTypeDropdown = new System.Windows.Forms.ComboBox(); + this.label3 = new System.Windows.Forms.Label(); + this.integerInput1 = new DevComponents.Editors.IntegerInput(); + ((System.ComponentModel.ISupportInitialize)(this.integerInput1)).BeginInit(); 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, 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", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -74,7 +71,7 @@ // this.label2.AutoSize = true; 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.Location = new System.Drawing.Point(245, 77); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(51, 18); this.label2.TabIndex = 4; @@ -84,67 +81,46 @@ // 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(302, 81); + this.drivesDropdown.Location = new System.Drawing.Point(302, 76); this.drivesDropdown.MaxDropDownItems = 26; this.drivesDropdown.Name = "drivesDropdown"; this.drivesDropdown.Size = new System.Drawing.Size(249, 24); this.drivesDropdown.Sorted = true; this.drivesDropdown.TabIndex = 5; // - // label3 + // title // - this.label3.AutoSize = true; - 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(350, 114); - this.label3.Name = "label3"; - 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", 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, 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", 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(162, 28); - this.label4.TabIndex = 8; - this.label4.Text = "Add a Backup"; + this.title.AutoSize = true; + this.title.Font = new System.Drawing.Font("Lucida Sans Unicode", 17F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.title.Location = new System.Drawing.Point(12, 9); + this.title.Name = "title"; + this.title.Size = new System.Drawing.Size(162, 28); + this.title.TabIndex = 8; + this.title.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.Location = new System.Drawing.Point(12, 243); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(81, 18); this.label5.TabIndex = 10; this.label5.Text = "Directory:"; // - // textBox4 + // folderPath // - 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; + this.folderPath.Font = new System.Drawing.Font("Lucida Sans Unicode", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.folderPath.Location = new System.Drawing.Point(99, 239); + this.folderPath.MaxLength = 30; + this.folderPath.Name = "folderPath"; + this.folderPath.Size = new System.Drawing.Size(376, 28); + this.folderPath.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.Location = new System.Drawing.Point(476, 239); this.directoryBrowseButton.Name = "directoryBrowseButton"; this.directoryBrowseButton.Size = new System.Drawing.Size(75, 28); this.directoryBrowseButton.TabIndex = 11; @@ -152,24 +128,153 @@ this.directoryBrowseButton.UseVisualStyleBackColor = true; this.directoryBrowseButton.Click += new System.EventHandler(this.directoryBrowseButton_Click); // + // introTextBox + // + this.introTextBox.BackColor = System.Drawing.SystemColors.Control; + this.introTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.introTextBox.Location = new System.Drawing.Point(2, 45); + this.introTextBox.Name = "introTextBox"; + this.introTextBox.ReadOnly = true; + this.introTextBox.Size = new System.Drawing.Size(175, 176); + this.introTextBox.TabIndex = 12; + this.introTextBox.TabStop = false; + this.introTextBox.Text = "In order for Saviour Backup System to backup your device, you need to add a backu" + + "p record.\n\nBe careful when filling in the details, they may not be able to be ch" + + "anged later."; + // + // switchButton1 + // + this.switchButton1.BackColor = System.Drawing.SystemColors.ControlDark; + // + // + // + this.switchButton1.BackgroundStyle.Class = ""; + this.switchButton1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.switchButton1.Font = new System.Drawing.Font("Lucida Sans Typewriter", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.switchButton1.Location = new System.Drawing.Point(487, 181); + this.switchButton1.Name = "switchButton1"; + this.switchButton1.OffBackColor = System.Drawing.Color.DarkRed; + this.switchButton1.OffTextColor = System.Drawing.Color.White; + this.switchButton1.OnBackColor = System.Drawing.Color.LimeGreen; + this.switchButton1.OnTextColor = System.Drawing.Color.Black; + this.switchButton1.Size = new System.Drawing.Size(64, 23); + this.switchButton1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.switchButton1.TabIndex = 13; + // + // switchButton3 + // + this.switchButton3.BackColor = System.Drawing.SystemColors.ControlDark; + // + // + // + this.switchButton3.BackgroundStyle.Class = ""; + this.switchButton3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.switchButton3.Font = new System.Drawing.Font("Lucida Sans Typewriter", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.switchButton3.Location = new System.Drawing.Point(487, 210); + this.switchButton3.Name = "switchButton3"; + this.switchButton3.OffBackColor = System.Drawing.Color.DarkRed; + this.switchButton3.OffTextColor = System.Drawing.Color.White; + this.switchButton3.OnBackColor = System.Drawing.Color.LimeGreen; + this.switchButton3.OnTextColor = System.Drawing.Color.Black; + this.switchButton3.Size = new System.Drawing.Size(64, 23); + this.switchButton3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.switchButton3.TabIndex = 15; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label6.Location = new System.Drawing.Point(343, 184); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(139, 18); + this.label6.TabIndex = 16; + this.label6.Text = "Backup on Insertion"; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label8.Location = new System.Drawing.Point(347, 212); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(134, 18); + this.label8.TabIndex = 18; + this.label8.Text = "Unified Backup File"; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Font = new System.Drawing.Font("Lucida Sans Unicode", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label9.Location = new System.Drawing.Point(186, 107); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(110, 18); + this.label9.TabIndex = 20; + this.label9.Text = "Compression:"; + // + // compressionTypeDropdown + // + this.compressionTypeDropdown.Font = new System.Drawing.Font("Lucida Sans Unicode", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.compressionTypeDropdown.FormattingEnabled = true; + this.compressionTypeDropdown.Items.AddRange(new object[] { + "None", + "ZIP Archive (*.zip)"}); + this.compressionTypeDropdown.Location = new System.Drawing.Point(302, 106); + this.compressionTypeDropdown.MaxDropDownItems = 26; + this.compressionTypeDropdown.Name = "compressionTypeDropdown"; + this.compressionTypeDropdown.Size = new System.Drawing.Size(249, 24); + this.compressionTypeDropdown.Sorted = true; + this.compressionTypeDropdown.TabIndex = 21; + // + // label3 + // + this.label3.AutoSize = true; + 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(325, 139); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(140, 18); + this.label3.TabIndex = 23; + this.label3.Text = "Previous Backups:"; + // + // integerInput1 + // + // + // + // + this.integerInput1.BackgroundStyle.Class = "DateTimeInputBackground"; + this.integerInput1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.integerInput1.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2; + this.integerInput1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.integerInput1.Location = new System.Drawing.Point(471, 136); + this.integerInput1.MinValue = -1; + this.integerInput1.Name = "integerInput1"; + this.integerInput1.ShowUpDown = true; + this.integerInput1.Size = new System.Drawing.Size(80, 24); + this.integerInput1.TabIndex = 25; + // // 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.integerInput1); + this.Controls.Add(this.label3); + this.Controls.Add(this.compressionTypeDropdown); + this.Controls.Add(this.label9); + this.Controls.Add(this.label8); + this.Controls.Add(this.label6); + this.Controls.Add(this.switchButton3); + this.Controls.Add(this.switchButton1); + this.Controls.Add(this.introTextBox); 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); + this.Controls.Add(this.folderPath); + this.Controls.Add(this.title); this.Controls.Add(this.drivesDropdown); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.textBox2); - this.Controls.Add(this.textBox1); this.Name = "addBackupWizard"; this.Text = "addBackupWizard"; + ((System.ComponentModel.ISupportInitialize)(this.integerInput1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -177,16 +282,22 @@ #endregion - private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.TextBox textBox2; private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label2; private System.Windows.Forms.ComboBox drivesDropdown; - private System.Windows.Forms.Label label3; - private System.Windows.Forms.TextBox textBox3; - private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label title; private System.Windows.Forms.Label label5; - private System.Windows.Forms.TextBox textBox4; + private System.Windows.Forms.TextBox folderPath; private System.Windows.Forms.Button directoryBrowseButton; + private System.Windows.Forms.RichTextBox introTextBox; + private DevComponents.DotNetBar.Controls.SwitchButton switchButton1; + private DevComponents.DotNetBar.Controls.SwitchButton switchButton3; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.ComboBox compressionTypeDropdown; + private System.Windows.Forms.Label label3; + private DevComponents.Editors.IntegerInput integerInput1; } } \ No newline at end of file