1
Fork 0

added title and description to form

This commit is contained in:
Jake Howard 2015-01-12 13:51:33 +00:00
parent 2ad9d34ce5
commit c54eb01ab9

View file

@ -29,7 +29,7 @@
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); 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.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
this.qatCustomizeItem1 = new DevComponents.DotNetBar.QatCustomizeItem(); this.qatCustomizeItem1 = new DevComponents.DotNetBar.QatCustomizeItem();
this.styleManager = new DevComponents.DotNetBar.StyleManager(this.components); this.styleManager = new DevComponents.DotNetBar.StyleManager(this.components);
@ -41,6 +41,8 @@
this.button = new System.Windows.Forms.Button(); this.button = new System.Windows.Forms.Button();
this.addBackup = new System.Windows.Forms.Button(); this.addBackup = new System.Windows.Forms.Button();
this.button5 = 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(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
@ -96,23 +98,23 @@
this.dataGridView.AllowUserToDeleteRows = false; this.dataGridView.AllowUserToDeleteRows = false;
this.dataGridView.AllowUserToResizeColumns = false; this.dataGridView.AllowUserToResizeColumns = false;
this.dataGridView.AllowUserToResizeRows = false; this.dataGridView.AllowUserToResizeRows = false;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle3.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))); dataGridViewCellStyle3.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; dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; this.dataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; 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.MultiSelect = false;
this.dataGridView.Name = "dataGridView"; this.dataGridView.Name = "dataGridView";
this.dataGridView.ReadOnly = true; this.dataGridView.ReadOnly = true;
this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dataGridView.ShowEditingIcon = false; 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; this.dataGridView.TabIndex = 1;
// //
// refreshButton // refreshButton
@ -187,11 +189,32 @@
this.button5.Text = "button3"; this.button5.Text = "button3";
this.button5.UseVisualStyleBackColor = true; 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 // backupViewer
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(680, 300); 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.addBackup);
this.Controls.Add(this.button5); this.Controls.Add(this.button5);
this.Controls.Add(this.button4); this.Controls.Add(this.button4);
@ -207,6 +230,7 @@
this.Load += new System.EventHandler(this.backupViewer_Load); this.Load += new System.EventHandler(this.backupViewer_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout();
} }
@ -223,5 +247,7 @@
private System.Windows.Forms.Button button; private System.Windows.Forms.Button button;
private System.Windows.Forms.Button addBackup; private System.Windows.Forms.Button addBackup;
private System.Windows.Forms.Button button5; private System.Windows.Forms.Button button5;
private System.Windows.Forms.Label titleLabel;
private System.Windows.Forms.Label label1;
} }
} }