Forgot to update the behavior of the Integerity form, repair button is now disabled if no errors are found. The menu item for the Integrety form is now on the login and main menu forms. Security is not a huge concern at the moment.
This commit is contained in:
+49
-31
@@ -62,23 +62,26 @@
|
||||
this.mainLayoutPanel.Controls.Add(this.informationLabel, 1, 1);
|
||||
this.mainLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.mainLayoutPanel.Location = new System.Drawing.Point(0, 0);
|
||||
this.mainLayoutPanel.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.mainLayoutPanel.Name = "mainLayoutPanel";
|
||||
this.mainLayoutPanel.RowCount = 4;
|
||||
this.mainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
|
||||
this.mainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
|
||||
this.mainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
|
||||
this.mainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
|
||||
this.mainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
|
||||
this.mainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.mainLayoutPanel.Size = new System.Drawing.Size(1087, 754);
|
||||
this.mainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
|
||||
this.mainLayoutPanel.Size = new System.Drawing.Size(889, 628);
|
||||
this.mainLayoutPanel.TabIndex = 0;
|
||||
//
|
||||
// systemTablesGroupBox
|
||||
//
|
||||
this.systemTablesGroupBox.Controls.Add(this.systemTablesListBox);
|
||||
this.systemTablesGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.systemTablesGroupBox.Location = new System.Drawing.Point(3, 33);
|
||||
this.systemTablesGroupBox.Location = new System.Drawing.Point(2, 27);
|
||||
this.systemTablesGroupBox.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.systemTablesGroupBox.Name = "systemTablesGroupBox";
|
||||
this.systemTablesGroupBox.Size = new System.Drawing.Size(537, 235);
|
||||
this.systemTablesGroupBox.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.systemTablesGroupBox.Size = new System.Drawing.Size(440, 197);
|
||||
this.systemTablesGroupBox.TabIndex = 0;
|
||||
this.systemTablesGroupBox.TabStop = false;
|
||||
this.systemTablesGroupBox.Text = "System Tables";
|
||||
@@ -87,19 +90,22 @@
|
||||
//
|
||||
this.systemTablesListBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.systemTablesListBox.FormattingEnabled = true;
|
||||
this.systemTablesListBox.ItemHeight = 24;
|
||||
this.systemTablesListBox.Location = new System.Drawing.Point(3, 25);
|
||||
this.systemTablesListBox.ItemHeight = 20;
|
||||
this.systemTablesListBox.Location = new System.Drawing.Point(2, 21);
|
||||
this.systemTablesListBox.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.systemTablesListBox.Name = "systemTablesListBox";
|
||||
this.systemTablesListBox.Size = new System.Drawing.Size(531, 207);
|
||||
this.systemTablesListBox.Size = new System.Drawing.Size(436, 174);
|
||||
this.systemTablesListBox.TabIndex = 0;
|
||||
//
|
||||
// userTablesGroupBox
|
||||
//
|
||||
this.userTablesGroupBox.Controls.Add(this.userTablesListBox);
|
||||
this.userTablesGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.userTablesGroupBox.Location = new System.Drawing.Point(3, 274);
|
||||
this.userTablesGroupBox.Location = new System.Drawing.Point(2, 228);
|
||||
this.userTablesGroupBox.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.userTablesGroupBox.Name = "userTablesGroupBox";
|
||||
this.userTablesGroupBox.Size = new System.Drawing.Size(537, 235);
|
||||
this.userTablesGroupBox.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.userTablesGroupBox.Size = new System.Drawing.Size(440, 197);
|
||||
this.userTablesGroupBox.TabIndex = 1;
|
||||
this.userTablesGroupBox.TabStop = false;
|
||||
this.userTablesGroupBox.Text = "User Tables";
|
||||
@@ -108,18 +114,20 @@
|
||||
//
|
||||
this.userTablesListBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.userTablesListBox.FormattingEnabled = true;
|
||||
this.userTablesListBox.ItemHeight = 24;
|
||||
this.userTablesListBox.Location = new System.Drawing.Point(3, 25);
|
||||
this.userTablesListBox.ItemHeight = 20;
|
||||
this.userTablesListBox.Location = new System.Drawing.Point(2, 21);
|
||||
this.userTablesListBox.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.userTablesListBox.Name = "userTablesListBox";
|
||||
this.userTablesListBox.Size = new System.Drawing.Size(531, 207);
|
||||
this.userTablesListBox.Size = new System.Drawing.Size(436, 174);
|
||||
this.userTablesListBox.TabIndex = 1;
|
||||
//
|
||||
// dbCcResultLabel
|
||||
//
|
||||
this.dbCcResultLabel.AutoSize = true;
|
||||
this.dbCcResultLabel.Location = new System.Drawing.Point(546, 271);
|
||||
this.dbCcResultLabel.Location = new System.Drawing.Point(446, 226);
|
||||
this.dbCcResultLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.dbCcResultLabel.Name = "dbCcResultLabel";
|
||||
this.dbCcResultLabel.Size = new System.Drawing.Size(0, 25);
|
||||
this.dbCcResultLabel.Size = new System.Drawing.Size(0, 20);
|
||||
this.dbCcResultLabel.TabIndex = 0;
|
||||
//
|
||||
// databaseCheckResultPanel
|
||||
@@ -128,17 +136,19 @@
|
||||
this.databaseCheckResultPanel.Controls.Add(this.button2);
|
||||
this.databaseCheckResultPanel.Controls.Add(this.repairButton);
|
||||
this.databaseCheckResultPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.databaseCheckResultPanel.Location = new System.Drawing.Point(546, 515);
|
||||
this.databaseCheckResultPanel.Location = new System.Drawing.Point(446, 429);
|
||||
this.databaseCheckResultPanel.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.databaseCheckResultPanel.Name = "databaseCheckResultPanel";
|
||||
this.databaseCheckResultPanel.Size = new System.Drawing.Size(538, 236);
|
||||
this.databaseCheckResultPanel.Size = new System.Drawing.Size(441, 197);
|
||||
this.databaseCheckResultPanel.TabIndex = 2;
|
||||
//
|
||||
// suggestionLabel
|
||||
//
|
||||
this.suggestionLabel.AutoSize = true;
|
||||
this.suggestionLabel.Location = new System.Drawing.Point(10, 9);
|
||||
this.suggestionLabel.Location = new System.Drawing.Point(8, 7);
|
||||
this.suggestionLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.suggestionLabel.Name = "suggestionLabel";
|
||||
this.suggestionLabel.Size = new System.Drawing.Size(80, 25);
|
||||
this.suggestionLabel.Size = new System.Drawing.Size(65, 20);
|
||||
this.suggestionLabel.TabIndex = 3;
|
||||
this.suggestionLabel.Text = "what do";
|
||||
this.suggestionLabel.Visible = false;
|
||||
@@ -146,9 +156,10 @@
|
||||
// button2
|
||||
//
|
||||
this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.button2.Location = new System.Drawing.Point(352, 175);
|
||||
this.button2.Location = new System.Drawing.Point(289, 146);
|
||||
this.button2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(177, 52);
|
||||
this.button2.Size = new System.Drawing.Size(145, 43);
|
||||
this.button2.TabIndex = 2;
|
||||
this.button2.Text = "Verify Integrity";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
@@ -156,9 +167,11 @@
|
||||
// repairButton
|
||||
//
|
||||
this.repairButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.repairButton.Location = new System.Drawing.Point(15, 175);
|
||||
this.repairButton.Enabled = false;
|
||||
this.repairButton.Location = new System.Drawing.Point(12, 146);
|
||||
this.repairButton.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.repairButton.Name = "repairButton";
|
||||
this.repairButton.Size = new System.Drawing.Size(177, 52);
|
||||
this.repairButton.Size = new System.Drawing.Size(145, 43);
|
||||
this.repairButton.TabIndex = 1;
|
||||
this.repairButton.Text = "Attempt Repairs";
|
||||
this.repairButton.UseVisualStyleBackColor = true;
|
||||
@@ -168,9 +181,11 @@
|
||||
//
|
||||
this.damagedTablesGroupBox.Controls.Add(this.damagedTablesListView);
|
||||
this.damagedTablesGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.damagedTablesGroupBox.Location = new System.Drawing.Point(3, 515);
|
||||
this.damagedTablesGroupBox.Location = new System.Drawing.Point(2, 429);
|
||||
this.damagedTablesGroupBox.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.damagedTablesGroupBox.Name = "damagedTablesGroupBox";
|
||||
this.damagedTablesGroupBox.Size = new System.Drawing.Size(537, 236);
|
||||
this.damagedTablesGroupBox.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.damagedTablesGroupBox.Size = new System.Drawing.Size(440, 197);
|
||||
this.damagedTablesGroupBox.TabIndex = 3;
|
||||
this.damagedTablesGroupBox.TabStop = false;
|
||||
this.damagedTablesGroupBox.Text = "Damaged Tables";
|
||||
@@ -178,9 +193,10 @@
|
||||
// damagedTablesListView
|
||||
//
|
||||
this.damagedTablesListView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.damagedTablesListView.Location = new System.Drawing.Point(3, 25);
|
||||
this.damagedTablesListView.Location = new System.Drawing.Point(2, 21);
|
||||
this.damagedTablesListView.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.damagedTablesListView.Name = "damagedTablesListView";
|
||||
this.damagedTablesListView.Size = new System.Drawing.Size(531, 208);
|
||||
this.damagedTablesListView.Size = new System.Drawing.Size(436, 174);
|
||||
this.damagedTablesListView.TabIndex = 0;
|
||||
this.damagedTablesListView.UseCompatibleStateImageBehavior = false;
|
||||
this.damagedTablesListView.View = System.Windows.Forms.View.List;
|
||||
@@ -188,19 +204,21 @@
|
||||
// informationLabel
|
||||
//
|
||||
this.informationLabel.AutoSize = true;
|
||||
this.informationLabel.Location = new System.Drawing.Point(546, 30);
|
||||
this.informationLabel.Location = new System.Drawing.Point(446, 25);
|
||||
this.informationLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.informationLabel.Name = "informationLabel";
|
||||
this.informationLabel.Size = new System.Drawing.Size(464, 125);
|
||||
this.informationLabel.Size = new System.Drawing.Size(380, 100);
|
||||
this.informationLabel.TabIndex = 4;
|
||||
this.informationLabel.Text = resources.GetString("informationLabel.Text");
|
||||
//
|
||||
// FrmIntegrityCheck
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 24F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1087, 754);
|
||||
this.ClientSize = new System.Drawing.Size(889, 628);
|
||||
this.Controls.Add(this.mainLayoutPanel);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.Name = "FrmIntegrityCheck";
|
||||
this.Text = "Verify Database Integrity";
|
||||
this.mainLayoutPanel.ResumeLayout(false);
|
||||
|
||||
Reference in New Issue
Block a user