-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChatPage.Designer.cs
119 lines (113 loc) · 5.46 KB
/
ChatPage.Designer.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
namespace $safeprojectname$
{
partial class ChatPage
{
/// <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()
{
this.components = new System.ComponentModel.Container();
this.txtMessage = new System.Windows.Forms.TextBox();
this.btnSendMessage = new System.Windows.Forms.Button();
this.timerToRefresh = new System.Windows.Forms.Timer(this.components);
this.btnQuit = new System.Windows.Forms.Button();
this.lstChat = new System.Windows.Forms.ListBox();
this.SuspendLayout();
//
// txtMessage
//
this.txtMessage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtMessage.Location = new System.Drawing.Point(12, 423);
this.txtMessage.Multiline = true;
this.txtMessage.Name = "txtMessage";
this.txtMessage.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.txtMessage.Size = new System.Drawing.Size(421, 22);
this.txtMessage.TabIndex = 0;
this.txtMessage.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TxtMessage_KeyDown);
//
// btnSendMessage
//
this.btnSendMessage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.btnSendMessage.Location = new System.Drawing.Point(439, 423);
this.btnSendMessage.Name = "btnSendMessage";
this.btnSendMessage.Size = new System.Drawing.Size(58, 23);
this.btnSendMessage.TabIndex = 2;
this.btnSendMessage.Text = "Send";
this.btnSendMessage.UseVisualStyleBackColor = true;
this.btnSendMessage.Click += new System.EventHandler(this.BtnSendMessage_Click);
//
// timerToRefresh
//
this.timerToRefresh.Interval = 5000;
this.timerToRefresh.Tick += new System.EventHandler(this.TimerToRefresh_Tick);
//
// btnQuit
//
this.btnQuit.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.btnQuit.Location = new System.Drawing.Point(503, 423);
this.btnQuit.Name = "btnQuit";
this.btnQuit.Size = new System.Drawing.Size(66, 23);
this.btnQuit.TabIndex = 3;
this.btnQuit.Text = "Quit";
this.btnQuit.UseVisualStyleBackColor = true;
this.btnQuit.Click += new System.EventHandler(this.BtnQuit_Click);
//
// lstChat
//
this.lstChat.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lstChat.FormattingEnabled = true;
this.lstChat.ItemHeight = 16;
this.lstChat.Location = new System.Drawing.Point(12, 12);
this.lstChat.Name = "lstChat";
this.lstChat.SelectionMode = System.Windows.Forms.SelectionMode.None;
this.lstChat.Size = new System.Drawing.Size(557, 388);
this.lstChat.TabIndex = 4;
//
// ChatPage
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(581, 457);
this.ControlBox = false;
this.Controls.Add(this.lstChat);
this.Controls.Add(this.btnQuit);
this.Controls.Add(this.btnSendMessage);
this.Controls.Add(this.txtMessage);
this.Name = "ChatPage";
this.Text = "Form1";
this.Load += new System.EventHandler(this.ChatPage_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox txtMessage;
private System.Windows.Forms.Button btnSendMessage;
public System.Windows.Forms.Timer timerToRefresh;
private System.Windows.Forms.Button btnQuit;
public System.Windows.Forms.ListBox lstChat;
}
}