165 lines
5.1 KiB
C#
165 lines
5.1 KiB
C#
namespace SupperWebSocket
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
components = new System.ComponentModel.Container();
|
|
button1 = new Button();
|
|
label1 = new Label();
|
|
label2 = new Label();
|
|
label3 = new Label();
|
|
label4 = new Label();
|
|
timer1 = new System.Windows.Forms.Timer(components);
|
|
label5 = new Label();
|
|
label6 = new Label();
|
|
label7 = new Label();
|
|
label8 = new Label();
|
|
SuspendLayout();
|
|
//
|
|
// button1
|
|
//
|
|
button1.Location = new Point(24, 158);
|
|
button1.Name = "button1";
|
|
button1.Size = new Size(136, 46);
|
|
button1.TabIndex = 0;
|
|
button1.Text = "开启Socket服务";
|
|
button1.UseVisualStyleBackColor = true;
|
|
button1.Click += button1_Click;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(24, 86);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(68, 17);
|
|
label1.TabIndex = 1;
|
|
label1.Text = "在线人数:";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(36, 24);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(56, 17);
|
|
label2.TabIndex = 1;
|
|
label2.Text = "学生端:";
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(36, 54);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(56, 17);
|
|
label3.TabIndex = 1;
|
|
label3.Text = "教师端:";
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(12, 117);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(80, 17);
|
|
label4.TabIndex = 1;
|
|
label4.Text = "课程开启数:";
|
|
//
|
|
// timer1
|
|
//
|
|
timer1.Tick += timer1_Tick;
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Location = new Point(92, 117);
|
|
label5.Name = "label5";
|
|
label5.Size = new Size(43, 17);
|
|
label5.TabIndex = 2;
|
|
label5.Text = "label5";
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.Location = new Point(92, 86);
|
|
label6.Name = "label6";
|
|
label6.Size = new Size(43, 17);
|
|
label6.TabIndex = 2;
|
|
label6.Text = "label6";
|
|
//
|
|
// label7
|
|
//
|
|
label7.AutoSize = true;
|
|
label7.Location = new Point(92, 54);
|
|
label7.Name = "label7";
|
|
label7.Size = new Size(43, 17);
|
|
label7.TabIndex = 2;
|
|
label7.Text = "label7";
|
|
//
|
|
// label8
|
|
//
|
|
label8.AutoSize = true;
|
|
label8.Location = new Point(92, 26);
|
|
label8.Name = "label8";
|
|
label8.Size = new Size(43, 17);
|
|
label8.TabIndex = 2;
|
|
label8.Text = "label8";
|
|
//
|
|
// Form1
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(192, 228);
|
|
Controls.Add(label8);
|
|
Controls.Add(label7);
|
|
Controls.Add(label6);
|
|
Controls.Add(label5);
|
|
Controls.Add(label4);
|
|
Controls.Add(label3);
|
|
Controls.Add(label2);
|
|
Controls.Add(label1);
|
|
Controls.Add(button1);
|
|
Name = "Form1";
|
|
Text = "Form1";
|
|
Load += Form1_Load;
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Button button1;
|
|
private Label label1;
|
|
private Label label2;
|
|
private Label label3;
|
|
private Label label4;
|
|
private System.Windows.Forms.Timer timer1;
|
|
private Label label5;
|
|
private Label label6;
|
|
private Label label7;
|
|
private Label label8;
|
|
}
|
|
}
|