From c54eb01ab90a0fceee42bb4a5cd9b1e1aaedf433 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 12 Jan 2015 13:51:33 +0000 Subject: [PATCH] added title and description to form --- .../backupViewer.Designer.cs | 48 ++++++++++++++----- 1 file changed, 37 insertions(+), 11 deletions(-) diff --git a/Saviour Backup System/backupViewer.Designer.cs b/Saviour Backup System/backupViewer.Designer.cs index 9bd2fe8..e4f55c4 100644 --- a/Saviour Backup System/backupViewer.Designer.cs +++ b/Saviour Backup System/backupViewer.Designer.cs @@ -29,7 +29,7 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl(); this.qatCustomizeItem1 = new DevComponents.DotNetBar.QatCustomizeItem(); this.styleManager = new DevComponents.DotNetBar.StyleManager(this.components); @@ -41,6 +41,8 @@ this.button = new System.Windows.Forms.Button(); this.addBackup = new System.Windows.Forms.Button(); this.button5 = new System.Windows.Forms.Button(); + this.titleLabel = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit(); this.SuspendLayout(); // @@ -96,23 +98,23 @@ this.dataGridView.AllowUserToDeleteRows = false; this.dataGridView.AllowUserToResizeColumns = false; this.dataGridView.AllowUserToResizeRows = false; - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; + dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3; this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; - this.dataGridView.Location = new System.Drawing.Point(0, 82); + this.dataGridView.Location = new System.Drawing.Point(0, 64); this.dataGridView.MultiSelect = false; this.dataGridView.Name = "dataGridView"; this.dataGridView.ReadOnly = true; this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView.ShowEditingIcon = false; - this.dataGridView.Size = new System.Drawing.Size(544, 196); + this.dataGridView.Size = new System.Drawing.Size(544, 214); this.dataGridView.TabIndex = 1; // // refreshButton @@ -187,11 +189,32 @@ this.button5.Text = "button3"; this.button5.UseVisualStyleBackColor = true; // + // titleLabel + // + this.titleLabel.AutoSize = true; + this.titleLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.titleLabel.Location = new System.Drawing.Point(13, 37); + this.titleLabel.Name = "titleLabel"; + this.titleLabel.Size = new System.Drawing.Size(137, 24); + this.titleLabel.TabIndex = 12; + this.titleLabel.Text = "Backup Viewer"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(157, 47); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(126, 13); + this.label1.TabIndex = 13; + this.label1.Text = "View stored backup rules"; + // // backupViewer // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(680, 300); + this.Controls.Add(this.label1); + this.Controls.Add(this.titleLabel); this.Controls.Add(this.addBackup); this.Controls.Add(this.button5); this.Controls.Add(this.button4); @@ -207,6 +230,7 @@ this.Load += new System.EventHandler(this.backupViewer_Load); ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit(); this.ResumeLayout(false); + this.PerformLayout(); } @@ -223,5 +247,7 @@ private System.Windows.Forms.Button button; private System.Windows.Forms.Button addBackup; private System.Windows.Forms.Button button5; + private System.Windows.Forms.Label titleLabel; + private System.Windows.Forms.Label label1; } } \ No newline at end of file