Nackup / Restore of total DB is working

This commit is contained in:
2021-03-19 00:02:59 +01:00
parent 154f8cc07a
commit f8c04d93e2
7 changed files with 86 additions and 22 deletions

View File

@ -36,6 +36,7 @@ namespace StockInfo
this.txtBackupFile = new System.Windows.Forms.TextBox();
this.lstBackups = new System.Windows.Forms.ListBox();
this.btnClose = new System.Windows.Forms.Button();
this.btnRestore = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// label1
@ -83,7 +84,7 @@ namespace StockInfo
this.lstBackups.ItemHeight = 15;
this.lstBackups.Location = new System.Drawing.Point(13, 70);
this.lstBackups.Name = "lstBackups";
this.lstBackups.Size = new System.Drawing.Size(214, 184);
this.lstBackups.Size = new System.Drawing.Size(306, 184);
this.lstBackups.TabIndex = 4;
//
// btnClose
@ -94,12 +95,24 @@ namespace StockInfo
this.btnClose.TabIndex = 5;
this.btnClose.Text = "Close";
this.btnClose.UseVisualStyleBackColor = true;
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
//
// btnRestore
//
this.btnRestore.Location = new System.Drawing.Point(350, 70);
this.btnRestore.Name = "btnRestore";
this.btnRestore.Size = new System.Drawing.Size(75, 23);
this.btnRestore.TabIndex = 6;
this.btnRestore.Text = "Restore";
this.btnRestore.UseVisualStyleBackColor = true;
this.btnRestore.Click += new System.EventHandler(this.btnRestore_Click);
//
// frmBackup
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(438, 294);
this.Controls.Add(this.btnRestore);
this.Controls.Add(this.btnClose);
this.Controls.Add(this.lstBackups);
this.Controls.Add(this.txtBackupFile);
@ -109,6 +122,7 @@ namespace StockInfo
this.Name = "frmBackup";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "frmBackup";
this.Shown += new System.EventHandler(this.frmBackup_Shown);
this.ResumeLayout(false);
this.PerformLayout();
@ -123,5 +137,6 @@ namespace StockInfo
private System.Windows.Forms.TextBox txtBackupFile;
private System.Windows.Forms.ListBox lstBackups;
private System.Windows.Forms.Button btnClose;
private System.Windows.Forms.Button btnRestore;
}
}