338 lines
20 KiB
C#
338 lines
20 KiB
C#
namespace AdvertsingProfitControl
|
|
{
|
|
partial class DatabaseRecovery
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DatabaseRecovery));
|
|
this.mainLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
|
|
this.backupGroupBox = new System.Windows.Forms.GroupBox();
|
|
this.backupOptionsPanel = new System.Windows.Forms.Panel();
|
|
this.backupResultLabel = new System.Windows.Forms.Label();
|
|
this.backupInformationLabel = new System.Windows.Forms.Label();
|
|
this.customBackupLocationSelectionButton = new System.Windows.Forms.Button();
|
|
this.customBackupLocationLabel = new System.Windows.Forms.Label();
|
|
this.customBackupLocationTextBox = new System.Windows.Forms.TextBox();
|
|
this.createBackupButton = new System.Windows.Forms.Button();
|
|
this.restoreGroupBox = new System.Windows.Forms.GroupBox();
|
|
this.restoreOptionsPanel = new System.Windows.Forms.Panel();
|
|
this.restoreResultLabel = new System.Windows.Forms.Label();
|
|
this.customRestoreLocationSelectionButton = new System.Windows.Forms.Button();
|
|
this.customRestoreLocationLabel = new System.Windows.Forms.Label();
|
|
this.restoreLocationTextBox = new System.Windows.Forms.TextBox();
|
|
this.restoreInfoLabel = new System.Windows.Forms.Label();
|
|
this.restoreBackupButton = new System.Windows.Forms.Button();
|
|
this.existingBackupsGroupBox = new System.Windows.Forms.GroupBox();
|
|
this.exisitingBackupsListView = new System.Windows.Forms.ListView();
|
|
this.listViewItemOptionsPanel = new System.Windows.Forms.Panel();
|
|
this.deleteBackupFileButton = new System.Windows.Forms.Button();
|
|
this.mainLayoutPanel.SuspendLayout();
|
|
this.backupGroupBox.SuspendLayout();
|
|
this.backupOptionsPanel.SuspendLayout();
|
|
this.restoreGroupBox.SuspendLayout();
|
|
this.restoreOptionsPanel.SuspendLayout();
|
|
this.existingBackupsGroupBox.SuspendLayout();
|
|
this.listViewItemOptionsPanel.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// mainLayoutPanel
|
|
//
|
|
this.mainLayoutPanel.ColumnCount = 2;
|
|
this.mainLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.mainLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.mainLayoutPanel.Controls.Add(this.backupGroupBox, 0, 0);
|
|
this.mainLayoutPanel.Controls.Add(this.restoreGroupBox, 0, 2);
|
|
this.mainLayoutPanel.Controls.Add(this.existingBackupsGroupBox, 1, 0);
|
|
this.mainLayoutPanel.Controls.Add(this.listViewItemOptionsPanel, 1, 3);
|
|
this.mainLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.mainLayoutPanel.Location = new System.Drawing.Point(0, 0);
|
|
this.mainLayoutPanel.Name = "mainLayoutPanel";
|
|
this.mainLayoutPanel.RowCount = 4;
|
|
this.mainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.mainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
|
|
this.mainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.mainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
|
|
this.mainLayoutPanel.Size = new System.Drawing.Size(1048, 598);
|
|
this.mainLayoutPanel.TabIndex = 0;
|
|
//
|
|
// backupGroupBox
|
|
//
|
|
this.backupGroupBox.Controls.Add(this.backupOptionsPanel);
|
|
this.backupGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.backupGroupBox.Location = new System.Drawing.Point(3, 3);
|
|
this.backupGroupBox.Name = "backupGroupBox";
|
|
this.mainLayoutPanel.SetRowSpan(this.backupGroupBox, 2);
|
|
this.backupGroupBox.Size = new System.Drawing.Size(518, 293);
|
|
this.backupGroupBox.TabIndex = 0;
|
|
this.backupGroupBox.TabStop = false;
|
|
this.backupGroupBox.Text = "Backup Options";
|
|
//
|
|
// backupOptionsPanel
|
|
//
|
|
this.backupOptionsPanel.Controls.Add(this.backupResultLabel);
|
|
this.backupOptionsPanel.Controls.Add(this.backupInformationLabel);
|
|
this.backupOptionsPanel.Controls.Add(this.customBackupLocationSelectionButton);
|
|
this.backupOptionsPanel.Controls.Add(this.customBackupLocationLabel);
|
|
this.backupOptionsPanel.Controls.Add(this.customBackupLocationTextBox);
|
|
this.backupOptionsPanel.Controls.Add(this.createBackupButton);
|
|
this.backupOptionsPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.backupOptionsPanel.Location = new System.Drawing.Point(3, 25);
|
|
this.backupOptionsPanel.Name = "backupOptionsPanel";
|
|
this.backupOptionsPanel.Size = new System.Drawing.Size(512, 265);
|
|
this.backupOptionsPanel.TabIndex = 0;
|
|
//
|
|
// backupResultLabel
|
|
//
|
|
this.backupResultLabel.AutoSize = true;
|
|
this.backupResultLabel.Location = new System.Drawing.Point(10, 222);
|
|
this.backupResultLabel.Name = "backupResultLabel";
|
|
this.backupResultLabel.Size = new System.Drawing.Size(0, 25);
|
|
this.backupResultLabel.TabIndex = 5;
|
|
//
|
|
// backupInformationLabel
|
|
//
|
|
this.backupInformationLabel.AutoSize = true;
|
|
this.backupInformationLabel.Location = new System.Drawing.Point(10, 10);
|
|
this.backupInformationLabel.Name = "backupInformationLabel";
|
|
this.backupInformationLabel.Size = new System.Drawing.Size(499, 100);
|
|
this.backupInformationLabel.TabIndex = 4;
|
|
this.backupInformationLabel.Text = resources.GetString("backupInformationLabel.Text");
|
|
//
|
|
// customBackupLocationSelectionButton
|
|
//
|
|
this.customBackupLocationSelectionButton.Location = new System.Drawing.Point(470, 159);
|
|
this.customBackupLocationSelectionButton.Name = "customBackupLocationSelectionButton";
|
|
this.customBackupLocationSelectionButton.Size = new System.Drawing.Size(39, 29);
|
|
this.customBackupLocationSelectionButton.TabIndex = 3;
|
|
this.customBackupLocationSelectionButton.Text = "...";
|
|
this.customBackupLocationSelectionButton.UseVisualStyleBackColor = true;
|
|
this.customBackupLocationSelectionButton.Click += new System.EventHandler(this.UpdateCustomBackupLocationOnBackupLocationButtonClick);
|
|
//
|
|
// customBackupLocationLabel
|
|
//
|
|
this.customBackupLocationLabel.AutoSize = true;
|
|
this.customBackupLocationLabel.Location = new System.Drawing.Point(10, 131);
|
|
this.customBackupLocationLabel.Name = "customBackupLocationLabel";
|
|
this.customBackupLocationLabel.Size = new System.Drawing.Size(325, 25);
|
|
this.customBackupLocationLabel.TabIndex = 2;
|
|
this.customBackupLocationLabel.Text = "(Optional) Specify Backup Location:";
|
|
//
|
|
// customBackupLocationTextBox
|
|
//
|
|
this.customBackupLocationTextBox.Location = new System.Drawing.Point(15, 159);
|
|
this.customBackupLocationTextBox.Name = "customBackupLocationTextBox";
|
|
this.customBackupLocationTextBox.Size = new System.Drawing.Size(452, 29);
|
|
this.customBackupLocationTextBox.TabIndex = 1;
|
|
//
|
|
// createBackupButton
|
|
//
|
|
this.createBackupButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.createBackupButton.Location = new System.Drawing.Point(335, 215);
|
|
this.createBackupButton.Name = "createBackupButton";
|
|
this.createBackupButton.Size = new System.Drawing.Size(171, 39);
|
|
this.createBackupButton.TabIndex = 0;
|
|
this.createBackupButton.Text = "Create Backup";
|
|
this.createBackupButton.UseVisualStyleBackColor = true;
|
|
this.createBackupButton.Click += new System.EventHandler(this.CreateBackupOnButtonClick);
|
|
//
|
|
// restoreGroupBox
|
|
//
|
|
this.restoreGroupBox.Controls.Add(this.restoreOptionsPanel);
|
|
this.restoreGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.restoreGroupBox.Location = new System.Drawing.Point(3, 302);
|
|
this.restoreGroupBox.Name = "restoreGroupBox";
|
|
this.mainLayoutPanel.SetRowSpan(this.restoreGroupBox, 2);
|
|
this.restoreGroupBox.Size = new System.Drawing.Size(518, 293);
|
|
this.restoreGroupBox.TabIndex = 1;
|
|
this.restoreGroupBox.TabStop = false;
|
|
this.restoreGroupBox.Text = "Restore Options";
|
|
//
|
|
// restoreOptionsPanel
|
|
//
|
|
this.restoreOptionsPanel.Controls.Add(this.restoreResultLabel);
|
|
this.restoreOptionsPanel.Controls.Add(this.customRestoreLocationSelectionButton);
|
|
this.restoreOptionsPanel.Controls.Add(this.customRestoreLocationLabel);
|
|
this.restoreOptionsPanel.Controls.Add(this.restoreLocationTextBox);
|
|
this.restoreOptionsPanel.Controls.Add(this.restoreInfoLabel);
|
|
this.restoreOptionsPanel.Controls.Add(this.restoreBackupButton);
|
|
this.restoreOptionsPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.restoreOptionsPanel.Location = new System.Drawing.Point(3, 25);
|
|
this.restoreOptionsPanel.Name = "restoreOptionsPanel";
|
|
this.restoreOptionsPanel.Size = new System.Drawing.Size(512, 265);
|
|
this.restoreOptionsPanel.TabIndex = 0;
|
|
//
|
|
// restoreResultLabel
|
|
//
|
|
this.restoreResultLabel.AutoSize = true;
|
|
this.restoreResultLabel.Location = new System.Drawing.Point(10, 225);
|
|
this.restoreResultLabel.Name = "restoreResultLabel";
|
|
this.restoreResultLabel.Size = new System.Drawing.Size(0, 25);
|
|
this.restoreResultLabel.TabIndex = 7;
|
|
//
|
|
// customRestoreLocationSelectionButton
|
|
//
|
|
this.customRestoreLocationSelectionButton.Location = new System.Drawing.Point(465, 159);
|
|
this.customRestoreLocationSelectionButton.Name = "customRestoreLocationSelectionButton";
|
|
this.customRestoreLocationSelectionButton.Size = new System.Drawing.Size(39, 29);
|
|
this.customRestoreLocationSelectionButton.TabIndex = 6;
|
|
this.customRestoreLocationSelectionButton.Text = "...";
|
|
this.customRestoreLocationSelectionButton.UseVisualStyleBackColor = true;
|
|
this.customRestoreLocationSelectionButton.Click += new System.EventHandler(this.UpdateRestoreLocationOnCustomBackupLocationButtonClick);
|
|
//
|
|
// customRestoreLocationLabel
|
|
//
|
|
this.customRestoreLocationLabel.AutoSize = true;
|
|
this.customRestoreLocationLabel.Location = new System.Drawing.Point(10, 131);
|
|
this.customRestoreLocationLabel.Name = "customRestoreLocationLabel";
|
|
this.customRestoreLocationLabel.Size = new System.Drawing.Size(163, 25);
|
|
this.customRestoreLocationLabel.TabIndex = 5;
|
|
this.customRestoreLocationLabel.Text = "Backup Location:";
|
|
//
|
|
// restoreLocationTextBox
|
|
//
|
|
this.restoreLocationTextBox.Location = new System.Drawing.Point(15, 159);
|
|
this.restoreLocationTextBox.Name = "restoreLocationTextBox";
|
|
this.restoreLocationTextBox.Size = new System.Drawing.Size(447, 29);
|
|
this.restoreLocationTextBox.TabIndex = 4;
|
|
//
|
|
// restoreInfoLabel
|
|
//
|
|
this.restoreInfoLabel.AutoSize = true;
|
|
this.restoreInfoLabel.Location = new System.Drawing.Point(15, 4);
|
|
this.restoreInfoLabel.Name = "restoreInfoLabel";
|
|
this.restoreInfoLabel.Size = new System.Drawing.Size(426, 100);
|
|
this.restoreInfoLabel.TabIndex = 1;
|
|
this.restoreInfoLabel.Text = "To restore the database from a previous backup\r\neither select one from the list t" +
|
|
"o the right or\r\nspecify a location below if the database backup \r\nis not in a de" +
|
|
"fault location (like a flashdrive).";
|
|
//
|
|
// restoreBackupButton
|
|
//
|
|
this.restoreBackupButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.restoreBackupButton.Enabled = false;
|
|
this.restoreBackupButton.Location = new System.Drawing.Point(338, 220);
|
|
this.restoreBackupButton.Name = "restoreBackupButton";
|
|
this.restoreBackupButton.Size = new System.Drawing.Size(168, 35);
|
|
this.restoreBackupButton.TabIndex = 0;
|
|
this.restoreBackupButton.Text = "Restore Backup";
|
|
this.restoreBackupButton.UseVisualStyleBackColor = true;
|
|
this.restoreBackupButton.Click += new System.EventHandler(this.RestoreSelectedBackupOnBackupRestoreButtonClick);
|
|
//
|
|
// existingBackupsGroupBox
|
|
//
|
|
this.existingBackupsGroupBox.Controls.Add(this.exisitingBackupsListView);
|
|
this.existingBackupsGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.existingBackupsGroupBox.Location = new System.Drawing.Point(527, 3);
|
|
this.existingBackupsGroupBox.Name = "existingBackupsGroupBox";
|
|
this.mainLayoutPanel.SetRowSpan(this.existingBackupsGroupBox, 3);
|
|
this.existingBackupsGroupBox.Size = new System.Drawing.Size(518, 542);
|
|
this.existingBackupsGroupBox.TabIndex = 2;
|
|
this.existingBackupsGroupBox.TabStop = false;
|
|
this.existingBackupsGroupBox.Text = "Existing Backups";
|
|
//
|
|
// exisitingBackupsListView
|
|
//
|
|
this.exisitingBackupsListView.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.exisitingBackupsListView.Location = new System.Drawing.Point(3, 25);
|
|
this.exisitingBackupsListView.MultiSelect = false;
|
|
this.exisitingBackupsListView.Name = "exisitingBackupsListView";
|
|
this.exisitingBackupsListView.Size = new System.Drawing.Size(512, 514);
|
|
this.exisitingBackupsListView.TabIndex = 0;
|
|
this.exisitingBackupsListView.UseCompatibleStateImageBehavior = false;
|
|
this.exisitingBackupsListView.View = System.Windows.Forms.View.Details;
|
|
//
|
|
// listViewItemOptionsPanel
|
|
//
|
|
this.listViewItemOptionsPanel.Controls.Add(this.deleteBackupFileButton);
|
|
this.listViewItemOptionsPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.listViewItemOptionsPanel.Location = new System.Drawing.Point(527, 551);
|
|
this.listViewItemOptionsPanel.Name = "listViewItemOptionsPanel";
|
|
this.listViewItemOptionsPanel.Size = new System.Drawing.Size(518, 44);
|
|
this.listViewItemOptionsPanel.TabIndex = 3;
|
|
//
|
|
// deleteBackupFileButton
|
|
//
|
|
this.deleteBackupFileButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.deleteBackupFileButton.Enabled = false;
|
|
this.deleteBackupFileButton.Location = new System.Drawing.Point(276, 3);
|
|
this.deleteBackupFileButton.Name = "deleteBackupFileButton";
|
|
this.deleteBackupFileButton.Size = new System.Drawing.Size(239, 38);
|
|
this.deleteBackupFileButton.TabIndex = 0;
|
|
this.deleteBackupFileButton.Text = "Delete Selected Backup";
|
|
this.deleteBackupFileButton.UseVisualStyleBackColor = true;
|
|
this.deleteBackupFileButton.Click += new System.EventHandler(this.deleteBackupFileButton_Click);
|
|
//
|
|
// DatabaseRecovery
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 24F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(1048, 598);
|
|
this.Controls.Add(this.mainLayoutPanel);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MaximizeBox = false;
|
|
this.Name = "DatabaseRecovery";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Database Backup and Recovery";
|
|
this.mainLayoutPanel.ResumeLayout(false);
|
|
this.backupGroupBox.ResumeLayout(false);
|
|
this.backupOptionsPanel.ResumeLayout(false);
|
|
this.backupOptionsPanel.PerformLayout();
|
|
this.restoreGroupBox.ResumeLayout(false);
|
|
this.restoreOptionsPanel.ResumeLayout(false);
|
|
this.restoreOptionsPanel.PerformLayout();
|
|
this.existingBackupsGroupBox.ResumeLayout(false);
|
|
this.listViewItemOptionsPanel.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TableLayoutPanel mainLayoutPanel;
|
|
private System.Windows.Forms.GroupBox backupGroupBox;
|
|
private System.Windows.Forms.GroupBox restoreGroupBox;
|
|
private System.Windows.Forms.GroupBox existingBackupsGroupBox;
|
|
private System.Windows.Forms.Panel backupOptionsPanel;
|
|
private System.Windows.Forms.Button createBackupButton;
|
|
private System.Windows.Forms.Panel restoreOptionsPanel;
|
|
private System.Windows.Forms.Button restoreBackupButton;
|
|
private System.Windows.Forms.Button customBackupLocationSelectionButton;
|
|
private System.Windows.Forms.Label customBackupLocationLabel;
|
|
private System.Windows.Forms.TextBox customBackupLocationTextBox;
|
|
private System.Windows.Forms.Label backupInformationLabel;
|
|
private System.Windows.Forms.Label backupResultLabel;
|
|
private System.Windows.Forms.Label restoreInfoLabel;
|
|
private System.Windows.Forms.Button customRestoreLocationSelectionButton;
|
|
private System.Windows.Forms.Label customRestoreLocationLabel;
|
|
private System.Windows.Forms.TextBox restoreLocationTextBox;
|
|
private System.Windows.Forms.Label restoreResultLabel;
|
|
private System.Windows.Forms.ListView exisitingBackupsListView;
|
|
private System.Windows.Forms.Panel listViewItemOptionsPanel;
|
|
private System.Windows.Forms.Button deleteBackupFileButton;
|
|
}
|
|
} |