Fixed thread not closing issue
This commit is contained in:
12
SamaPager_Server/MainForm.Designer.cs
generated
12
SamaPager_Server/MainForm.Designer.cs
generated
@@ -72,7 +72,7 @@
|
|||||||
this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.kryptonPanel1.Location = new System.Drawing.Point(0, 0);
|
this.kryptonPanel1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.kryptonPanel1.Name = "kryptonPanel1";
|
this.kryptonPanel1.Name = "kryptonPanel1";
|
||||||
this.kryptonPanel1.Size = new System.Drawing.Size(427, 374);
|
this.kryptonPanel1.Size = new System.Drawing.Size(426, 383);
|
||||||
this.kryptonPanel1.TabIndex = 0;
|
this.kryptonPanel1.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// logList
|
// logList
|
||||||
@@ -81,7 +81,7 @@
|
|||||||
this.logList.HorizontalScrollbar = true;
|
this.logList.HorizontalScrollbar = true;
|
||||||
this.logList.Location = new System.Drawing.Point(12, 27);
|
this.logList.Location = new System.Drawing.Point(12, 27);
|
||||||
this.logList.Name = "logList";
|
this.logList.Name = "logList";
|
||||||
this.logList.Size = new System.Drawing.Size(399, 322);
|
this.logList.Size = new System.Drawing.Size(402, 322);
|
||||||
this.logList.TabIndex = 4;
|
this.logList.TabIndex = 4;
|
||||||
//
|
//
|
||||||
// kryptonStatusStrip1
|
// kryptonStatusStrip1
|
||||||
@@ -89,11 +89,11 @@
|
|||||||
this.kryptonStatusStrip1.Font = new System.Drawing.Font("Segoe UI", 9F);
|
this.kryptonStatusStrip1.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||||
this.kryptonStatusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.kryptonStatusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.statusLabel});
|
this.statusLabel});
|
||||||
this.kryptonStatusStrip1.Location = new System.Drawing.Point(0, 352);
|
this.kryptonStatusStrip1.Location = new System.Drawing.Point(0, 361);
|
||||||
this.kryptonStatusStrip1.Name = "kryptonStatusStrip1";
|
this.kryptonStatusStrip1.Name = "kryptonStatusStrip1";
|
||||||
this.kryptonStatusStrip1.ProgressBars = null;
|
this.kryptonStatusStrip1.ProgressBars = null;
|
||||||
this.kryptonStatusStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.ManagerRenderMode;
|
this.kryptonStatusStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.ManagerRenderMode;
|
||||||
this.kryptonStatusStrip1.Size = new System.Drawing.Size(427, 22);
|
this.kryptonStatusStrip1.Size = new System.Drawing.Size(426, 22);
|
||||||
this.kryptonStatusStrip1.TabIndex = 3;
|
this.kryptonStatusStrip1.TabIndex = 3;
|
||||||
this.kryptonStatusStrip1.Text = "kryptonStatusStrip1";
|
this.kryptonStatusStrip1.Text = "kryptonStatusStrip1";
|
||||||
//
|
//
|
||||||
@@ -111,7 +111,7 @@
|
|||||||
this.helpToolStripMenuItem});
|
this.helpToolStripMenuItem});
|
||||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.menuStrip1.Name = "menuStrip1";
|
this.menuStrip1.Name = "menuStrip1";
|
||||||
this.menuStrip1.Size = new System.Drawing.Size(427, 24);
|
this.menuStrip1.Size = new System.Drawing.Size(426, 24);
|
||||||
this.menuStrip1.TabIndex = 0;
|
this.menuStrip1.TabIndex = 0;
|
||||||
this.menuStrip1.Text = "menuStrip1";
|
this.menuStrip1.Text = "menuStrip1";
|
||||||
//
|
//
|
||||||
@@ -192,7 +192,7 @@
|
|||||||
//
|
//
|
||||||
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(427, 374);
|
this.ClientSize = new System.Drawing.Size(426, 383);
|
||||||
this.Controls.Add(this.kryptonPanel1);
|
this.Controls.Add(this.kryptonPanel1);
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ namespace SamaPager_Server
|
|||||||
|
|
||||||
private void Exit()
|
private void Exit()
|
||||||
{
|
{
|
||||||
|
srv.KillServer();
|
||||||
this.Stop = true;
|
this.Stop = true;
|
||||||
Application.Exit();
|
Application.Exit();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user