create room, get room information from server

This commit is contained in:
2023-02-10 17:55:09 +09:00
parent 3230581fb5
commit 09cce59aa2
12 changed files with 393 additions and 18 deletions

View File

@@ -34,20 +34,21 @@
this.btnCreate = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.btnRefresh = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// lbxRoom
//
this.lbxRoom.FormattingEnabled = true;
this.lbxRoom.ItemHeight = 15;
this.lbxRoom.Location = new System.Drawing.Point(12, 27);
this.lbxRoom.Location = new System.Drawing.Point(12, 31);
this.lbxRoom.Name = "lbxRoom";
this.lbxRoom.Size = new System.Drawing.Size(180, 214);
this.lbxRoom.TabIndex = 0;
//
// btnEnter
//
this.btnEnter.Location = new System.Drawing.Point(12, 247);
this.btnEnter.Location = new System.Drawing.Point(12, 251);
this.btnEnter.Name = "btnEnter";
this.btnEnter.Size = new System.Drawing.Size(180, 23);
this.btnEnter.TabIndex = 1;
@@ -75,7 +76,7 @@
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 9);
this.label1.Location = new System.Drawing.Point(12, 13);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(59, 15);
this.label1.TabIndex = 4;
@@ -90,6 +91,16 @@
this.label2.TabIndex = 5;
this.label2.Text = "Creation";
//
// btnRefresh
//
this.btnRefresh.Location = new System.Drawing.Point(134, 5);
this.btnRefresh.Name = "btnRefresh";
this.btnRefresh.Size = new System.Drawing.Size(58, 23);
this.btnRefresh.TabIndex = 1;
this.btnRefresh.Text = "Refresh";
this.btnRefresh.UseVisualStyleBackColor = true;
this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
//
// RoomListForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
@@ -99,6 +110,7 @@
this.Controls.Add(this.label1);
this.Controls.Add(this.btnCreate);
this.Controls.Add(this.tbxRoomName);
this.Controls.Add(this.btnRefresh);
this.Controls.Add(this.btnEnter);
this.Controls.Add(this.lbxRoom);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
@@ -108,6 +120,7 @@
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Room list";
this.Activated += new System.EventHandler(this.RoomListForm_Activated);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.RoomListForm_FormClosing);
this.ResumeLayout(false);
this.PerformLayout();
@@ -121,5 +134,6 @@
private Button btnCreate;
private Label label1;
private Label label2;
private Button btnRefresh;
}
}