private void InitializeComponent() { this.lblTitle = new DarkTheme.Label(); this.btnStop = new DarkTheme.Button(); this.lvwRooms = new System.Windows.Forms.ListView(); this.colRoomName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.colPlayersInLobby = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.colPlayersInGame = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.colPlayers = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.lblInfo = new DarkTheme.Label(); this.lblClientCount = new DarkTheme.Label(); this.lblPlayerInLobbyCount = new DarkTheme.Label(); this.lblPlayerInGameCount = new DarkTheme.Label(); this.lblRoomCount = new DarkTheme.Label(); this.lvwWords = new System.Windows.Forms.ListView(); this.colWord = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.colDownvotes = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.SuspendLayout(); // // lblTitle // this.lblTitle.AutoSize = true; this.lblTitle.BackColor = System.Drawing.Color.Transparent; this.lblTitle.Font = new System.Drawing.Font("Segoe UI Semilight", 24F); this.lblTitle.ForeColor = System.Drawing.Color.White; this.lblTitle.Location = new System.Drawing.Point(60, 60); this.lblTitle.Name = "lblTitle"; this.lblTitle.Size = new System.Drawing.Size(243, 45); this.lblTitle.TabIndex = 1; this.lblTitle.Text = "Server Übersicht"; // // btnStop // this.btnStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnStop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.btnStop.FlatAppearance.BorderSize = 0; this.btnStop.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnStop.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnStop.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnStop.Font = new System.Drawing.Font("Consolas", 12F); this.btnStop.ForeColor = System.Drawing.Color.White; this.btnStop.Location = new System.Drawing.Point(68, 464); this.btnStop.Name = "btnStop"; this.btnStop.Size = new System.Drawing.Size(200, 50); this.btnStop.TabIndex = 2; this.btnStop.Text = "Stoppen"; this.btnStop.UseVisualStyleBackColor = false; this.btnStop.Click += new System.EventHandler(this.btnStop_Click); // // lvwRooms // this.lvwRooms.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.lvwRooms.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.colRoomName, this.colPlayersInLobby, this.colPlayersInGame, this.colPlayers }); this.lvwRooms.Location = new System.Drawing.Point(274, 134); this.lvwRooms.Name = "lvwRooms"; this.lvwRooms.Size = new System.Drawing.Size(403, 320); this.lvwRooms.TabIndex = 3; this.lvwRooms.UseCompatibleStateImageBehavior = false; this.lvwRooms.View = System.Windows.Forms.View.Details; // // colRoomName // this.colRoomName.Text = "Raumname"; this.colRoomName.Width = 120; // // colPlayersInLobby // this.colPlayersInLobby.Text = "Spieler in Lobby"; this.colPlayersInLobby.Width = 90; // // colPlayersInGame // this.colPlayersInGame.Text = "Spieler im Spiel"; this.colPlayersInGame.Width = 85; // // colSpieler // this.colPlayers.Text = "Spieler"; this.colPlayers.Width = 50; // // lblInfo // this.lblInfo.AutoSize = true; this.lblInfo.BackColor = System.Drawing.Color.Transparent; this.lblInfo.Font = new System.Drawing.Font("Segoe UI", 12F); this.lblInfo.ForeColor = System.Drawing.Color.White; this.lblInfo.Location = new System.Drawing.Point(64, 105); this.lblInfo.Name = "lblInfo"; this.lblInfo.Size = new System.Drawing.Size(71, 21); this.lblInfo.TabIndex = 4; this.lblInfo.Text = "Port-Info"; // // lblClientCount // this.lblClientCount.AutoSize = true; this.lblClientCount.BackColor = System.Drawing.Color.Transparent; this.lblClientCount.Font = new System.Drawing.Font("Segoe UI", 12F); this.lblClientCount.ForeColor = System.Drawing.Color.White; this.lblClientCount.Location = new System.Drawing.Point(696, 134); this.lblClientCount.Name = "lblClientCount"; this.lblClientCount.Size = new System.Drawing.Size(161, 21); this.lblClientCount.TabIndex = 5; this.lblClientCount.Text = "Verbundene Clients: 0"; // // lblPlayerInLobbyCount // this.lblPlayerInLobbyCount.AutoSize = true; this.lblPlayerInLobbyCount.BackColor = System.Drawing.Color.Transparent; this.lblPlayerInLobbyCount.Font = new System.Drawing.Font("Segoe UI", 12F); this.lblPlayerInLobbyCount.ForeColor = System.Drawing.Color.White; this.lblPlayerInLobbyCount.Location = new System.Drawing.Point(696, 169); this.lblPlayerInLobbyCount.Name = "lblPlayerInLobbyCount"; this.lblPlayerInLobbyCount.Size = new System.Drawing.Size(149, 21); this.lblPlayerInLobbyCount.TabIndex = 6; this.lblPlayerInLobbyCount.Text = "Spieler in Lobbies: 0"; // // lblPlayerInGameCount // this.lblPlayerInGameCount.AutoSize = true; this.lblPlayerInGameCount.BackColor = System.Drawing.Color.Transparent; this.lblPlayerInGameCount.Font = new System.Drawing.Font("Segoe UI", 12F); this.lblPlayerInGameCount.ForeColor = System.Drawing.Color.White; this.lblPlayerInGameCount.Location = new System.Drawing.Point(696, 204); this.lblPlayerInGameCount.Name = "lblPlayerInGameCount"; this.lblPlayerInGameCount.Size = new System.Drawing.Size(146, 21); this.lblPlayerInGameCount.TabIndex = 7; this.lblPlayerInGameCount.Text = "Spieler in Spielen: 0"; // // lblRoomCount // this.lblRoomCount.AutoSize = true; this.lblRoomCount.BackColor = System.Drawing.Color.Transparent; this.lblRoomCount.Font = new System.Drawing.Font("Segoe UI", 12F); this.lblRoomCount.ForeColor = System.Drawing.Color.White; this.lblRoomCount.Location = new System.Drawing.Point(696, 239); this.lblRoomCount.Name = "lblRoomCount"; this.lblRoomCount.Size = new System.Drawing.Size(75, 21); this.lblRoomCount.TabIndex = 8; this.lblRoomCount.Text = "Räume: 0"; // // lvwWords // this.lvwWords.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.lvwWords.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.colWord, this.colDownvotes }); this.lvwWords.Location = new System.Drawing.Point(68, 134); this.lvwWords.Name = "lvwWords"; this.lvwWords.Size = new System.Drawing.Size(200, 320); this.lvwWords.TabIndex = 9; this.lvwWords.UseCompatibleStateImageBehavior = false; this.lvwWords.View = System.Windows.Forms.View.Details; // // colWord // this.colWord.Text = "Wort"; this.colWord.Width = 130; // // colDownvotes // this.colDownvotes.Text = "Downvotes"; this.colDownvotes.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.colDownvotes.Width = 49; // // PageHostOverview // this.Controls.Add(this.lvwWords); this.Controls.Add(this.lblRoomCount); this.Controls.Add(this.lblPlayerInGameCount); this.Controls.Add(this.lblPlayerInLobbyCount); this.Controls.Add(this.lblClientCount); this.Controls.Add(this.lblInfo); this.Controls.Add(this.lvwRooms); this.Controls.Add(this.btnStop); this.Controls.Add(this.lblTitle); this.Location = new System.Drawing.Point(0, 0); this.Name = "PageHostOverview"; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.nupPenWidth = new DarkTheme.NumericUpDown(); this.lblPenWidth = new DarkTheme.Label(); this.drawField = new Scribble.DrawField(); this.btnReset = new DarkTheme.Button(); this.colorPalette = new DarkTheme.ColorPalette(); this.txtMessage = new DarkTheme.TextBox(); this.btnFillDraw = new DarkTheme.Button(); this.chatControl = new WinAdvancedNetworkLibSample.ChatControl(); this.lvwPlayers = new System.Windows.Forms.ListView(); this.lblWord = new DarkTheme.Label(); this.lblRoundInfo = new DarkTheme.Label(); this.btnKickPlayer = new DarkTheme.Button(); this.SuspendLayout(); // // nupPenWidth // this.nupPenWidth.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.nupPenWidth.BackColor = System.Drawing.Color.White; this.nupPenWidth.Location = new System.Drawing.Point(728, 509); this.nupPenWidth.Name = "nupPenWidth"; this.nupPenWidth.Size = new System.Drawing.Size(100, 29); this.nupPenWidth.TabIndex = 1; this.nupPenWidth.Text = "numericUpDown1"; this.nupPenWidth.Value = new decimal(new int[] { 10, 0, 0, 0 }); // // lblPenWidth // this.lblPenWidth.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lblPenWidth.AutoSize = true; this.lblPenWidth.BackColor = System.Drawing.Color.Transparent; this.lblPenWidth.Font = new System.Drawing.Font("Consolas", 12F); this.lblPenWidth.ForeColor = System.Drawing.Color.White; this.lblPenWidth.Location = new System.Drawing.Point(724, 487); this.lblPenWidth.Name = "lblPenWidth"; this.lblPenWidth.Size = new System.Drawing.Size(108, 19); this.lblPenWidth.TabIndex = 2; this.lblPenWidth.Text = "Stiftstärke"; // // drawField // this.drawField.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.drawField.BackColor = System.Drawing.Color.White; this.drawField.BorderColor = System.Drawing.Color.Empty; this.drawField.Location = new System.Drawing.Point(234, 62); this.drawField.Name = "drawField"; this.drawField.PenColor = System.Drawing.Color.Black; this.drawField.PenWidth = 10F; this.drawField.Size = new System.Drawing.Size(598, 400); this.drawField.TabIndex = 3; this.drawField.Text = "drawField"; // // btnReset // this.btnReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnReset.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(190)))), ((int)(((byte)(190)))), ((int)(((byte)(190))))); this.btnReset.FlatAppearance.BorderSize = 0; this.btnReset.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.btnReset.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.btnReset.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnReset.Font = new System.Drawing.Font("Consolas", 12F); this.btnReset.ForeColor = System.Drawing.Color.Black; this.btnReset.Location = new System.Drawing.Point(234, 509); this.btnReset.Name = "btnReset"; this.btnReset.Size = new System.Drawing.Size(128, 29); this.btnReset.TabIndex = 4; this.btnReset.Text = "Zurücksetzen"; this.btnReset.UseVisualStyleBackColor = false; this.btnReset.Click += new System.EventHandler(this.btnReset_Click); // // colorPalette // this.colorPalette.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.colorPalette.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32))))); this.colorPalette.Location = new System.Drawing.Point(377, 509); this.colorPalette.Name = "colorPalette"; this.colorPalette.Size = new System.Drawing.Size(300, 30); this.colorPalette.TabIndex = 5; this.colorPalette.Text = "colorPalette1"; // // txtMessage // this.txtMessage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.txtMessage.BackColor = System.Drawing.Color.White; this.txtMessage.Font = new System.Drawing.Font("Segoe UI Emoji", 10F); this.txtMessage.Location = new System.Drawing.Point(866, 509); this.txtMessage.Name = "txtMessage"; this.txtMessage.ReadOnly = false; this.txtMessage.Size = new System.Drawing.Size(200, 29); this.txtMessage.TabIndex = 7; this.txtMessage.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtMessage_KeyDown); // // btnFillDraw // this.btnFillDraw.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnFillDraw.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(190)))), ((int)(((byte)(190)))), ((int)(((byte)(190))))); this.btnFillDraw.FlatAppearance.BorderSize = 0; this.btnFillDraw.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.btnFillDraw.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.btnFillDraw.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnFillDraw.Font = new System.Drawing.Font("Consolas", 12F); this.btnFillDraw.ForeColor = System.Drawing.Color.Black; this.btnFillDraw.Location = new System.Drawing.Point(629, 509); this.btnFillDraw.Name = "btnFillDraw"; this.btnFillDraw.Size = new System.Drawing.Size(89, 29); this.btnFillDraw.TabIndex = 8; this.btnFillDraw.Text = "Füllen"; this.btnFillDraw.UseVisualStyleBackColor = false; this.btnFillDraw.Click += new System.EventHandler(this.btnFillDraw_Click); // // chatControl // this.chatControl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.chatControl.BackColor = System.Drawing.Color.White; this.chatControl.BorderStyle = System.Windows.Forms.BorderStyle.None; this.chatControl.Font = new System.Drawing.Font("Segoe UI Emoji", 10F); this.chatControl.Location = new System.Drawing.Point(866, 62); this.chatControl.Name = "chatControl"; this.chatControl.ReadOnly = true; this.chatControl.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None; this.chatControl.Size = new System.Drawing.Size(200, 441); this.chatControl.TabIndex = 9; this.chatControl.Text = ""; // // lvwPlayers // this.lvwPlayers.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32))))); this.lvwPlayers.BorderStyle = System.Windows.Forms.BorderStyle.None; this.lvwPlayers.Location = new System.Drawing.Point(21, 62); this.lvwPlayers.Name = "lvwPlayers"; this.lvwPlayers.Size = new System.Drawing.Size(207, 400); this.lvwPlayers.TabIndex = 10; this.lvwPlayers.UseCompatibleStateImageBehavior = false; this.lvwPlayers.View = System.Windows.Forms.View.Tile; this.lvwPlayers.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.lvwPlayers_ItemSelectionChanged); // // lblWord // this.lblWord.Anchor = System.Windows.Forms.AnchorStyles.Top; this.lblWord.AutoSize = true; this.lblWord.BackColor = System.Drawing.Color.Transparent; this.lblWord.Font = new System.Drawing.Font("Consolas", 12F); this.lblWord.ForeColor = System.Drawing.Color.White; this.lblWord.Location = new System.Drawing.Point(455, 17); this.lblWord.Name = "lblWord"; this.lblWord.Size = new System.Drawing.Size(180, 19); this.lblWord.TabIndex = 11; this.lblWord.Text = "_ _ _ _ _ _ _ _ _ _"; this.lblWord.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblRoundInfo // this.lblRoundInfo.AutoSize = true; this.lblRoundInfo.BackColor = System.Drawing.Color.Transparent; this.lblRoundInfo.Font = new System.Drawing.Font("Segoe UI", 14F); this.lblRoundInfo.ForeColor = System.Drawing.Color.White; this.lblRoundInfo.Location = new System.Drawing.Point(17, 17); this.lblRoundInfo.Name = "lblRoundInfo"; this.lblRoundInfo.Size = new System.Drawing.Size(142, 25); this.lblRoundInfo.TabIndex = 12; this.lblRoundInfo.Text = "Runde 1 von 10"; // // btnKickPlayer // this.btnKickPlayer.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnKickPlayer.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(190)))), ((int)(((byte)(190)))), ((int)(((byte)(190))))); this.btnKickPlayer.FlatAppearance.BorderSize = 0; this.btnKickPlayer.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.btnKickPlayer.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.btnKickPlayer.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnKickPlayer.Font = new System.Drawing.Font("Consolas", 12F); this.btnKickPlayer.ForeColor = System.Drawing.Color.Black; this.btnKickPlayer.Location = new System.Drawing.Point(22, 510); this.btnKickPlayer.Name = "btnKickPlayer"; this.btnKickPlayer.Size = new System.Drawing.Size(128, 29); this.btnKickPlayer.TabIndex = 13; this.btnKickPlayer.Text = "Kicken"; this.btnKickPlayer.UseVisualStyleBackColor = false; this.btnKickPlayer.Visible = false; this.btnKickPlayer.Click += new System.EventHandler(this.btnKickPlayer_Click); // // PageGame // this.BackColor = System.Drawing.Color.Transparent; this.Controls.Add(this.btnKickPlayer); this.Controls.Add(this.lblRoundInfo); this.Controls.Add(this.lblWord); this.Controls.Add(this.lvwPlayers); this.Controls.Add(this.chatControl); this.Controls.Add(this.btnFillDraw); this.Controls.Add(this.txtMessage); this.Controls.Add(this.colorPalette); this.Controls.Add(this.btnReset); this.Controls.Add(this.drawField); this.Controls.Add(this.lblPenWidth); this.Controls.Add(this.nupPenWidth); this.Location = new System.Drawing.Point(0, 0); this.Name = "PageGame"; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.btnThirdWord = new DarkTheme.Button(); this.btnSecondWord = new DarkTheme.Button(); this.btnFirstWord = new DarkTheme.Button(); this.lblTitle = new DarkTheme.Label(); this.lblDownvoteInfo = new DarkTheme.Label(); this.SuspendLayout(); // // btnThirdWord // this.btnThirdWord.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnThirdWord.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.btnThirdWord.FlatAppearance.BorderSize = 0; this.btnThirdWord.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnThirdWord.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnThirdWord.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnThirdWord.Font = new System.Drawing.Font("Consolas", 12F); this.btnThirdWord.ForeColor = System.Drawing.Color.White; this.btnThirdWord.Location = new System.Drawing.Point(535, 100); this.btnThirdWord.Name = "btnThirdWord"; this.btnThirdWord.Size = new System.Drawing.Size(200, 50); this.btnThirdWord.TabIndex = 2; this.btnThirdWord.Text = "Drittes Wort"; this.btnThirdWord.UseVisualStyleBackColor = false; this.btnThirdWord.Click += new System.EventHandler(this.btnWord_Click); this.btnThirdWord.MouseClick += new System.Windows.Forms.MouseEventHandler(this.btnWord_MouseClick); // // btnSecondWord // this.btnSecondWord.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnSecondWord.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.btnSecondWord.FlatAppearance.BorderSize = 0; this.btnSecondWord.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnSecondWord.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnSecondWord.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSecondWord.Font = new System.Drawing.Font("Consolas", 12F); this.btnSecondWord.ForeColor = System.Drawing.Color.White; this.btnSecondWord.Location = new System.Drawing.Point(329, 100); this.btnSecondWord.Name = "btnSecondWord"; this.btnSecondWord.Size = new System.Drawing.Size(200, 50); this.btnSecondWord.TabIndex = 1; this.btnSecondWord.Text = "Zweites Wort"; this.btnSecondWord.UseVisualStyleBackColor = false; this.btnSecondWord.Click += new System.EventHandler(this.btnWord_Click); this.btnSecondWord.MouseClick += new System.Windows.Forms.MouseEventHandler(this.btnWord_MouseClick); // // btnFirstWord // this.btnFirstWord.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btnFirstWord.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.btnFirstWord.FlatAppearance.BorderSize = 0; this.btnFirstWord.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnFirstWord.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnFirstWord.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnFirstWord.Font = new System.Drawing.Font("Consolas", 12F); this.btnFirstWord.ForeColor = System.Drawing.Color.White; this.btnFirstWord.Location = new System.Drawing.Point(123, 100); this.btnFirstWord.Name = "btnFirstWord"; this.btnFirstWord.Size = new System.Drawing.Size(200, 50); this.btnFirstWord.TabIndex = 0; this.btnFirstWord.Text = "Erstes Wort"; this.btnFirstWord.UseVisualStyleBackColor = false; this.btnFirstWord.Click += new System.EventHandler(this.btnWord_Click); this.btnFirstWord.MouseClick += new System.Windows.Forms.MouseEventHandler(this.btnWord_MouseClick); // // lblTitle // this.lblTitle.Anchor = System.Windows.Forms.AnchorStyles.Top; this.lblTitle.AutoSize = true; this.lblTitle.BackColor = System.Drawing.Color.Transparent; this.lblTitle.Font = new System.Drawing.Font("Segoe UI Semilight", 20F); this.lblTitle.ForeColor = System.Drawing.Color.White; this.lblTitle.Location = new System.Drawing.Point(305, 32); this.lblTitle.Name = "lblTitle"; this.lblTitle.Size = new System.Drawing.Size(244, 37); this.lblTitle.TabIndex = 3; this.lblTitle.Text = "Wähle ein Wort aus"; // // lblDownvoteInfo // this.lblDownvoteInfo.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.lblDownvoteInfo.BackColor = System.Drawing.Color.Transparent; this.lblDownvoteInfo.Font = new System.Drawing.Font("Segoe UI", 10F); this.lblDownvoteInfo.ForeColor = System.Drawing.Color.White; this.lblDownvoteInfo.Location = new System.Drawing.Point(119, 74); this.lblDownvoteInfo.Name = "lblDownvoteInfo"; this.lblDownvoteInfo.Size = new System.Drawing.Size(616, 23); this.lblDownvoteInfo.TabIndex = 4; this.lblDownvoteInfo.Text = "Mit einem Rechtsklick auf ein Wort, kannst du diesem ein Downvote geben"; this.lblDownvoteInfo.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // MessageWordChoice // this.BackColor = System.Drawing.Color.Black; this.Controls.Add(this.lblDownvoteInfo); this.Controls.Add(this.lblTitle); this.Controls.Add(this.btnThirdWord); this.Controls.Add(this.btnSecondWord); this.Controls.Add(this.btnFirstWord); this.Name = "MessageWordChoice"; this.Size = new System.Drawing.Size(865, 454); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.lblTitle = new DarkTheme.Label(); this.btnCreate = new DarkTheme.Button(); this.btnJoin = new DarkTheme.Button(); this.lvwRooms = new System.Windows.Forms.ListView(); this.colName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.colPlayerCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.lblPassword = new DarkTheme.Label(); this.txtPassword = new DarkTheme.TextBox(); this.SuspendLayout(); // // lblTitle // this.lblTitle.AutoSize = true; this.lblTitle.BackColor = System.Drawing.Color.Transparent; this.lblTitle.Font = new System.Drawing.Font("Segoe UI Semilight", 24F); this.lblTitle.ForeColor = System.Drawing.Color.White; this.lblTitle.Location = new System.Drawing.Point(60, 60); this.lblTitle.Name = "lblTitle"; this.lblTitle.Size = new System.Drawing.Size(115, 45); this.lblTitle.TabIndex = 1; this.lblTitle.Text = "Räume"; // // btnCreate // this.btnCreate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnCreate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.btnCreate.FlatAppearance.BorderSize = 0; this.btnCreate.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnCreate.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnCreate.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCreate.Font = new System.Drawing.Font("Consolas", 12F); this.btnCreate.ForeColor = System.Drawing.Color.White; this.btnCreate.Location = new System.Drawing.Point(68, 464); this.btnCreate.Name = "btnCreate"; this.btnCreate.Size = new System.Drawing.Size(200, 50); this.btnCreate.TabIndex = 2; this.btnCreate.Text = "Erstellen"; this.btnCreate.UseVisualStyleBackColor = false; this.btnCreate.Click += new System.EventHandler(this.btnCreate_Click); // // btnJoin // this.btnJoin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnJoin.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.btnJoin.Enabled = false; this.btnJoin.FlatAppearance.BorderSize = 0; this.btnJoin.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnJoin.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnJoin.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnJoin.Font = new System.Drawing.Font("Consolas", 12F); this.btnJoin.ForeColor = System.Drawing.Color.White; this.btnJoin.Location = new System.Drawing.Point(274, 464); this.btnJoin.Name = "btnJoin"; this.btnJoin.Size = new System.Drawing.Size(200, 50); this.btnJoin.TabIndex = 3; this.btnJoin.Text = "Beitreten"; this.btnJoin.UseVisualStyleBackColor = false; this.btnJoin.Click += new System.EventHandler(this.btnJoin_Click); // // lvwRooms // this.lvwRooms.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.lvwRooms.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.colName, this.colPlayerCount }); this.lvwRooms.FullRowSelect = true; this.lvwRooms.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.lvwRooms.Location = new System.Drawing.Point(68, 108); this.lvwRooms.MultiSelect = false; this.lvwRooms.Name = "lvwRooms"; this.lvwRooms.Size = new System.Drawing.Size(406, 350); this.lvwRooms.TabIndex = 4; this.lvwRooms.UseCompatibleStateImageBehavior = false; this.lvwRooms.View = System.Windows.Forms.View.Details; this.lvwRooms.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.lvwRooms_ItemSelectionChanged); // // colName // this.colName.Text = "Name"; this.colName.Width = 330; // // colPlayerCount // this.colPlayerCount.Text = "Spieler"; this.colPlayerCount.Width = 69; // // lblPassword // this.lblPassword.AutoSize = true; this.lblPassword.BackColor = System.Drawing.Color.Transparent; this.lblPassword.Font = new System.Drawing.Font("Segoe UI", 12F); this.lblPassword.ForeColor = System.Drawing.Color.White; this.lblPassword.Location = new System.Drawing.Point(502, 107); this.lblPassword.Name = "lblPassword"; this.lblPassword.Size = new System.Drawing.Size(72, 21); this.lblPassword.TabIndex = 16; this.lblPassword.Text = "Passwort"; // // txtPassword // this.txtPassword.BackColor = System.Drawing.Color.White; this.txtPassword.Location = new System.Drawing.Point(506, 141); this.txtPassword.Name = "txtPassword"; this.txtPassword.ReadOnly = false; this.txtPassword.Size = new System.Drawing.Size(200, 29); this.txtPassword.TabIndex = 15; // // PageRooms // this.Controls.Add(this.lblPassword); this.Controls.Add(this.txtPassword); this.Controls.Add(this.lvwRooms); this.Controls.Add(this.btnJoin); this.Controls.Add(this.btnCreate); this.Controls.Add(this.lblTitle); this.Location = new System.Drawing.Point(0, 0); this.Name = "PageRooms"; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.lblTitle = new DarkTheme.Label(); this.txtPort = new DarkTheme.TextBox(); this.lblPort = new DarkTheme.Label(); this.lblHost = new DarkTheme.Label(); this.txtHost = new DarkTheme.TextBox(); this.btnConnect = new DarkTheme.Button(); this.lblPassword = new DarkTheme.Label(); this.txtPassword = new DarkTheme.TextBox(); this.SuspendLayout(); // // lblTitle // this.lblTitle.AutoSize = true; this.lblTitle.BackColor = System.Drawing.Color.Transparent; this.lblTitle.Font = new System.Drawing.Font("Segoe UI Semilight", 24F); this.lblTitle.ForeColor = System.Drawing.Color.White; this.lblTitle.Location = new System.Drawing.Point(60, 60); this.lblTitle.Name = "lblTitle"; this.lblTitle.Size = new System.Drawing.Size(381, 45); this.lblTitle.TabIndex = 0; this.lblTitle.Text = "Zu einen Server verbinden"; // // txtPort // this.txtPort.BackColor = System.Drawing.Color.White; this.txtPort.Location = new System.Drawing.Point(274, 158); this.txtPort.Name = "txtPort"; this.txtPort.ReadOnly = false; this.txtPort.Size = new System.Drawing.Size(100, 29); this.txtPort.TabIndex = 11; // // lblPort // this.lblPort.AutoSize = true; this.lblPort.BackColor = System.Drawing.Color.Transparent; this.lblPort.Font = new System.Drawing.Font("Segoe UI", 12F); this.lblPort.ForeColor = System.Drawing.Color.White; this.lblPort.Location = new System.Drawing.Point(270, 124); this.lblPort.Name = "lblPort"; this.lblPort.Size = new System.Drawing.Size(38, 21); this.lblPort.TabIndex = 10; this.lblPort.Text = "Port"; // // lblHost // this.lblHost.AutoSize = true; this.lblHost.BackColor = System.Drawing.Color.Transparent; this.lblHost.Font = new System.Drawing.Font("Segoe UI", 12F); this.lblHost.ForeColor = System.Drawing.Color.White; this.lblHost.Location = new System.Drawing.Point(64, 124); this.lblHost.Name = "lblHost"; this.lblHost.Size = new System.Drawing.Size(42, 21); this.lblHost.TabIndex = 9; this.lblHost.Text = "Host"; // // txtHost // this.txtHost.BackColor = System.Drawing.Color.White; this.txtHost.Location = new System.Drawing.Point(68, 158); this.txtHost.Name = "txtHost"; this.txtHost.ReadOnly = false; this.txtHost.Size = new System.Drawing.Size(200, 29); this.txtHost.TabIndex = 8; // // btnConnect // this.btnConnect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnConnect.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.btnConnect.FlatAppearance.BorderSize = 0; this.btnConnect.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnConnect.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnConnect.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnConnect.Font = new System.Drawing.Font("Consolas", 12F); this.btnConnect.ForeColor = System.Drawing.Color.White; this.btnConnect.Location = new System.Drawing.Point(68, 464); this.btnConnect.Name = "btnConnect"; this.btnConnect.Size = new System.Drawing.Size(200, 50); this.btnConnect.TabIndex = 12; this.btnConnect.Text = "Verbinden"; this.btnConnect.UseVisualStyleBackColor = false; this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click); // // lblPassword // this.lblPassword.AutoSize = true; this.lblPassword.BackColor = System.Drawing.Color.Transparent; this.lblPassword.Font = new System.Drawing.Font("Segoe UI", 12F); this.lblPassword.ForeColor = System.Drawing.Color.White; this.lblPassword.Location = new System.Drawing.Point(64, 200); this.lblPassword.Name = "lblPassword"; this.lblPassword.Size = new System.Drawing.Size(72, 21); this.lblPassword.TabIndex = 14; this.lblPassword.Text = "Passwort"; // // txtPassword // this.txtPassword.BackColor = System.Drawing.Color.White; this.txtPassword.Location = new System.Drawing.Point(68, 234); this.txtPassword.Name = "txtPassword"; this.txtPassword.ReadOnly = false; this.txtPassword.Size = new System.Drawing.Size(200, 29); this.txtPassword.TabIndex = 13; // // PageConnect // this.Controls.Add(this.lblPassword); this.Controls.Add(this.txtPassword); this.Controls.Add(this.btnConnect); this.Controls.Add(this.txtPort); this.Controls.Add(this.lblPort); this.Controls.Add(this.lblHost); this.Controls.Add(this.txtHost); this.Controls.Add(this.lblTitle); this.Location = new System.Drawing.Point(0, 0); this.Name = "PageConnect"; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.lblTitle = new System.Windows.Forms.Label(); this.btnHostPublic = new DarkTheme.Button(); this.btnConnect = new DarkTheme.Button(); this.lblCopyright = new System.Windows.Forms.Label(); this.SuspendLayout(); // // lblTitle // this.lblTitle.Anchor = System.Windows.Forms.AnchorStyles.None; this.lblTitle.Font = new System.Drawing.Font("Consolas", 50F); this.lblTitle.ForeColor = System.Drawing.Color.White; this.lblTitle.Location = new System.Drawing.Point(217, 128); this.lblTitle.MaximumSize = new System.Drawing.Size(680, 170); this.lblTitle.Name = "lblTitle"; this.lblTitle.Size = new System.Drawing.Size(680, 170); this.lblTitle.TabIndex = 2; this.lblTitle.Text = "Willkommen bei Scribble"; this.lblTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // btnHostPublic // this.btnHostPublic.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnHostPublic.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.btnHostPublic.FlatAppearance.BorderSize = 0; this.btnHostPublic.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnHostPublic.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnHostPublic.Font = new System.Drawing.Font("Consolas", 12F); this.btnHostPublic.ForeColor = System.Drawing.Color.White; this.btnHostPublic.Location = new System.Drawing.Point(344, 351); this.btnHostPublic.Name = "btnHostPublic"; this.btnHostPublic.Size = new System.Drawing.Size(200, 50); this.btnHostPublic.TabIndex = 3; this.btnHostPublic.Text = "Server hosten"; this.btnHostPublic.UseVisualStyleBackColor = false; this.btnHostPublic.Click += new System.EventHandler(this.btnHostPublic_Click); // // btnConnect // this.btnConnect.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnConnect.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.btnConnect.FlatAppearance.BorderSize = 0; this.btnConnect.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnConnect.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnConnect.Font = new System.Drawing.Font("Consolas", 12F); this.btnConnect.ForeColor = System.Drawing.Color.White; this.btnConnect.Location = new System.Drawing.Point(550, 351); this.btnConnect.Name = "btnConnect"; this.btnConnect.Size = new System.Drawing.Size(200, 50); this.btnConnect.TabIndex = 6; this.btnConnect.Text = "Verbinden"; this.btnConnect.UseVisualStyleBackColor = false; this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click); // // lblCopyright // this.lblCopyright.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lblCopyright.ForeColor = System.Drawing.Color.White; this.lblCopyright.Location = new System.Drawing.Point(933, 551); this.lblCopyright.Name = "lblCopyright"; this.lblCopyright.Size = new System.Drawing.Size(160, 23); this.lblCopyright.TabIndex = 7; this.lblCopyright.Text = "by Marcel Weski © 2018"; this.lblCopyright.TextAlign = System.Drawing.ContentAlignment.TopRight; // // PageStart // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.Transparent; this.Controls.Add(this.lblCopyright); this.Controls.Add(this.btnConnect); this.Controls.Add(this.btnHostPublic); this.Controls.Add(this.lblTitle); this.Location = new System.Drawing.Point(0, 0); this.Name = "PageStart"; this.ResumeLayout(false); }
private void InitializeComponent() { this.lvwPlayers = new System.Windows.Forms.ListView(); this.lblName = new DarkTheme.Label(); this.txtName = new DarkTheme.TextBox(); this.btnReady = new DarkTheme.Button(); this.btnKickPlayer = new DarkTheme.Button(); this.btnChangeName = new DarkTheme.Button(); this.lblRoomName = new DarkTheme.Label(); this.SuspendLayout(); // // lvwPlayers // this.lvwPlayers.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.lvwPlayers.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32))))); this.lvwPlayers.BorderStyle = System.Windows.Forms.BorderStyle.None; this.lvwPlayers.Font = new System.Drawing.Font("Consolas", 9F); this.lvwPlayers.ForeColor = System.Drawing.Color.White; this.lvwPlayers.Location = new System.Drawing.Point(68, 107); this.lvwPlayers.MultiSelect = false; this.lvwPlayers.Name = "lvwPlayers"; this.lvwPlayers.Size = new System.Drawing.Size(960, 274); this.lvwPlayers.TabIndex = 1; this.lvwPlayers.UseCompatibleStateImageBehavior = false; // // lblName // this.lblName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.lblName.AutoSize = true; this.lblName.BackColor = System.Drawing.Color.Transparent; this.lblName.Font = new System.Drawing.Font("Consolas", 12F); this.lblName.ForeColor = System.Drawing.Color.White; this.lblName.Location = new System.Drawing.Point(64, 384); this.lblName.Name = "lblName"; this.lblName.Size = new System.Drawing.Size(45, 19); this.lblName.TabIndex = 2; this.lblName.Text = "Name"; // // txtName // this.txtName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.txtName.BackColor = System.Drawing.Color.White; this.txtName.Location = new System.Drawing.Point(68, 406); this.txtName.Name = "txtName"; this.txtName.ReadOnly = false; this.txtName.Size = new System.Drawing.Size(200, 29); this.txtName.TabIndex = 3; // // btnReady // this.btnReady.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnReady.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.btnReady.FlatAppearance.BorderSize = 0; this.btnReady.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnReady.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnReady.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnReady.Font = new System.Drawing.Font("Consolas", 12F); this.btnReady.ForeColor = System.Drawing.Color.White; this.btnReady.Location = new System.Drawing.Point(68, 441); this.btnReady.Name = "btnReady"; this.btnReady.Size = new System.Drawing.Size(200, 50); this.btnReady.TabIndex = 4; this.btnReady.Text = "Bereit"; this.btnReady.UseVisualStyleBackColor = false; this.btnReady.Click += new System.EventHandler(this.btnReady_Click); // // btnKickPlayer // this.btnKickPlayer.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnKickPlayer.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.btnKickPlayer.Enabled = false; this.btnKickPlayer.FlatAppearance.BorderSize = 0; this.btnKickPlayer.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnKickPlayer.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnKickPlayer.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnKickPlayer.Font = new System.Drawing.Font("Consolas", 12F); this.btnKickPlayer.ForeColor = System.Drawing.Color.White; this.btnKickPlayer.Location = new System.Drawing.Point(828, 396); this.btnKickPlayer.Name = "btnKickPlayer"; this.btnKickPlayer.Size = new System.Drawing.Size(200, 50); this.btnKickPlayer.TabIndex = 5; this.btnKickPlayer.Text = "Spieler rauswerfen"; this.btnKickPlayer.UseVisualStyleBackColor = false; // // btnChangeName // this.btnChangeName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnChangeName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.btnChangeName.FlatAppearance.BorderSize = 0; this.btnChangeName.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnChangeName.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnChangeName.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnChangeName.Font = new System.Drawing.Font("Consolas", 12F); this.btnChangeName.ForeColor = System.Drawing.Color.White; this.btnChangeName.Location = new System.Drawing.Point(274, 441); this.btnChangeName.Name = "btnChangeName"; this.btnChangeName.Size = new System.Drawing.Size(200, 50); this.btnChangeName.TabIndex = 6; this.btnChangeName.Text = "Namen ändern"; this.btnChangeName.UseVisualStyleBackColor = false; this.btnChangeName.Click += new System.EventHandler(this.btnChangeName_Click); // // lblRoomName // this.lblRoomName.AutoSize = true; this.lblRoomName.BackColor = System.Drawing.Color.Transparent; this.lblRoomName.Font = new System.Drawing.Font("Segoe UI Semilight", 24F); this.lblRoomName.ForeColor = System.Drawing.Color.White; this.lblRoomName.Location = new System.Drawing.Point(60, 60); this.lblRoomName.Name = "lblRoomName"; this.lblRoomName.Size = new System.Drawing.Size(176, 45); this.lblRoomName.TabIndex = 7; this.lblRoomName.Text = "Raumname"; // // PageLobby // this.BackColor = System.Drawing.Color.Transparent; this.Controls.Add(this.lblRoomName); this.Controls.Add(this.btnChangeName); this.Controls.Add(this.btnKickPlayer); this.Controls.Add(this.btnReady); this.Controls.Add(this.txtName); this.Controls.Add(this.lblName); this.Controls.Add(this.lvwPlayers); this.Location = new System.Drawing.Point(0, 0); this.Name = "PageLobby"; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.lblPassword = new DarkTheme.Label(); this.txtPassword = new DarkTheme.TextBox(); this.lblName = new DarkTheme.Label(); this.txtName = new DarkTheme.TextBox(); this.btnCreate = new DarkTheme.Button(); this.lblTitle = new DarkTheme.Label(); this.SuspendLayout(); // // lblPassword // this.lblPassword.AutoSize = true; this.lblPassword.BackColor = System.Drawing.Color.Transparent; this.lblPassword.Font = new System.Drawing.Font("Segoe UI", 12F); this.lblPassword.ForeColor = System.Drawing.Color.White; this.lblPassword.Location = new System.Drawing.Point(64, 191); this.lblPassword.Name = "lblPassword"; this.lblPassword.Size = new System.Drawing.Size(72, 21); this.lblPassword.TabIndex = 11; this.lblPassword.Text = "Passwort"; // // txtPassword // this.txtPassword.BackColor = System.Drawing.Color.White; this.txtPassword.Location = new System.Drawing.Point(68, 219); this.txtPassword.Name = "txtPassword"; this.txtPassword.ReadOnly = false; this.txtPassword.Size = new System.Drawing.Size(200, 29); this.txtPassword.TabIndex = 10; // // lblName // this.lblName.AutoSize = true; this.lblName.BackColor = System.Drawing.Color.Transparent; this.lblName.Font = new System.Drawing.Font("Segoe UI", 12F); this.lblName.ForeColor = System.Drawing.Color.White; this.lblName.Location = new System.Drawing.Point(64, 127); this.lblName.Name = "lblName"; this.lblName.Size = new System.Drawing.Size(52, 21); this.lblName.TabIndex = 9; this.lblName.Text = "Name"; // // txtName // this.txtName.BackColor = System.Drawing.Color.White; this.txtName.Location = new System.Drawing.Point(68, 155); this.txtName.Name = "txtName"; this.txtName.ReadOnly = false; this.txtName.Size = new System.Drawing.Size(200, 29); this.txtName.TabIndex = 8; // // btnCreate // this.btnCreate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnCreate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.btnCreate.FlatAppearance.BorderSize = 0; this.btnCreate.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnCreate.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.btnCreate.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCreate.Font = new System.Drawing.Font("Consolas", 12F); this.btnCreate.ForeColor = System.Drawing.Color.White; this.btnCreate.Location = new System.Drawing.Point(68, 464); this.btnCreate.Name = "btnCreate"; this.btnCreate.Size = new System.Drawing.Size(200, 50); this.btnCreate.TabIndex = 3; this.btnCreate.Text = "Erstellen"; this.btnCreate.UseVisualStyleBackColor = false; this.btnCreate.Click += new System.EventHandler(this.btnCreate_Click); // // lblTitle // this.lblTitle.AutoSize = true; this.lblTitle.BackColor = System.Drawing.Color.Transparent; this.lblTitle.Font = new System.Drawing.Font("Segoe UI Semilight", 24F); this.lblTitle.ForeColor = System.Drawing.Color.White; this.lblTitle.Location = new System.Drawing.Point(60, 60); this.lblTitle.Name = "lblTitle"; this.lblTitle.Size = new System.Drawing.Size(222, 45); this.lblTitle.TabIndex = 2; this.lblTitle.Text = "Raum erstellen"; // // PageCreateRoom // this.Controls.Add(this.lblPassword); this.Controls.Add(this.txtPassword); this.Controls.Add(this.lblName); this.Controls.Add(this.txtName); this.Controls.Add(this.btnCreate); this.Controls.Add(this.lblTitle); this.Location = new System.Drawing.Point(0, 0); this.Name = "PageCreateRoom"; this.ResumeLayout(false); this.PerformLayout(); }