public Lists() { this.TextboxListName = new System.Windows.Forms.TextBox(); this.CardListPanel = new System.Windows.Forms.FlowLayoutPanel(); this.ButtonAddCard = new MyCustomControl.RoundedButton(); this.PanelSetting = new System.Windows.Forms.Panel(); this.cancelButton = new MyCustomControl.RoundedButton(); this.saveButton = new MyCustomControl.RoundedButton(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.DeleteListButton = new MyCustomControl.CircularButton(); this.CardListPanel.SuspendLayout(); this.PanelSetting.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // TextboxListName // this.TextboxListName.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.TextboxListName.Location = new System.Drawing.Point(3, 3); this.TextboxListName.Name = "TextboxListName"; this.TextboxListName.ReadOnly = true; this.TextboxListName.Size = new System.Drawing.Size(134, 29); this.TextboxListName.TabIndex = 0; this.TextboxListName.Text = "List Name"; this.TextboxListName.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.TextboxListName.Click += new System.EventHandler(this.TextboxListName_Click); this.TextboxListName.Validated += new System.EventHandler(this.TextboxListName_Validated); // // CardListPanel // this.CardListPanel.AllowDrop = true; this.CardListPanel.AutoScroll = true; this.CardListPanel.Controls.Add(this.ButtonAddCard); this.CardListPanel.Location = new System.Drawing.Point(0, 36); this.CardListPanel.Name = "CardListPanel"; this.CardListPanel.Size = new System.Drawing.Size(263, 731); this.CardListPanel.TabIndex = 4; this.CardListPanel.DragDrop += new System.Windows.Forms.DragEventHandler(this.CardListPanel_DragDrop); this.CardListPanel.DragEnter += new System.Windows.Forms.DragEventHandler(this.CardListPanel_DragEnter); // // ButtonAddCard // this.ButtonAddCard.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.ButtonAddCard.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.ButtonAddCard.ButtonColor = System.Drawing.Color.Transparent; this.ButtonAddCard.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.ButtonAddCard.FlatAppearance.BorderSize = 0; this.ButtonAddCard.FlatAppearance.MouseDownBackColor = System.Drawing.Color.IndianRed; this.ButtonAddCard.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightCoral; this.ButtonAddCard.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.ButtonAddCard.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ButtonAddCard.Image = global::Board.Properties.Resources.AddIcon; this.ButtonAddCard.Location = new System.Drawing.Point(3, 3); this.ButtonAddCard.Name = "ButtonAddCard"; this.ButtonAddCard.OnHoverButtonColor = System.Drawing.Color.Transparent; this.ButtonAddCard.RoundedRadius = 2; this.ButtonAddCard.Size = new System.Drawing.Size(230, 29); this.ButtonAddCard.TabIndex = 9; this.ButtonAddCard.UseVisualStyleBackColor = false; this.ButtonAddCard.Click += new System.EventHandler(this.ButtonAddBoard_Click); // // PanelSetting // this.PanelSetting.Controls.Add(this.TextboxListName); this.PanelSetting.Controls.Add(this.cancelButton); this.PanelSetting.Controls.Add(this.saveButton); this.PanelSetting.Location = new System.Drawing.Point(3, 3); this.PanelSetting.Name = "PanelSetting"; this.PanelSetting.Size = new System.Drawing.Size(142, 32); this.PanelSetting.TabIndex = 10; this.PanelSetting.Validated += new System.EventHandler(this.PanelSetting_Validated); // // cancelButton // this.cancelButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.cancelButton.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.cancelButton.FlatAppearance.BorderColor = System.Drawing.SystemColors.Control; this.cancelButton.FlatAppearance.BorderSize = 0; this.cancelButton.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control; this.cancelButton.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.Control; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cancelButton.ForeColor = System.Drawing.Color.White; this.cancelButton.Location = new System.Drawing.Point(60, 36); this.cancelButton.Margin = new System.Windows.Forms.Padding(1); this.cancelButton.Name = "cancelButton"; this.cancelButton.OnHoverButtonColor = System.Drawing.Color.Red; this.cancelButton.RoundedRadius = 10; this.cancelButton.Size = new System.Drawing.Size(77, 28); this.cancelButton.TabIndex = 14; this.cancelButton.Text = "Cancel"; this.cancelButton.UseVisualStyleBackColor = true; this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click); // // saveButton // this.saveButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.saveButton.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.saveButton.FlatAppearance.BorderColor = System.Drawing.SystemColors.Control; this.saveButton.FlatAppearance.BorderSize = 0; this.saveButton.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control; this.saveButton.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.Control; this.saveButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.saveButton.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.saveButton.ForeColor = System.Drawing.Color.White; this.saveButton.Location = new System.Drawing.Point(3, 36); this.saveButton.Margin = new System.Windows.Forms.Padding(1); this.saveButton.Name = "saveButton"; this.saveButton.OnHoverButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0))))); this.saveButton.RoundedRadius = 10; this.saveButton.Size = new System.Drawing.Size(55, 28); this.saveButton.TabIndex = 13; this.saveButton.Text = "Save"; this.saveButton.UseVisualStyleBackColor = true; this.saveButton.Click += new System.EventHandler(this.saveButton_Click); // // pictureBox1 // this.pictureBox1.Location = new System.Drawing.Point(146, 4); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(35, 35); this.pictureBox1.TabIndex = 11; this.pictureBox1.TabStop = false; this.pictureBox1.Location = new Point(160, 8); this.pictureBox1.Image = Properties.Resources.ObservationIcon24; this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click); // // DeleteListButton // this.DeleteListButton.BackColor = System.Drawing.Color.Transparent; this.DeleteListButton.FlatAppearance.BorderColor = System.Drawing.Color.White; this.DeleteListButton.FlatAppearance.BorderSize = 0; this.DeleteListButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.IndianRed; this.DeleteListButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightCoral; this.DeleteListButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.DeleteListButton.Image = global::Board.Properties.Resources.CloseIcon16; this.DeleteListButton.Location = new System.Drawing.Point(229, 4); this.DeleteListButton.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); this.DeleteListButton.Name = "DeleteListButton"; this.DeleteListButton.Size = new System.Drawing.Size(34, 26); this.DeleteListButton.TabIndex = 5; this.DeleteListButton.UseVisualStyleBackColor = true; this.DeleteListButton.Click += new System.EventHandler(this.DeleteListButton_Click_1); // // Lists // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoScroll = true; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.Controls.Add(this.PanelSetting); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.DeleteListButton); this.Controls.Add(this.CardListPanel); this.Name = "Lists"; this.Size = new System.Drawing.Size(266, 830); this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Lists_MouseDown); this.CardListPanel.ResumeLayout(false); this.PanelSetting.ResumeLayout(false); this.PanelSetting.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); }
public Boards() { this.BoardName = new System.Windows.Forms.TextBox(); this.cancelButton = new MyCustomControl.RoundedButton(); this.saveButton = new MyCustomControl.RoundedButton(); this.DeleteButtonBoard = new MyCustomControl.CircularButton(); this.SuspendLayout(); // // BoardName // this.BoardName.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.BoardName.Location = new System.Drawing.Point(3, 3); this.BoardName.Name = "BoardName"; this.BoardName.ReadOnly = true; this.BoardName.Size = new System.Drawing.Size(108, 29); this.BoardName.TabIndex = 0; this.BoardName.Text = "Board"; this.BoardName.Validated += new System.EventHandler(this.BoardName_Validated); // // cancelButton // this.cancelButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.cancelButton.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.cancelButton.FlatAppearance.BorderColor = System.Drawing.SystemColors.Control; this.cancelButton.FlatAppearance.BorderSize = 0; this.cancelButton.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control; this.cancelButton.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.Control; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cancelButton.ForeColor = System.Drawing.Color.White; this.cancelButton.Location = new System.Drawing.Point(96, 54); this.cancelButton.Margin = new System.Windows.Forms.Padding(1); this.cancelButton.Name = "cancelButton"; this.cancelButton.OnHoverButtonColor = System.Drawing.Color.Red; this.cancelButton.RoundedRadius = 10; this.cancelButton.Size = new System.Drawing.Size(79, 33); this.cancelButton.TabIndex = 13; this.cancelButton.Text = "Cancel"; this.cancelButton.UseVisualStyleBackColor = true; this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click); // // saveButton // this.saveButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.saveButton.ButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.saveButton.FlatAppearance.BorderColor = System.Drawing.SystemColors.Control; this.saveButton.FlatAppearance.BorderSize = 0; this.saveButton.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control; this.saveButton.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.Control; this.saveButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.saveButton.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.saveButton.ForeColor = System.Drawing.Color.White; this.saveButton.Location = new System.Drawing.Point(0, 54); this.saveButton.Margin = new System.Windows.Forms.Padding(1); this.saveButton.Name = "saveButton"; this.saveButton.OnHoverButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0))))); this.saveButton.RoundedRadius = 10; this.saveButton.Size = new System.Drawing.Size(84, 33); this.saveButton.TabIndex = 12; this.saveButton.Text = "Save"; this.saveButton.UseVisualStyleBackColor = true; this.saveButton.Click += new System.EventHandler(this.saveButton_Click); // // DeleteButtonBoard // this.DeleteButtonBoard.BackColor = System.Drawing.Color.Transparent; this.DeleteButtonBoard.FlatAppearance.BorderColor = System.Drawing.Color.White; this.DeleteButtonBoard.FlatAppearance.BorderSize = 0; this.DeleteButtonBoard.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightCoral; this.DeleteButtonBoard.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.DeleteButtonBoard.Image = global::Board.Properties.Resources.CloseIcon16; this.DeleteButtonBoard.Location = new System.Drawing.Point(136, 3); this.DeleteButtonBoard.Name = "DeleteButtonBoard"; this.DeleteButtonBoard.Size = new System.Drawing.Size(36, 30); this.DeleteButtonBoard.TabIndex = 4; this.DeleteButtonBoard.UseVisualStyleBackColor = false; this.DeleteButtonBoard.Click += new System.EventHandler(this.DeleteButtonBoard_Click); // // Boards // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; this.Controls.Add(this.cancelButton); this.Controls.Add(this.saveButton); this.Controls.Add(this.DeleteButtonBoard); this.Controls.Add(this.BoardName); this.Name = "Boards"; this.Size = new System.Drawing.Size(175, 93); this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Boards_MouseDown); this.Validated += new System.EventHandler(this.Boards_Validated); this.ResumeLayout(false); this.PerformLayout(); }