130 lines
4.2 KiB
C#
130 lines
4.2 KiB
C#
namespace SignalRTest2
|
|
{
|
|
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()
|
|
{
|
|
connectButton = new Button();
|
|
messagesList = new ListBox();
|
|
sendButton = new Button();
|
|
userTextBox = new TextBox();
|
|
messageTextBox = new TextBox();
|
|
label1 = new Label();
|
|
label2 = new Label();
|
|
SuspendLayout();
|
|
//
|
|
// connectButton
|
|
//
|
|
connectButton.Location = new Point(470, 12);
|
|
connectButton.Name = "connectButton";
|
|
connectButton.Size = new Size(75, 23);
|
|
connectButton.TabIndex = 0;
|
|
connectButton.Text = "Connect";
|
|
connectButton.UseVisualStyleBackColor = true;
|
|
connectButton.Click += connectButton_Click;
|
|
//
|
|
// messagesList
|
|
//
|
|
messagesList.FormattingEnabled = true;
|
|
messagesList.ItemHeight = 15;
|
|
messagesList.Location = new Point(12, 70);
|
|
messagesList.Name = "messagesList";
|
|
messagesList.Size = new Size(530, 304);
|
|
messagesList.TabIndex = 1;
|
|
//
|
|
// sendButton
|
|
//
|
|
sendButton.Location = new Point(470, 41);
|
|
sendButton.Name = "sendButton";
|
|
sendButton.Size = new Size(75, 23);
|
|
sendButton.TabIndex = 2;
|
|
sendButton.Text = "Senden";
|
|
sendButton.UseVisualStyleBackColor = true;
|
|
sendButton.Click += sendButton_Click;
|
|
//
|
|
// userTextBox
|
|
//
|
|
userTextBox.Location = new Point(74, 12);
|
|
userTextBox.Name = "userTextBox";
|
|
userTextBox.Size = new Size(100, 23);
|
|
userTextBox.TabIndex = 3;
|
|
//
|
|
// messageTextBox
|
|
//
|
|
messageTextBox.Location = new Point(74, 41);
|
|
messageTextBox.Name = "messageTextBox";
|
|
messageTextBox.Size = new Size(390, 23);
|
|
messageTextBox.TabIndex = 4;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(12, 16);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(53, 15);
|
|
label1.TabIndex = 5;
|
|
label1.Text = "Benutzer";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(12, 44);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(59, 15);
|
|
label2.TabIndex = 6;
|
|
label2.Text = "Nachricht";
|
|
//
|
|
// Form1
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(554, 396);
|
|
Controls.Add(label2);
|
|
Controls.Add(label1);
|
|
Controls.Add(messageTextBox);
|
|
Controls.Add(userTextBox);
|
|
Controls.Add(sendButton);
|
|
Controls.Add(messagesList);
|
|
Controls.Add(connectButton);
|
|
Name = "Form1";
|
|
Text = "Form1";
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Button connectButton;
|
|
private ListBox messagesList;
|
|
private Button sendButton;
|
|
private TextBox userTextBox;
|
|
private TextBox messageTextBox;
|
|
private Label label1;
|
|
private Label label2;
|
|
}
|
|
}
|