Esempio n. 1
0
        private void InitializeComponent()
        {
            var resources         = new System.ComponentModel.ComponentResourceManager(typeof(FrmAdjustBagsInventoryQty));
            var BorderEdges5      = 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();

            _closeFlatButton        = new Bunifu.Framework.UI.BunifuFlatButton();
            _closeFlatButton.Click += new EventHandler(closeFlatButton_Click);
            Label17           = new Label();
            _cboAjustmentTyoe = new ComboBox();
            _cboAjustmentTyoe.SelectedIndexChanged += new EventHandler(cboAjustmentTyoe_SelectedIndexChanged);
            Label7       = new Label();
            Label1       = new Label();
            _nudQuantity = new NumericUpDown();
            _nudQuantity.ValueChanged += new EventHandler(nudQuantity_ValueChanged);
            _btnSave           = new Bunifu.UI.WinForms.BunifuButton.BunifuButton();
            _btnSave.Click    += new EventHandler(btnSave_Click);
            lblPlusMinus       = new Label();
            BunifuSeparator1   = new Bunifu.Framework.UI.BunifuSeparator();
            lblRemaining       = new Label();
            lblQtyUsed         = new Label();
            Label3             = new Label();
            Label4             = new Label();
            lblTotal           = new Label();
            Label5             = new Label();
            GroupBox1          = new GroupBox();
            pnlAdjust          = new Panel();
            Label9             = new Label();
            _rbDecrease        = new Bunifu.UI.WinForms.BunifuRadioButton();
            _rbDecrease.Click += new EventHandler(rbIncrease_Click);
            Label8             = new Label();
            _rbIncrease        = new Bunifu.UI.WinForms.BunifuRadioButton();
            _rbIncrease.Click += new EventHandler(rbIncrease_Click);
            pnlBooking         = new Panel();
            Label2             = new Label();
            cboBookingNumber   = new ComboBox();
            Label6             = new Label();
            lblWarning         = new Label();
            Label10            = new Label();
            _cboBagLocation    = new ComboBox();
            _cboBagLocation.SelectedIndexChanged += new EventHandler(cboBagLocation_SelectedIndexChanged);
            ((System.ComponentModel.ISupportInitialize)_nudQuantity).BeginInit();
            GroupBox1.SuspendLayout();
            pnlAdjust.SuspendLayout();
            pnlBooking.SuspendLayout();
            SuspendLayout();
            //
            // closeFlatButton
            //
            _closeFlatButton.Active                = false;
            _closeFlatButton.Activecolor           = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            _closeFlatButton.Anchor                = AnchorStyles.Top | AnchorStyles.Right;
            _closeFlatButton.BackColor             = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            _closeFlatButton.BackgroundImageLayout = ImageLayout.Stretch;
            _closeFlatButton.BorderRadius          = 0;
            _closeFlatButton.ButtonText            = "🗙";
            _closeFlatButton.Cursor                = Cursors.Hand;
            _closeFlatButton.DisabledColor         = Color.Gray;
            _closeFlatButton.Font                     = new Font("Segoe UI", 10.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            _closeFlatButton.Iconcolor                = Color.Transparent;
            _closeFlatButton.Iconimage                = null;
            _closeFlatButton.Iconimage_right          = null;
            _closeFlatButton.Iconimage_right_Selected = null;
            _closeFlatButton.Iconimage_Selected       = null;
            _closeFlatButton.IconMarginLeft           = 0;
            _closeFlatButton.IconMarginRight          = 0;
            _closeFlatButton.IconRightVisible         = true;
            _closeFlatButton.IconRightZoom            = 0d;
            _closeFlatButton.IconVisible              = true;
            _closeFlatButton.IconZoom                 = 90.0d;
            _closeFlatButton.IsTab                    = false;
            _closeFlatButton.Location                 = new Point(567, 0);
            _closeFlatButton.Margin                   = new Padding(7, 9, 7, 9);
            _closeFlatButton.Name                     = "_closeFlatButton";
            _closeFlatButton.Normalcolor              = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            _closeFlatButton.OnHovercolor             = Color.Gray;
            _closeFlatButton.OnHoverTextColor         = Color.White;
            _closeFlatButton.selected                 = false;
            _closeFlatButton.Size                     = new Size(39, 33);
            _closeFlatButton.TabIndex                 = 173;
            _closeFlatButton.Text                     = "🗙";
            _closeFlatButton.TextAlign                = ContentAlignment.MiddleCenter;
            _closeFlatButton.Textcolor                = Color.White;
            _closeFlatButton.TextFont                 = new Font("Microsoft Sans Serif", 18.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            //
            // Label17
            //
            Label17.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            Label17.Dock      = DockStyle.Top;
            Label17.Font      = new Font("Segoe UI", 10.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            Label17.ForeColor = Color.White;
            Label17.Location  = new Point(0, 0);
            Label17.Margin    = new Padding(4, 0, 4, 0);
            Label17.Name      = "Label17";
            Label17.Size      = new Size(606, 33);
            Label17.TabIndex  = 172;
            Label17.TextAlign = ContentAlignment.MiddleCenter;
            //
            // cboAjustmentTyoe
            //
            _cboAjustmentTyoe.DropDownStyle     = ComboBoxStyle.DropDownList;
            _cboAjustmentTyoe.Font              = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            _cboAjustmentTyoe.FormattingEnabled = true;
            _cboAjustmentTyoe.Location          = new Point(162, 164);
            _cboAjustmentTyoe.Margin            = new Padding(4, 5, 4, 5);
            _cboAjustmentTyoe.Name              = "_cboAjustmentTyoe";
            _cboAjustmentTyoe.Size              = new Size(164, 26);
            _cboAjustmentTyoe.TabIndex          = 174;
            //
            // Label7
            //
            Label7.AutoSize  = true;
            Label7.Font      = new Font("Segoe UI Semibold", 14.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            Label7.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            Label7.Location  = new Point(21, 42);
            Label7.Name      = "Label7";
            Label7.Size      = new Size(232, 25);
            Label7.TabIndex  = 175;
            Label7.Text      = "Adjust inventory quantity";
            //
            // Label1
            //
            Label1.AutoSize = true;
            Label1.Location = new Point(53, 99);
            Label1.Name     = "Label1";
            Label1.Size     = new Size(103, 20);
            Label1.TabIndex = 177;
            Label1.Text     = "Quantity used:";
            //
            // nudQuantity
            //
            _nudQuantity.Font     = new Font("Segoe UI", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            _nudQuantity.Location = new Point(162, 92);
            _nudQuantity.Maximum  = new decimal(new int[] { 10000, 0, 0, 0 });
            _nudQuantity.Name     = "_nudQuantity";
            _nudQuantity.Size     = new Size(96, 29);
            _nudQuantity.TabIndex = 178;
            //
            // btnSave
            //
            _btnSave.AllowToggling        = false;
            _btnSave.Anchor               = AnchorStyles.Bottom | AnchorStyles.Left;
            _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;
            BorderEdges5.BottomLeft       = true;
            BorderEdges5.BottomRight      = true;
            BorderEdges5.TopLeft          = true;
            BorderEdges5.TopRight         = true;
            _btnSave.CustomizableEdges    = BorderEdges5;
            _btnSave.DialogResult         = DialogResult.None;
            _btnSave.DisabledBorderColor  = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(191)), Conversions.ToInteger(Conversions.ToByte(191)), Conversions.ToInteger(Conversions.ToByte(191)));
            _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", 9.75f);
            _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                = false;
            _btnSave.Location                     = new Point(252, 264);
            _btnSave.Margin                       = new Padding(2);
            _btnSave.Name                         = "_btnSave";
            StateProperties9.BorderColor          = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255)));
            StateProperties9.BorderRadius         = 3;
            StateProperties9.BorderStyle          = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid;
            StateProperties9.BorderThickness      = 1;
            StateProperties9.FillColor            = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(192)));
            StateProperties9.ForeColor            = Color.White;
            StateProperties9.IconLeftImage        = null;
            StateProperties9.IconRightImage       = null;
            _btnSave.onHoverState                 = StateProperties9;
            StateProperties10.BorderColor         = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(40)), Conversions.ToInteger(Conversions.ToByte(96)), Conversions.ToInteger(Conversions.ToByte(144)));
            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;
            _btnSave.OnPressedState               = StateProperties10;
            _btnSave.Size                         = new Size(99, 34);
            _btnSave.TabIndex                     = 179;
            _btnSave.TextAlign                    = ContentAlignment.MiddleCenter;
            _btnSave.TextMarginLeft               = 0;
            _btnSave.UseDefaultRadiusAndThickness = true;
            //
            // lblPlusMinus
            //
            lblPlusMinus.AutoSize = true;
            lblPlusMinus.Font     = new Font("Segoe UI", 13.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            lblPlusMinus.Location = new Point(116, 38);
            lblPlusMinus.Name     = "lblPlusMinus";
            lblPlusMinus.Size     = new Size(19, 25);
            lblPlusMinus.TabIndex = 180;
            lblPlusMinus.Text     = "-";
            //
            // BunifuSeparator1
            //
            BunifuSeparator1.BackColor     = Color.Transparent;
            BunifuSeparator1.LineColor     = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(105)));
            BunifuSeparator1.LineThickness = 3;
            BunifuSeparator1.Location      = new Point(144, 60);
            BunifuSeparator1.Margin        = new Padding(4, 5, 4, 5);
            BunifuSeparator1.Name          = "BunifuSeparator1";
            BunifuSeparator1.Size          = new Size(73, 12);
            BunifuSeparator1.TabIndex      = 181;
            BunifuSeparator1.Transparency  = 255;
            BunifuSeparator1.Vertical      = false;
            //
            // lblRemaining
            //
            lblRemaining.Font      = new Font("Segoe UI", 13.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            lblRemaining.Location  = new Point(142, 16);
            lblRemaining.Name      = "lblRemaining";
            lblRemaining.Size      = new Size(73, 24);
            lblRemaining.TabIndex  = 182;
            lblRemaining.TextAlign = ContentAlignment.MiddleCenter;
            //
            // lblQtyUsed
            //
            lblQtyUsed.Font      = new Font("Segoe UI", 13.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            lblQtyUsed.ForeColor = Color.DarkRed;
            lblQtyUsed.Location  = new Point(142, 40);
            lblQtyUsed.Name      = "lblQtyUsed";
            lblQtyUsed.Size      = new Size(73, 26);
            lblQtyUsed.TabIndex  = 183;
            lblQtyUsed.TextAlign = ContentAlignment.MiddleCenter;
            //
            // Label3
            //
            Label3.Location  = new Point(6, 39);
            Label3.Name      = "Label3";
            Label3.Size      = new Size(104, 27);
            Label3.TabIndex  = 184;
            Label3.Text      = "Quantity used:";
            Label3.TextAlign = ContentAlignment.MiddleRight;
            //
            // Label4
            //
            Label4.Location  = new Point(6, 13);
            Label4.Name      = "Label4";
            Label4.Size      = new Size(104, 27);
            Label4.TabIndex  = 185;
            Label4.Text      = "Remaining:";
            Label4.TextAlign = ContentAlignment.MiddleRight;
            //
            // lblTotal
            //
            lblTotal.Font      = new Font("Segoe UI", 13.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            lblTotal.Location  = new Point(142, 75);
            lblTotal.Name      = "lblTotal";
            lblTotal.Size      = new Size(73, 20);
            lblTotal.TabIndex  = 186;
            lblTotal.TextAlign = ContentAlignment.MiddleCenter;
            //
            // Label5
            //
            Label5.Location  = new Point(6, 72);
            Label5.Name      = "Label5";
            Label5.Size      = new Size(104, 27);
            Label5.TabIndex  = 187;
            Label5.Text      = "Total:";
            Label5.TextAlign = ContentAlignment.MiddleRight;
            //
            // GroupBox1
            //
            GroupBox1.Controls.Add(lblRemaining);
            GroupBox1.Controls.Add(lblQtyUsed);
            GroupBox1.Controls.Add(Label4);
            GroupBox1.Controls.Add(Label5);
            GroupBox1.Controls.Add(lblPlusMinus);
            GroupBox1.Controls.Add(lblTotal);
            GroupBox1.Controls.Add(BunifuSeparator1);
            GroupBox1.Controls.Add(Label3);
            GroupBox1.Location = new Point(354, 95);
            GroupBox1.Name     = "GroupBox1";
            GroupBox1.Size     = new Size(240, 109);
            GroupBox1.TabIndex = 188;
            GroupBox1.TabStop  = false;
            //
            // pnlAdjust
            //
            pnlAdjust.Controls.Add(Label9);
            pnlAdjust.Controls.Add(_rbDecrease);
            pnlAdjust.Controls.Add(Label8);
            pnlAdjust.Controls.Add(_rbIncrease);
            pnlAdjust.Location = new Point(80, 193);
            pnlAdjust.Name     = "pnlAdjust";
            pnlAdjust.Size     = new Size(246, 58);
            pnlAdjust.TabIndex = 189;
            pnlAdjust.Visible  = false;
            //
            // Label9
            //
            Label9.AutoSize = true;
            Label9.Location = new Point(30, 29);
            Label9.Name     = "Label9";
            Label9.Size     = new Size(162, 20);
            Label9.TabIndex = 179;
            Label9.Text     = "DECREASE INVENTORY";
            //
            // rbDecrease
            //
            _rbDecrease.Checked      = false;
            _rbDecrease.Location     = new Point(3, 28);
            _rbDecrease.Name         = "_rbDecrease";
            _rbDecrease.OutlineColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            _rbDecrease.RadioColor   = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            _rbDecrease.Size         = new Size(21, 21);
            _rbDecrease.TabIndex     = 178;
            _rbDecrease.Text         = null;
            //
            // Label8
            //
            Label8.AutoSize = true;
            Label8.Location = new Point(30, 4);
            Label8.Name     = "Label8";
            Label8.Size     = new Size(158, 20);
            Label8.TabIndex = 177;
            Label8.Text     = "INCREASE INVENTORY";
            //
            // rbIncrease
            //
            _rbIncrease.Checked      = true;
            _rbIncrease.Location     = new Point(3, 3);
            _rbIncrease.Name         = "_rbIncrease";
            _rbIncrease.OutlineColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            _rbIncrease.RadioColor   = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            _rbIncrease.Size         = new Size(21, 21);
            _rbIncrease.TabIndex     = 0;
            _rbIncrease.Text         = null;
            //
            // pnlBooking
            //
            pnlBooking.Controls.Add(Label2);
            pnlBooking.Controls.Add(cboBookingNumber);
            pnlBooking.Location = new Point(28, 194);
            pnlBooking.Name     = "pnlBooking";
            pnlBooking.Size     = new Size(303, 58);
            pnlBooking.TabIndex = 190;
            pnlBooking.Visible  = false;
            //
            // Label2
            //
            Label2.AutoSize = true;
            Label2.Location = new Point(3, 3);
            Label2.Name     = "Label2";
            Label2.Size     = new Size(125, 20);
            Label2.TabIndex = 177;
            Label2.Text     = "Booking Number:";
            //
            // cboBookingNumber
            //
            cboBookingNumber.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            cboBookingNumber.FormattingEnabled = true;
            cboBookingNumber.Location          = new Point(134, 1);
            cboBookingNumber.Margin            = new Padding(4, 5, 4, 5);
            cboBookingNumber.Name     = "cboBookingNumber";
            cboBookingNumber.Size     = new Size(169, 26);
            cboBookingNumber.TabIndex = 175;
            //
            // Label6
            //
            Label6.AutoSize = true;
            Label6.Location = new Point(34, 167);
            Label6.Name     = "Label6";
            Label6.Size     = new Size(121, 20);
            Label6.TabIndex = 176;
            Label6.Text     = "Adjustment type:";
            //
            // lblWarning
            //
            lblWarning.Font      = new Font("Segoe UI", 11.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            lblWarning.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0)));
            lblWarning.Location  = new Point(178, 67);
            lblWarning.Name      = "lblWarning";
            lblWarning.Size      = new Size(378, 20);
            lblWarning.TabIndex  = 191;
            lblWarning.TextAlign = ContentAlignment.MiddleCenter;
            //
            // Label10
            //
            Label10.AutoSize = true;
            Label10.Location = new Point(53, 134);
            Label10.Name     = "Label10";
            Label10.Size     = new Size(99, 20);
            Label10.TabIndex = 193;
            Label10.Text     = "Bag Location:";
            //
            // cboBagLocation
            //
            _cboBagLocation.DropDownStyle     = ComboBoxStyle.DropDownList;
            _cboBagLocation.Font              = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            _cboBagLocation.FormattingEnabled = true;
            _cboBagLocation.Location          = new Point(162, 129);
            _cboBagLocation.Margin            = new Padding(4, 5, 4, 5);
            _cboBagLocation.Name              = "_cboBagLocation";
            _cboBagLocation.Size              = new Size(164, 26);
            _cboBagLocation.TabIndex          = 192;
            //
            // FrmAdjustBagsInventoryQty
            //
            AutoScaleDimensions = new SizeF(8.0f, 20.0f);
            AutoScaleMode       = AutoScaleMode.Font;
            BackColor           = Color.White;
            ClientSize          = new Size(606, 309);
            Controls.Add(Label7);
            Controls.Add(Label10);
            Controls.Add(_cboBagLocation);
            Controls.Add(lblWarning);
            Controls.Add(pnlBooking);
            Controls.Add(pnlAdjust);
            Controls.Add(GroupBox1);
            Controls.Add(_btnSave);
            Controls.Add(_nudQuantity);
            Controls.Add(Label1);
            Controls.Add(Label6);
            Controls.Add(_cboAjustmentTyoe);
            Controls.Add(_closeFlatButton);
            Controls.Add(Label17);
            Font            = new Font("Segoe UI", 11.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            FormBorderStyle = FormBorderStyle.None;
            Margin          = new Padding(4, 5, 4, 5);
            Name            = "FrmAdjustBagsInventoryQty";
            Text            = "FrmAdjustBagsInventoryQty";
            ((System.ComponentModel.ISupportInitialize)_nudQuantity).EndInit();
            GroupBox1.ResumeLayout(false);
            GroupBox1.PerformLayout();
            pnlAdjust.ResumeLayout(false);
            pnlAdjust.PerformLayout();
            pnlBooking.ResumeLayout(false);
            pnlBooking.PerformLayout();
            Load += new EventHandler(FrmAdjustBagsInventoryQty_Load);
            ResumeLayout(false);
            PerformLayout();
        }
Esempio n. 2
0
        private void InitializeComponent()
        {
            var resources        = new System.ComponentModel.ComponentResourceManager(typeof(FrmUseInvQty));
            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();

            btnSave          = new Bunifu.UI.WinForms.BunifuButton.BunifuButton();
            closeFlatButton  = new Bunifu.Framework.UI.BunifuFlatButton();
            Label17          = new Label();
            Label7           = new Label();
            Label10          = new Label();
            cboBagLocation   = new ComboBox();
            GroupBox1        = new GroupBox();
            lblRemaining     = new Label();
            lblQtyUsed       = new Label();
            Label4           = new Label();
            Label5           = new Label();
            lblPlusMinus     = new Label();
            lblTotal         = new Label();
            BunifuSeparator1 = new Bunifu.Framework.UI.BunifuSeparator();
            Label3           = new Label();
            nudQuantity      = new NumericUpDown();
            Label1           = new Label();
            Label6           = new Label();
            cboAjustmentTyoe = new ComboBox();
            pnlBooking       = new Panel();
            Label2           = new Label();
            cboBookingNumber = new ComboBox();
            pnlAdjust        = new Panel();
            Label9           = new Label();
            rbDecrease       = new Bunifu.UI.WinForms.BunifuRadioButton();
            Label8           = new Label();
            rbIncrease       = new Bunifu.UI.WinForms.BunifuRadioButton();
            GroupBox1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)nudQuantity).BeginInit();
            pnlBooking.SuspendLayout();
            pnlAdjust.SuspendLayout();
            SuspendLayout();
            //
            // btnSave
            //
            btnSave.AllowToggling        = false;
            btnSave.Anchor               = AnchorStyles.Bottom | AnchorStyles.Left;
            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.FromArgb(Conversions.ToInteger(Conversions.ToByte(191)), Conversions.ToInteger(Conversions.ToByte(191)), Conversions.ToInteger(Conversions.ToByte(191)));
            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", 9.75f);
            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                = false;
            btnSave.Location                     = new Point(273, 264);
            btnSave.Margin                       = new Padding(3, 2, 3, 2);
            btnSave.Name                         = "btnSave";
            StateProperties1.BorderColor         = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255)));
            StateProperties1.BorderRadius        = 3;
            StateProperties1.BorderStyle         = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid;
            StateProperties1.BorderThickness     = 1;
            StateProperties1.FillColor           = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(192)));
            StateProperties1.ForeColor           = Color.White;
            StateProperties1.IconLeftImage       = null;
            StateProperties1.IconRightImage      = null;
            btnSave.onHoverState                 = StateProperties1;
            StateProperties2.BorderColor         = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(40)), Conversions.ToInteger(Conversions.ToByte(96)), Conversions.ToInteger(Conversions.ToByte(144)));
            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(89, 42);
            btnSave.TabIndex                     = 182;
            btnSave.TextAlign                    = ContentAlignment.MiddleCenter;
            btnSave.TextMarginLeft               = 0;
            btnSave.UseDefaultRadiusAndThickness = true;
            //
            // closeFlatButton
            //
            closeFlatButton.Active                = false;
            closeFlatButton.Activecolor           = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            closeFlatButton.Anchor                = AnchorStyles.Top | AnchorStyles.Right;
            closeFlatButton.BackColor             = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            closeFlatButton.BackgroundImageLayout = ImageLayout.Stretch;
            closeFlatButton.BorderRadius          = 0;
            closeFlatButton.ButtonText            = "🗙";
            closeFlatButton.Cursor                = Cursors.Hand;
            closeFlatButton.DisabledColor         = Color.Gray;
            closeFlatButton.Font                     = new Font("Segoe UI", 10.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            closeFlatButton.Iconcolor                = Color.Transparent;
            closeFlatButton.Iconimage                = null;
            closeFlatButton.Iconimage_right          = null;
            closeFlatButton.Iconimage_right_Selected = null;
            closeFlatButton.Iconimage_Selected       = null;
            closeFlatButton.IconMarginLeft           = 0;
            closeFlatButton.IconMarginRight          = 0;
            closeFlatButton.IconRightVisible         = true;
            closeFlatButton.IconRightZoom            = 0d;
            closeFlatButton.IconVisible              = true;
            closeFlatButton.IconZoom                 = 90.0d;
            closeFlatButton.IsTab                    = false;
            closeFlatButton.Location                 = new Point(595, 0);
            closeFlatButton.Margin                   = new Padding(9, 11, 9, 11);
            closeFlatButton.Name                     = "closeFlatButton";
            closeFlatButton.Normalcolor              = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            closeFlatButton.OnHovercolor             = Color.Gray;
            closeFlatButton.OnHoverTextColor         = Color.White;
            closeFlatButton.selected                 = false;
            closeFlatButton.Size                     = new Size(43, 35);
            closeFlatButton.TabIndex                 = 181;
            closeFlatButton.Text                     = "🗙";
            closeFlatButton.TextAlign                = ContentAlignment.MiddleCenter;
            closeFlatButton.Textcolor                = Color.White;
            closeFlatButton.TextFont                 = new Font("Microsoft Sans Serif", 18.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            //
            // Label17
            //
            Label17.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            Label17.Dock      = DockStyle.Top;
            Label17.Font      = new Font("Segoe UI", 10.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            Label17.ForeColor = Color.White;
            Label17.Location  = new Point(0, 0);
            Label17.Margin    = new Padding(5, 0, 5, 0);
            Label17.Name      = "Label17";
            Label17.Size      = new Size(638, 35);
            Label17.TabIndex  = 180;
            Label17.TextAlign = ContentAlignment.MiddleCenter;
            //
            // Label7
            //
            Label7.AutoSize  = true;
            Label7.Font      = new Font("Segoe UI Semibold", 14.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            Label7.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            Label7.Location  = new Point(16, 53);
            Label7.Margin    = new Padding(4, 0, 4, 0);
            Label7.Name      = "Label7";
            Label7.Size      = new Size(185, 25);
            Label7.TabIndex  = 183;
            Label7.Text      = "Adjust grain storage";
            //
            // Label10
            //
            Label10.AutoSize = true;
            Label10.Location = new Point(30, 131);
            Label10.Margin   = new Padding(4, 0, 4, 0);
            Label10.Name     = "Label10";
            Label10.Size     = new Size(105, 17);
            Label10.TabIndex = 200;
            Label10.Text     = "Grain Location:";
            //
            // cboBagLocation
            //
            cboBagLocation.DropDownStyle     = ComboBoxStyle.DropDownList;
            cboBagLocation.Font              = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            cboBagLocation.FormattingEnabled = true;
            cboBagLocation.Location          = new Point(144, 126);
            cboBagLocation.Margin            = new Padding(5, 6, 5, 6);
            cboBagLocation.Name              = "cboBagLocation";
            cboBagLocation.Size              = new Size(172, 26);
            cboBagLocation.TabIndex          = 199;
            //
            // GroupBox1
            //
            GroupBox1.Controls.Add(lblRemaining);
            GroupBox1.Controls.Add(lblQtyUsed);
            GroupBox1.Controls.Add(Label4);
            GroupBox1.Controls.Add(Label5);
            GroupBox1.Controls.Add(lblPlusMinus);
            GroupBox1.Controls.Add(lblTotal);
            GroupBox1.Controls.Add(BunifuSeparator1);
            GroupBox1.Controls.Add(Label3);
            GroupBox1.Location = new Point(361, 81);
            GroupBox1.Margin   = new Padding(4, 4, 4, 4);
            GroupBox1.Name     = "GroupBox1";
            GroupBox1.Padding  = new Padding(4, 4, 4, 4);
            GroupBox1.Size     = new Size(261, 128);
            GroupBox1.TabIndex = 198;
            GroupBox1.TabStop  = false;
            //
            // lblRemaining
            //
            lblRemaining.Font      = new Font("Segoe UI", 13.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            lblRemaining.Location  = new Point(157, 16);
            lblRemaining.Margin    = new Padding(4, 0, 4, 0);
            lblRemaining.Name      = "lblRemaining";
            lblRemaining.Size      = new Size(97, 31);
            lblRemaining.TabIndex  = 182;
            lblRemaining.TextAlign = ContentAlignment.MiddleCenter;
            //
            // lblQtyUsed
            //
            lblQtyUsed.Font      = new Font("Segoe UI", 13.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            lblQtyUsed.ForeColor = Color.DarkRed;
            lblQtyUsed.Location  = new Point(157, 46);
            lblQtyUsed.Margin    = new Padding(4, 0, 4, 0);
            lblQtyUsed.Name      = "lblQtyUsed";
            lblQtyUsed.Size      = new Size(97, 31);
            lblQtyUsed.TabIndex  = 183;
            lblQtyUsed.TextAlign = ContentAlignment.MiddleCenter;
            //
            // Label4
            //
            Label4.Location  = new Point(6, 12);
            Label4.Margin    = new Padding(4, 0, 4, 0);
            Label4.Name      = "Label4";
            Label4.Size      = new Size(109, 33);
            Label4.TabIndex  = 185;
            Label4.Text      = "Remaining:";
            Label4.TextAlign = ContentAlignment.MiddleRight;
            //
            // Label5
            //
            Label5.Location  = new Point(6, 85);
            Label5.Margin    = new Padding(4, 0, 4, 0);
            Label5.Name      = "Label5";
            Label5.Size      = new Size(109, 33);
            Label5.TabIndex  = 187;
            Label5.Text      = "Total:";
            Label5.TextAlign = ContentAlignment.MiddleRight;
            //
            // lblPlusMinus
            //
            lblPlusMinus.AutoSize = true;
            lblPlusMinus.Font     = new Font("Segoe UI", 13.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            lblPlusMinus.Location = new Point(123, 43);
            lblPlusMinus.Margin   = new Padding(4, 0, 4, 0);
            lblPlusMinus.Name     = "lblPlusMinus";
            lblPlusMinus.Size     = new Size(19, 25);
            lblPlusMinus.TabIndex = 180;
            lblPlusMinus.Text     = "-";
            //
            // lblTotal
            //
            lblTotal.Font      = new Font("Segoe UI", 13.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            lblTotal.Location  = new Point(157, 88);
            lblTotal.Margin    = new Padding(4, 0, 4, 0);
            lblTotal.Name      = "lblTotal";
            lblTotal.Size      = new Size(97, 31);
            lblTotal.TabIndex  = 186;
            lblTotal.TextAlign = ContentAlignment.MiddleCenter;
            //
            // BunifuSeparator1
            //
            BunifuSeparator1.BackColor     = Color.Transparent;
            BunifuSeparator1.LineColor     = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(105)));
            BunifuSeparator1.LineThickness = 13;
            BunifuSeparator1.Location      = new Point(157, 77);
            BunifuSeparator1.Margin        = new Padding(5, 6, 5, 6);
            BunifuSeparator1.Name          = "BunifuSeparator1";
            BunifuSeparator1.Size          = new Size(97, 10);
            BunifuSeparator1.TabIndex      = 181;
            BunifuSeparator1.Transparency  = 255;
            BunifuSeparator1.Vertical      = false;
            //
            // Label3
            //
            Label3.Location  = new Point(6, 44);
            Label3.Margin    = new Padding(4, 0, 4, 0);
            Label3.Name      = "Label3";
            Label3.Size      = new Size(109, 33);
            Label3.TabIndex  = 184;
            Label3.Text      = "Quantity used:";
            Label3.TextAlign = ContentAlignment.MiddleRight;
            //
            // nudQuantity
            //
            nudQuantity.Font     = new Font("Segoe UI", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            nudQuantity.Location = new Point(145, 91);
            nudQuantity.Margin   = new Padding(4, 4, 4, 4);
            nudQuantity.Maximum  = new decimal(new int[] { 10000, 0, 0, 0 });
            nudQuantity.Name     = "nudQuantity";
            nudQuantity.Size     = new Size(120, 29);
            nudQuantity.TabIndex = 197;
            //
            // Label1
            //
            Label1.AutoSize = true;
            Label1.Location = new Point(37, 97);
            Label1.Margin   = new Padding(4, 0, 4, 0);
            Label1.Name     = "Label1";
            Label1.Size     = new Size(100, 17);
            Label1.TabIndex = 196;
            Label1.Text     = "Quantity used:";
            //
            // Label6
            //
            Label6.AutoSize = true;
            Label6.Location = new Point(22, 164);
            Label6.Margin   = new Padding(4, 0, 4, 0);
            Label6.Name     = "Label6";
            Label6.Size     = new Size(113, 17);
            Label6.TabIndex = 195;
            Label6.Text     = "Adjustment type:";
            //
            // cboAjustmentTyoe
            //
            cboAjustmentTyoe.DropDownStyle     = ComboBoxStyle.DropDownList;
            cboAjustmentTyoe.Font              = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            cboAjustmentTyoe.FormattingEnabled = true;
            cboAjustmentTyoe.Location          = new Point(144, 159);
            cboAjustmentTyoe.Margin            = new Padding(5, 6, 5, 6);
            cboAjustmentTyoe.Name              = "cboAjustmentTyoe";
            cboAjustmentTyoe.Size              = new Size(172, 26);
            cboAjustmentTyoe.TabIndex          = 194;
            //
            // pnlBooking
            //
            pnlBooking.Controls.Add(Label2);
            pnlBooking.Controls.Add(cboBookingNumber);
            pnlBooking.Location = new Point(13, 194);
            pnlBooking.Name     = "pnlBooking";
            pnlBooking.Size     = new Size(303, 58);
            pnlBooking.TabIndex = 202;
            pnlBooking.Visible  = false;
            //
            // Label2
            //
            Label2.AutoSize = true;
            Label2.Location = new Point(4, 3);
            Label2.Name     = "Label2";
            Label2.Size     = new Size(117, 17);
            Label2.TabIndex = 177;
            Label2.Text     = "Booking Number:";
            //
            // cboBookingNumber
            //
            cboBookingNumber.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            cboBookingNumber.FormattingEnabled = true;
            cboBookingNumber.Location          = new Point(130, 1);
            cboBookingNumber.Margin            = new Padding(4, 5, 4, 5);
            cboBookingNumber.Name     = "cboBookingNumber";
            cboBookingNumber.Size     = new Size(173, 26);
            cboBookingNumber.TabIndex = 175;
            //
            // pnlAdjust
            //
            pnlAdjust.Controls.Add(Label9);
            pnlAdjust.Controls.Add(rbDecrease);
            pnlAdjust.Controls.Add(Label8);
            pnlAdjust.Controls.Add(rbIncrease);
            pnlAdjust.Location = new Point(65, 192);
            pnlAdjust.Name     = "pnlAdjust";
            pnlAdjust.Size     = new Size(246, 58);
            pnlAdjust.TabIndex = 201;
            pnlAdjust.Visible  = false;
            //
            // Label9
            //
            Label9.AutoSize = true;
            Label9.Location = new Point(30, 29);
            Label9.Name     = "Label9";
            Label9.Size     = new Size(166, 17);
            Label9.TabIndex = 179;
            Label9.Text     = "DECREASE INVENTORY";
            //
            // rbDecrease
            //
            rbDecrease.Checked      = false;
            rbDecrease.Location     = new Point(3, 28);
            rbDecrease.Name         = "rbDecrease";
            rbDecrease.OutlineColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            rbDecrease.RadioColor   = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            rbDecrease.Size         = new Size(21, 21);
            rbDecrease.TabIndex     = 178;
            rbDecrease.Text         = null;
            //
            // Label8
            //
            Label8.AutoSize = true;
            Label8.Location = new Point(30, 4);
            Label8.Name     = "Label8";
            Label8.Size     = new Size(160, 17);
            Label8.TabIndex = 177;
            Label8.Text     = "INCREASE INVENTORY";
            //
            // rbIncrease
            //
            rbIncrease.Checked      = true;
            rbIncrease.Location     = new Point(3, 3);
            rbIncrease.Name         = "rbIncrease";
            rbIncrease.OutlineColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            rbIncrease.RadioColor   = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            rbIncrease.Size         = new Size(21, 21);
            rbIncrease.TabIndex     = 0;
            rbIncrease.Text         = null;
            //
            // FrmUseInvQty
            //
            AutoScaleDimensions = new SizeF(8.0f, 16.0f);
            AutoScaleMode       = AutoScaleMode.Font;
            BackColor           = Color.White;
            ClientSize          = new Size(638, 317);
            Controls.Add(pnlBooking);
            Controls.Add(pnlAdjust);
            Controls.Add(Label10);
            Controls.Add(cboBagLocation);
            Controls.Add(GroupBox1);
            Controls.Add(nudQuantity);
            Controls.Add(Label1);
            Controls.Add(Label6);
            Controls.Add(cboAjustmentTyoe);
            Controls.Add(Label7);
            Controls.Add(btnSave);
            Controls.Add(closeFlatButton);
            Controls.Add(Label17);
            Font            = new Font("Microsoft Sans Serif", 10.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            FormBorderStyle = FormBorderStyle.None;
            Margin          = new Padding(4, 4, 4, 4);
            Name            = "FrmUseInvQty";
            Text            = "FrmUseInvQty";
            GroupBox1.ResumeLayout(false);
            GroupBox1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)nudQuantity).EndInit();
            pnlBooking.ResumeLayout(false);
            pnlBooking.PerformLayout();
            pnlAdjust.ResumeLayout(false);
            pnlAdjust.PerformLayout();
            ResumeLayout(false);
            PerformLayout();
        }
Esempio n. 3
0
        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();
        }
Esempio n. 4
0
        private void InitializeComponent()
        {
            var resources        = new System.ComponentModel.ComponentResourceManager(typeof(FrmChangeEDI));
            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();

            _closeFlatButton        = new Bunifu.Framework.UI.BunifuFlatButton();
            _closeFlatButton.Click += new EventHandler(closeFlatButton_Click);
            Label12                 = new Label();
            Label1                  = new Label();
            currentEDILabel         = new Label();
            _changeEDIButton        = new Bunifu.UI.WinForms.BunifuButton.BunifuButton();
            _changeEDIButton.Click += new EventHandler(changeEDIButton_Click);
            changeLabel             = new Label();
            _systemEDIRadioButton   = new Bunifu.UI.WinForms.BunifuRadioButton();
            _systemEDIRadioButton.CheckedChanged += new EventHandler(currentEDIRadioButton_Click);
            Label2 = new Label();
            _changeEDIRadioButton = new Bunifu.UI.WinForms.BunifuRadioButton();
            _changeEDIRadioButton.CheckedChanged += new EventHandler(changeEDIRadioButton_Click);
            EDIDateTimePicker = new DateTimePicker();
            EdiTimePicker     = new DateTimePicker();
            atLabel           = new Label();
            SuspendLayout();
            //
            // closeFlatButton
            //
            _closeFlatButton.Active                   = false;
            _closeFlatButton.Activecolor              = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            _closeFlatButton.BackColor                = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            _closeFlatButton.BackgroundImageLayout    = ImageLayout.Stretch;
            _closeFlatButton.BorderRadius             = 0;
            _closeFlatButton.ButtonText               = "🗙";
            _closeFlatButton.Cursor                   = Cursors.Hand;
            _closeFlatButton.DisabledColor            = Color.Gray;
            _closeFlatButton.Iconcolor                = Color.Transparent;
            _closeFlatButton.Iconimage                = null;
            _closeFlatButton.Iconimage_right          = null;
            _closeFlatButton.Iconimage_right_Selected = null;
            _closeFlatButton.Iconimage_Selected       = null;
            _closeFlatButton.IconMarginLeft           = 0;
            _closeFlatButton.IconMarginRight          = 0;
            _closeFlatButton.IconRightVisible         = true;
            _closeFlatButton.IconRightZoom            = 0d;
            _closeFlatButton.IconVisible              = true;
            _closeFlatButton.IconZoom                 = 90.0d;
            _closeFlatButton.IsTab            = false;
            _closeFlatButton.Location         = new Point(585, 0);
            _closeFlatButton.Name             = "_closeFlatButton";
            _closeFlatButton.Normalcolor      = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            _closeFlatButton.OnHovercolor     = Color.Gray;
            _closeFlatButton.OnHoverTextColor = Color.White;
            _closeFlatButton.selected         = false;
            _closeFlatButton.Size             = new Size(44, 42);
            _closeFlatButton.TabIndex         = 169;
            _closeFlatButton.Text             = "🗙";
            _closeFlatButton.TextAlign        = ContentAlignment.MiddleCenter;
            _closeFlatButton.Textcolor        = Color.White;
            _closeFlatButton.TextFont         = new Font("Microsoft Sans Serif", 18.32727f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            //
            // Label12
            //
            Label12.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            Label12.Dock      = DockStyle.Top;
            Label12.Font      = new Font("Microsoft Sans Serif", 24.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            Label12.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            Label12.Location  = new Point(0, 0);
            Label12.Name      = "Label12";
            Label12.Size      = new Size(629, 42);
            Label12.TabIndex  = 168;
            Label12.TextAlign = ContentAlignment.MiddleCenter;
            //
            // Label1
            //
            Label1.AutoSize  = true;
            Label1.Font      = new Font("Segoe UI Semibold", 11.78182f, FontStyle.Bold, 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(27, 52);
            Label1.Name      = "Label1";
            Label1.Size      = new Size(72, 21);
            Label1.TabIndex  = 170;
            Label1.Text      = "EDI Date";
            //
            // currentEDILabel
            //
            currentEDILabel.AutoSize  = true;
            currentEDILabel.Font      = new Font("Segoe UI Semibold", 11.78182f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            currentEDILabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            currentEDILabel.Location  = new Point(104, 119);
            currentEDILabel.Name      = "currentEDILabel";
            currentEDILabel.Size      = new Size(360, 21);
            currentEDILabel.TabIndex  = 171;
            currentEDILabel.Text      = "System EDI Date/Time ( 01-JAN-1999 @ 11:11 AM)";
            //
            // changeEDIButton
            //
            _changeEDIButton.AllowToggling        = false;
            _changeEDIButton.AnimationSpeed       = 200;
            _changeEDIButton.AutoGenerateColors   = false;
            _changeEDIButton.BackColor            = Color.Transparent;
            _changeEDIButton.BackColor1           = Color.Teal;
            _changeEDIButton.BackgroundImage      = (Image)resources.GetObject("changeEDIButton.BackgroundImage");
            _changeEDIButton.BorderStyle          = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid;
            _changeEDIButton.ButtonText           = "OK";
            _changeEDIButton.ButtonTextMarginLeft = 0;
            _changeEDIButton.ColorContrastOnClick = 45;
            _changeEDIButton.ColorContrastOnHover = 45;
            _changeEDIButton.Cursor                       = Cursors.Hand;
            BorderEdges1.BottomLeft                       = true;
            BorderEdges1.BottomRight                      = true;
            BorderEdges1.TopLeft                          = true;
            BorderEdges1.TopRight                         = true;
            _changeEDIButton.CustomizableEdges            = BorderEdges1;
            _changeEDIButton.DialogResult                 = DialogResult.None;
            _changeEDIButton.DisabledBorderColor          = Color.Empty;
            _changeEDIButton.DisabledFillColor            = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)));
            _changeEDIButton.DisabledForecolor            = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168)));
            _changeEDIButton.FocusState                   = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed;
            _changeEDIButton.Font                         = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            _changeEDIButton.ForeColor                    = Color.White;
            _changeEDIButton.IconLeftCursor               = Cursors.Hand;
            _changeEDIButton.IconMarginLeft               = 11;
            _changeEDIButton.IconPadding                  = 10;
            _changeEDIButton.IconRightCursor              = Cursors.Hand;
            _changeEDIButton.IdleBorderColor              = Color.Teal;
            _changeEDIButton.IdleBorderRadius             = 3;
            _changeEDIButton.IdleBorderThickness          = 1;
            _changeEDIButton.IdleFillColor                = Color.Teal;
            _changeEDIButton.IdleIconLeftImage            = null;
            _changeEDIButton.IdleIconRightImage           = null;
            _changeEDIButton.IndicateFocus                = true;
            _changeEDIButton.Location                     = new Point(266, 237);
            _changeEDIButton.Name                         = "_changeEDIButton";
            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;
            _changeEDIButton.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;
            _changeEDIButton.OnPressedState               = StateProperties2;
            _changeEDIButton.Size                         = new Size(111, 34);
            _changeEDIButton.TabIndex                     = 172;
            _changeEDIButton.TextAlign                    = ContentAlignment.MiddleCenter;
            _changeEDIButton.TextMarginLeft               = 0;
            _changeEDIButton.UseDefaultRadiusAndThickness = true;
            //
            // changeLabel
            //
            changeLabel.AutoSize  = true;
            changeLabel.Font      = new Font("Segoe UI Semibold", 11.78182f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            changeLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            changeLabel.Location  = new Point(104, 162);
            changeLabel.Name      = "changeLabel";
            changeLabel.Size      = new Size(178, 21);
            changeLabel.TabIndex  = 173;
            changeLabel.Text      = "Change EDI Date/Time:";
            //
            // systemEDIRadioButton
            //
            _systemEDIRadioButton.Checked      = true;
            _systemEDIRadioButton.Location     = new Point(75, 121);
            _systemEDIRadioButton.Name         = "_systemEDIRadioButton";
            _systemEDIRadioButton.OutlineColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            _systemEDIRadioButton.RadioColor   = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            _systemEDIRadioButton.Size         = new Size(25, 25);
            _systemEDIRadioButton.TabIndex     = 174;
            _systemEDIRadioButton.Text         = null;
            //
            // Label2
            //
            Label2.AutoSize = true;
            Label2.Font     = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            Label2.Location = new Point(54, 79);
            Label2.Name     = "Label2";
            Label2.Size     = new Size(345, 21);
            Label2.TabIndex = 175;
            Label2.Text     = "What EDI Date and Time would you like to send?";
            //
            // changeEDIRadioButton
            //
            _changeEDIRadioButton.Checked      = false;
            _changeEDIRadioButton.Location     = new Point(75, 163);
            _changeEDIRadioButton.Name         = "_changeEDIRadioButton";
            _changeEDIRadioButton.OutlineColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            _changeEDIRadioButton.RadioColor   = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            _changeEDIRadioButton.Size         = new Size(25, 25);
            _changeEDIRadioButton.TabIndex     = 176;
            _changeEDIRadioButton.Text         = null;
            //
            // EDIDateTimePicker
            //
            EDIDateTimePicker.CustomFormat = "dd-MMM-yyyy";
            EDIDateTimePicker.Font         = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            EDIDateTimePicker.Format       = DateTimePickerFormat.Custom;
            EDIDateTimePicker.Location     = new Point(326, 159);
            EDIDateTimePicker.Name         = "EDIDateTimePicker";
            EDIDateTimePicker.Size         = new Size(158, 28);
            EDIDateTimePicker.TabIndex     = 177;
            //
            // EdiTimePicker
            //
            EdiTimePicker.CustomFormat = "hh:mm tt";
            EdiTimePicker.Font         = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            EdiTimePicker.Format       = DateTimePickerFormat.Custom;
            EdiTimePicker.Location     = new Point(512, 159);
            EdiTimePicker.Name         = "EdiTimePicker";
            EdiTimePicker.ShowUpDown   = true;
            EdiTimePicker.Size         = new Size(103, 28);
            EdiTimePicker.TabIndex     = 178;
            //
            // atLabel
            //
            atLabel.AutoSize = true;
            atLabel.Font     = new Font("Segoe UI Semibold", 11.78182f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            atLabel.Location = new Point(483, 162);
            atLabel.Name     = "atLabel";
            atLabel.Size     = new Size(25, 21);
            atLabel.TabIndex = 179;
            atLabel.Text     = "@";
            //
            // FrmChangeEDI
            //
            AutoScaleDimensions = new SizeF(6.0f, 13.0f);
            AutoScaleMode       = AutoScaleMode.Font;
            BackColor           = Color.White;
            ClientSize          = new Size(629, 283);
            Controls.Add(EdiTimePicker);
            Controls.Add(EDIDateTimePicker);
            Controls.Add(_changeEDIRadioButton);
            Controls.Add(Label2);
            Controls.Add(_systemEDIRadioButton);
            Controls.Add(changeLabel);
            Controls.Add(_changeEDIButton);
            Controls.Add(currentEDILabel);
            Controls.Add(Label1);
            Controls.Add(_closeFlatButton);
            Controls.Add(Label12);
            Controls.Add(atLabel);
            FormBorderStyle = FormBorderStyle.None;
            Name            = "FrmChangeEDI";
            Text            = "FrmChangeEDI";
            Load           += new EventHandler(FrmChangeEDI_Load);
            ResumeLayout(false);
            PerformLayout();
        }
Esempio n. 5
0
        private void InitializeComponent()
        {
            var resources        = new System.ComponentModel.ComponentResourceManager(typeof(MessageBoxCustomerMatchingWarning));
            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();

            _closeFlatButton        = new Bunifu.Framework.UI.BunifuFlatButton();
            _closeFlatButton.Click += new EventHandler(closeFlatButton_Click);
            Label8                              = new Label();
            Label3                              = new Label();
            Label9                              = new Label();
            buttonsPanel                        = new TableLayoutPanel();
            _saveButton                         = new Bunifu.UI.WinForms.BunifuButton.BunifuButton();
            _saveButton.Click                  += new EventHandler(save_Click);
            _cancelButton                       = new Bunifu.UI.WinForms.BunifuButton.BunifuButton();
            _cancelButton.Click                += new EventHandler(cancelButton_Click);
            Label1                              = new Label();
            Label2                              = new Label();
            bkgCustomerLabel                    = new Label();
            bkgNumbLabel                        = new Label();
            unitSourvceNumbLabel                = new Label();
            Label6                              = new Label();
            Label7                              = new Label();
            Label10                             = new Label();
            unitSourceCustomLabel               = new Label();
            Label11                             = new Label();
            BunifuFormDock1                     = new Bunifu.UI.WinForms.BunifuFormDock();
            warningLabel                        = new Label();
            _openFormLinkLabel                  = new LinkLabel();
            _openFormLinkLabel.LinkClicked     += new LinkLabelLinkClickedEventHandler(openFormLinkLabel_LinkClicked);
            chageUnitCustLabel                  = new Label();
            dontAsnLabel                        = new Label();
            changeUnitCustRadioButton           = new Bunifu.UI.WinForms.BunifuRadioButton();
            _dontAsnRadioButton                 = new Bunifu.UI.WinForms.BunifuRadioButton();
            _dontAsnRadioButton.CheckedChanged += new EventHandler(BunifuRadioButton2_Click);
            PictureBox1                         = new PictureBox();
            buttonsPanel.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)PictureBox1).BeginInit();
            SuspendLayout();
            //
            // closeFlatButton
            //
            _closeFlatButton.Active                   = false;
            _closeFlatButton.Activecolor              = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            _closeFlatButton.Anchor                   = AnchorStyles.Top | AnchorStyles.Right;
            _closeFlatButton.BackColor                = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            _closeFlatButton.BackgroundImageLayout    = ImageLayout.Stretch;
            _closeFlatButton.BorderRadius             = 0;
            _closeFlatButton.ButtonText               = "🗙";
            _closeFlatButton.Cursor                   = Cursors.Hand;
            _closeFlatButton.DisabledColor            = Color.Gray;
            _closeFlatButton.Iconcolor                = Color.Transparent;
            _closeFlatButton.Iconimage                = null;
            _closeFlatButton.Iconimage_right          = null;
            _closeFlatButton.Iconimage_right_Selected = null;
            _closeFlatButton.Iconimage_Selected       = null;
            _closeFlatButton.IconMarginLeft           = 0;
            _closeFlatButton.IconMarginRight          = 0;
            _closeFlatButton.IconRightVisible         = true;
            _closeFlatButton.IconRightZoom            = 0d;
            _closeFlatButton.IconVisible              = true;
            _closeFlatButton.IconZoom                 = 90.0d;
            _closeFlatButton.IsTab            = false;
            _closeFlatButton.Location         = new Point(747, 0);
            _closeFlatButton.Name             = "_closeFlatButton";
            _closeFlatButton.Normalcolor      = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            _closeFlatButton.OnHovercolor     = Color.Gray;
            _closeFlatButton.OnHoverTextColor = Color.White;
            _closeFlatButton.selected         = false;
            _closeFlatButton.Size             = new Size(43, 41);
            _closeFlatButton.TabIndex         = 170;
            _closeFlatButton.Text             = "🗙";
            _closeFlatButton.TextAlign        = ContentAlignment.MiddleCenter;
            _closeFlatButton.Textcolor        = Color.White;
            _closeFlatButton.TextFont         = new Font("Microsoft Sans Serif", 18.32727f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            //
            // Label8
            //
            Label8.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            Label8.Dock      = DockStyle.Top;
            Label8.Font      = new Font("Segoe UI", 11.78182f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            Label8.ForeColor = Color.White;
            Label8.Location  = new Point(0, 0);
            Label8.Name      = "Label8";
            Label8.Size      = new Size(790, 41);
            Label8.TabIndex  = 169;
            Label8.TextAlign = ContentAlignment.MiddleCenter;
            //
            // Label3
            //
            Label3.Anchor    = AnchorStyles.None;
            Label3.Font      = new Font("Segoe UI", 11.78182f, 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(31, 110);
            Label3.Margin    = new Padding(0);
            Label3.Name      = "Label3";
            Label3.Size      = new Size(735, 51);
            Label3.TabIndex  = 173;
            Label3.Text      = "The selected unit customer doesn't match the booking customer. Select the action " + "below to continue the assignment:" + '\r' + '\n';
            Label3.TextAlign = ContentAlignment.MiddleLeft;
            //
            // Label9
            //
            Label9.Anchor    = AnchorStyles.None;
            Label9.AutoSize  = true;
            Label9.Font      = new Font("Segoe UI Semibold", 11.78182f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            Label9.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            Label9.Location  = new Point(9, 81);
            Label9.Margin    = new Padding(0);
            Label9.Name      = "Label9";
            Label9.Size      = new Size(263, 25);
            Label9.TabIndex  = 172;
            Label9.Text      = "Customer matching problem:";
            Label9.TextAlign = ContentAlignment.MiddleRight;
            //
            // buttonsPanel
            //
            buttonsPanel.Anchor      = AnchorStyles.None;
            buttonsPanel.ColumnCount = 2;
            buttonsPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50.0f));
            buttonsPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50.0f));
            buttonsPanel.Controls.Add(_saveButton, 0, 0);
            buttonsPanel.Controls.Add(_cancelButton, 1, 0);
            buttonsPanel.Location = new Point(560, 494);
            buttonsPanel.Name     = "buttonsPanel";
            buttonsPanel.RowCount = 1;
            buttonsPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 50.0f));
            buttonsPanel.Size     = new Size(218, 39);
            buttonsPanel.TabIndex = 175;
            //
            // saveButton
            //
            _saveButton.AllowToggling        = false;
            _saveButton.AnimationSpeed       = 200;
            _saveButton.AutoGenerateColors   = false;
            _saveButton.BackColor            = Color.Transparent;
            _saveButton.BackColor1           = Color.Teal;
            _saveButton.BackgroundImage      = (Image)resources.GetObject("saveButton.BackgroundImage");
            _saveButton.BorderStyle          = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid;
            _saveButton.ButtonText           = "Save";
            _saveButton.ButtonTextMarginLeft = 0;
            _saveButton.ColorContrastOnClick = 45;
            _saveButton.ColorContrastOnHover = 45;
            _saveButton.Cursor              = Cursors.Hand;
            BorderEdges1.BottomLeft         = true;
            BorderEdges1.BottomRight        = true;
            BorderEdges1.TopLeft            = true;
            BorderEdges1.TopRight           = true;
            _saveButton.CustomizableEdges   = BorderEdges1;
            _saveButton.DialogResult        = DialogResult.None;
            _saveButton.DisabledBorderColor = Color.Empty;
            _saveButton.DisabledFillColor   = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)));
            _saveButton.DisabledForecolor   = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168)));
            _saveButton.FocusState          = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed;
            _saveButton.Font                         = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            _saveButton.ForeColor                    = Color.White;
            _saveButton.IconLeftCursor               = Cursors.Hand;
            _saveButton.IconMarginLeft               = 11;
            _saveButton.IconPadding                  = 10;
            _saveButton.IconRightCursor              = Cursors.Hand;
            _saveButton.IdleBorderColor              = Color.Teal;
            _saveButton.IdleBorderRadius             = 3;
            _saveButton.IdleBorderThickness          = 1;
            _saveButton.IdleFillColor                = Color.Teal;
            _saveButton.IdleIconLeftImage            = null;
            _saveButton.IdleIconRightImage           = null;
            _saveButton.IndicateFocus                = true;
            _saveButton.Location                     = new Point(3, 3);
            _saveButton.Name                         = "_saveButton";
            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;
            _saveButton.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;
            _saveButton.OnPressedState               = StateProperties2;
            _saveButton.Size                         = new Size(102, 33);
            _saveButton.TabIndex                     = 136;
            _saveButton.TextAlign                    = ContentAlignment.MiddleCenter;
            _saveButton.TextMarginLeft               = 0;
            _saveButton.UseDefaultRadiusAndThickness = true;
            //
            // cancelButton
            //
            _cancelButton.AllowToggling        = false;
            _cancelButton.Anchor               = AnchorStyles.Top | AnchorStyles.Right;
            _cancelButton.AnimationSpeed       = 200;
            _cancelButton.AutoGenerateColors   = false;
            _cancelButton.BackColor            = Color.Transparent;
            _cancelButton.BackColor1           = Color.White;
            _cancelButton.BackgroundImage      = (Image)resources.GetObject("cancelButton.BackgroundImage");
            _cancelButton.BorderStyle          = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid;
            _cancelButton.ButtonText           = "Cancel";
            _cancelButton.ButtonTextMarginLeft = 0;
            _cancelButton.ColorContrastOnClick = 45;
            _cancelButton.ColorContrastOnHover = 45;
            _cancelButton.Cursor               = Cursors.Hand;
            BorderEdges2.BottomLeft            = true;
            BorderEdges2.BottomRight           = true;
            BorderEdges2.TopLeft               = true;
            BorderEdges2.TopRight              = true;
            _cancelButton.CustomizableEdges    = BorderEdges2;
            _cancelButton.DialogResult         = DialogResult.None;
            _cancelButton.DisabledBorderColor  = Color.Empty;
            _cancelButton.DisabledFillColor    = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)));
            _cancelButton.DisabledForecolor    = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168)));
            _cancelButton.FocusState           = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed;
            _cancelButton.Font                         = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            _cancelButton.ForeColor                    = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            _cancelButton.IconLeftCursor               = Cursors.Hand;
            _cancelButton.IconMarginLeft               = 11;
            _cancelButton.IconPadding                  = 10;
            _cancelButton.IconRightCursor              = Cursors.Hand;
            _cancelButton.IdleBorderColor              = Color.Gray;
            _cancelButton.IdleBorderRadius             = 3;
            _cancelButton.IdleBorderThickness          = 1;
            _cancelButton.IdleFillColor                = Color.White;
            _cancelButton.IdleIconLeftImage            = null;
            _cancelButton.IdleIconRightImage           = null;
            _cancelButton.IndicateFocus                = true;
            _cancelButton.Location                     = new Point(112, 3);
            _cancelButton.Name                         = "_cancelButton";
            StateProperties3.BorderColor               = Color.DarkGray;
            StateProperties3.BorderRadius              = 3;
            StateProperties3.BorderStyle               = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid;
            StateProperties3.BorderThickness           = 1;
            StateProperties3.FillColor                 = Color.DarkGray;
            StateProperties3.ForeColor                 = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            StateProperties3.IconLeftImage             = null;
            StateProperties3.IconRightImage            = null;
            _cancelButton.onHoverState                 = StateProperties3;
            StateProperties4.BorderColor               = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            StateProperties4.BorderRadius              = 3;
            StateProperties4.BorderStyle               = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid;
            StateProperties4.BorderThickness           = 1;
            StateProperties4.FillColor                 = Color.White;
            StateProperties4.ForeColor                 = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            StateProperties4.IconLeftImage             = null;
            StateProperties4.IconRightImage            = null;
            _cancelButton.OnPressedState               = StateProperties4;
            _cancelButton.Size                         = new Size(103, 33);
            _cancelButton.TabIndex                     = 137;
            _cancelButton.TextAlign                    = ContentAlignment.MiddleCenter;
            _cancelButton.TextMarginLeft               = 0;
            _cancelButton.UseDefaultRadiusAndThickness = true;
            //
            // Label1
            //
            Label1.Anchor    = AnchorStyles.None;
            Label1.Font      = new Font("Segoe UI", 11.12727f, 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(134, 185);
            Label1.Margin    = new Padding(0);
            Label1.Name      = "Label1";
            Label1.Size      = new Size(169, 25);
            Label1.TabIndex  = 176;
            Label1.Text      = "Booking Number:";
            Label1.TextAlign = ContentAlignment.MiddleLeft;
            //
            // Label2
            //
            Label2.Anchor    = AnchorStyles.None;
            Label2.Font      = new Font("Segoe UI", 11.12727f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            Label2.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            Label2.Location  = new Point(134, 215);
            Label2.Margin    = new Padding(0);
            Label2.Name      = "Label2";
            Label2.Size      = new Size(157, 25);
            Label2.TabIndex  = 177;
            Label2.Text      = "Booking Customer:";
            Label2.TextAlign = ContentAlignment.MiddleLeft;
            //
            // bkgCustomerLabel
            //
            bkgCustomerLabel.Anchor    = AnchorStyles.None;
            bkgCustomerLabel.Font      = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold | FontStyle.Italic, GraphicsUnit.Point, Conversions.ToByte(0));
            bkgCustomerLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            bkgCustomerLabel.Location  = new Point(317, 215);
            bkgCustomerLabel.Margin    = new Padding(0);
            bkgCustomerLabel.Name      = "bkgCustomerLabel";
            bkgCustomerLabel.Size      = new Size(408, 40);
            bkgCustomerLabel.TabIndex  = 179;
            bkgCustomerLabel.Text      = "Booking Customer:";
            //
            // bkgNumbLabel
            //
            bkgNumbLabel.Anchor    = AnchorStyles.None;
            bkgNumbLabel.Font      = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            bkgNumbLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            bkgNumbLabel.Location  = new Point(317, 185);
            bkgNumbLabel.Margin    = new Padding(0);
            bkgNumbLabel.Name      = "bkgNumbLabel";
            bkgNumbLabel.Size      = new Size(203, 25);
            bkgNumbLabel.TabIndex  = 178;
            bkgNumbLabel.Text      = "Booking Number:";
            bkgNumbLabel.TextAlign = ContentAlignment.MiddleLeft;
            //
            // unitSourvceNumbLabel
            //
            unitSourvceNumbLabel.Anchor    = AnchorStyles.None;
            unitSourvceNumbLabel.Font      = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            unitSourvceNumbLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            unitSourvceNumbLabel.Location  = new Point(317, 276);
            unitSourvceNumbLabel.Margin    = new Padding(0);
            unitSourvceNumbLabel.Name      = "unitSourvceNumbLabel";
            unitSourvceNumbLabel.Size      = new Size(203, 25);
            unitSourvceNumbLabel.TabIndex  = 182;
            unitSourvceNumbLabel.Text      = "Unit Number:";
            unitSourvceNumbLabel.TextAlign = ContentAlignment.MiddleLeft;
            //
            // Label6
            //
            Label6.Anchor    = AnchorStyles.None;
            Label6.Font      = new Font("Segoe UI", 11.12727f, 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(134, 306);
            Label6.Margin    = new Padding(0);
            Label6.Name      = "Label6";
            Label6.Size      = new Size(183, 25);
            Label6.TabIndex  = 181;
            Label6.Text      = "Unit Source Customer:";
            Label6.TextAlign = ContentAlignment.MiddleLeft;
            //
            // Label7
            //
            Label7.Anchor    = AnchorStyles.None;
            Label7.Font      = new Font("Segoe UI", 11.12727f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            Label7.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            Label7.Location  = new Point(134, 276);
            Label7.Margin    = new Padding(0);
            Label7.Name      = "Label7";
            Label7.Size      = new Size(183, 25);
            Label7.TabIndex  = 180;
            Label7.Text      = "Unit Source Number:";
            Label7.TextAlign = ContentAlignment.MiddleLeft;
            //
            // Label10
            //
            Label10.Anchor    = AnchorStyles.None;
            Label10.Font      = new Font("Segoe UI", 7.854546f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            Label10.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            Label10.Location  = new Point(134, 245);
            Label10.Margin    = new Padding(0);
            Label10.Name      = "Label10";
            Label10.Size      = new Size(454, 16);
            Label10.TabIndex  = 184;
            Label10.Text      = "_________________________________________________________________________________" + "______________________";
            //
            // unitSourceCustomLabel
            //
            unitSourceCustomLabel.Anchor    = AnchorStyles.None;
            unitSourceCustomLabel.Font      = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold | FontStyle.Italic, GraphicsUnit.Point, Conversions.ToByte(0));
            unitSourceCustomLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            unitSourceCustomLabel.Location  = new Point(317, 306);
            unitSourceCustomLabel.Margin    = new Padding(0);
            unitSourceCustomLabel.Name      = "unitSourceCustomLabel";
            unitSourceCustomLabel.Size      = new Size(408, 34);
            unitSourceCustomLabel.TabIndex  = 183;
            unitSourceCustomLabel.Text      = "Unit Customer:";
            //
            // Label11
            //
            Label11.Anchor    = AnchorStyles.None;
            Label11.Font      = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            Label11.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            Label11.Location  = new Point(38, 354);
            Label11.Margin    = new Padding(0);
            Label11.Name      = "Label11";
            Label11.Size      = new Size(65, 25);
            Label11.TabIndex  = 185;
            Label11.Text      = "Action:";
            Label11.TextAlign = ContentAlignment.MiddleLeft;
            //
            // BunifuFormDock1
            //
            BunifuFormDock1.AllowFormDragging                          = true;
            BunifuFormDock1.AllowFormDropShadow                        = true;
            BunifuFormDock1.AllowFormResizing                          = true;
            BunifuFormDock1.AllowHidingBottomRegion                    = true;
            BunifuFormDock1.AllowOpacityChangesWhileDragging           = false;
            BunifuFormDock1.BorderOptions.BottomBorder.BorderColor     = Color.Silver;
            BunifuFormDock1.BorderOptions.BottomBorder.BorderThickness = 1;
            BunifuFormDock1.BorderOptions.BottomBorder.ShowBorder      = true;
            BunifuFormDock1.BorderOptions.LeftBorder.BorderColor       = Color.Silver;
            BunifuFormDock1.BorderOptions.LeftBorder.BorderThickness   = 1;
            BunifuFormDock1.BorderOptions.LeftBorder.ShowBorder        = true;
            BunifuFormDock1.BorderOptions.RightBorder.BorderColor      = Color.Silver;
            BunifuFormDock1.BorderOptions.RightBorder.BorderThickness  = 1;
            BunifuFormDock1.BorderOptions.RightBorder.ShowBorder       = true;
            BunifuFormDock1.BorderOptions.TopBorder.BorderColor        = Color.Silver;
            BunifuFormDock1.BorderOptions.TopBorder.BorderThickness    = 1;
            BunifuFormDock1.BorderOptions.TopBorder.ShowBorder         = true;
            BunifuFormDock1.ContainerControl               = this;
            BunifuFormDock1.DockingIndicatorsColor         = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(202)), Conversions.ToInteger(Conversions.ToByte(215)), Conversions.ToInteger(Conversions.ToByte(233)));
            BunifuFormDock1.DockingIndicatorsOpacity       = 0.5d;
            BunifuFormDock1.DockingOptions.DockAll         = true;
            BunifuFormDock1.DockingOptions.DockBottomLeft  = true;
            BunifuFormDock1.DockingOptions.DockBottomRight = true;
            BunifuFormDock1.DockingOptions.DockFullScreen  = true;
            BunifuFormDock1.DockingOptions.DockLeft        = true;
            BunifuFormDock1.DockingOptions.DockRight       = true;
            BunifuFormDock1.DockingOptions.DockTopLeft     = true;
            BunifuFormDock1.DockingOptions.DockTopRight    = true;
            BunifuFormDock1.FormDraggingOpacity            = 0.9d;
            BunifuFormDock1.ParentForm                                      = this;
            BunifuFormDock1.ShowCursorChanges                               = true;
            BunifuFormDock1.ShowDockingIndicators                           = true;
            BunifuFormDock1.TitleBarOptions.AllowFormDragging               = true;
            BunifuFormDock1.TitleBarOptions.BunifuFormDock                  = BunifuFormDock1;
            BunifuFormDock1.TitleBarOptions.DoubleClickToExpandWindow       = false;
            BunifuFormDock1.TitleBarOptions.TitleBarControl                 = Label8;
            BunifuFormDock1.TitleBarOptions.UseBackColorOnDockingIndicators = false;
            //
            // warningLabel
            //
            warningLabel.Anchor    = AnchorStyles.None;
            warningLabel.Font      = new Font("Segoe UI Semibold", 9.818182f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0));
            warningLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            warningLabel.Location  = new Point(105, 439);
            warningLabel.Margin    = new Padding(0);
            warningLabel.Name      = "warningLabel";
            warningLabel.Size      = new Size(649, 41);
            warningLabel.TabIndex  = 186;
            //
            // openFormLinkLabel
            //
            _openFormLinkLabel.Location = new Point(102, 480);
            _openFormLinkLabel.Name     = "_openFormLinkLabel";
            _openFormLinkLabel.Size     = new Size(122, 23);
            _openFormLinkLabel.TabIndex = 187;
            //
            // chageUnitCustLabel
            //
            chageUnitCustLabel.Anchor    = AnchorStyles.None;
            chageUnitCustLabel.Font      = new Font("Segoe UI", 11.12727f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            chageUnitCustLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            chageUnitCustLabel.Location  = new Point(65, 404);
            chageUnitCustLabel.Margin    = new Padding(0);
            chageUnitCustLabel.Name      = "chageUnitCustLabel";
            chageUnitCustLabel.Size      = new Size(457, 25);
            chageUnitCustLabel.TabIndex  = 188;
            chageUnitCustLabel.Text      = "Set Unit Source Customer same as Booking Customer";
            chageUnitCustLabel.TextAlign = ContentAlignment.MiddleLeft;
            //
            // dontAsnLabel
            //
            dontAsnLabel.Anchor    = AnchorStyles.None;
            dontAsnLabel.Font      = new Font("Segoe UI", 11.12727f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0));
            dontAsnLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)));
            dontAsnLabel.Location  = new Point(65, 379);
            dontAsnLabel.Margin    = new Padding(0);
            dontAsnLabel.Name      = "dontAsnLabel";
            dontAsnLabel.Size      = new Size(457, 25);
            dontAsnLabel.TabIndex  = 189;
            dontAsnLabel.Text      = "Don't assign unit to booking";
            dontAsnLabel.TextAlign = ContentAlignment.MiddleLeft;
            //
            // changeUnitCustRadioButton
            //
            changeUnitCustRadioButton.Checked      = true;
            changeUnitCustRadioButton.Location     = new Point(44, 407);
            changeUnitCustRadioButton.Name         = "changeUnitCustRadioButton";
            changeUnitCustRadioButton.OutlineColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            changeUnitCustRadioButton.RadioColor   = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            changeUnitCustRadioButton.Size         = new Size(20, 20);
            changeUnitCustRadioButton.TabIndex     = 190;
            changeUnitCustRadioButton.Text         = null;
            //
            // dontAsnRadioButton
            //
            _dontAsnRadioButton.Checked      = false;
            _dontAsnRadioButton.Location     = new Point(44, 382);
            _dontAsnRadioButton.Name         = "_dontAsnRadioButton";
            _dontAsnRadioButton.OutlineColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            _dontAsnRadioButton.RadioColor   = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0)));
            _dontAsnRadioButton.Size         = new Size(20, 20);
            _dontAsnRadioButton.TabIndex     = 191;
            _dontAsnRadioButton.Text         = null;
            //
            // PictureBox1
            //
            PictureBox1.Image    = My.Resources.Resources.icon_available;
            PictureBox1.Location = new Point(56, 440);
            PictureBox1.Name     = "PictureBox1";
            PictureBox1.Size     = new Size(40, 40);
            PictureBox1.SizeMode = PictureBoxSizeMode.Zoom;
            PictureBox1.TabIndex = 192;
            PictureBox1.TabStop  = false;
            //
            // MessageBoxCustomerMatchingWarning
            //
            AutoScaleDimensions = new SizeF(6.0f, 13.0f);
            AutoScaleMode       = AutoScaleMode.Font;
            BackColor           = Color.White;
            ClientSize          = new Size(790, 545);
            ControlBox          = false;
            Controls.Add(PictureBox1);
            Controls.Add(_dontAsnRadioButton);
            Controls.Add(changeUnitCustRadioButton);
            Controls.Add(dontAsnLabel);
            Controls.Add(chageUnitCustLabel);
            Controls.Add(_openFormLinkLabel);
            Controls.Add(warningLabel);
            Controls.Add(Label11);
            Controls.Add(Label10);
            Controls.Add(unitSourceCustomLabel);
            Controls.Add(unitSourvceNumbLabel);
            Controls.Add(Label6);
            Controls.Add(Label7);
            Controls.Add(bkgCustomerLabel);
            Controls.Add(bkgNumbLabel);
            Controls.Add(Label2);
            Controls.Add(Label1);
            Controls.Add(buttonsPanel);
            Controls.Add(Label3);
            Controls.Add(Label9);
            Controls.Add(_closeFlatButton);
            Controls.Add(Label8);
            FormBorderStyle = FormBorderStyle.None;
            Name            = "MessageBoxCustomerMatchingWarning";
            StartPosition   = FormStartPosition.CenterScreen;
            buttonsPanel.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)PictureBox1).EndInit();
            ResumeLayout(false);
            PerformLayout();
        }