Beispiel #1
0
        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);
        }
Beispiel #2
0
        public Card()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Card));
            this.CardNameTB            = new System.Windows.Forms.TextBox();
            this.PanelCardName         = new System.Windows.Forms.Panel();
            this.cancelButton          = new MyCustomControl.RoundedButton();
            this.saveButton            = new MyCustomControl.RoundedButton();
            this.deleteButton          = new MyCustomControl.RoundedButton();
            this.descriptionPictureBox = new PictureBox();
            this.dueDatePictureBox     = new PictureBox();
            this.checkListPictureBox   = new PictureBox();
            this.PanelCardName.SuspendLayout();
            this.SuspendLayout();
            //
            // CardNameTB
            //
            this.CardNameTB.Font        = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.CardNameTB.Location    = new System.Drawing.Point(3, 3);
            this.CardNameTB.Name        = "CardNameTB";
            this.CardNameTB.ReadOnly    = true;
            this.CardNameTB.Size        = new System.Drawing.Size(164, 29);
            this.CardNameTB.TabIndex    = 1;
            this.CardNameTB.Text        = "Card Name";
            this.CardNameTB.MouseClick += new System.Windows.Forms.MouseEventHandler(this.CardNameTB_MouseClick);
            this.CardNameTB.Validated  += new System.EventHandler(this.CardNameTB_Validated);
            //
            // PanelCardName
            //
            this.PanelCardName.Controls.Add(this.cancelButton);
            this.PanelCardName.Controls.Add(this.saveButton);
            this.PanelCardName.Controls.Add(this.CardNameTB);
            this.PanelCardName.Location   = new System.Drawing.Point(0, 3);
            this.PanelCardName.Name       = "PanelCardName";
            this.PanelCardName.Size       = new System.Drawing.Size(176, 32);
            this.PanelCardName.TabIndex   = 8;
            this.PanelCardName.Validated += new System.EventHandler(this.PanelCardName_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(80, 32);
            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(71, 25);
            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(13, 32);
            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(52, 25);
            this.saveButton.TabIndex                = 13;
            this.saveButton.Text                    = "Save";
            this.saveButton.UseVisualStyleBackColor = true;
            this.saveButton.Click                  += new System.EventHandler(this.saveButton_Click);
            //
            // deleteButton
            //
            this.deleteButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.deleteButton.BackColor    = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.deleteButton.ButtonColor  = System.Drawing.Color.Transparent;
            this.deleteButton.FlatAppearance.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.deleteButton.FlatAppearance.BorderSize         = 0;
            this.deleteButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.IndianRed;
            this.deleteButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightCoral;
            this.deleteButton.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
            this.deleteButton.Font                    = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.deleteButton.Image                   = global::Board.Properties.Resources.DeleteIcon;
            this.deleteButton.Location                = new System.Drawing.Point(184, 6);
            this.deleteButton.Name                    = "deleteButton";
            this.deleteButton.OnHoverButtonColor      = System.Drawing.Color.Transparent;
            this.deleteButton.RoundedRadius           = 2;
            this.deleteButton.Size                    = new System.Drawing.Size(43, 29);
            this.deleteButton.TabIndex                = 7;
            this.deleteButton.UseVisualStyleBackColor = false;
            this.deleteButton.Click                  += new System.EventHandler(this.deleteButton_Click);
            //
            //descriptionPictureBox
            //
            this.descriptionPictureBox.Location  = new System.Drawing.Point(30, 41);
            this.descriptionPictureBox.Name      = "descriptionPictureBox";
            this.descriptionPictureBox.Size      = new System.Drawing.Size(35, 35);
            this.descriptionPictureBox.TabIndex  = 11;
            this.descriptionPictureBox.TabStop   = false;
            this.descriptionPictureBox.BackColor = Color.MediumSeaGreen;
            this.descriptionPictureBox.Image     = Properties.Resources.DescriptionIcon24;
            this.descriptionPictureBox.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.AutoSize;



            this.dueDatePictureBox.Location  = new System.Drawing.Point(60, 41);
            this.dueDatePictureBox.Name      = "dueDatePictureBox";
            this.dueDatePictureBox.Size      = new System.Drawing.Size(35, 35);
            this.dueDatePictureBox.TabIndex  = 11;
            this.dueDatePictureBox.TabStop   = false;
            this.dueDatePictureBox.BackColor = Color.MediumPurple;
            this.dueDatePictureBox.Image     = Properties.Resources.DueDateIcon24;
            this.dueDatePictureBox.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.AutoSize;



            this.checkListPictureBox.Location  = new System.Drawing.Point(90, 41);
            this.checkListPictureBox.Name      = "checkListPictureBox";
            this.checkListPictureBox.Size      = new System.Drawing.Size(35, 35);
            this.checkListPictureBox.TabIndex  = 11;
            this.checkListPictureBox.TabStop   = false;
            this.checkListPictureBox.BackColor = Color.Teal;
            this.checkListPictureBox.Image     = Properties.Resources.CheckListIcon24;
            this.checkListPictureBox.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
            //
            // Card
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.None;
            this.BackColor           = System.Drawing.Color.White;
            this.Controls.Add(this.PanelCardName);
            this.Controls.Add(this.deleteButton);
            this.Controls.Add(this.descriptionPictureBox);
            this.Controls.Add(this.dueDatePictureBox);
            this.Controls.Add(this.checkListPictureBox);
            this.Name         = "Card";
            this.Size         = new System.Drawing.Size(230, 67);
            this.DoubleClick += new System.EventHandler(this.Card_DoubleClick);
            this.MouseDown   += new System.Windows.Forms.MouseEventHandler(this.Card_MouseDown);
            this.PanelCardName.ResumeLayout(false);
            this.PanelCardName.PerformLayout();
            this.ResumeLayout(false);
        }
Beispiel #3
0
        private void InitializeComponent()
        {
            this.BoardListPanel           = new System.Windows.Forms.Panel();
            this.flowLayoutPanelBoardList = new System.Windows.Forms.FlowLayoutPanel();
            this.ButtonAddBoard           = new MyCustomControl.RoundedButton();
            this.LBBoard        = new System.Windows.Forms.Label();
            this.MinimizeButton = new System.Windows.Forms.Button();
            this.ListListPanel  = new System.Windows.Forms.Panel();
            this.ButtonAddList  = new MyCustomControl.RoundedButton();
            this.BoardListPanel.SuspendLayout();
            this.flowLayoutPanelBoardList.SuspendLayout();
            this.ListListPanel.SuspendLayout();
            this.SuspendLayout();
            //
            // BoardListPanel
            //
            this.BoardListPanel.AutoScroll = true;
            this.BoardListPanel.BackColor  = System.Drawing.SystemColors.ControlLight;
            this.BoardListPanel.Controls.Add(this.flowLayoutPanelBoardList);
            this.BoardListPanel.Controls.Add(this.LBBoard);
            this.BoardListPanel.Controls.Add(this.MinimizeButton);
            this.BoardListPanel.Location = new System.Drawing.Point(3, 2);
            this.BoardListPanel.Name     = "BoardListPanel";
            this.BoardListPanel.Size     = new System.Drawing.Size(211, 857);
            this.BoardListPanel.TabIndex = 0;
            //
            // flowLayoutPanelBoardList
            //
            this.flowLayoutPanelBoardList.AllowDrop  = true;
            this.flowLayoutPanelBoardList.AutoScroll = true;
            this.flowLayoutPanelBoardList.BackColor  = System.Drawing.SystemColors.ControlLight;
            this.flowLayoutPanelBoardList.Controls.Add(this.ButtonAddBoard);
            this.flowLayoutPanelBoardList.Location   = new System.Drawing.Point(5, 42);
            this.flowLayoutPanelBoardList.Name       = "flowLayoutPanelBoardList";
            this.flowLayoutPanelBoardList.Size       = new System.Drawing.Size(203, 812);
            this.flowLayoutPanelBoardList.TabIndex   = 3;
            this.flowLayoutPanelBoardList.DragDrop  += new System.Windows.Forms.DragEventHandler(this.flowLayoutPanelBoardList_DragDrop);
            this.flowLayoutPanelBoardList.DragEnter += new System.Windows.Forms.DragEventHandler(this.flowLayoutPanelBoardList_DragEnter);
            //
            // ButtonAddBoard
            //
            this.ButtonAddBoard.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.ButtonAddBoard.BackColor    = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.ButtonAddBoard.ButtonColor  = System.Drawing.Color.Transparent;
            this.ButtonAddBoard.FlatAppearance.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.ButtonAddBoard.FlatAppearance.BorderSize         = 0;
            this.ButtonAddBoard.FlatAppearance.MouseDownBackColor = System.Drawing.Color.IndianRed;
            this.ButtonAddBoard.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightCoral;
            this.ButtonAddBoard.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
            this.ButtonAddBoard.Font                    = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.ButtonAddBoard.Image                   = global::Board.Properties.Resources.AddIcon;
            this.ButtonAddBoard.Location                = new System.Drawing.Point(3, 3);
            this.ButtonAddBoard.Name                    = "ButtonAddBoard";
            this.ButtonAddBoard.OnHoverButtonColor      = System.Drawing.Color.Transparent;
            this.ButtonAddBoard.RoundedRadius           = 2;
            this.ButtonAddBoard.Size                    = new System.Drawing.Size(180, 29);
            this.ButtonAddBoard.TabIndex                = 8;
            this.ButtonAddBoard.UseVisualStyleBackColor = false;
            this.ButtonAddBoard.Click                  += new System.EventHandler(this.ButtonAddBoard_Click);
            //
            // LBBoard
            //
            this.LBBoard.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
            this.LBBoard.Font      = new System.Drawing.Font("Segoe UI", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.LBBoard.Location  = new System.Drawing.Point(6, 7);
            this.LBBoard.Name      = "LBBoard";
            this.LBBoard.Size      = new System.Drawing.Size(159, 32);
            this.LBBoard.TabIndex  = 0;
            this.LBBoard.Text      = "Board";
            this.LBBoard.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // MinimizeButton
            //
            this.MinimizeButton.Font     = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.MinimizeButton.Location = new System.Drawing.Point(171, 7);
            this.MinimizeButton.Name     = "MinimizeButton";
            this.MinimizeButton.Size     = new System.Drawing.Size(37, 33);
            this.MinimizeButton.TabIndex = 3;
            this.MinimizeButton.Text     = "◁";
            this.MinimizeButton.UseVisualStyleBackColor = true;
            this.MinimizeButton.Click += new System.EventHandler(this.MinimizeButton_Click);
            //
            // ListListPanel
            //
            this.ListListPanel.AllowDrop  = true;
            this.ListListPanel.AutoScroll = true;
            this.ListListPanel.BackColor  = System.Drawing.SystemColors.Control;
            this.ListListPanel.Controls.Add(this.ButtonAddList);
            this.ListListPanel.Location   = new System.Drawing.Point(220, 0);
            this.ListListPanel.Name       = "ListListPanel";
            this.ListListPanel.Size       = new System.Drawing.Size(1362, 859);
            this.ListListPanel.TabIndex   = 4;
            this.ListListPanel.DragDrop  += new System.Windows.Forms.DragEventHandler(this.ListListPanel_DragDrop);
            this.ListListPanel.DragEnter += new System.Windows.Forms.DragEventHandler(this.ListListPanel_DragEnter);
            //
            // ButtonAddList
            //
            this.ButtonAddList.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.ButtonAddList.BackColor    = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.ButtonAddList.ButtonColor  = System.Drawing.Color.Transparent;
            this.ButtonAddList.FlatAppearance.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.ButtonAddList.FlatAppearance.BorderSize         = 0;
            this.ButtonAddList.FlatAppearance.MouseDownBackColor = System.Drawing.Color.IndianRed;
            this.ButtonAddList.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightCoral;
            this.ButtonAddList.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
            this.ButtonAddList.Font                    = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.ButtonAddList.Image                   = global::Board.Properties.Resources.AddIcon;
            this.ButtonAddList.Location                = new System.Drawing.Point(13, 10);
            this.ButtonAddList.Name                    = "ButtonAddList";
            this.ButtonAddList.OnHoverButtonColor      = System.Drawing.Color.Transparent;
            this.ButtonAddList.RoundedRadius           = 2;
            this.ButtonAddList.Size                    = new System.Drawing.Size(75, 68);
            this.ButtonAddList.TabIndex                = 9;
            this.ButtonAddList.UseVisualStyleBackColor = false;
            this.ButtonAddList.Click                  += new System.EventHandler(this.ButtonAddList_Click);
            //
            // Board
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(1584, 861);
            this.Controls.Add(this.ListListPanel);
            this.Controls.Add(this.BoardListPanel);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.MaximizeBox     = false;
            this.Name            = "Board";
            this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text            = "Board";
            this.Load           += BoardForm_Load;
            this.BoardListPanel.ResumeLayout(false);
            this.flowLayoutPanelBoardList.ResumeLayout(false);
            this.ListListPanel.ResumeLayout(false);
            this.ResumeLayout(false);

            FlowBoardPanel.Size       = new Size(60, 857);
            FlowBoardPanel.Location   = new Point(0, 0);
            FlowBoardPanel.AutoScroll = true;
            ButtonAddList.Enabled     = false;
        }
Beispiel #4
0
 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();
 }