Avslutsknapp

This commit is contained in:
2020-12-12 17:28:03 +01:00
parent 756256f03c
commit 6bd0bb63ad
3 changed files with 20 additions and 2 deletions

View File

@ -97,6 +97,7 @@ namespace WindowsFormsCore
this.colNum7 = new System.Windows.Forms.ColumnHeader();
this.btnDwn = new System.Windows.Forms.Button();
this.btnDown2 = new System.Windows.Forms.Button();
this.btnlose = new System.Windows.Forms.Button();
this.gpbInmata.SuspendLayout();
this.SuspendLayout();
//
@ -786,11 +787,22 @@ namespace WindowsFormsCore
this.btnDown2.UseVisualStyleBackColor = true;
this.btnDown2.Click += new System.EventHandler(this.btnDown2_Click);
//
// btnlose
//
this.btnlose.Location = new System.Drawing.Point(713, 414);
this.btnlose.Name = "btnlose";
this.btnlose.Size = new System.Drawing.Size(75, 23);
this.btnlose.TabIndex = 26;
this.btnlose.Text = "Close";
this.btnlose.UseVisualStyleBackColor = true;
this.btnlose.Click += new System.EventHandler(this.btnlose_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.btnlose);
this.Controls.Add(this.btnDown2);
this.Controls.Add(this.btnDwn);
this.Controls.Add(this.lvRows);
@ -895,6 +907,7 @@ namespace WindowsFormsCore
private System.Windows.Forms.ColumnHeader colNum7;
private System.Windows.Forms.Button btnDwn;
private System.Windows.Forms.Button btnDown2;
private System.Windows.Forms.Button btnlose;
}
}

View File

@ -243,5 +243,10 @@ namespace WindowsFormsCore
{
AddNumbersToList2();
}
private void btnlose_Click(object sender, EventArgs e)
{
this.Close();
}
}
}

View File

@ -334,7 +334,7 @@
<data name="btnDwn.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing.Common" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wgAADsIBFShKgAAAALxJREFUOE/dkbENwkAMRTMKIyClzxpp2SALZICsQINSI6VFikTDCBEVPQOkutbc
wQAADsEBuJFr7QAAALxJREFUOE/dkbENwkAMRTMKIyClzxpp2SALZICsQINSI6VFikTDCBEVPQOkutbc
O8mRLxgEoqN4cuz7/zUpROQn3OM3uEcIIYiyfrO4R6BY7st/EsS5se9KtsRQTyGyZapA90hv85CVp/sk
3aUjOFMwgrk5NcI7uVcCGW9jKrXnNhVVwF4dKhXEuC9IkuE6pGJ9rBeZLZN7J8gksC6DKwANEEbilcF2
sgVMUP8I0y3D0wFMYWe+3ax7/BwpHj+xC45fZcSfAAAAAElFTkSuQmCC
@ -343,7 +343,7 @@
<data name="btnDown2.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing.Common" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wgAADsIBFShKgAAAALxJREFUOE/dkbENwkAMRTMKIyClzxpp2SALZICsQINSI6VFikTDCBEVPQOkutbc
wQAADsEBuJFr7QAAALxJREFUOE/dkbENwkAMRTMKIyClzxpp2SALZICsQINSI6VFikTDCBEVPQOkutbc
O8mRLxgEoqN4cuz7/zUpROQn3OM3uEcIIYiyfrO4R6BY7st/EsS5se9KtsRQTyGyZapA90hv85CVp/sk
3aUjOFMwgrk5NcI7uVcCGW9jKrXnNhVVwF4dKhXEuC9IkuE6pGJ9rBeZLZN7J8gksC6DKwANEEbilcF2
sgVMUP8I0y3D0wFMYWe+3ax7/BwpHj+xC45fZcSfAAAAAElFTkSuQmCC