private void InitializeComponent() { components = new System.ComponentModel.Container(); var resources = new System.ComponentModel.ComponentResourceManager(typeof(frmVesselAddEdit)); var BorderEdges1 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderEdges(); var StateProperties1 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties2 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); _btnClose = new Label(); _btnClose.Click += new EventHandler(btnClose_Click); Label2 = new Label(); lblTitleVessel = new Bunifu.UI.WinForms.BunifuLabel(); TableLayoutPanel1 = new TableLayoutPanel(); cboFlag = new ComboBox(); CountryBindingSource = new BindingSource(components); BunifuLabel3 = new Bunifu.UI.WinForms.BunifuLabel(); txtVesselOwner = new TextBox(); BunifuLabel5 = new Bunifu.UI.WinForms.BunifuLabel(); BunifuLabel1 = new Bunifu.UI.WinForms.BunifuLabel(); BunifuLabel2 = new Bunifu.UI.WinForms.BunifuLabel(); BunifuLabel6 = new Bunifu.UI.WinForms.BunifuLabel(); BunifuLabel9 = new Bunifu.UI.WinForms.BunifuLabel(); _txtVesselName = new TextBox(); _txtVesselName.KeyPress += new KeyPressEventHandler(txtVesselName_KeyPress); txtVesselManager = new TextBox(); _txtVesselCapacity = new TextBox(); _txtVesselCapacity.KeyPress += new KeyPressEventHandler(txtVesselCapacity_KeyPress); _txtVesselYear = new TextBox(); _txtVesselYear.KeyPress += new KeyPressEventHandler(txtVesselYear_KeyPress); ckbActive = new CheckBox(); _btnSave = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnSave.Click += new EventHandler(btnSave_Click); TableLayoutPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)CountryBindingSource).BeginInit(); SuspendLayout(); // // btnClose // _btnClose.Anchor = AnchorStyles.Top | AnchorStyles.Right; _btnClose.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _btnClose.Font = new Font("Arial Narrow", 22.25455f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _btnClose.ForeColor = Color.White; _btnClose.Location = new Point(756, 0); _btnClose.Margin = new Padding(0); _btnClose.Name = "_btnClose"; _btnClose.Size = new Size(40, 41); _btnClose.TabIndex = 205; _btnClose.Text = "🗙"; _btnClose.TextAlign = ContentAlignment.MiddleCenter; // // Label2 // Label2.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label2.Dock = DockStyle.Top; Label2.Font = new Font("Microsoft Sans Serif", 22.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.ForeColor = Color.White; Label2.Location = new Point(0, 0); Label2.Name = "Label2"; Label2.Size = new Size(800, 41); Label2.TabIndex = 204; Label2.TextAlign = ContentAlignment.MiddleCenter; // // lblTitleVessel // lblTitleVessel.AutoEllipsis = false; lblTitleVessel.CursorType = null; lblTitleVessel.Font = new Font("Microsoft Sans Serif", 13.74545f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); lblTitleVessel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); lblTitleVessel.Location = new Point(12, 56); lblTitleVessel.Name = "lblTitleVessel"; lblTitleVessel.RightToLeft = RightToLeft.No; lblTitleVessel.Size = new Size(110, 24); lblTitleVessel.TabIndex = 213; lblTitleVessel.Text = "Add Vessel:"; lblTitleVessel.TextAlignment = ContentAlignment.TopLeft; lblTitleVessel.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // TableLayoutPanel1 // TableLayoutPanel1.ColumnCount = 5; TableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 27.30769f)); TableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 72.69231f)); TableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 88.0f)); TableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 191.0f)); TableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 62.0f)); TableLayoutPanel1.Controls.Add(cboFlag, 1, 3); TableLayoutPanel1.Controls.Add(BunifuLabel3, 0, 3); TableLayoutPanel1.Controls.Add(txtVesselOwner, 1, 1); TableLayoutPanel1.Controls.Add(BunifuLabel5, 0, 0); TableLayoutPanel1.Controls.Add(BunifuLabel1, 0, 1); TableLayoutPanel1.Controls.Add(BunifuLabel2, 2, 0); TableLayoutPanel1.Controls.Add(BunifuLabel6, 2, 1); TableLayoutPanel1.Controls.Add(BunifuLabel9, 0, 2); TableLayoutPanel1.Controls.Add(_txtVesselName, 1, 0); TableLayoutPanel1.Controls.Add(txtVesselManager, 1, 2); TableLayoutPanel1.Controls.Add(_txtVesselCapacity, 3, 0); TableLayoutPanel1.Controls.Add(_txtVesselYear, 3, 1); TableLayoutPanel1.Controls.Add(ckbActive, 3, 2); TableLayoutPanel1.Location = new Point(6, 110); TableLayoutPanel1.Name = "TableLayoutPanel1"; TableLayoutPanel1.RowCount = 4; TableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 40.0f)); TableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 40.0f)); TableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 40.0f)); TableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 20.0f)); TableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 20.0f)); TableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 20.0f)); TableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 20.0f)); TableLayoutPanel1.Size = new Size(782, 160); TableLayoutPanel1.TabIndex = 214; // // cboFlag // cboFlag.Anchor = AnchorStyles.Left; cboFlag.AutoCompleteMode = AutoCompleteMode.Suggest; cboFlag.AutoCompleteSource = AutoCompleteSource.ListItems; cboFlag.DataSource = CountryBindingSource; cboFlag.DisplayMember = "CountryName"; cboFlag.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); cboFlag.FormattingEnabled = true; cboFlag.Location = new Point(123, 126); cboFlag.Name = "cboFlag"; cboFlag.Size = new Size(314, 28); cboFlag.TabIndex = 4; cboFlag.ValueMember = "Code"; // // CountryBindingSource // CountryBindingSource.DataSource = typeof(ModelLayer.Country); // // BunifuLabel3 // BunifuLabel3.Anchor = AnchorStyles.Right; BunifuLabel3.AutoEllipsis = false; BunifuLabel3.CursorType = null; BunifuLabel3.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); BunifuLabel3.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); BunifuLabel3.Location = new Point(14, 129); BunifuLabel3.Name = "BunifuLabel3"; BunifuLabel3.RightToLeft = RightToLeft.No; BunifuLabel3.Size = new Size(103, 22); BunifuLabel3.TabIndex = 220; BunifuLabel3.Text = "Flag(Country):"; BunifuLabel3.TextAlignment = ContentAlignment.TopLeft; BunifuLabel3.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // txtVesselOwner // txtVesselOwner.Anchor = AnchorStyles.Left; txtVesselOwner.CharacterCasing = CharacterCasing.Upper; txtVesselOwner.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); txtVesselOwner.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); txtVesselOwner.Location = new Point(123, 47); txtVesselOwner.MaxLength = 250; txtVesselOwner.MinimumSize = new Size(4, 30); txtVesselOwner.Name = "txtVesselOwner"; txtVesselOwner.Size = new Size(314, 30); txtVesselOwner.TabIndex = 2; // // BunifuLabel5 // BunifuLabel5.Anchor = AnchorStyles.Right; BunifuLabel5.AutoEllipsis = false; BunifuLabel5.CursorType = null; BunifuLabel5.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); BunifuLabel5.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); BunifuLabel5.Location = new Point(16, 9); BunifuLabel5.Name = "BunifuLabel5"; BunifuLabel5.RightToLeft = RightToLeft.No; BunifuLabel5.Size = new Size(101, 22); BunifuLabel5.TabIndex = 211; BunifuLabel5.Text = "Vessel Name:"; BunifuLabel5.TextAlignment = ContentAlignment.TopLeft; BunifuLabel5.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // BunifuLabel1 // BunifuLabel1.Anchor = AnchorStyles.Right; BunifuLabel1.AutoEllipsis = false; BunifuLabel1.CursorType = null; BunifuLabel1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); BunifuLabel1.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); BunifuLabel1.Location = new Point(64, 49); BunifuLabel1.Name = "BunifuLabel1"; BunifuLabel1.RightToLeft = RightToLeft.No; BunifuLabel1.Size = new Size(53, 22); BunifuLabel1.TabIndex = 212; BunifuLabel1.Text = "Owner:"; BunifuLabel1.TextAlignment = ContentAlignment.TopLeft; BunifuLabel1.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // BunifuLabel2 // BunifuLabel2.Anchor = AnchorStyles.None; BunifuLabel2.AutoEllipsis = false; BunifuLabel2.CursorType = null; BunifuLabel2.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); BunifuLabel2.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); BunifuLabel2.Location = new Point(450, 9); BunifuLabel2.Name = "BunifuLabel2"; BunifuLabel2.RightToLeft = RightToLeft.No; BunifuLabel2.Size = new Size(68, 22); BunifuLabel2.TabIndex = 213; BunifuLabel2.Text = "Capacity:"; BunifuLabel2.TextAlignment = ContentAlignment.TopLeft; BunifuLabel2.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // BunifuLabel6 // BunifuLabel6.Anchor = AnchorStyles.None; BunifuLabel6.AutoEllipsis = false; BunifuLabel6.CursorType = null; BunifuLabel6.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); BunifuLabel6.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); BunifuLabel6.Location = new Point(463, 49); BunifuLabel6.Name = "BunifuLabel6"; BunifuLabel6.RightToLeft = RightToLeft.No; BunifuLabel6.Size = new Size(41, 22); BunifuLabel6.TabIndex = 216; BunifuLabel6.Text = "Year:"; BunifuLabel6.TextAlignment = ContentAlignment.TopLeft; BunifuLabel6.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // BunifuLabel9 // BunifuLabel9.Anchor = AnchorStyles.Right; BunifuLabel9.AutoEllipsis = false; BunifuLabel9.CursorType = null; BunifuLabel9.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); BunifuLabel9.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); BunifuLabel9.Location = new Point(47, 89); BunifuLabel9.Name = "BunifuLabel9"; BunifuLabel9.RightToLeft = RightToLeft.No; BunifuLabel9.Size = new Size(70, 22); BunifuLabel9.TabIndex = 219; BunifuLabel9.Text = "Manager:"; BunifuLabel9.TextAlignment = ContentAlignment.TopLeft; BunifuLabel9.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // txtVesselName // _txtVesselName.Anchor = AnchorStyles.Left; _txtVesselName.CharacterCasing = CharacterCasing.Upper; _txtVesselName.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _txtVesselName.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _txtVesselName.Location = new Point(123, 7); _txtVesselName.MaxLength = 150; _txtVesselName.MinimumSize = new Size(4, 30); _txtVesselName.Name = "_txtVesselName"; _txtVesselName.Size = new Size(314, 30); _txtVesselName.TabIndex = 1; // // txtVesselManager // txtVesselManager.Anchor = AnchorStyles.Left; txtVesselManager.CharacterCasing = CharacterCasing.Upper; txtVesselManager.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); txtVesselManager.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); txtVesselManager.Location = new Point(123, 87); txtVesselManager.MaxLength = 250; txtVesselManager.MinimumSize = new Size(4, 30); txtVesselManager.Name = "txtVesselManager"; txtVesselManager.Size = new Size(314, 30); txtVesselManager.TabIndex = 3; // // txtVesselCapacity // _txtVesselCapacity.Anchor = AnchorStyles.Left; _txtVesselCapacity.CharacterCasing = CharacterCasing.Upper; _txtVesselCapacity.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _txtVesselCapacity.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _txtVesselCapacity.Location = new Point(531, 7); _txtVesselCapacity.MaxLength = 50; _txtVesselCapacity.MinimumSize = new Size(4, 30); _txtVesselCapacity.Name = "_txtVesselCapacity"; _txtVesselCapacity.Size = new Size(185, 30); _txtVesselCapacity.TabIndex = 5; // // txtVesselYear // _txtVesselYear.Anchor = AnchorStyles.Left; _txtVesselYear.CharacterCasing = CharacterCasing.Upper; _txtVesselYear.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _txtVesselYear.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _txtVesselYear.Location = new Point(531, 47); _txtVesselYear.MaxLength = 4; _txtVesselYear.MinimumSize = new Size(4, 30); _txtVesselYear.Name = "_txtVesselYear"; _txtVesselYear.Size = new Size(185, 30); _txtVesselYear.TabIndex = 6; // // ckbActive // ckbActive.Anchor = AnchorStyles.Left; ckbActive.AutoSize = true; ckbActive.Checked = true; ckbActive.CheckState = CheckState.Checked; ckbActive.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); ckbActive.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); ckbActive.Location = new Point(531, 88); ckbActive.Name = "ckbActive"; ckbActive.Size = new Size(71, 24); ckbActive.TabIndex = 7; ckbActive.Text = "Active"; ckbActive.UseVisualStyleBackColor = true; // // btnSave // _btnSave.AllowToggling = false; _btnSave.AnimationSpeed = 200; _btnSave.AutoGenerateColors = false; _btnSave.BackColor = Color.Transparent; _btnSave.BackColor1 = Color.Teal; _btnSave.BackgroundImage = (Image)resources.GetObject("btnSave.BackgroundImage"); _btnSave.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnSave.ButtonText = "Save"; _btnSave.ButtonTextMarginLeft = 0; _btnSave.ColorContrastOnClick = 45; _btnSave.ColorContrastOnHover = 45; _btnSave.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _btnSave.CustomizableEdges = BorderEdges1; _btnSave.DialogResult = DialogResult.None; _btnSave.DisabledBorderColor = Color.Empty; _btnSave.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnSave.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnSave.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnSave.Font = new Font("Segoe UI Semibold", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnSave.ForeColor = Color.White; _btnSave.IconLeftCursor = Cursors.Hand; _btnSave.IconMarginLeft = 11; _btnSave.IconPadding = 10; _btnSave.IconRightCursor = Cursors.Hand; _btnSave.IdleBorderColor = Color.Teal; _btnSave.IdleBorderRadius = 3; _btnSave.IdleBorderThickness = 1; _btnSave.IdleFillColor = Color.Teal; _btnSave.IdleIconLeftImage = null; _btnSave.IdleIconRightImage = null; _btnSave.IndicateFocus = true; _btnSave.Location = new Point(688, 304); _btnSave.Name = "_btnSave"; StateProperties1.BorderColor = Color.MediumTurquoise; StateProperties1.BorderRadius = 3; StateProperties1.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties1.BorderThickness = 1; StateProperties1.FillColor = Color.MediumTurquoise; StateProperties1.ForeColor = Color.White; StateProperties1.IconLeftImage = null; StateProperties1.IconRightImage = null; _btnSave.onHoverState = StateProperties1; StateProperties2.BorderColor = Color.Teal; StateProperties2.BorderRadius = 3; StateProperties2.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties2.BorderThickness = 1; StateProperties2.FillColor = Color.Teal; StateProperties2.ForeColor = Color.White; StateProperties2.IconLeftImage = null; StateProperties2.IconRightImage = null; _btnSave.OnPressedState = StateProperties2; _btnSave.Size = new Size(100, 40); _btnSave.TabIndex = 8; _btnSave.TextAlign = ContentAlignment.MiddleCenter; _btnSave.TextMarginLeft = 0; _btnSave.UseDefaultRadiusAndThickness = true; // // frmVesselAddEdit // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(800, 356); Controls.Add(_btnSave); Controls.Add(TableLayoutPanel1); Controls.Add(lblTitleVessel); Controls.Add(_btnClose); Controls.Add(Label2); FormBorderStyle = FormBorderStyle.None; Name = "frmVesselAddEdit"; StartPosition = FormStartPosition.CenterScreen; Text = "frmVesselAddEdit"; TableLayoutPanel1.ResumeLayout(false); TableLayoutPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)CountryBindingSource).EndInit(); Load += new EventHandler(frmVesselAddEdit_Load); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAddDepartment)); var StateProperties1 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties2 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties3 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties4 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var BorderEdges1 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderEdges(); var StateProperties5 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties6 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); _btnClose = new Label(); _btnClose.Click += new EventHandler(btnClose_Click); Label2 = new Label(); txtDocumentType = new BunifuTextBox(); BunifuLabel3 = new Bunifu.UI.WinForms.BunifuLabel(); _btnInsert = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnInsert.Click += new EventHandler(btnInsert_Click); BunifuLabel1 = new Bunifu.UI.WinForms.BunifuLabel(); SuspendLayout(); // // btnClose // _btnClose.Anchor = AnchorStyles.Top | AnchorStyles.Right; _btnClose.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _btnClose.Font = new Font("Arial Narrow", 22.25455f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _btnClose.ForeColor = Color.White; _btnClose.Location = new Point(563, 0); _btnClose.Margin = new Padding(0); _btnClose.Name = "_btnClose"; _btnClose.Size = new Size(40, 41); _btnClose.TabIndex = 205; _btnClose.Text = "🗙"; _btnClose.TextAlign = ContentAlignment.MiddleCenter; // // Label2 // Label2.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label2.Dock = DockStyle.Top; Label2.Font = new Font("Microsoft Sans Serif", 22.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.ForeColor = Color.White; Label2.Location = new Point(0, 0); Label2.Name = "Label2"; Label2.Size = new Size(603, 41); Label2.TabIndex = 204; Label2.TextAlign = ContentAlignment.MiddleCenter; // // txtDocumentType // txtDocumentType.AcceptsReturn = false; txtDocumentType.AcceptsTab = false; txtDocumentType.AnimationSpeed = 200; txtDocumentType.AutoCompleteMode = AutoCompleteMode.None; txtDocumentType.AutoCompleteSource = AutoCompleteSource.None; txtDocumentType.BackColor = Color.Transparent; txtDocumentType.BackgroundImage = (Image)resources.GetObject("txtDocumentType.BackgroundImage"); txtDocumentType.BorderColorActive = Color.DodgerBlue; txtDocumentType.BorderColorDisabled = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161))); txtDocumentType.BorderColorHover = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); txtDocumentType.BorderColorIdle = Color.Silver; txtDocumentType.BorderRadius = 1; txtDocumentType.BorderThickness = 1; txtDocumentType.CharacterCasing = CharacterCasing.Upper; txtDocumentType.Cursor = Cursors.IBeam; txtDocumentType.DefaultFont = new Font("Segoe UI Semibold", 9.75f); txtDocumentType.DefaultText = ""; txtDocumentType.FillColor = Color.White; txtDocumentType.HideSelection = true; txtDocumentType.IconLeft = null; txtDocumentType.IconLeftCursor = Cursors.IBeam; txtDocumentType.IconPadding = 10; txtDocumentType.IconRight = null; txtDocumentType.IconRightCursor = Cursors.IBeam; txtDocumentType.Lines = new string[0]; txtDocumentType.Location = new Point(130, 97); txtDocumentType.MaxLength = 32767; txtDocumentType.MinimumSize = new Size(100, 35); txtDocumentType.Modified = false; txtDocumentType.Multiline = false; txtDocumentType.Name = "txtDocumentType"; StateProperties1.BorderColor = Color.DodgerBlue; StateProperties1.FillColor = Color.Empty; StateProperties1.ForeColor = Color.Empty; StateProperties1.PlaceholderForeColor = Color.Empty; txtDocumentType.OnActiveState = StateProperties1; StateProperties2.BorderColor = Color.Empty; StateProperties2.FillColor = Color.White; StateProperties2.ForeColor = Color.Empty; StateProperties2.PlaceholderForeColor = Color.Silver; txtDocumentType.OnDisabledState = StateProperties2; StateProperties3.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); StateProperties3.FillColor = Color.Empty; StateProperties3.ForeColor = Color.Empty; StateProperties3.PlaceholderForeColor = Color.Empty; txtDocumentType.OnHoverState = StateProperties3; StateProperties4.BorderColor = Color.Silver; StateProperties4.FillColor = Color.White; StateProperties4.ForeColor = Color.Empty; StateProperties4.PlaceholderForeColor = Color.Empty; txtDocumentType.OnIdleState = StateProperties4; txtDocumentType.PasswordChar = '\0'; txtDocumentType.PlaceholderForeColor = Color.Silver; txtDocumentType.PlaceholderText = "ENTER TEXT"; txtDocumentType.ReadOnly = false; txtDocumentType.ScrollBars = ScrollBars.None; txtDocumentType.SelectedText = ""; txtDocumentType.SelectionLength = 0; txtDocumentType.SelectionStart = 0; txtDocumentType.ShortcutsEnabled = true; txtDocumentType.Size = new Size(451, 35); txtDocumentType.Style = _Style.Bunifu; txtDocumentType.TabIndex = 207; txtDocumentType.TextAlign = HorizontalAlignment.Left; txtDocumentType.TextMarginBottom = 0; txtDocumentType.TextMarginLeft = 5; txtDocumentType.TextMarginTop = 0; txtDocumentType.TextPlaceholder = "ENTER TEXT"; txtDocumentType.UseSystemPasswordChar = false; txtDocumentType.WordWrap = true; // // BunifuLabel3 // BunifuLabel3.AutoEllipsis = false; BunifuLabel3.CursorType = null; BunifuLabel3.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); BunifuLabel3.Location = new Point(26, 104); BunifuLabel3.Name = "BunifuLabel3"; BunifuLabel3.RightToLeft = RightToLeft.No; BunifuLabel3.Size = new Size(92, 22); BunifuLabel3.TabIndex = 206; BunifuLabel3.Text = "Department:"; BunifuLabel3.TextAlignment = ContentAlignment.TopLeft; BunifuLabel3.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // btnInsert // _btnInsert.AllowToggling = false; _btnInsert.AnimationSpeed = 200; _btnInsert.AutoGenerateColors = false; _btnInsert.BackColor = Color.Transparent; _btnInsert.BackColor1 = Color.Teal; _btnInsert.BackgroundImage = (Image)resources.GetObject("btnInsert.BackgroundImage"); _btnInsert.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnInsert.ButtonText = "Insert"; _btnInsert.ButtonTextMarginLeft = 0; _btnInsert.ColorContrastOnClick = 45; _btnInsert.ColorContrastOnHover = 45; _btnInsert.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _btnInsert.CustomizableEdges = BorderEdges1; _btnInsert.DialogResult = DialogResult.None; _btnInsert.DisabledBorderColor = Color.Empty; _btnInsert.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnInsert.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnInsert.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnInsert.Font = new Font("Segoe UI Semibold", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnInsert.ForeColor = Color.White; _btnInsert.IconLeftCursor = Cursors.Hand; _btnInsert.IconMarginLeft = 11; _btnInsert.IconPadding = 10; _btnInsert.IconRightCursor = Cursors.Hand; _btnInsert.IdleBorderColor = Color.Teal; _btnInsert.IdleBorderRadius = 3; _btnInsert.IdleBorderThickness = 1; _btnInsert.IdleFillColor = Color.Teal; _btnInsert.IdleIconLeftImage = null; _btnInsert.IdleIconRightImage = null; _btnInsert.IndicateFocus = true; _btnInsert.Location = new Point(480, 137); _btnInsert.Name = "_btnInsert"; StateProperties5.BorderColor = Color.MediumTurquoise; StateProperties5.BorderRadius = 3; StateProperties5.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties5.BorderThickness = 1; StateProperties5.FillColor = Color.MediumTurquoise; StateProperties5.ForeColor = Color.White; StateProperties5.IconLeftImage = null; StateProperties5.IconRightImage = null; _btnInsert.onHoverState = StateProperties5; StateProperties6.BorderColor = Color.Teal; StateProperties6.BorderRadius = 3; StateProperties6.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties6.BorderThickness = 1; StateProperties6.FillColor = Color.Teal; StateProperties6.ForeColor = Color.White; StateProperties6.IconLeftImage = null; StateProperties6.IconRightImage = null; _btnInsert.OnPressedState = StateProperties6; _btnInsert.Size = new Size(100, 40); _btnInsert.TabIndex = 208; _btnInsert.TextAlign = ContentAlignment.MiddleCenter; _btnInsert.TextMarginLeft = 0; _btnInsert.UseDefaultRadiusAndThickness = true; // // BunifuLabel1 // BunifuLabel1.AutoEllipsis = false; BunifuLabel1.CursorType = null; BunifuLabel1.Font = new Font("Microsoft Sans Serif", 13.74545f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); BunifuLabel1.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); BunifuLabel1.Location = new Point(26, 58); BunifuLabel1.Name = "BunifuLabel1"; BunifuLabel1.RightToLeft = RightToLeft.No; BunifuLabel1.Size = new Size(150, 24); BunifuLabel1.TabIndex = 209; BunifuLabel1.Text = "Add department:"; BunifuLabel1.TextAlignment = ContentAlignment.TopLeft; BunifuLabel1.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // frmAddDepartment // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(603, 198); Controls.Add(BunifuLabel1); Controls.Add(_btnInsert); Controls.Add(txtDocumentType); Controls.Add(BunifuLabel3); Controls.Add(_btnClose); Controls.Add(Label2); FormBorderStyle = FormBorderStyle.None; Name = "frmAddDepartment"; Text = "frmAddDepartment"; Load += new EventHandler(frmAddDepartment_Load); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(frmEditCommodity)); var StateProperties1 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties2 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties3 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties4 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties5 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties6 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties7 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties8 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var BorderEdges1 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderEdges(); var StateProperties9 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties10 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); _closeLabel = new Label(); _closeLabel.Click += new EventHandler(closeLabel_Click); Label2 = new Label(); txtCommodity = new BunifuTextBox(); txtCommodityCode = new BunifuTextBox(); TableLayoutPanel1 = new TableLayoutPanel(); _btnEditCommodity = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnEditCommodity.Click += new EventHandler(btnEditCommodity_Click); BunifuLabel7 = new Bunifu.UI.WinForms.BunifuLabel(); TableLayoutPanel1.SuspendLayout(); SuspendLayout(); // // closeLabel // _closeLabel.Anchor = AnchorStyles.Top | AnchorStyles.Right; _closeLabel.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _closeLabel.Font = new Font("Arial Narrow", 22.25455f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _closeLabel.ForeColor = Color.White; _closeLabel.Location = new Point(463, -3); _closeLabel.Margin = new Padding(0); _closeLabel.Name = "_closeLabel"; _closeLabel.Size = new Size(40, 38); _closeLabel.TabIndex = 150; _closeLabel.Text = "🗙"; _closeLabel.TextAlign = ContentAlignment.MiddleCenter; // // Label2 // Label2.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label2.Dock = DockStyle.Top; Label2.Font = new Font("Microsoft Sans Serif", 22.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.ForeColor = Color.White; Label2.Location = new Point(0, 0); Label2.Name = "Label2"; Label2.Size = new Size(503, 38); Label2.TabIndex = 149; Label2.TextAlign = ContentAlignment.MiddleCenter; // // txtCommodity // txtCommodity.AcceptsReturn = false; txtCommodity.AcceptsTab = false; txtCommodity.Anchor = AnchorStyles.Left; txtCommodity.AnimationSpeed = 200; txtCommodity.AutoCompleteMode = AutoCompleteMode.None; txtCommodity.AutoCompleteSource = AutoCompleteSource.None; txtCommodity.BackColor = Color.Transparent; txtCommodity.BackgroundImage = (Image)resources.GetObject("txtCommodity.BackgroundImage"); txtCommodity.BorderColorActive = Color.DodgerBlue; txtCommodity.BorderColorDisabled = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161))); txtCommodity.BorderColorHover = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); txtCommodity.BorderColorIdle = Color.Silver; txtCommodity.BorderRadius = 1; txtCommodity.BorderThickness = 1; txtCommodity.CharacterCasing = CharacterCasing.Upper; txtCommodity.Cursor = Cursors.IBeam; txtCommodity.DefaultFont = new Font("Segoe UI Semibold", 9.75f); txtCommodity.DefaultText = ""; txtCommodity.FillColor = Color.White; txtCommodity.ForeColor = Color.Black; txtCommodity.HideSelection = true; txtCommodity.IconLeft = null; txtCommodity.IconLeftCursor = Cursors.IBeam; txtCommodity.IconPadding = 10; txtCommodity.IconRight = null; txtCommodity.IconRightCursor = Cursors.IBeam; txtCommodity.Lines = new string[0]; txtCommodity.Location = new Point(3, 45); txtCommodity.MaxLength = 32767; txtCommodity.MinimumSize = new Size(100, 30); txtCommodity.Modified = false; txtCommodity.Multiline = false; txtCommodity.Name = "txtCommodity"; StateProperties1.BorderColor = Color.DodgerBlue; StateProperties1.FillColor = Color.Empty; StateProperties1.ForeColor = Color.Empty; StateProperties1.PlaceholderForeColor = Color.Empty; txtCommodity.OnActiveState = StateProperties1; StateProperties2.BorderColor = Color.Empty; StateProperties2.FillColor = Color.White; StateProperties2.ForeColor = Color.Empty; StateProperties2.PlaceholderForeColor = Color.Silver; txtCommodity.OnDisabledState = StateProperties2; StateProperties3.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); StateProperties3.FillColor = Color.Empty; StateProperties3.ForeColor = Color.Empty; StateProperties3.PlaceholderForeColor = Color.Empty; txtCommodity.OnHoverState = StateProperties3; StateProperties4.BorderColor = Color.Silver; StateProperties4.FillColor = Color.White; StateProperties4.ForeColor = Color.Black; StateProperties4.PlaceholderForeColor = Color.Empty; txtCommodity.OnIdleState = StateProperties4; txtCommodity.PasswordChar = '\0'; txtCommodity.PlaceholderForeColor = Color.Silver; txtCommodity.PlaceholderText = "COMMODITY"; txtCommodity.ReadOnly = false; txtCommodity.ScrollBars = ScrollBars.None; txtCommodity.SelectedText = ""; txtCommodity.SelectionLength = 0; txtCommodity.SelectionStart = 0; txtCommodity.ShortcutsEnabled = true; txtCommodity.Size = new Size(450, 30); txtCommodity.Style = _Style.Bunifu; txtCommodity.TabIndex = 244; txtCommodity.TextAlign = HorizontalAlignment.Left; txtCommodity.TextMarginBottom = 0; txtCommodity.TextMarginLeft = 5; txtCommodity.TextMarginTop = 0; txtCommodity.TextPlaceholder = "COMMODITY"; txtCommodity.UseSystemPasswordChar = false; txtCommodity.WordWrap = true; // // txtCommodityCode // txtCommodityCode.AcceptsReturn = false; txtCommodityCode.AcceptsTab = false; txtCommodityCode.Anchor = AnchorStyles.Left; txtCommodityCode.AnimationSpeed = 200; txtCommodityCode.AutoCompleteMode = AutoCompleteMode.None; txtCommodityCode.AutoCompleteSource = AutoCompleteSource.None; txtCommodityCode.BackColor = Color.Transparent; txtCommodityCode.BackgroundImage = (Image)resources.GetObject("txtCommodityCode.BackgroundImage"); txtCommodityCode.BorderColorActive = Color.DodgerBlue; txtCommodityCode.BorderColorDisabled = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161))); txtCommodityCode.BorderColorHover = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); txtCommodityCode.BorderColorIdle = Color.Silver; txtCommodityCode.BorderRadius = 1; txtCommodityCode.BorderThickness = 1; txtCommodityCode.CharacterCasing = CharacterCasing.Upper; txtCommodityCode.Cursor = Cursors.IBeam; txtCommodityCode.DefaultFont = new Font("Segoe UI Semibold", 9.75f); txtCommodityCode.DefaultText = ""; txtCommodityCode.FillColor = Color.White; txtCommodityCode.ForeColor = Color.Black; txtCommodityCode.HideSelection = true; txtCommodityCode.IconLeft = null; txtCommodityCode.IconLeftCursor = Cursors.IBeam; txtCommodityCode.IconPadding = 10; txtCommodityCode.IconRight = null; txtCommodityCode.IconRightCursor = Cursors.IBeam; txtCommodityCode.Lines = new string[0]; txtCommodityCode.Location = new Point(3, 5); txtCommodityCode.MaxLength = 32767; txtCommodityCode.MinimumSize = new Size(100, 30); txtCommodityCode.Modified = false; txtCommodityCode.Multiline = false; txtCommodityCode.Name = "txtCommodityCode"; StateProperties5.BorderColor = Color.DodgerBlue; StateProperties5.FillColor = Color.Empty; StateProperties5.ForeColor = Color.Empty; StateProperties5.PlaceholderForeColor = Color.Empty; txtCommodityCode.OnActiveState = StateProperties5; StateProperties6.BorderColor = Color.Empty; StateProperties6.FillColor = Color.White; StateProperties6.ForeColor = Color.Empty; StateProperties6.PlaceholderForeColor = Color.Silver; txtCommodityCode.OnDisabledState = StateProperties6; StateProperties7.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); StateProperties7.FillColor = Color.Empty; StateProperties7.ForeColor = Color.Empty; StateProperties7.PlaceholderForeColor = Color.Empty; txtCommodityCode.OnHoverState = StateProperties7; StateProperties8.BorderColor = Color.Silver; StateProperties8.FillColor = Color.White; StateProperties8.ForeColor = Color.Black; StateProperties8.PlaceholderForeColor = Color.Empty; txtCommodityCode.OnIdleState = StateProperties8; txtCommodityCode.PasswordChar = '\0'; txtCommodityCode.PlaceholderForeColor = Color.Silver; txtCommodityCode.PlaceholderText = "CODE"; txtCommodityCode.ReadOnly = false; txtCommodityCode.ScrollBars = ScrollBars.None; txtCommodityCode.SelectedText = ""; txtCommodityCode.SelectionLength = 0; txtCommodityCode.SelectionStart = 0; txtCommodityCode.ShortcutsEnabled = true; txtCommodityCode.Size = new Size(114, 30); txtCommodityCode.Style = _Style.Bunifu; txtCommodityCode.TabIndex = 243; txtCommodityCode.TextAlign = HorizontalAlignment.Left; txtCommodityCode.TextMarginBottom = 0; txtCommodityCode.TextMarginLeft = 5; txtCommodityCode.TextMarginTop = 0; txtCommodityCode.TextPlaceholder = "CODE"; txtCommodityCode.UseSystemPasswordChar = false; txtCommodityCode.WordWrap = true; // // TableLayoutPanel1 // TableLayoutPanel1.ColumnCount = 1; TableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100.0f)); TableLayoutPanel1.Controls.Add(txtCommodityCode, 0, 0); TableLayoutPanel1.Controls.Add(_btnEditCommodity, 0, 3); TableLayoutPanel1.Controls.Add(txtCommodity, 0, 1); TableLayoutPanel1.Location = new Point(20, 105); TableLayoutPanel1.Name = "TableLayoutPanel1"; TableLayoutPanel1.RowCount = 4; TableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 40.0f)); TableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 40.0f)); TableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 40.0f)); TableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 40.0f)); TableLayoutPanel1.Size = new Size(464, 160); TableLayoutPanel1.TabIndex = 247; // // btnEditCommodity // _btnEditCommodity.AllowToggling = false; _btnEditCommodity.Anchor = AnchorStyles.Right; _btnEditCommodity.AnimationSpeed = 200; _btnEditCommodity.AutoGenerateColors = false; _btnEditCommodity.BackColor = Color.Transparent; _btnEditCommodity.BackColor1 = Color.Teal; _btnEditCommodity.BackgroundImage = (Image)resources.GetObject("btnEditCommodity.BackgroundImage"); _btnEditCommodity.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnEditCommodity.ButtonText = "Save"; _btnEditCommodity.ButtonTextMarginLeft = 0; _btnEditCommodity.ColorContrastOnClick = 45; _btnEditCommodity.ColorContrastOnHover = 45; _btnEditCommodity.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _btnEditCommodity.CustomizableEdges = BorderEdges1; _btnEditCommodity.DialogResult = DialogResult.None; _btnEditCommodity.DisabledBorderColor = Color.Empty; _btnEditCommodity.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnEditCommodity.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnEditCommodity.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnEditCommodity.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnEditCommodity.ForeColor = Color.White; _btnEditCommodity.IconLeftCursor = Cursors.Hand; _btnEditCommodity.IconMarginLeft = 11; _btnEditCommodity.IconPadding = 10; _btnEditCommodity.IconRightCursor = Cursors.Hand; _btnEditCommodity.IdleBorderColor = Color.Teal; _btnEditCommodity.IdleBorderRadius = 3; _btnEditCommodity.IdleBorderThickness = 1; _btnEditCommodity.IdleFillColor = Color.Teal; _btnEditCommodity.IdleIconLeftImage = null; _btnEditCommodity.IdleIconRightImage = null; _btnEditCommodity.IndicateFocus = true; _btnEditCommodity.Location = new Point(381, 123); _btnEditCommodity.Name = "_btnEditCommodity"; StateProperties9.BorderColor = Color.LightSeaGreen; StateProperties9.BorderRadius = 3; StateProperties9.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties9.BorderThickness = 1; StateProperties9.FillColor = Color.LightSeaGreen; StateProperties9.ForeColor = Color.White; StateProperties9.IconLeftImage = null; StateProperties9.IconRightImage = null; _btnEditCommodity.onHoverState = StateProperties9; StateProperties10.BorderColor = Color.Teal; StateProperties10.BorderRadius = 3; StateProperties10.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties10.BorderThickness = 1; StateProperties10.FillColor = Color.Teal; StateProperties10.ForeColor = Color.White; StateProperties10.IconLeftImage = null; StateProperties10.IconRightImage = null; _btnEditCommodity.OnPressedState = StateProperties10; _btnEditCommodity.Size = new Size(80, 33); _btnEditCommodity.TabIndex = 249; _btnEditCommodity.TextAlign = ContentAlignment.MiddleCenter; _btnEditCommodity.TextMarginLeft = 0; _btnEditCommodity.UseDefaultRadiusAndThickness = true; // // BunifuLabel7 // BunifuLabel7.Anchor = AnchorStyles.Top; BunifuLabel7.AutoEllipsis = false; BunifuLabel7.CursorType = null; BunifuLabel7.Font = new Font("Microsoft Sans Serif", 14.0f); BunifuLabel7.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); BunifuLabel7.Location = new Point(22, 61); BunifuLabel7.Name = "BunifuLabel7"; BunifuLabel7.RightToLeft = RightToLeft.No; BunifuLabel7.Size = new Size(163, 26); BunifuLabel7.TabIndex = 248; BunifuLabel7.Text = "Update Commodity"; BunifuLabel7.TextAlignment = ContentAlignment.TopLeft; BunifuLabel7.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // frmEditCommodity // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(503, 300); Controls.Add(BunifuLabel7); Controls.Add(TableLayoutPanel1); Controls.Add(_closeLabel); Controls.Add(Label2); FormBorderStyle = FormBorderStyle.None; Name = "frmEditCommodity"; StartPosition = FormStartPosition.CenterScreen; Text = "frmEditCommodity"; TableLayoutPanel1.ResumeLayout(false); Load += new EventHandler(frmEditCommodity_Load); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmSafetyRiskMain)); Panel1 = new Panel(); MenuStrip1 = new MenuStrip(); ToolStripMenuItem = new ToolStripMenuItem(); _menuWorkedHours = new ToolStripMenuItem(); _menuWorkedHours.Click += new EventHandler(menuWorkedHours_Click); _menuDocumentStorage = new ToolStripMenuItem(); _menuDocumentStorage.Click += new EventHandler(menuDocumentStorage_Click); _ReportOfWhoIsWorkingToolStripMenuItem = new ToolStripMenuItem(); _ReportOfWhoIsWorkingToolStripMenuItem.Click += new EventHandler(ReportOfWhoIsWorkingToolStripMenuItem_Click); BunifuLabel1 = new Bunifu.UI.WinForms.BunifuLabel(); Label1 = new Label(); PictureBox1 = new PictureBox(); BunifuShadowPanel1 = new Bunifu.UI.WinForm.BunifuShadowPanel.BunifuShadowPanel(); Panel2 = new Panel(); Panel5 = new Panel(); Panel3 = new Panel(); Label3 = new Label(); PictureBox2 = new PictureBox(); Panel1.SuspendLayout(); MenuStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)PictureBox1).BeginInit(); BunifuShadowPanel1.SuspendLayout(); Panel2.SuspendLayout(); Panel5.SuspendLayout(); Panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)PictureBox2).BeginInit(); SuspendLayout(); // // Panel1 // Panel1.Anchor = AnchorStyles.Top | AnchorStyles.Right; Panel1.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Panel1.Controls.Add(MenuStrip1); Panel1.Location = new Point(1411, 3); Panel1.Name = "Panel1"; Panel1.Size = new Size(98, 40); Panel1.TabIndex = 36; // // MenuStrip1 // MenuStrip1.AutoSize = false; MenuStrip1.BackColor = Color.Transparent; MenuStrip1.BackgroundImageLayout = ImageLayout.Zoom; MenuStrip1.Dock = DockStyle.None; MenuStrip1.Font = new Font("Segoe UI", 11.12727f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); MenuStrip1.ImageScalingSize = new Size(20, 20); MenuStrip1.Items.AddRange(new ToolStripItem[] { ToolStripMenuItem }); MenuStrip1.Location = new Point(51, -3); MenuStrip1.Name = "MenuStrip1"; MenuStrip1.Size = new Size(43, 47); MenuStrip1.TabIndex = 111; MenuStrip1.Text = "kj"; // // ToolStripMenuItem // ToolStripMenuItem.Alignment = ToolStripItemAlignment.Right; ToolStripMenuItem.AutoSize = false; ToolStripMenuItem.BackColor = Color.Transparent; ToolStripMenuItem.BackgroundImage = My.Resources.Resources.copy_file_White; ToolStripMenuItem.BackgroundImageLayout = ImageLayout.Zoom; ToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { _menuWorkedHours, _menuDocumentStorage, _ReportOfWhoIsWorkingToolStripMenuItem }); ToolStripMenuItem.Name = "ToolStripMenuItem"; ToolStripMenuItem.RightToLeft = RightToLeft.No; ToolStripMenuItem.Size = new Size(29, 28); ToolStripMenuItem.TextAlign = ContentAlignment.MiddleLeft; ToolStripMenuItem.TextDirection = ToolStripTextDirection.Horizontal; // // menuWorkedHours // _menuWorkedHours.BackColor = SystemColors.Control; _menuWorkedHours.Font = new Font("Segoe UI", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _menuWorkedHours.Name = "_menuWorkedHours"; _menuWorkedHours.Size = new Size(274, 26); _menuWorkedHours.Text = "Worked Hours"; // // menuDocumentStorage // _menuDocumentStorage.Font = new Font("Segoe UI", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _menuDocumentStorage.Name = "_menuDocumentStorage"; _menuDocumentStorage.Size = new Size(274, 26); _menuDocumentStorage.Text = "Document Storage"; // // ReportOfWhoIsWorkingToolStripMenuItem // _ReportOfWhoIsWorkingToolStripMenuItem.Name = "_ReportOfWhoIsWorkingToolStripMenuItem"; _ReportOfWhoIsWorkingToolStripMenuItem.Size = new Size(274, 26); _ReportOfWhoIsWorkingToolStripMenuItem.Text = "Report of employees working"; // // BunifuLabel1 // BunifuLabel1.AutoEllipsis = false; BunifuLabel1.CursorType = null; BunifuLabel1.Font = new Font("Microsoft Sans Serif", 14.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); BunifuLabel1.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); BunifuLabel1.Location = new Point(30, 26); BunifuLabel1.Name = "BunifuLabel1"; BunifuLabel1.RightToLeft = RightToLeft.No; BunifuLabel1.Size = new Size(130, 26); BunifuLabel1.TabIndex = 37; BunifuLabel1.Text = "Safety and Risk"; BunifuLabel1.TextAlignment = ContentAlignment.TopLeft; BunifuLabel1.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // Label1 // Label1.Anchor = AnchorStyles.None; Label1.AutoSize = true; Label1.Font = new Font("Segoe UI", 24.21818f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label1.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label1.Location = new Point(620, 631); Label1.Name = "Label1"; Label1.Size = new Size(258, 45); Label1.TabIndex = 39; Label1.Text = "In construction..."; // // PictureBox1 // PictureBox1.Anchor = AnchorStyles.None; PictureBox1.Image = My.Resources.Resources.dinConstruction; PictureBox1.Location = new Point(614, 281); PictureBox1.Name = "PictureBox1"; PictureBox1.Size = new Size(288, 311); PictureBox1.SizeMode = PictureBoxSizeMode.Zoom; PictureBox1.TabIndex = 38; PictureBox1.TabStop = false; // // BunifuShadowPanel1 // BunifuShadowPanel1.BackColor = Color.White; BunifuShadowPanel1.BorderColor = Color.Transparent; BunifuShadowPanel1.Controls.Add(Panel2); BunifuShadowPanel1.Dock = DockStyle.Fill; BunifuShadowPanel1.ForeColor = Color.White; BunifuShadowPanel1.Location = new Point(0, 0); BunifuShadowPanel1.Margin = new Padding(0); BunifuShadowPanel1.Name = "BunifuShadowPanel1"; BunifuShadowPanel1.Padding = new Padding(10, 6, 5, 5); BunifuShadowPanel1.PanelColor = Color.Empty; BunifuShadowPanel1.ShadowDept = 2; BunifuShadowPanel1.ShadowTopLeftVisible = true; BunifuShadowPanel1.Size = new Size(1533, 965); BunifuShadowPanel1.TabIndex = 40; // // Panel2 // Panel2.BackColor = Color.White; Panel2.Controls.Add(Panel5); Panel2.Dock = DockStyle.Fill; Panel2.Location = new Point(10, 6); Panel2.Name = "Panel2"; Panel2.Size = new Size(1518, 954); Panel2.TabIndex = 32; // // Panel5 // Panel5.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Panel5.Controls.Add(Panel3); Panel5.Controls.Add(Panel1); Panel5.Dock = DockStyle.Fill; Panel5.Location = new Point(0, 0); Panel5.Name = "Panel5"; Panel5.Padding = new Padding(0, 40, 0, 0); Panel5.Size = new Size(1518, 954); Panel5.TabIndex = 33; // // Panel3 // Panel3.BackColor = Color.White; Panel3.Controls.Add(Label3); Panel3.Controls.Add(PictureBox2); Panel3.Controls.Add(BunifuLabel1); Panel3.Dock = DockStyle.Fill; Panel3.Location = new Point(0, 40); Panel3.Name = "Panel3"; Panel3.Size = new Size(1518, 914); Panel3.TabIndex = 0; // // Label3 // Label3.Anchor = AnchorStyles.None; Label3.AutoSize = true; Label3.Font = new Font("Segoe UI", 24.21818f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label3.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label3.Location = new Point(644, 558); Label3.Name = "Label3"; Label3.Size = new Size(258, 45); Label3.TabIndex = 1; Label3.Text = "In construction..."; // // PictureBox2 // PictureBox2.Anchor = AnchorStyles.None; PictureBox2.Image = My.Resources.Resources.dinConstruction; PictureBox2.Location = new Point(638, 208); PictureBox2.Name = "PictureBox2"; PictureBox2.Size = new Size(288, 311); PictureBox2.SizeMode = PictureBoxSizeMode.Zoom; PictureBox2.TabIndex = 0; PictureBox2.TabStop = false; // // FrmSafetyRiskMain // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(1533, 965); Controls.Add(BunifuShadowPanel1); Controls.Add(Label1); Controls.Add(PictureBox1); FormBorderStyle = FormBorderStyle.None; Name = "FrmSafetyRiskMain"; StartPosition = FormStartPosition.CenterScreen; Panel1.ResumeLayout(false); MenuStrip1.ResumeLayout(false); MenuStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)PictureBox1).EndInit(); BunifuShadowPanel1.ResumeLayout(false); Panel2.ResumeLayout(false); Panel5.ResumeLayout(false); Panel3.ResumeLayout(false); Panel3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)PictureBox2).EndInit(); Load += new EventHandler(FrmSafetyRiskManagement_Load); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmSafetyRiskManagement)); var BorderEdges3 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderEdges(); var StateProperties5 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties6 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var BorderEdges4 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderEdges(); var StateProperties7 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties8 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var DataGridViewCellStyle4 = new DataGridViewCellStyle(); var DataGridViewCellStyle5 = new DataGridViewCellStyle(); var DataGridViewCellStyle6 = new DataGridViewCellStyle(); Label2 = new Label(); GroupBox1 = new GroupBox(); _btnSearch = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnSearch.Click += new EventHandler(btnSearch_Click); endDateTimePicker = new Bunifu.UI.WinForms.BunifuDatePicker(); yardComboBox = new Bunifu.UI.WinForms.BunifuDropdown(); startDateTimePicker = new Bunifu.UI.WinForms.BunifuDatePicker(); _btnPrintReport = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnPrintReport.Click += new EventHandler(btnPrintReport_Click); typeComboBox = new Bunifu.UI.WinForms.BunifuDropdown(); BunifuLabel3 = new Bunifu.UI.WinForms.BunifuLabel(); BunifuLabel2 = new Bunifu.UI.WinForms.BunifuLabel(); BunifuLabel1 = new Bunifu.UI.WinForms.BunifuLabel(); rblHoursPerSite = new Bunifu.UI.WinForms.BunifuRadioButton(); rblHoursPerSiteType = new Bunifu.UI.WinForms.BunifuRadioButton(); rblHoursPerEmployeeSite = new Bunifu.UI.WinForms.BunifuRadioButton(); Label1 = new Label(); Label5 = new Label(); Label4 = new Label(); Label3 = new Label(); dgvEmployees = new Bunifu.UI.WinForms.BunifuDataGridView(); BunifuLabel4 = new Bunifu.UI.WinForms.BunifuLabel(); lblTotHours = new Bunifu.UI.WinForms.BunifuLabel(); _closeLabel = new Label(); _closeLabel.Click += new EventHandler(closeLabel_Click); Label6 = new Label(); GroupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)dgvEmployees).BeginInit(); SuspendLayout(); // // Label2 // Label2.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label2.Dock = DockStyle.Top; Label2.Font = new Font("Microsoft Sans Serif", 22.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.ForeColor = Color.White; Label2.Location = new Point(0, 0); Label2.Name = "Label2"; Label2.Size = new Size(1099, 41); Label2.TabIndex = 3; Label2.TextAlign = ContentAlignment.MiddleCenter; // // GroupBox1 // GroupBox1.Controls.Add(_btnSearch); GroupBox1.Controls.Add(endDateTimePicker); GroupBox1.Controls.Add(yardComboBox); GroupBox1.Controls.Add(startDateTimePicker); GroupBox1.Controls.Add(_btnPrintReport); GroupBox1.Controls.Add(typeComboBox); GroupBox1.Controls.Add(BunifuLabel3); GroupBox1.Controls.Add(BunifuLabel2); GroupBox1.Controls.Add(BunifuLabel1); GroupBox1.Controls.Add(rblHoursPerSite); GroupBox1.Controls.Add(rblHoursPerSiteType); GroupBox1.Controls.Add(rblHoursPerEmployeeSite); GroupBox1.Controls.Add(Label1); GroupBox1.Controls.Add(Label5); GroupBox1.Controls.Add(Label4); GroupBox1.Controls.Add(Label3); GroupBox1.Font = new Font("Microsoft Sans Serif", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); GroupBox1.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); GroupBox1.Location = new Point(57, 90); GroupBox1.Name = "GroupBox1"; GroupBox1.Size = new Size(1030, 107); GroupBox1.TabIndex = 7; GroupBox1.TabStop = false; GroupBox1.Text = "1 - Filters"; // // btnSearch // _btnSearch.AllowToggling = false; _btnSearch.AnimationSpeed = 200; _btnSearch.AutoGenerateColors = false; _btnSearch.BackColor = Color.Transparent; _btnSearch.BackColor1 = Color.Teal; _btnSearch.BackgroundImage = (Image)resources.GetObject("btnSearch.BackgroundImage"); _btnSearch.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnSearch.ButtonText = "Search"; _btnSearch.ButtonTextMarginLeft = 0; _btnSearch.ColorContrastOnClick = 45; _btnSearch.ColorContrastOnHover = 45; _btnSearch.Cursor = Cursors.Hand; BorderEdges3.BottomLeft = true; BorderEdges3.BottomRight = true; BorderEdges3.TopLeft = true; BorderEdges3.TopRight = true; _btnSearch.CustomizableEdges = BorderEdges3; _btnSearch.DialogResult = DialogResult.None; _btnSearch.DisabledBorderColor = Color.Empty; _btnSearch.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnSearch.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnSearch.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnSearch.Font = new Font("Segoe UI Semibold", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnSearch.ForeColor = Color.White; _btnSearch.IconLeftCursor = Cursors.Hand; _btnSearch.IconMarginLeft = 11; _btnSearch.IconPadding = 10; _btnSearch.IconRightCursor = Cursors.Hand; _btnSearch.IdleBorderColor = Color.Teal; _btnSearch.IdleBorderRadius = 3; _btnSearch.IdleBorderThickness = 1; _btnSearch.IdleFillColor = Color.Teal; _btnSearch.IdleIconLeftImage = null; _btnSearch.IdleIconRightImage = null; _btnSearch.IndicateFocus = true; _btnSearch.Location = new Point(900, 11); _btnSearch.Name = "_btnSearch"; StateProperties5.BorderColor = Color.MediumTurquoise; StateProperties5.BorderRadius = 3; StateProperties5.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties5.BorderThickness = 1; StateProperties5.FillColor = Color.MediumTurquoise; StateProperties5.ForeColor = Color.White; StateProperties5.IconLeftImage = null; StateProperties5.IconRightImage = null; _btnSearch.onHoverState = StateProperties5; StateProperties6.BorderColor = Color.Teal; StateProperties6.BorderRadius = 3; StateProperties6.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties6.BorderThickness = 1; StateProperties6.FillColor = Color.Teal; StateProperties6.ForeColor = Color.White; StateProperties6.IconLeftImage = null; StateProperties6.IconRightImage = null; _btnSearch.OnPressedState = StateProperties6; _btnSearch.Size = new Size(128, 38); _btnSearch.TabIndex = 68; _btnSearch.TextAlign = ContentAlignment.MiddleCenter; _btnSearch.TextMarginLeft = 0; _btnSearch.UseDefaultRadiusAndThickness = true; // // endDateTimePicker // endDateTimePicker.BorderRadius = 3; endDateTimePicker.Color = Color.Teal; endDateTimePicker.CustomFormat = "MMM dd, yyyy"; endDateTimePicker.DateBorderThickness = Bunifu.UI.WinForms.BunifuDatePicker.BorderThickness.Thick; endDateTimePicker.DateTextAlign = Bunifu.UI.WinForms.BunifuDatePicker.TextAlign.Left; endDateTimePicker.DisabledColor = Color.Gray; endDateTimePicker.DisplayWeekNumbers = false; endDateTimePicker.DPHeight = 0; endDateTimePicker.DropDownAlign = LeftRightAlignment.Right; endDateTimePicker.FillDatePicker = false; endDateTimePicker.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); endDateTimePicker.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); endDateTimePicker.Format = DateTimePickerFormat.Custom; endDateTimePicker.Icon = (Image)resources.GetObject("endDateTimePicker.Icon"); endDateTimePicker.IconColor = Color.Teal; endDateTimePicker.IconLocation = Bunifu.UI.WinForms.BunifuDatePicker.Indicator.Right; endDateTimePicker.Location = new Point(347, 65); endDateTimePicker.MinimumSize = new Size(214, 34); endDateTimePicker.Name = "endDateTimePicker"; endDateTimePicker.Size = new Size(214, 34); endDateTimePicker.TabIndex = 123; // // yardComboBox // yardComboBox.BackColor = Color.Snow; yardComboBox.BorderRadius = 3; yardComboBox.Color = Color.Teal; yardComboBox.Direction = Bunifu.UI.WinForms.BunifuDropdown.Directions.Down; yardComboBox.DisabledColor = Color.Gray; yardComboBox.DrawMode = DrawMode.OwnerDrawFixed; yardComboBox.DropdownBorderThickness = Bunifu.UI.WinForms.BunifuDropdown.BorderThickness.Thick; yardComboBox.DropDownStyle = ComboBoxStyle.DropDownList; yardComboBox.DropDownTextAlign = Bunifu.UI.WinForms.BunifuDropdown.TextAlign.Left; yardComboBox.FillDropDown = false; yardComboBox.FillIndicator = true; yardComboBox.FlatStyle = FlatStyle.Flat; yardComboBox.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); yardComboBox.ForeColor = SystemColors.ControlDarkDark; yardComboBox.FormattingEnabled = true; yardComboBox.Icon = null; yardComboBox.IndicatorColor = Color.Teal; yardComboBox.IndicatorLocation = Bunifu.UI.WinForms.BunifuDropdown.Indicator.Right; yardComboBox.ItemBackColor = Color.White; yardComboBox.ItemBorderColor = Color.White; yardComboBox.ItemForeColor = SystemColors.ControlDarkDark; yardComboBox.ItemHeight = 28; yardComboBox.ItemHighLightColor = Color.Gray; yardComboBox.Items.AddRange(new object[] { "All", "Ewen", "Lindsey", "Remote" }); yardComboBox.Location = new Point(92, 65); yardComboBox.MaxDropDownItems = 50; yardComboBox.Name = "yardComboBox"; yardComboBox.Size = new Size(162, 34); yardComboBox.TabIndex = 122; yardComboBox.Text = null; // // startDateTimePicker // startDateTimePicker.BorderRadius = 3; startDateTimePicker.Color = Color.Teal; startDateTimePicker.CustomFormat = "MMM dd, yyyy"; startDateTimePicker.DateBorderThickness = Bunifu.UI.WinForms.BunifuDatePicker.BorderThickness.Thick; startDateTimePicker.DateTextAlign = Bunifu.UI.WinForms.BunifuDatePicker.TextAlign.Left; startDateTimePicker.DisabledColor = Color.Gray; startDateTimePicker.DisplayWeekNumbers = false; startDateTimePicker.DPHeight = 0; startDateTimePicker.DropDownAlign = LeftRightAlignment.Right; startDateTimePicker.FillDatePicker = false; startDateTimePicker.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); startDateTimePicker.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); startDateTimePicker.Format = DateTimePickerFormat.Custom; startDateTimePicker.Icon = (Image)resources.GetObject("startDateTimePicker.Icon"); startDateTimePicker.IconColor = Color.Teal; startDateTimePicker.IconLocation = Bunifu.UI.WinForms.BunifuDatePicker.Indicator.Right; startDateTimePicker.Location = new Point(347, 25); startDateTimePicker.MinimumSize = new Size(214, 34); startDateTimePicker.Name = "startDateTimePicker"; startDateTimePicker.Size = new Size(214, 34); startDateTimePicker.TabIndex = 122; // // btnPrintReport // _btnPrintReport.AllowToggling = false; _btnPrintReport.AnimationSpeed = 200; _btnPrintReport.AutoGenerateColors = false; _btnPrintReport.BackColor = Color.Transparent; _btnPrintReport.BackColor1 = Color.DodgerBlue; _btnPrintReport.BackgroundImage = (Image)resources.GetObject("btnPrintReport.BackgroundImage"); _btnPrintReport.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnPrintReport.ButtonText = "Print"; _btnPrintReport.ButtonTextMarginLeft = 0; _btnPrintReport.ColorContrastOnClick = 45; _btnPrintReport.ColorContrastOnHover = 45; _btnPrintReport.Cursor = Cursors.Hand; BorderEdges4.BottomLeft = true; BorderEdges4.BottomRight = true; BorderEdges4.TopLeft = true; BorderEdges4.TopRight = true; _btnPrintReport.CustomizableEdges = BorderEdges4; _btnPrintReport.DialogResult = DialogResult.None; _btnPrintReport.DisabledBorderColor = Color.Empty; _btnPrintReport.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnPrintReport.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnPrintReport.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnPrintReport.Font = new Font("Segoe UI Semibold", 12.0f); _btnPrintReport.ForeColor = Color.White; _btnPrintReport.IconLeftCursor = Cursors.Hand; _btnPrintReport.IconMarginLeft = 11; _btnPrintReport.IconPadding = 10; _btnPrintReport.IconRightCursor = Cursors.Hand; _btnPrintReport.IdleBorderColor = Color.DodgerBlue; _btnPrintReport.IdleBorderRadius = 3; _btnPrintReport.IdleBorderThickness = 1; _btnPrintReport.IdleFillColor = Color.DodgerBlue; _btnPrintReport.IdleIconLeftImage = null; _btnPrintReport.IdleIconRightImage = null; _btnPrintReport.IndicateFocus = false; _btnPrintReport.Location = new Point(900, 57); _btnPrintReport.Name = "_btnPrintReport"; StateProperties7.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); StateProperties7.BorderRadius = 3; StateProperties7.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties7.BorderThickness = 1; StateProperties7.FillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); StateProperties7.ForeColor = Color.White; StateProperties7.IconLeftImage = null; StateProperties7.IconRightImage = null; _btnPrintReport.onHoverState = StateProperties7; StateProperties8.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(40)), Conversions.ToInteger(Conversions.ToByte(96)), Conversions.ToInteger(Conversions.ToByte(144))); StateProperties8.BorderRadius = 3; StateProperties8.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties8.BorderThickness = 1; StateProperties8.FillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(40)), Conversions.ToInteger(Conversions.ToByte(96)), Conversions.ToInteger(Conversions.ToByte(144))); StateProperties8.ForeColor = Color.White; StateProperties8.IconLeftImage = null; StateProperties8.IconRightImage = null; _btnPrintReport.OnPressedState = StateProperties8; _btnPrintReport.Size = new Size(128, 38); _btnPrintReport.TabIndex = 61; _btnPrintReport.TextAlign = ContentAlignment.MiddleCenter; _btnPrintReport.TextMarginLeft = 0; _btnPrintReport.UseDefaultRadiusAndThickness = true; // // typeComboBox // typeComboBox.BackColor = Color.Snow; typeComboBox.BorderRadius = 3; typeComboBox.Color = Color.Teal; typeComboBox.Direction = Bunifu.UI.WinForms.BunifuDropdown.Directions.Down; typeComboBox.DisabledColor = Color.Gray; typeComboBox.DrawMode = DrawMode.OwnerDrawFixed; typeComboBox.DropdownBorderThickness = Bunifu.UI.WinForms.BunifuDropdown.BorderThickness.Thick; typeComboBox.DropDownStyle = ComboBoxStyle.DropDownList; typeComboBox.DropDownTextAlign = Bunifu.UI.WinForms.BunifuDropdown.TextAlign.Left; typeComboBox.FillDropDown = false; typeComboBox.FillIndicator = true; typeComboBox.FlatStyle = FlatStyle.Flat; typeComboBox.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); typeComboBox.ForeColor = SystemColors.ControlDarkDark; typeComboBox.FormattingEnabled = true; typeComboBox.Icon = null; typeComboBox.IndicatorColor = Color.Teal; typeComboBox.IndicatorLocation = Bunifu.UI.WinForms.BunifuDropdown.Indicator.Right; typeComboBox.ItemBackColor = Color.White; typeComboBox.ItemBorderColor = Color.White; typeComboBox.ItemForeColor = SystemColors.ControlDarkDark; typeComboBox.ItemHeight = 28; typeComboBox.ItemHighLightColor = Color.Gray; typeComboBox.Items.AddRange(new object[] { "All", "Crew", "Office" }); typeComboBox.Location = new Point(92, 25); typeComboBox.MaxDropDownItems = 50; typeComboBox.Name = "typeComboBox"; typeComboBox.Size = new Size(162, 34); typeComboBox.TabIndex = 120; typeComboBox.Text = null; // // BunifuLabel3 // BunifuLabel3.AutoEllipsis = false; BunifuLabel3.CursorType = null; BunifuLabel3.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); BunifuLabel3.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); BunifuLabel3.Location = new Point(621, 78); BunifuLabel3.Name = "BunifuLabel3"; BunifuLabel3.RightToLeft = RightToLeft.No; BunifuLabel3.Size = new Size(264, 24); BunifuLabel3.TabIndex = 25; BunifuLabel3.Text = "Hours per Employee and Site"; BunifuLabel3.TextAlignment = ContentAlignment.TopLeft; BunifuLabel3.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // BunifuLabel2 // BunifuLabel2.AutoEllipsis = false; BunifuLabel2.CursorType = null; BunifuLabel2.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); BunifuLabel2.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); BunifuLabel2.Location = new Point(621, 50); BunifuLabel2.Name = "BunifuLabel2"; BunifuLabel2.RightToLeft = RightToLeft.No; BunifuLabel2.Size = new Size(229, 24); BunifuLabel2.TabIndex = 24; BunifuLabel2.Text = "Hours per Yard and Type"; BunifuLabel2.TextAlignment = ContentAlignment.TopLeft; BunifuLabel2.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // BunifuLabel1 // BunifuLabel1.AutoEllipsis = false; BunifuLabel1.CursorType = null; BunifuLabel1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); BunifuLabel1.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); BunifuLabel1.Location = new Point(621, 22); BunifuLabel1.Name = "BunifuLabel1"; BunifuLabel1.RightToLeft = RightToLeft.No; BunifuLabel1.Size = new Size(139, 24); BunifuLabel1.TabIndex = 23; BunifuLabel1.Text = "Hours per Yard"; BunifuLabel1.TextAlignment = ContentAlignment.TopLeft; BunifuLabel1.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // rblHoursPerSite // rblHoursPerSite.Checked = false; rblHoursPerSite.Location = new Point(590, 22); rblHoursPerSite.Name = "rblHoursPerSite"; rblHoursPerSite.OutlineColor = Color.Teal; rblHoursPerSite.RadioColor = Color.Teal; rblHoursPerSite.Size = new Size(25, 25); rblHoursPerSite.TabIndex = 22; rblHoursPerSite.Text = null; // // rblHoursPerSiteType // rblHoursPerSiteType.Checked = false; rblHoursPerSiteType.Location = new Point(590, 50); rblHoursPerSiteType.Name = "rblHoursPerSiteType"; rblHoursPerSiteType.OutlineColor = Color.Teal; rblHoursPerSiteType.RadioColor = Color.Teal; rblHoursPerSiteType.Size = new Size(25, 25); rblHoursPerSiteType.TabIndex = 21; rblHoursPerSiteType.Text = null; // // rblHoursPerEmployeeSite // rblHoursPerEmployeeSite.Checked = true; rblHoursPerEmployeeSite.Location = new Point(590, 76); rblHoursPerEmployeeSite.Name = "rblHoursPerEmployeeSite"; rblHoursPerEmployeeSite.OutlineColor = Color.Teal; rblHoursPerEmployeeSite.RadioColor = Color.Teal; rblHoursPerEmployeeSite.Size = new Size(25, 25); rblHoursPerEmployeeSite.TabIndex = 20; rblHoursPerEmployeeSite.Text = null; // // Label1 // Label1.AutoSize = true; Label1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label1.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label1.Location = new Point(260, 71); Label1.Name = "Label1"; Label1.Size = new Size(93, 24); Label1.TabIndex = 18; Label1.Text = "End Date:"; // // Label5 // Label5.AutoSize = true; Label5.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label5.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label5.Location = new Point(260, 33); Label5.Name = "Label5"; Label5.Size = new Size(94, 24); Label5.TabIndex = 11; Label5.Text = "Start Date:"; // // Label4 // Label4.AutoSize = true; Label4.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label4.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label4.Location = new Point(39, 73); Label4.Name = "Label4"; Label4.Size = new Size(54, 24); Label4.TabIndex = 9; Label4.Text = "Yard:"; // // Label3 // Label3.AutoSize = true; Label3.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label3.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label3.Location = new Point(39, 33); Label3.Name = "Label3"; Label3.Size = new Size(58, 24); Label3.TabIndex = 7; Label3.Text = "Type:"; // // dgvEmployees // dgvEmployees.AllowCustomTheming = true; dgvEmployees.AllowUserToAddRows = false; dgvEmployees.AllowUserToDeleteRows = false; dgvEmployees.AllowUserToResizeColumns = false; dgvEmployees.AllowUserToResizeRows = false; DataGridViewCellStyle4.BackColor = Color.White; DataGridViewCellStyle4.ForeColor = Color.Black; DataGridViewCellStyle4.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); dgvEmployees.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle4; dgvEmployees.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; dgvEmployees.BackgroundColor = Color.White; dgvEmployees.BorderStyle = BorderStyle.None; dgvEmployees.CellBorderStyle = DataGridViewCellBorderStyle.SingleHorizontal; dgvEmployees.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.None; DataGridViewCellStyle5.Alignment = DataGridViewContentAlignment.MiddleLeft; DataGridViewCellStyle5.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); DataGridViewCellStyle5.Font = new Font("Segoe UI Semibold", 11.75f, FontStyle.Bold); DataGridViewCellStyle5.ForeColor = Color.White; DataGridViewCellStyle5.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); DataGridViewCellStyle5.SelectionForeColor = SystemColors.HighlightText; DataGridViewCellStyle5.WrapMode = DataGridViewTriState.True; dgvEmployees.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle5; dgvEmployees.ColumnHeadersHeight = 40; dgvEmployees.CurrentTheme.AlternatingRowsStyle.BackColor = Color.White; dgvEmployees.CurrentTheme.AlternatingRowsStyle.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); dgvEmployees.CurrentTheme.AlternatingRowsStyle.ForeColor = Color.Black; dgvEmployees.CurrentTheme.AlternatingRowsStyle.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224))); dgvEmployees.CurrentTheme.AlternatingRowsStyle.SelectionForeColor = Color.Black; dgvEmployees.CurrentTheme.BackColor = Color.Snow; dgvEmployees.CurrentTheme.GridColor = Color.Gray; dgvEmployees.CurrentTheme.HeaderStyle.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); dgvEmployees.CurrentTheme.HeaderStyle.Font = new Font("Segoe UI Semibold", 11.75f, FontStyle.Bold); dgvEmployees.CurrentTheme.HeaderStyle.ForeColor = Color.White; dgvEmployees.CurrentTheme.Name = null; dgvEmployees.CurrentTheme.RowsStyle.BackColor = Color.WhiteSmoke; dgvEmployees.CurrentTheme.RowsStyle.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); dgvEmployees.CurrentTheme.RowsStyle.ForeColor = Color.Black; dgvEmployees.CurrentTheme.RowsStyle.SelectionBackColor = Color.Gray; dgvEmployees.CurrentTheme.RowsStyle.SelectionForeColor = Color.Black; DataGridViewCellStyle6.Alignment = DataGridViewContentAlignment.MiddleLeft; DataGridViewCellStyle6.BackColor = Color.WhiteSmoke; DataGridViewCellStyle6.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); DataGridViewCellStyle6.ForeColor = Color.Black; DataGridViewCellStyle6.SelectionBackColor = Color.Gray; DataGridViewCellStyle6.SelectionForeColor = Color.Black; DataGridViewCellStyle6.WrapMode = DataGridViewTriState.False; dgvEmployees.DefaultCellStyle = DataGridViewCellStyle6; dgvEmployees.EnableHeadersVisualStyles = false; dgvEmployees.GridColor = Color.Gray; dgvEmployees.HeaderBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); dgvEmployees.HeaderBgColor = Color.Empty; dgvEmployees.HeaderForeColor = Color.White; dgvEmployees.Location = new Point(57, 212); dgvEmployees.MultiSelect = false; dgvEmployees.Name = "dgvEmployees"; dgvEmployees.ReadOnly = true; dgvEmployees.RowHeadersVisible = false; dgvEmployees.RowTemplate.DefaultCellStyle.SelectionBackColor = Color.Gray; dgvEmployees.RowTemplate.Height = 40; dgvEmployees.SelectionMode = DataGridViewSelectionMode.FullRowSelect; dgvEmployees.Size = new Size(1024, 422); dgvEmployees.TabIndex = 58; dgvEmployees.Theme = Bunifu.UI.WinForms.BunifuDataGridView.PresetThemes.Dark; // // BunifuLabel4 // BunifuLabel4.AutoEllipsis = false; BunifuLabel4.CursorType = null; BunifuLabel4.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); BunifuLabel4.Location = new Point(760, 662); BunifuLabel4.Name = "BunifuLabel4"; BunifuLabel4.RightToLeft = RightToLeft.No; BunifuLabel4.Size = new Size(111, 24); BunifuLabel4.TabIndex = 26; BunifuLabel4.Text = "Total hours:"; BunifuLabel4.TextAlignment = ContentAlignment.TopLeft; BunifuLabel4.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // lblTotHours // lblTotHours.AutoEllipsis = false; lblTotHours.CursorType = null; lblTotHours.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); lblTotHours.Location = new Point(870, 662); lblTotHours.Name = "lblTotHours"; lblTotHours.RightToLeft = RightToLeft.No; lblTotHours.Size = new Size(86, 24); lblTotHours.TabIndex = 59; lblTotHours.Text = "TotHours"; lblTotHours.TextAlignment = ContentAlignment.TopLeft; lblTotHours.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // closeLabel // _closeLabel.Anchor = AnchorStyles.Top | AnchorStyles.Right; _closeLabel.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _closeLabel.Font = new Font("Arial Narrow", 22.25455f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _closeLabel.ForeColor = Color.White; _closeLabel.Location = new Point(1057, -3); _closeLabel.Margin = new Padding(0); _closeLabel.Name = "_closeLabel"; _closeLabel.Size = new Size(40, 41); _closeLabel.TabIndex = 142; _closeLabel.Text = "🗙"; _closeLabel.TextAlign = ContentAlignment.MiddleCenter; // // Label6 // Label6.AutoSize = true; Label6.Font = new Font("Microsoft Sans Serif", 13.74545f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label6.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); Label6.Location = new Point(47, 58); Label6.Name = "Label6"; Label6.Size = new Size(163, 26); Label6.TabIndex = 143; Label6.Text = "Hours Worked"; // // FrmSafetyRiskManagement // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.Snow; ClientSize = new Size(1099, 705); ControlBox = false; Controls.Add(Label6); Controls.Add(_closeLabel); Controls.Add(lblTotHours); Controls.Add(BunifuLabel4); Controls.Add(dgvEmployees); Controls.Add(GroupBox1); Controls.Add(Label2); FormBorderStyle = FormBorderStyle.None; Name = "FrmSafetyRiskManagement"; StartPosition = FormStartPosition.CenterScreen; GroupBox1.ResumeLayout(false); GroupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)dgvEmployees).EndInit(); Load += new EventHandler(FrmSafetyRiskManagement_Load); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { components = new System.ComponentModel.Container(); var resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAddCompanyToDriver)); var BorderEdges3 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderEdges(); var StateProperties5 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties6 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var BorderEdges1 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderEdges(); var StateProperties1 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties2 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var BorderEdges2 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderEdges(); var StateProperties3 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties4 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var DataGridViewCellStyle1 = new DataGridViewCellStyle(); var DataGridViewCellStyle2 = new DataGridViewCellStyle(); var DataGridViewCellStyle3 = new DataGridViewCellStyle(); var DataGridViewCellStyle4 = new DataGridViewCellStyle(); _closeLabel = new Label(); _closeLabel.Click += new EventHandler(closeLabel_Click); Label2 = new Label(); BunifuLabel7 = new Bunifu.UI.WinForms.BunifuLabel(); TableLayoutPanel2 = new TableLayoutPanel(); TableLayoutPanel1 = new TableLayoutPanel(); _ckbEdit = new CheckBox(); _ckbEdit.Click += new EventHandler(ckbEdit_Click); _btnSave = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnSave.Click += new EventHandler(btnSave_Click); _btnDisconnect = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnDisconnect.Click += new EventHandler(btnDisconnect_Click); _btnLink = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnLink.Click += new EventHandler(btnLink_Click); Label6 = new Label(); ddlTruckCompany = new ComboBox(); CompaniesNameBindingSource = new BindingSource(components); _dgvTruckDriverCompany = new Bunifu.UI.WinForms.BunifuDataGridView(); _dgvTruckDriverCompany.CellClick += new DataGridViewCellEventHandler(dgvTruckDriverCompany_CellClick); DataGridViewTextBoxColumn5 = new DataGridViewTextBoxColumn(); DataGridViewTextBoxColumn3 = new DataGridViewTextBoxColumn(); DataGridViewTextBoxColumn4 = new DataGridViewTextBoxColumn(); PortPassId = new DataGridViewTextBoxColumn(); TruckNumberDataGridViewTextBoxColumn = new DataGridViewTextBoxColumn(); FirstNameDataGridViewTextBoxColumn = new DataGridViewTextBoxColumn(); LastNameDataGridViewTextBoxColumn = new DataGridViewTextBoxColumn(); FullNameDataGridViewTextBoxColumn = new DataGridViewTextBoxColumn(); SuspendTruckDriverDataGridViewTextBoxColumn = new DataGridViewTextBoxColumn(); DataGridViewTextBoxColumn2 = new DataGridViewTextBoxColumn(); DataGridViewTextBoxColumn1 = new DataGridViewTextBoxColumn(); TruckDriverListBindingSourceGridView = new BindingSource(components); Panel2 = new Panel(); lblNameDriver = new Label(); TableLayoutPanel2.SuspendLayout(); TableLayoutPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)CompaniesNameBindingSource).BeginInit(); ((System.ComponentModel.ISupportInitialize)_dgvTruckDriverCompany).BeginInit(); ((System.ComponentModel.ISupportInitialize)TruckDriverListBindingSourceGridView).BeginInit(); Panel2.SuspendLayout(); SuspendLayout(); // // closeLabel // _closeLabel.Anchor = AnchorStyles.Top | AnchorStyles.Right; _closeLabel.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _closeLabel.Font = new Font("Arial Narrow", 22.25455f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _closeLabel.ForeColor = Color.White; _closeLabel.Location = new Point(892, -1); _closeLabel.Margin = new Padding(0); _closeLabel.Name = "_closeLabel"; _closeLabel.Size = new Size(40, 41); _closeLabel.TabIndex = 146; _closeLabel.Text = "🗙"; _closeLabel.TextAlign = ContentAlignment.MiddleCenter; // // Label2 // Label2.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label2.Dock = DockStyle.Top; Label2.Font = new Font("Microsoft Sans Serif", 22.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.ForeColor = Color.White; Label2.Location = new Point(0, 0); Label2.Name = "Label2"; Label2.Size = new Size(932, 41); Label2.TabIndex = 145; Label2.TextAlign = ContentAlignment.MiddleCenter; // // BunifuLabel7 // BunifuLabel7.AutoEllipsis = false; BunifuLabel7.CursorType = null; BunifuLabel7.Font = new Font("Microsoft Sans Serif", 14.0f); BunifuLabel7.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); BunifuLabel7.Location = new Point(12, 60); BunifuLabel7.Name = "BunifuLabel7"; BunifuLabel7.RightToLeft = RightToLeft.No; BunifuLabel7.Size = new Size(239, 26); BunifuLabel7.TabIndex = 238; BunifuLabel7.Text = "Connect Company to Driver:"; BunifuLabel7.TextAlignment = ContentAlignment.TopLeft; BunifuLabel7.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // TableLayoutPanel2 // TableLayoutPanel2.ColumnCount = 3; TableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100.0f)); TableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 625.0f)); TableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 185.0f)); TableLayoutPanel2.Controls.Add(_btnDisconnect, 2, 1); TableLayoutPanel2.Controls.Add(_btnLink, 2, 0); TableLayoutPanel2.Controls.Add(Label6, 0, 0); TableLayoutPanel2.Controls.Add(ddlTruckCompany, 1, 0); TableLayoutPanel2.Location = new Point(5, 5); TableLayoutPanel2.Name = "TableLayoutPanel2"; TableLayoutPanel2.RowCount = 2; TableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 40.0f)); TableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 40.0f)); TableLayoutPanel2.Size = new Size(897, 80); TableLayoutPanel2.TabIndex = 239; // // TableLayoutPanel1 // TableLayoutPanel1.Anchor = AnchorStyles.Left; TableLayoutPanel1.ColumnCount = 2; TableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 35.71429f)); TableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 64.28571f)); TableLayoutPanel1.Controls.Add(_ckbEdit, 0, 0); TableLayoutPanel1.Controls.Add(_btnSave, 1, 0); TableLayoutPanel1.Location = new Point(718, 86); TableLayoutPanel1.Name = "TableLayoutPanel1"; TableLayoutPanel1.RowCount = 1; TableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 50.0f)); TableLayoutPanel1.Size = new Size(184, 39); TableLayoutPanel1.TabIndex = 245; // // ckbEdit // _ckbEdit.Anchor = AnchorStyles.None; _ckbEdit.AutoSize = true; _ckbEdit.Location = new Point(10, 11); _ckbEdit.Name = "_ckbEdit"; _ckbEdit.Size = new Size(44, 17); _ckbEdit.TabIndex = 244; _ckbEdit.Text = "Edit"; _ckbEdit.UseVisualStyleBackColor = true; // // btnSave // _btnSave.AllowToggling = false; _btnSave.Anchor = AnchorStyles.None; _btnSave.AnimationSpeed = 200; _btnSave.AutoGenerateColors = false; _btnSave.BackColor = Color.Transparent; _btnSave.BackColor1 = Color.Teal; _btnSave.BackgroundImage = (Image)resources.GetObject("btnSave.BackgroundImage"); _btnSave.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnSave.ButtonText = "Save"; _btnSave.ButtonTextMarginLeft = 0; _btnSave.ColorContrastOnClick = 45; _btnSave.ColorContrastOnHover = 45; _btnSave.Cursor = Cursors.Hand; BorderEdges3.BottomLeft = true; BorderEdges3.BottomRight = true; BorderEdges3.TopLeft = true; BorderEdges3.TopRight = true; _btnSave.CustomizableEdges = BorderEdges3; _btnSave.DialogResult = DialogResult.None; _btnSave.DisabledBorderColor = Color.Empty; _btnSave.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnSave.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnSave.Enabled = false; _btnSave.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnSave.Font = new Font("Segoe UI Semibold", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnSave.ForeColor = Color.White; _btnSave.IconLeftCursor = Cursors.Hand; _btnSave.IconMarginLeft = 11; _btnSave.IconPadding = 10; _btnSave.IconRightCursor = Cursors.Hand; _btnSave.IdleBorderColor = Color.Teal; _btnSave.IdleBorderRadius = 3; _btnSave.IdleBorderThickness = 1; _btnSave.IdleFillColor = Color.Teal; _btnSave.IdleIconLeftImage = null; _btnSave.IdleIconRightImage = null; _btnSave.IndicateFocus = true; _btnSave.Location = new Point(68, 3); _btnSave.Name = "_btnSave"; StateProperties5.BorderColor = Color.MediumTurquoise; StateProperties5.BorderRadius = 3; StateProperties5.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties5.BorderThickness = 1; StateProperties5.FillColor = Color.MediumTurquoise; StateProperties5.ForeColor = Color.White; StateProperties5.IconLeftImage = null; StateProperties5.IconRightImage = null; _btnSave.onHoverState = StateProperties5; StateProperties6.BorderColor = Color.Teal; StateProperties6.BorderRadius = 3; StateProperties6.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties6.BorderThickness = 1; StateProperties6.FillColor = Color.Teal; StateProperties6.ForeColor = Color.White; StateProperties6.IconLeftImage = null; StateProperties6.IconRightImage = null; _btnSave.OnPressedState = StateProperties6; _btnSave.Size = new Size(113, 33); _btnSave.TabIndex = 242; _btnSave.TextAlign = ContentAlignment.MiddleCenter; _btnSave.TextMarginLeft = 0; _btnSave.UseDefaultRadiusAndThickness = true; // // btnDisconnect // _btnDisconnect.AllowToggling = false; _btnDisconnect.Anchor = AnchorStyles.Right; _btnDisconnect.AnimationSpeed = 200; _btnDisconnect.AutoGenerateColors = false; _btnDisconnect.BackColor = Color.Transparent; _btnDisconnect.BackColor1 = Color.IndianRed; _btnDisconnect.BackgroundImage = (Image)resources.GetObject("btnDisconnect.BackgroundImage"); _btnDisconnect.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnDisconnect.ButtonText = "Disconnect"; _btnDisconnect.ButtonTextMarginLeft = 0; _btnDisconnect.ColorContrastOnClick = 45; _btnDisconnect.ColorContrastOnHover = 45; _btnDisconnect.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _btnDisconnect.CustomizableEdges = BorderEdges1; _btnDisconnect.DialogResult = DialogResult.None; _btnDisconnect.DisabledBorderColor = Color.Empty; _btnDisconnect.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnDisconnect.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnDisconnect.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnDisconnect.Font = new Font("Segoe UI Semibold", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnDisconnect.ForeColor = Color.White; _btnDisconnect.IconLeftCursor = Cursors.Hand; _btnDisconnect.IconMarginLeft = 11; _btnDisconnect.IconPadding = 10; _btnDisconnect.IconRightCursor = Cursors.Hand; _btnDisconnect.IdleBorderColor = Color.IndianRed; _btnDisconnect.IdleBorderRadius = 3; _btnDisconnect.IdleBorderThickness = 1; _btnDisconnect.IdleFillColor = Color.IndianRed; _btnDisconnect.IdleIconLeftImage = null; _btnDisconnect.IdleIconRightImage = null; _btnDisconnect.IndicateFocus = true; _btnDisconnect.Location = new Point(723, 43); _btnDisconnect.Name = "_btnDisconnect"; StateProperties1.BorderColor = Color.Salmon; StateProperties1.BorderRadius = 3; StateProperties1.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties1.BorderThickness = 1; StateProperties1.FillColor = Color.Salmon; StateProperties1.ForeColor = Color.White; StateProperties1.IconLeftImage = null; StateProperties1.IconRightImage = null; _btnDisconnect.onHoverState = StateProperties1; StateProperties2.BorderColor = Color.IndianRed; StateProperties2.BorderRadius = 3; StateProperties2.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties2.BorderThickness = 1; StateProperties2.FillColor = Color.IndianRed; StateProperties2.ForeColor = Color.White; StateProperties2.IconLeftImage = null; StateProperties2.IconRightImage = null; _btnDisconnect.OnPressedState = StateProperties2; _btnDisconnect.Size = new Size(171, 34); _btnDisconnect.TabIndex = 242; _btnDisconnect.TextAlign = ContentAlignment.MiddleCenter; _btnDisconnect.TextMarginLeft = 0; _btnDisconnect.UseDefaultRadiusAndThickness = true; // // btnLink // _btnLink.AllowToggling = false; _btnLink.Anchor = AnchorStyles.Right; _btnLink.AnimationSpeed = 200; _btnLink.AutoGenerateColors = false; _btnLink.BackColor = Color.Transparent; _btnLink.BackColor1 = Color.Teal; _btnLink.BackgroundImage = (Image)resources.GetObject("btnLink.BackgroundImage"); _btnLink.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnLink.ButtonText = "Connect"; _btnLink.ButtonTextMarginLeft = 0; _btnLink.ColorContrastOnClick = 45; _btnLink.ColorContrastOnHover = 45; _btnLink.Cursor = Cursors.Hand; BorderEdges2.BottomLeft = true; BorderEdges2.BottomRight = true; BorderEdges2.TopLeft = true; BorderEdges2.TopRight = true; _btnLink.CustomizableEdges = BorderEdges2; _btnLink.DialogResult = DialogResult.None; _btnLink.DisabledBorderColor = Color.Empty; _btnLink.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnLink.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnLink.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnLink.Font = new Font("Segoe UI Semibold", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnLink.ForeColor = Color.White; _btnLink.IconLeftCursor = Cursors.Hand; _btnLink.IconMarginLeft = 11; _btnLink.IconPadding = 10; _btnLink.IconRightCursor = Cursors.Hand; _btnLink.IdleBorderColor = Color.Teal; _btnLink.IdleBorderRadius = 3; _btnLink.IdleBorderThickness = 1; _btnLink.IdleFillColor = Color.Teal; _btnLink.IdleIconLeftImage = null; _btnLink.IdleIconRightImage = null; _btnLink.IndicateFocus = true; _btnLink.Location = new Point(723, 3); _btnLink.Name = "_btnLink"; StateProperties3.BorderColor = Color.MediumTurquoise; StateProperties3.BorderRadius = 3; StateProperties3.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties3.BorderThickness = 1; StateProperties3.FillColor = Color.MediumTurquoise; StateProperties3.ForeColor = Color.White; StateProperties3.IconLeftImage = null; StateProperties3.IconRightImage = null; _btnLink.onHoverState = StateProperties3; StateProperties4.BorderColor = Color.Teal; StateProperties4.BorderRadius = 3; StateProperties4.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties4.BorderThickness = 1; StateProperties4.FillColor = Color.Teal; StateProperties4.ForeColor = Color.White; StateProperties4.IconLeftImage = null; StateProperties4.IconRightImage = null; _btnLink.OnPressedState = StateProperties4; _btnLink.Size = new Size(171, 34); _btnLink.TabIndex = 241; _btnLink.TextAlign = ContentAlignment.MiddleCenter; _btnLink.TextMarginLeft = 0; _btnLink.UseDefaultRadiusAndThickness = true; // // Label6 // Label6.Anchor = AnchorStyles.Left; Label6.AutoSize = true; Label6.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label6.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label6.Location = new Point(3, 10); Label6.Name = "Label6"; Label6.Size = new Size(80, 20); Label6.TabIndex = 211; Label6.Text = "Company:"; // // ddlTruckCompany // ddlTruckCompany.AutoCompleteMode = AutoCompleteMode.Append; ddlTruckCompany.AutoCompleteSource = AutoCompleteSource.ListItems; ddlTruckCompany.DataSource = CompaniesNameBindingSource; ddlTruckCompany.DisplayMember = "CompanyName"; ddlTruckCompany.Font = new Font("Microsoft Sans Serif", 14.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); ddlTruckCompany.FormattingEnabled = true; ddlTruckCompany.Location = new Point(90, 3); ddlTruckCompany.Name = "ddlTruckCompany"; ddlTruckCompany.Size = new Size(592, 32); ddlTruckCompany.TabIndex = 237; ddlTruckCompany.ValueMember = "CompanieId"; // // CompaniesNameBindingSource // CompaniesNameBindingSource.DataSource = typeof(ModelLayer.CustomModel.CompaniesName); // // dgvTruckDriverCompany // _dgvTruckDriverCompany.AllowCustomTheming = true; _dgvTruckDriverCompany.AllowUserToAddRows = false; _dgvTruckDriverCompany.AllowUserToDeleteRows = false; _dgvTruckDriverCompany.AllowUserToResizeColumns = false; _dgvTruckDriverCompany.AllowUserToResizeRows = false; DataGridViewCellStyle1.BackColor = Color.White; DataGridViewCellStyle1.ForeColor = Color.Black; DataGridViewCellStyle1.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _dgvTruckDriverCompany.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1; _dgvTruckDriverCompany.AutoGenerateColumns = false; _dgvTruckDriverCompany.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; _dgvTruckDriverCompany.BackgroundColor = Color.White; _dgvTruckDriverCompany.BorderStyle = BorderStyle.None; _dgvTruckDriverCompany.CellBorderStyle = DataGridViewCellBorderStyle.SingleHorizontal; _dgvTruckDriverCompany.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.None; DataGridViewCellStyle2.Alignment = DataGridViewContentAlignment.TopLeft; DataGridViewCellStyle2.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); DataGridViewCellStyle2.Font = new Font("Segoe UI Semibold", 11.75f, FontStyle.Bold); DataGridViewCellStyle2.ForeColor = Color.White; DataGridViewCellStyle2.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); DataGridViewCellStyle2.SelectionForeColor = SystemColors.HighlightText; DataGridViewCellStyle2.WrapMode = DataGridViewTriState.True; _dgvTruckDriverCompany.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle2; _dgvTruckDriverCompany.ColumnHeadersHeight = 45; _dgvTruckDriverCompany.Columns.AddRange(new DataGridViewColumn[] { DataGridViewTextBoxColumn5, DataGridViewTextBoxColumn3, DataGridViewTextBoxColumn4, PortPassId, TruckNumberDataGridViewTextBoxColumn, FirstNameDataGridViewTextBoxColumn, LastNameDataGridViewTextBoxColumn, FullNameDataGridViewTextBoxColumn, SuspendTruckDriverDataGridViewTextBoxColumn, DataGridViewTextBoxColumn2, DataGridViewTextBoxColumn1 }); _dgvTruckDriverCompany.CurrentTheme.AlternatingRowsStyle.BackColor = Color.White; _dgvTruckDriverCompany.CurrentTheme.AlternatingRowsStyle.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); _dgvTruckDriverCompany.CurrentTheme.AlternatingRowsStyle.ForeColor = Color.Black; _dgvTruckDriverCompany.CurrentTheme.AlternatingRowsStyle.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224))); _dgvTruckDriverCompany.CurrentTheme.AlternatingRowsStyle.SelectionForeColor = Color.Black; _dgvTruckDriverCompany.CurrentTheme.BackColor = Color.Snow; _dgvTruckDriverCompany.CurrentTheme.GridColor = Color.Gray; _dgvTruckDriverCompany.CurrentTheme.HeaderStyle.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _dgvTruckDriverCompany.CurrentTheme.HeaderStyle.Font = new Font("Segoe UI Semibold", 11.75f, FontStyle.Bold); _dgvTruckDriverCompany.CurrentTheme.HeaderStyle.ForeColor = Color.White; _dgvTruckDriverCompany.CurrentTheme.Name = null; _dgvTruckDriverCompany.CurrentTheme.RowsStyle.BackColor = Color.WhiteSmoke; _dgvTruckDriverCompany.CurrentTheme.RowsStyle.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); _dgvTruckDriverCompany.CurrentTheme.RowsStyle.ForeColor = Color.Black; _dgvTruckDriverCompany.CurrentTheme.RowsStyle.SelectionBackColor = Color.Gray; _dgvTruckDriverCompany.CurrentTheme.RowsStyle.SelectionForeColor = Color.Black; _dgvTruckDriverCompany.DataSource = TruckDriverListBindingSourceGridView; DataGridViewCellStyle3.Alignment = DataGridViewContentAlignment.MiddleLeft; DataGridViewCellStyle3.BackColor = Color.WhiteSmoke; DataGridViewCellStyle3.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); DataGridViewCellStyle3.ForeColor = Color.Black; DataGridViewCellStyle3.SelectionBackColor = Color.Gray; DataGridViewCellStyle3.SelectionForeColor = Color.Black; DataGridViewCellStyle3.WrapMode = DataGridViewTriState.False; _dgvTruckDriverCompany.DefaultCellStyle = DataGridViewCellStyle3; _dgvTruckDriverCompany.EnableHeadersVisualStyles = false; _dgvTruckDriverCompany.GridColor = Color.Gray; _dgvTruckDriverCompany.HeaderBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _dgvTruckDriverCompany.HeaderBgColor = Color.Empty; _dgvTruckDriverCompany.HeaderForeColor = Color.White; _dgvTruckDriverCompany.Location = new Point(13, 239); _dgvTruckDriverCompany.MultiSelect = false; _dgvTruckDriverCompany.Name = "_dgvTruckDriverCompany"; _dgvTruckDriverCompany.ReadOnly = true; _dgvTruckDriverCompany.RowHeadersVisible = false; _dgvTruckDriverCompany.RowHeadersWidth = 40; DataGridViewCellStyle4.Alignment = DataGridViewContentAlignment.MiddleLeft; _dgvTruckDriverCompany.RowsDefaultCellStyle = DataGridViewCellStyle4; _dgvTruckDriverCompany.RowTemplate.DefaultCellStyle.SelectionBackColor = Color.Gray; _dgvTruckDriverCompany.RowTemplate.Height = 40; _dgvTruckDriverCompany.ScrollBars = ScrollBars.Vertical; _dgvTruckDriverCompany.SelectionMode = DataGridViewSelectionMode.FullRowSelect; _dgvTruckDriverCompany.Size = new Size(907, 283); _dgvTruckDriverCompany.TabIndex = 241; _dgvTruckDriverCompany.Theme = Bunifu.UI.WinForms.BunifuDataGridView.PresetThemes.Dark; // // DataGridViewTextBoxColumn5 // DataGridViewTextBoxColumn5.DataPropertyName = "TruckDriverCompanyId"; DataGridViewTextBoxColumn5.HeaderText = "TruckDriverCompanyId"; DataGridViewTextBoxColumn5.Name = "DataGridViewTextBoxColumn5"; DataGridViewTextBoxColumn5.ReadOnly = true; DataGridViewTextBoxColumn5.Visible = false; // // DataGridViewTextBoxColumn3 // DataGridViewTextBoxColumn3.DataPropertyName = "CompanyCode"; DataGridViewTextBoxColumn3.FillWeight = 194.9239f; DataGridViewTextBoxColumn3.HeaderText = "Code"; DataGridViewTextBoxColumn3.MinimumWidth = 105; DataGridViewTextBoxColumn3.Name = "DataGridViewTextBoxColumn3"; DataGridViewTextBoxColumn3.ReadOnly = true; // // DataGridViewTextBoxColumn4 // DataGridViewTextBoxColumn4.DataPropertyName = "CompanyName"; DataGridViewTextBoxColumn4.FillWeight = 5.076141f; DataGridViewTextBoxColumn4.HeaderText = "Company"; DataGridViewTextBoxColumn4.MinimumWidth = 530; DataGridViewTextBoxColumn4.Name = "DataGridViewTextBoxColumn4"; DataGridViewTextBoxColumn4.ReadOnly = true; // // PortPassId // PortPassId.DataPropertyName = "PortPassId"; PortPassId.HeaderText = "Pass Id"; PortPassId.MinimumWidth = 130; PortPassId.Name = "PortPassId"; PortPassId.ReadOnly = true; // // TruckNumberDataGridViewTextBoxColumn // TruckNumberDataGridViewTextBoxColumn.DataPropertyName = "TruckNumber"; TruckNumberDataGridViewTextBoxColumn.HeaderText = "Truck Number"; TruckNumberDataGridViewTextBoxColumn.MinimumWidth = 142; TruckNumberDataGridViewTextBoxColumn.Name = "TruckNumberDataGridViewTextBoxColumn"; TruckNumberDataGridViewTextBoxColumn.ReadOnly = true; // // FirstNameDataGridViewTextBoxColumn // FirstNameDataGridViewTextBoxColumn.DataPropertyName = "FirstName"; FirstNameDataGridViewTextBoxColumn.HeaderText = "FirstName"; FirstNameDataGridViewTextBoxColumn.Name = "FirstNameDataGridViewTextBoxColumn"; FirstNameDataGridViewTextBoxColumn.ReadOnly = true; FirstNameDataGridViewTextBoxColumn.Visible = false; // // LastNameDataGridViewTextBoxColumn // LastNameDataGridViewTextBoxColumn.DataPropertyName = "LastName"; LastNameDataGridViewTextBoxColumn.HeaderText = "LastName"; LastNameDataGridViewTextBoxColumn.Name = "LastNameDataGridViewTextBoxColumn"; LastNameDataGridViewTextBoxColumn.ReadOnly = true; LastNameDataGridViewTextBoxColumn.Visible = false; // // FullNameDataGridViewTextBoxColumn // FullNameDataGridViewTextBoxColumn.DataPropertyName = "FullName"; FullNameDataGridViewTextBoxColumn.HeaderText = "FullName"; FullNameDataGridViewTextBoxColumn.Name = "FullNameDataGridViewTextBoxColumn"; FullNameDataGridViewTextBoxColumn.ReadOnly = true; FullNameDataGridViewTextBoxColumn.Visible = false; // // SuspendTruckDriverDataGridViewTextBoxColumn // SuspendTruckDriverDataGridViewTextBoxColumn.DataPropertyName = "SuspendTruckDriver"; SuspendTruckDriverDataGridViewTextBoxColumn.HeaderText = "SuspendTruckDriver"; SuspendTruckDriverDataGridViewTextBoxColumn.Name = "SuspendTruckDriverDataGridViewTextBoxColumn"; SuspendTruckDriverDataGridViewTextBoxColumn.ReadOnly = true; SuspendTruckDriverDataGridViewTextBoxColumn.Visible = false; // // DataGridViewTextBoxColumn2 // DataGridViewTextBoxColumn2.DataPropertyName = "CompanyId"; DataGridViewTextBoxColumn2.HeaderText = "CompanyId"; DataGridViewTextBoxColumn2.Name = "DataGridViewTextBoxColumn2"; DataGridViewTextBoxColumn2.ReadOnly = true; DataGridViewTextBoxColumn2.Visible = false; // // DataGridViewTextBoxColumn1 // DataGridViewTextBoxColumn1.DataPropertyName = "TruckDriverId"; DataGridViewTextBoxColumn1.HeaderText = "TruckDriverId"; DataGridViewTextBoxColumn1.Name = "DataGridViewTextBoxColumn1"; DataGridViewTextBoxColumn1.ReadOnly = true; DataGridViewTextBoxColumn1.Visible = false; // // TruckDriverListBindingSourceGridView // TruckDriverListBindingSourceGridView.DataSource = typeof(ModelLayer.CustomModel.TruckDriverList); // // Panel2 // Panel2.BorderStyle = BorderStyle.FixedSingle; Panel2.Controls.Add(TableLayoutPanel1); Panel2.Controls.Add(TableLayoutPanel2); Panel2.Location = new Point(12, 97); Panel2.Name = "Panel2"; Panel2.Size = new Size(908, 130); Panel2.TabIndex = 242; // // lblNameDriver // lblNameDriver.AutoSize = true; lblNameDriver.Font = new Font("Microsoft Sans Serif", 14.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); lblNameDriver.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); lblNameDriver.Location = new Point(251, 62); lblNameDriver.Name = "lblNameDriver"; lblNameDriver.Size = new Size(126, 24); lblNameDriver.TabIndex = 243; lblNameDriver.Text = "Name Driver"; // // frmAddCompanyToDriver // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(932, 536); Controls.Add(_dgvTruckDriverCompany); Controls.Add(lblNameDriver); Controls.Add(Panel2); Controls.Add(BunifuLabel7); Controls.Add(_closeLabel); Controls.Add(Label2); FormBorderStyle = FormBorderStyle.None; Name = "frmAddCompanyToDriver"; Text = "frmAddCompanyToDriver"; TableLayoutPanel2.ResumeLayout(false); TableLayoutPanel2.PerformLayout(); TableLayoutPanel1.ResumeLayout(false); TableLayoutPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)CompaniesNameBindingSource).EndInit(); ((System.ComponentModel.ISupportInitialize)_dgvTruckDriverCompany).EndInit(); ((System.ComponentModel.ISupportInitialize)TruckDriverListBindingSourceGridView).EndInit(); Panel2.ResumeLayout(false); Load += new EventHandler(frmAddCompanyToDriver_Load); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { components = new System.ComponentModel.Container(); var resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAddDocumentType)); var StateProperties1 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties2 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties3 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties4 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var BorderEdges1 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderEdges(); var StateProperties5 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties6 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var BorderEdges2 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderEdges(); var StateProperties7 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties8 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var DataGridViewCellStyle1 = new DataGridViewCellStyle(); var DataGridViewCellStyle2 = new DataGridViewCellStyle(); var DataGridViewCellStyle3 = new DataGridViewCellStyle(); var BorderEdges3 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderEdges(); var StateProperties9 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties10 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties11 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties12 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties13 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties14 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); Label2 = new Label(); BunifuLabel3 = new Bunifu.UI.WinForms.BunifuLabel(); txtDocumentType = new BunifuTextBox(); _btnInsert = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnInsert.Click += new EventHandler(btnInsert_Click); _btnClose = new Label(); _btnClose.Click += new EventHandler(btnClose_Click); BunifuLabel5 = new Bunifu.UI.WinForms.BunifuLabel(); ddlDepartment = new Bunifu.UI.WinForms.BunifuDropdown(); DocumentsStoredDepartmentBindingSource = new BindingSource(components); GroupBox1 = new GroupBox(); BunifuButton1 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); Panel1 = new Panel(); dgvDocGroup = new Bunifu.UI.WinForms.BunifuDataGridView(); Column1 = new DataGridViewTextBoxColumn(); Chebox = new DataGridViewCheckBoxColumn(); Group = new DataGridViewTextBoxColumn(); btnAddDepartment = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); BunifuTextBox1 = new BunifuTextBox(); BunifuLabel1 = new Bunifu.UI.WinForms.BunifuLabel(); ((System.ComponentModel.ISupportInitialize)DocumentsStoredDepartmentBindingSource).BeginInit(); GroupBox1.SuspendLayout(); Panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)dgvDocGroup).BeginInit(); SuspendLayout(); // // Label2 // Label2.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label2.Dock = DockStyle.Top; Label2.Font = new Font("Microsoft Sans Serif", 22.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.ForeColor = Color.White; Label2.Location = new Point(0, 0); Label2.Name = "Label2"; Label2.Size = new Size(629, 41); Label2.TabIndex = 146; Label2.TextAlign = ContentAlignment.MiddleCenter; // // BunifuLabel3 // BunifuLabel3.AutoEllipsis = false; BunifuLabel3.CursorType = null; BunifuLabel3.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); BunifuLabel3.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); BunifuLabel3.Location = new Point(40, 137); BunifuLabel3.Name = "BunifuLabel3"; BunifuLabel3.RightToLeft = RightToLeft.No; BunifuLabel3.Size = new Size(135, 24); BunifuLabel3.TabIndex = 192; BunifuLabel3.Text = "Document Type:"; BunifuLabel3.TextAlignment = ContentAlignment.TopLeft; BunifuLabel3.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // txtDocumentType // txtDocumentType.AcceptsReturn = false; txtDocumentType.AcceptsTab = false; txtDocumentType.AnimationSpeed = 200; txtDocumentType.AutoCompleteMode = AutoCompleteMode.None; txtDocumentType.AutoCompleteSource = AutoCompleteSource.None; txtDocumentType.BackColor = Color.Transparent; txtDocumentType.BackgroundImage = (Image)resources.GetObject("txtDocumentType.BackgroundImage"); txtDocumentType.BorderColorActive = Color.DodgerBlue; txtDocumentType.BorderColorDisabled = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161))); txtDocumentType.BorderColorHover = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); txtDocumentType.BorderColorIdle = Color.Silver; txtDocumentType.BorderRadius = 1; txtDocumentType.BorderThickness = 1; txtDocumentType.CharacterCasing = CharacterCasing.Upper; txtDocumentType.Cursor = Cursors.IBeam; txtDocumentType.DefaultFont = new Font("Segoe UI Semibold", 9.75f); txtDocumentType.DefaultText = ""; txtDocumentType.FillColor = Color.White; txtDocumentType.HideSelection = true; txtDocumentType.IconLeft = null; txtDocumentType.IconLeftCursor = Cursors.IBeam; txtDocumentType.IconPadding = 10; txtDocumentType.IconRight = null; txtDocumentType.IconRightCursor = Cursors.IBeam; txtDocumentType.Lines = new string[0]; txtDocumentType.Location = new Point(175, 130); txtDocumentType.MaxLength = 32767; txtDocumentType.MinimumSize = new Size(100, 35); txtDocumentType.Modified = false; txtDocumentType.Multiline = false; txtDocumentType.Name = "txtDocumentType"; StateProperties1.BorderColor = Color.DodgerBlue; StateProperties1.FillColor = Color.Empty; StateProperties1.ForeColor = Color.Empty; StateProperties1.PlaceholderForeColor = Color.Empty; txtDocumentType.OnActiveState = StateProperties1; StateProperties2.BorderColor = Color.Empty; StateProperties2.FillColor = Color.White; StateProperties2.ForeColor = Color.Empty; StateProperties2.PlaceholderForeColor = Color.Silver; txtDocumentType.OnDisabledState = StateProperties2; StateProperties3.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); StateProperties3.FillColor = Color.Empty; StateProperties3.ForeColor = Color.Empty; StateProperties3.PlaceholderForeColor = Color.Empty; txtDocumentType.OnHoverState = StateProperties3; StateProperties4.BorderColor = Color.Silver; StateProperties4.FillColor = Color.White; StateProperties4.ForeColor = Color.Empty; StateProperties4.PlaceholderForeColor = Color.Empty; txtDocumentType.OnIdleState = StateProperties4; txtDocumentType.PasswordChar = '\0'; txtDocumentType.PlaceholderForeColor = Color.Silver; txtDocumentType.PlaceholderText = "ENTER TEXT"; txtDocumentType.ReadOnly = false; txtDocumentType.ScrollBars = ScrollBars.None; txtDocumentType.SelectedText = ""; txtDocumentType.SelectionLength = 0; txtDocumentType.SelectionStart = 0; txtDocumentType.ShortcutsEnabled = true; txtDocumentType.Size = new Size(425, 35); txtDocumentType.Style = _Style.Bunifu; txtDocumentType.TabIndex = 193; txtDocumentType.TextAlign = HorizontalAlignment.Left; txtDocumentType.TextMarginBottom = 0; txtDocumentType.TextMarginLeft = 5; txtDocumentType.TextMarginTop = 0; txtDocumentType.TextPlaceholder = "ENTER TEXT"; txtDocumentType.UseSystemPasswordChar = false; txtDocumentType.WordWrap = true; // // btnInsert // _btnInsert.AllowToggling = false; _btnInsert.AnimationSpeed = 200; _btnInsert.AutoGenerateColors = false; _btnInsert.BackColor = Color.Transparent; _btnInsert.BackColor1 = Color.Teal; _btnInsert.BackgroundImage = (Image)resources.GetObject("btnInsert.BackgroundImage"); _btnInsert.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnInsert.ButtonText = "Insert"; _btnInsert.ButtonTextMarginLeft = 0; _btnInsert.ColorContrastOnClick = 45; _btnInsert.ColorContrastOnHover = 45; _btnInsert.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _btnInsert.CustomizableEdges = BorderEdges1; _btnInsert.DialogResult = DialogResult.None; _btnInsert.DisabledBorderColor = Color.Empty; _btnInsert.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnInsert.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnInsert.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnInsert.Font = new Font("Segoe UI Semibold", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnInsert.ForeColor = Color.White; _btnInsert.IconLeftCursor = Cursors.Hand; _btnInsert.IconMarginLeft = 11; _btnInsert.IconPadding = 10; _btnInsert.IconRightCursor = Cursors.Hand; _btnInsert.IdleBorderColor = Color.Teal; _btnInsert.IdleBorderRadius = 3; _btnInsert.IdleBorderThickness = 1; _btnInsert.IdleFillColor = Color.Teal; _btnInsert.IdleIconLeftImage = null; _btnInsert.IdleIconRightImage = null; _btnInsert.IndicateFocus = true; _btnInsert.Location = new Point(508, 176); _btnInsert.Name = "_btnInsert"; StateProperties5.BorderColor = Color.MediumTurquoise; StateProperties5.BorderRadius = 3; StateProperties5.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties5.BorderThickness = 1; StateProperties5.FillColor = Color.MediumTurquoise; StateProperties5.ForeColor = Color.White; StateProperties5.IconLeftImage = null; StateProperties5.IconRightImage = null; _btnInsert.onHoverState = StateProperties5; StateProperties6.BorderColor = Color.Teal; StateProperties6.BorderRadius = 3; StateProperties6.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties6.BorderThickness = 1; StateProperties6.FillColor = Color.Teal; StateProperties6.ForeColor = Color.White; StateProperties6.IconLeftImage = null; StateProperties6.IconRightImage = null; _btnInsert.OnPressedState = StateProperties6; _btnInsert.Size = new Size(100, 40); _btnInsert.TabIndex = 199; _btnInsert.TextAlign = ContentAlignment.MiddleCenter; _btnInsert.TextMarginLeft = 0; _btnInsert.UseDefaultRadiusAndThickness = true; // // btnClose // _btnClose.Anchor = AnchorStyles.Top | AnchorStyles.Right; _btnClose.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _btnClose.Font = new Font("Arial Narrow", 22.25455f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _btnClose.ForeColor = Color.White; _btnClose.Location = new Point(589, -4); _btnClose.Margin = new Padding(0); _btnClose.Name = "_btnClose"; _btnClose.Size = new Size(40, 41); _btnClose.TabIndex = 203; _btnClose.Text = "🗙"; _btnClose.TextAlign = ContentAlignment.MiddleCenter; // // BunifuLabel5 // BunifuLabel5.AutoEllipsis = false; BunifuLabel5.CursorType = null; BunifuLabel5.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); BunifuLabel5.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); BunifuLabel5.Location = new Point(68, 92); BunifuLabel5.Name = "BunifuLabel5"; BunifuLabel5.RightToLeft = RightToLeft.No; BunifuLabel5.Size = new Size(101, 24); BunifuLabel5.TabIndex = 210; BunifuLabel5.Text = "Department:"; BunifuLabel5.TextAlignment = ContentAlignment.TopLeft; BunifuLabel5.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // ddlDepartment // ddlDepartment.BackColor = Color.White; ddlDepartment.BorderRadius = 1; ddlDepartment.Color = Color.Gray; ddlDepartment.DataSource = DocumentsStoredDepartmentBindingSource; ddlDepartment.Direction = Bunifu.UI.WinForms.BunifuDropdown.Directions.Down; ddlDepartment.DisabledColor = Color.Gray; ddlDepartment.DisplayMember = "DescDocumentsStoredDepartment"; ddlDepartment.DrawMode = DrawMode.OwnerDrawFixed; ddlDepartment.DropdownBorderThickness = Bunifu.UI.WinForms.BunifuDropdown.BorderThickness.Thick; ddlDepartment.DropDownStyle = ComboBoxStyle.DropDownList; ddlDepartment.DropDownTextAlign = Bunifu.UI.WinForms.BunifuDropdown.TextAlign.Left; ddlDepartment.Enabled = false; ddlDepartment.FillDropDown = false; ddlDepartment.FillIndicator = false; ddlDepartment.FlatStyle = FlatStyle.Flat; ddlDepartment.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); ddlDepartment.ForeColor = Color.Black; ddlDepartment.FormattingEnabled = true; ddlDepartment.Icon = null; ddlDepartment.IndicatorColor = Color.Gray; ddlDepartment.IndicatorLocation = Bunifu.UI.WinForms.BunifuDropdown.Indicator.Right; ddlDepartment.ItemBackColor = Color.White; ddlDepartment.ItemBorderColor = Color.White; ddlDepartment.ItemForeColor = Color.Black; ddlDepartment.ItemHeight = 26; ddlDepartment.ItemHighLightColor = Color.DodgerBlue; ddlDepartment.Location = new Point(175, 92); ddlDepartment.Name = "ddlDepartment"; ddlDepartment.Size = new Size(230, 32); ddlDepartment.TabIndex = 209; ddlDepartment.Text = null; ddlDepartment.ValueMember = "DocumentsStoredDepartmentId"; // // DocumentsStoredDepartmentBindingSource // DocumentsStoredDepartmentBindingSource.DataSource = typeof(ModelLayer.DocumentsStoredDepartment); // // GroupBox1 // GroupBox1.Controls.Add(BunifuButton1); GroupBox1.Controls.Add(Panel1); GroupBox1.Controls.Add(btnAddDepartment); GroupBox1.Controls.Add(BunifuTextBox1); GroupBox1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); GroupBox1.Location = new Point(12, 245); GroupBox1.Name = "GroupBox1"; GroupBox1.Size = new Size(596, 323); GroupBox1.TabIndex = 211; GroupBox1.TabStop = false; GroupBox1.Text = "Group"; // // BunifuButton1 // BunifuButton1.AllowToggling = false; BunifuButton1.AnimationSpeed = 200; BunifuButton1.AutoGenerateColors = false; BunifuButton1.BackColor = Color.Transparent; BunifuButton1.BackColor1 = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0))); BunifuButton1.BackgroundImage = (Image)resources.GetObject("BunifuButton1.BackgroundImage"); BunifuButton1.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; BunifuButton1.ButtonText = ""; BunifuButton1.ButtonTextMarginLeft = 0; BunifuButton1.ColorContrastOnClick = 45; BunifuButton1.ColorContrastOnHover = 45; BunifuButton1.Cursor = Cursors.Hand; BorderEdges2.BottomLeft = true; BorderEdges2.BottomRight = true; BorderEdges2.TopLeft = true; BorderEdges2.TopRight = true; BunifuButton1.CustomizableEdges = BorderEdges2; BunifuButton1.DialogResult = DialogResult.None; BunifuButton1.DisabledBorderColor = Color.Empty; BunifuButton1.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); BunifuButton1.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); BunifuButton1.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; BunifuButton1.Font = new Font("Segoe UI Semibold", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); BunifuButton1.ForeColor = Color.White; BunifuButton1.IconLeftCursor = Cursors.Hand; BunifuButton1.IconMarginLeft = 11; BunifuButton1.IconPadding = 10; BunifuButton1.IconRightCursor = Cursors.Hand; BunifuButton1.IdleBorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0))); BunifuButton1.IdleBorderRadius = 3; BunifuButton1.IdleBorderThickness = 1; BunifuButton1.IdleFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0))); BunifuButton1.IdleIconLeftImage = My.Resources.Resources.removeWhite; BunifuButton1.IdleIconRightImage = null; BunifuButton1.IndicateFocus = true; BunifuButton1.Location = new Point(496, 35); BunifuButton1.Name = "BunifuButton1"; StateProperties7.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0))); StateProperties7.BorderRadius = 3; StateProperties7.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties7.BorderThickness = 1; StateProperties7.FillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(255)), Conversions.ToInteger(Conversions.ToByte(128)), Conversions.ToInteger(Conversions.ToByte(128))); StateProperties7.ForeColor = Color.White; StateProperties7.IconLeftImage = null; StateProperties7.IconRightImage = null; BunifuButton1.onHoverState = StateProperties7; StateProperties8.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0))); StateProperties8.BorderRadius = 3; StateProperties8.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties8.BorderThickness = 1; StateProperties8.FillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0))); StateProperties8.ForeColor = Color.White; StateProperties8.IconLeftImage = null; StateProperties8.IconRightImage = null; BunifuButton1.OnPressedState = StateProperties8; BunifuButton1.Size = new Size(32, 32); BunifuButton1.TabIndex = 226; BunifuButton1.TextAlign = ContentAlignment.MiddleCenter; BunifuButton1.TextMarginLeft = 0; BunifuButton1.UseDefaultRadiusAndThickness = true; // // Panel1 // Panel1.BorderStyle = BorderStyle.FixedSingle; Panel1.Controls.Add(dgvDocGroup); Panel1.Location = new Point(19, 108); Panel1.Name = "Panel1"; Panel1.Size = new Size(560, 196); Panel1.TabIndex = 225; // // dgvDocGroup // dgvDocGroup.AllowCustomTheming = true; dgvDocGroup.AllowUserToAddRows = false; dgvDocGroup.AllowUserToDeleteRows = false; dgvDocGroup.AllowUserToResizeColumns = false; dgvDocGroup.AllowUserToResizeRows = false; DataGridViewCellStyle1.BackColor = Color.White; DataGridViewCellStyle1.ForeColor = Color.Black; DataGridViewCellStyle1.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); dgvDocGroup.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1; dgvDocGroup.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; dgvDocGroup.BackgroundColor = Color.White; dgvDocGroup.BorderStyle = BorderStyle.None; dgvDocGroup.CellBorderStyle = DataGridViewCellBorderStyle.SingleHorizontal; dgvDocGroup.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.None; DataGridViewCellStyle2.Alignment = DataGridViewContentAlignment.MiddleLeft; DataGridViewCellStyle2.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); DataGridViewCellStyle2.Font = new Font("Segoe UI Semibold", 11.75f, FontStyle.Bold); DataGridViewCellStyle2.ForeColor = Color.White; DataGridViewCellStyle2.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); DataGridViewCellStyle2.SelectionForeColor = SystemColors.HighlightText; DataGridViewCellStyle2.WrapMode = DataGridViewTriState.True; dgvDocGroup.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle2; dgvDocGroup.ColumnHeadersHeight = 40; dgvDocGroup.Columns.AddRange(new DataGridViewColumn[] { Column1, Chebox, Group }); dgvDocGroup.CurrentTheme.AlternatingRowsStyle.BackColor = Color.White; dgvDocGroup.CurrentTheme.AlternatingRowsStyle.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); dgvDocGroup.CurrentTheme.AlternatingRowsStyle.ForeColor = Color.Black; dgvDocGroup.CurrentTheme.AlternatingRowsStyle.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224))); dgvDocGroup.CurrentTheme.AlternatingRowsStyle.SelectionForeColor = Color.Black; dgvDocGroup.CurrentTheme.BackColor = Color.Snow; dgvDocGroup.CurrentTheme.GridColor = Color.Gray; dgvDocGroup.CurrentTheme.HeaderStyle.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); dgvDocGroup.CurrentTheme.HeaderStyle.Font = new Font("Segoe UI Semibold", 11.75f, FontStyle.Bold); dgvDocGroup.CurrentTheme.HeaderStyle.ForeColor = Color.White; dgvDocGroup.CurrentTheme.Name = null; dgvDocGroup.CurrentTheme.RowsStyle.BackColor = Color.WhiteSmoke; dgvDocGroup.CurrentTheme.RowsStyle.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); dgvDocGroup.CurrentTheme.RowsStyle.ForeColor = Color.Black; dgvDocGroup.CurrentTheme.RowsStyle.SelectionBackColor = Color.Gray; dgvDocGroup.CurrentTheme.RowsStyle.SelectionForeColor = Color.Black; DataGridViewCellStyle3.Alignment = DataGridViewContentAlignment.MiddleLeft; DataGridViewCellStyle3.BackColor = Color.WhiteSmoke; DataGridViewCellStyle3.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); DataGridViewCellStyle3.ForeColor = Color.Black; DataGridViewCellStyle3.SelectionBackColor = Color.Gray; DataGridViewCellStyle3.SelectionForeColor = Color.Black; DataGridViewCellStyle3.WrapMode = DataGridViewTriState.False; dgvDocGroup.DefaultCellStyle = DataGridViewCellStyle3; dgvDocGroup.Dock = DockStyle.Fill; dgvDocGroup.EnableHeadersVisualStyles = false; dgvDocGroup.GridColor = Color.Gray; dgvDocGroup.HeaderBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); dgvDocGroup.HeaderBgColor = Color.Empty; dgvDocGroup.HeaderForeColor = Color.White; dgvDocGroup.Location = new Point(0, 0); dgvDocGroup.MultiSelect = false; dgvDocGroup.Name = "dgvDocGroup"; dgvDocGroup.ReadOnly = true; dgvDocGroup.RowHeadersVisible = false; dgvDocGroup.RowTemplate.DefaultCellStyle.SelectionBackColor = Color.Gray; dgvDocGroup.RowTemplate.Height = 40; dgvDocGroup.SelectionMode = DataGridViewSelectionMode.FullRowSelect; dgvDocGroup.Size = new Size(558, 194); dgvDocGroup.TabIndex = 212; dgvDocGroup.Theme = Bunifu.UI.WinForms.BunifuDataGridView.PresetThemes.Dark; // // Column1 // Column1.HeaderText = "GroupId"; Column1.Name = "Column1"; Column1.ReadOnly = true; Column1.Visible = false; // // Chebox // Chebox.HeaderText = ""; Chebox.Name = "Chebox"; Chebox.ReadOnly = true; // // Group // Group.HeaderText = "Group"; Group.Name = "Group"; Group.ReadOnly = true; Group.Visible = false; // // btnAddDepartment // btnAddDepartment.AllowToggling = false; btnAddDepartment.AnimationSpeed = 200; btnAddDepartment.AutoGenerateColors = false; btnAddDepartment.BackColor = Color.Transparent; btnAddDepartment.BackColor1 = Color.Teal; btnAddDepartment.BackgroundImage = (Image)resources.GetObject("btnAddDepartment.BackgroundImage"); btnAddDepartment.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; btnAddDepartment.ButtonText = ""; btnAddDepartment.ButtonTextMarginLeft = 0; btnAddDepartment.ColorContrastOnClick = 45; btnAddDepartment.ColorContrastOnHover = 45; btnAddDepartment.Cursor = Cursors.Hand; BorderEdges3.BottomLeft = true; BorderEdges3.BottomRight = true; BorderEdges3.TopLeft = true; BorderEdges3.TopRight = true; btnAddDepartment.CustomizableEdges = BorderEdges3; btnAddDepartment.DialogResult = DialogResult.None; btnAddDepartment.DisabledBorderColor = Color.Empty; btnAddDepartment.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); btnAddDepartment.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); btnAddDepartment.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; btnAddDepartment.Font = new Font("Segoe UI Semibold", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); btnAddDepartment.ForeColor = Color.White; btnAddDepartment.IconLeftCursor = Cursors.Hand; btnAddDepartment.IconMarginLeft = 11; btnAddDepartment.IconPadding = 10; btnAddDepartment.IconRightCursor = Cursors.Hand; btnAddDepartment.IdleBorderColor = Color.Teal; btnAddDepartment.IdleBorderRadius = 3; btnAddDepartment.IdleBorderThickness = 1; btnAddDepartment.IdleFillColor = Color.Teal; btnAddDepartment.IdleIconLeftImage = My.Resources.Resources.addWhite; btnAddDepartment.IdleIconRightImage = null; btnAddDepartment.IndicateFocus = true; btnAddDepartment.Location = new Point(438, 35); btnAddDepartment.Name = "btnAddDepartment"; StateProperties9.BorderColor = Color.MediumTurquoise; StateProperties9.BorderRadius = 3; StateProperties9.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties9.BorderThickness = 1; StateProperties9.FillColor = Color.MediumTurquoise; StateProperties9.ForeColor = Color.White; StateProperties9.IconLeftImage = null; StateProperties9.IconRightImage = null; btnAddDepartment.onHoverState = StateProperties9; StateProperties10.BorderColor = Color.Teal; StateProperties10.BorderRadius = 3; StateProperties10.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties10.BorderThickness = 1; StateProperties10.FillColor = Color.Teal; StateProperties10.ForeColor = Color.White; StateProperties10.IconLeftImage = null; StateProperties10.IconRightImage = null; btnAddDepartment.OnPressedState = StateProperties10; btnAddDepartment.Size = new Size(32, 32); btnAddDepartment.TabIndex = 224; btnAddDepartment.TextAlign = ContentAlignment.MiddleCenter; btnAddDepartment.TextMarginLeft = 0; btnAddDepartment.UseDefaultRadiusAndThickness = true; // // BunifuTextBox1 // BunifuTextBox1.AcceptsReturn = false; BunifuTextBox1.AcceptsTab = false; BunifuTextBox1.AnimationSpeed = 200; BunifuTextBox1.AutoCompleteMode = AutoCompleteMode.None; BunifuTextBox1.AutoCompleteSource = AutoCompleteSource.None; BunifuTextBox1.BackColor = Color.Transparent; BunifuTextBox1.BackgroundImage = (Image)resources.GetObject("BunifuTextBox1.BackgroundImage"); BunifuTextBox1.BorderColorActive = Color.DodgerBlue; BunifuTextBox1.BorderColorDisabled = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161))); BunifuTextBox1.BorderColorHover = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); BunifuTextBox1.BorderColorIdle = Color.Silver; BunifuTextBox1.BorderRadius = 1; BunifuTextBox1.BorderThickness = 1; BunifuTextBox1.CharacterCasing = CharacterCasing.Upper; BunifuTextBox1.Cursor = Cursors.IBeam; BunifuTextBox1.DefaultFont = new Font("Segoe UI Semibold", 9.75f); BunifuTextBox1.DefaultText = ""; BunifuTextBox1.FillColor = Color.White; BunifuTextBox1.HideSelection = true; BunifuTextBox1.IconLeft = null; BunifuTextBox1.IconLeftCursor = Cursors.IBeam; BunifuTextBox1.IconPadding = 10; BunifuTextBox1.IconRight = null; BunifuTextBox1.IconRightCursor = Cursors.IBeam; BunifuTextBox1.Lines = new string[0]; BunifuTextBox1.Location = new Point(10, 34); BunifuTextBox1.MaxLength = 32767; BunifuTextBox1.MinimumSize = new Size(100, 35); BunifuTextBox1.Modified = false; BunifuTextBox1.Multiline = false; BunifuTextBox1.Name = "BunifuTextBox1"; StateProperties11.BorderColor = Color.DodgerBlue; StateProperties11.FillColor = Color.Empty; StateProperties11.ForeColor = Color.Empty; StateProperties11.PlaceholderForeColor = Color.Empty; BunifuTextBox1.OnActiveState = StateProperties11; StateProperties12.BorderColor = Color.Empty; StateProperties12.FillColor = Color.White; StateProperties12.ForeColor = Color.Empty; StateProperties12.PlaceholderForeColor = Color.Silver; StateProperties12.PlaceholderForeColor = Color.Silver; BunifuTextBox1.OnDisabledState = StateProperties12; StateProperties13.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); StateProperties13.FillColor = Color.Empty; StateProperties13.ForeColor = Color.Empty; StateProperties13.PlaceholderForeColor = Color.Empty; BunifuTextBox1.OnHoverState = StateProperties13; StateProperties14.BorderColor = Color.Silver; StateProperties14.FillColor = Color.White; StateProperties14.ForeColor = Color.Empty; StateProperties14.PlaceholderForeColor = Color.Empty; BunifuTextBox1.OnIdleState = StateProperties14; BunifuTextBox1.PasswordChar = '\0'; BunifuTextBox1.PlaceholderForeColor = Color.Silver; BunifuTextBox1.PlaceholderText = "ENTER TEXT"; BunifuTextBox1.ReadOnly = false; BunifuTextBox1.ScrollBars = ScrollBars.None; BunifuTextBox1.SelectedText = ""; BunifuTextBox1.SelectionLength = 0; BunifuTextBox1.SelectionStart = 0; BunifuTextBox1.ShortcutsEnabled = true; BunifuTextBox1.Size = new Size(422, 35); BunifuTextBox1.Style = _Style.Bunifu; BunifuTextBox1.TabIndex = 212; BunifuTextBox1.TextAlign = HorizontalAlignment.Left; BunifuTextBox1.TextMarginBottom = 0; BunifuTextBox1.TextMarginLeft = 5; BunifuTextBox1.TextMarginTop = 0; BunifuTextBox1.TextPlaceholder = "ENTER TEXT"; BunifuTextBox1.UseSystemPasswordChar = false; BunifuTextBox1.WordWrap = true; // // BunifuLabel1 // BunifuLabel1.AutoEllipsis = false; BunifuLabel1.CursorType = null; BunifuLabel1.Font = new Font("Microsoft Sans Serif", 13.74545f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); BunifuLabel1.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); BunifuLabel1.Location = new Point(32, 56); BunifuLabel1.Name = "BunifuLabel1"; BunifuLabel1.RightToLeft = RightToLeft.No; BunifuLabel1.Size = new Size(212, 27); BunifuLabel1.TabIndex = 212; BunifuLabel1.Text = "Add document type:"; BunifuLabel1.TextAlignment = ContentAlignment.TopLeft; BunifuLabel1.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // frmAddDocumentType // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(629, 232); Controls.Add(BunifuLabel1); Controls.Add(GroupBox1); Controls.Add(BunifuLabel5); Controls.Add(ddlDepartment); Controls.Add(_btnClose); Controls.Add(_btnInsert); Controls.Add(txtDocumentType); Controls.Add(BunifuLabel3); Controls.Add(Label2); FormBorderStyle = FormBorderStyle.None; Name = "frmAddDocumentType"; StartPosition = FormStartPosition.CenterScreen; Text = "frmAddDocumentType"; ((System.ComponentModel.ISupportInitialize)DocumentsStoredDepartmentBindingSource).EndInit(); GroupBox1.ResumeLayout(false); Panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)dgvDocGroup).EndInit(); Load += new EventHandler(frmAddDocumentType_Load); ResumeLayout(false); PerformLayout(); }