From ecc64ca8ac8f985c0aff893d663b09463f5f5aa5 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 30 Dec 2014 17:29:44 +0000 Subject: [PATCH] added button for clearing all elements --- .../currentTransfers.Designer.cs | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Saviour Backup System/currentTransfers.Designer.cs b/Saviour Backup System/currentTransfers.Designer.cs index 9867ed6..be43813 100644 --- a/Saviour Backup System/currentTransfers.Designer.cs +++ b/Saviour Backup System/currentTransfers.Designer.cs @@ -34,6 +34,7 @@ this.label1 = new System.Windows.Forms.Label(); this.layoutPanel = new System.Windows.Forms.FlowLayoutPanel(); this.button1 = new System.Windows.Forms.Button(); + this.ClearButton = new System.Windows.Forms.Button(); this.SuspendLayout(); // // ribbonControl1 @@ -97,7 +98,7 @@ // // button1 // - this.button1.Location = new System.Drawing.Point(286, 30); + this.button1.Location = new System.Drawing.Point(367, 33); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 4; @@ -105,11 +106,23 @@ this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // + // ClearButton + // + this.ClearButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ClearButton.Location = new System.Drawing.Point(505, 33); + this.ClearButton.Name = "ClearButton"; + this.ClearButton.Size = new System.Drawing.Size(75, 23); + this.ClearButton.TabIndex = 5; + this.ClearButton.Text = "Clear"; + this.ClearButton.UseVisualStyleBackColor = true; + this.ClearButton.Click += new System.EventHandler(this.ClearButton_Click); + // // currentTransfers // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(592, 450); + this.Controls.Add(this.ClearButton); this.Controls.Add(this.button1); this.Controls.Add(this.layoutPanel); this.Controls.Add(this.label1); @@ -130,6 +143,7 @@ private System.Windows.Forms.FlowLayoutPanel layoutPanel; private System.Windows.Forms.Button button1; public System.Windows.Forms.Label label1; + private System.Windows.Forms.Button ClearButton; } } \ No newline at end of file