private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmChangeBooking)); var BorderEdges1 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderEdges(); var StateProperties1 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties2 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var BorderEdges2 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderEdges(); var StateProperties3 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties4 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var DataGridViewCellStyle1 = new DataGridViewCellStyle(); var DataGridViewCellStyle2 = new DataGridViewCellStyle(); var DataGridViewCellStyle3 = new DataGridViewCellStyle(); var StateProperties5 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties6 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties7 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties8 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var ToggleState1 = new Bunifu.ToggleSwitch.ToggleState(); var ToggleState2 = new Bunifu.ToggleSwitch.ToggleState(); var ToggleState3 = new Bunifu.ToggleSwitch.ToggleState(); _closeLabel = new Label(); _closeLabel.MouseHover += new EventHandler(closeLabel_MouseHover); _closeLabel.MouseLeave += new EventHandler(closeLabel_Click); _closeLabel.Click += new EventHandler(closeLabel_MouseLeave); Label7 = new Label(); _cancelButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _cancelButton.Click += new EventHandler(cancelButton_Click); _transferButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _transferButton.Click += new EventHandler(transferButton_Click); Panel3 = new Panel(); _bookingsBunifuDataGridView1 = new Bunifu.UI.WinForms.BunifuDataGridView(); _bookingsBunifuDataGridView1.SelectionChanged += new EventHandler(bookingsBunifuDataGridView1_SelectionChanged); _searchBunifuTextBox1 = new BunifuTextBox(); _searchBunifuTextBox1.TextChanged += new EventHandler(searchBunifuTextBox1_TextChanged); infoLabel = new CustomizedControlsLibrary.ShapedLabel(); Label1 = new Label(); Label2 = new Label(); Label3 = new Label(); _BunifuToggleSwitch1 = new Bunifu.ToggleSwitch.BunifuToggleSwitch(); _BunifuToggleSwitch1.OnValuechange += new EventHandler(BunifuToggleSwitch1_OnValuechange); Column1 = new DataGridViewTextBoxColumn(); Column2 = new DataGridViewTextBoxColumn(); Column7 = new DataGridViewTextBoxColumn(); Column3 = new DataGridViewTextBoxColumn(); Panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)_bookingsBunifuDataGridView1).BeginInit(); SuspendLayout(); // // closeLabel // _closeLabel.Anchor = AnchorStyles.Top | AnchorStyles.Right; _closeLabel.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _closeLabel.Font = new Font("Arial Narrow", 22.25455f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _closeLabel.ForeColor = Color.White; _closeLabel.Location = new Point(701, 2); _closeLabel.Margin = new Padding(0); _closeLabel.Name = "_closeLabel"; _closeLabel.Size = new Size(48, 44); _closeLabel.TabIndex = 81; _closeLabel.Text = "🗙"; _closeLabel.TextAlign = ContentAlignment.MiddleCenter; // // Label7 // Label7.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label7.Dock = DockStyle.Top; Label7.Font = new Font("Microsoft Sans Serif", 24.0f, 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(0, 0); Label7.Name = "Label7"; Label7.Size = new Size(749, 46); Label7.TabIndex = 80; Label7.TextAlign = ContentAlignment.MiddleCenter; // // cancelButton // _cancelButton.AllowToggling = false; _cancelButton.Anchor = AnchorStyles.Bottom | 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; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _cancelButton.CustomizableEdges = BorderEdges1; _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(604, 536); _cancelButton.Name = "_cancelButton"; StateProperties1.BorderColor = Color.DarkGray; StateProperties1.BorderRadius = 3; StateProperties1.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties1.BorderThickness = 1; StateProperties1.FillColor = Color.DarkGray; StateProperties1.ForeColor = Color.White; StateProperties1.IconLeftImage = null; StateProperties1.IconRightImage = null; _cancelButton.onHoverState = StateProperties1; StateProperties2.BorderColor = Color.IndianRed; StateProperties2.BorderRadius = 3; StateProperties2.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties2.BorderThickness = 1; StateProperties2.FillColor = Color.IndianRed; StateProperties2.ForeColor = Color.White; StateProperties2.IconLeftImage = null; StateProperties2.IconRightImage = null; _cancelButton.OnPressedState = StateProperties2; _cancelButton.Size = new Size(97, 45); _cancelButton.TabIndex = 79; _cancelButton.TextAlign = ContentAlignment.MiddleCenter; _cancelButton.TextMarginLeft = 0; _cancelButton.UseDefaultRadiusAndThickness = true; // // transferButton // _transferButton.AllowToggling = false; _transferButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; _transferButton.AnimationSpeed = 200; _transferButton.AutoGenerateColors = false; _transferButton.BackColor = Color.Transparent; _transferButton.BackColor1 = Color.Teal; _transferButton.BackgroundImage = (Image)resources.GetObject("transferButton.BackgroundImage"); _transferButton.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _transferButton.ButtonText = "Transfer"; _transferButton.ButtonTextMarginLeft = 0; _transferButton.ColorContrastOnClick = 45; _transferButton.ColorContrastOnHover = 45; _transferButton.Cursor = Cursors.Hand; BorderEdges2.BottomLeft = true; BorderEdges2.BottomRight = true; BorderEdges2.TopLeft = true; BorderEdges2.TopRight = true; _transferButton.CustomizableEdges = BorderEdges2; _transferButton.DialogResult = DialogResult.None; _transferButton.DisabledBorderColor = Color.Empty; _transferButton.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _transferButton.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _transferButton.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _transferButton.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _transferButton.ForeColor = Color.White; _transferButton.IconLeftCursor = Cursors.Hand; _transferButton.IconMarginLeft = 11; _transferButton.IconPadding = 10; _transferButton.IconRightCursor = Cursors.Hand; _transferButton.IdleBorderColor = Color.Teal; _transferButton.IdleBorderRadius = 3; _transferButton.IdleBorderThickness = 1; _transferButton.IdleFillColor = Color.Teal; _transferButton.IdleIconLeftImage = null; _transferButton.IdleIconRightImage = null; _transferButton.IndicateFocus = true; _transferButton.Location = new Point(482, 536); _transferButton.Name = "_transferButton"; StateProperties3.BorderColor = Color.MediumTurquoise; StateProperties3.BorderRadius = 3; StateProperties3.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties3.BorderThickness = 1; StateProperties3.FillColor = Color.MediumTurquoise; StateProperties3.ForeColor = Color.White; StateProperties3.IconLeftImage = null; StateProperties3.IconRightImage = null; _transferButton.onHoverState = StateProperties3; StateProperties4.BorderColor = Color.Teal; StateProperties4.BorderRadius = 3; StateProperties4.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties4.BorderThickness = 1; StateProperties4.FillColor = Color.Teal; StateProperties4.ForeColor = Color.White; StateProperties4.IconLeftImage = null; StateProperties4.IconRightImage = null; _transferButton.OnPressedState = StateProperties4; _transferButton.Size = new Size(102, 45); _transferButton.TabIndex = 78; _transferButton.TextAlign = ContentAlignment.MiddleCenter; _transferButton.TextMarginLeft = 0; _transferButton.UseDefaultRadiusAndThickness = true; // // Panel3 // Panel3.BorderStyle = BorderStyle.FixedSingle; Panel3.Controls.Add(_bookingsBunifuDataGridView1); Panel3.Location = new Point(49, 140); Panel3.Name = "Panel3"; Panel3.Size = new Size(652, 277); Panel3.TabIndex = 82; // // bookingsBunifuDataGridView1 // _bookingsBunifuDataGridView1.AllowCustomTheming = true; _bookingsBunifuDataGridView1.AllowUserToAddRows = false; _bookingsBunifuDataGridView1.AllowUserToDeleteRows = false; _bookingsBunifuDataGridView1.AllowUserToOrderColumns = true; _bookingsBunifuDataGridView1.AllowUserToResizeColumns = false; _bookingsBunifuDataGridView1.AllowUserToResizeRows = false; DataGridViewCellStyle1.BackColor = Color.White; DataGridViewCellStyle1.ForeColor = Color.Black; _bookingsBunifuDataGridView1.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1; _bookingsBunifuDataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; _bookingsBunifuDataGridView1.BackgroundColor = Color.White; _bookingsBunifuDataGridView1.BorderStyle = BorderStyle.None; _bookingsBunifuDataGridView1.CellBorderStyle = DataGridViewCellBorderStyle.SingleHorizontal; _bookingsBunifuDataGridView1.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.None; DataGridViewCellStyle2.Alignment = DataGridViewContentAlignment.MiddleLeft; DataGridViewCellStyle2.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); DataGridViewCellStyle2.Font = new Font("Segoe UI Semibold", 11.75f, FontStyle.Bold); DataGridViewCellStyle2.ForeColor = Color.White; DataGridViewCellStyle2.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); DataGridViewCellStyle2.SelectionForeColor = SystemColors.HighlightText; DataGridViewCellStyle2.WrapMode = DataGridViewTriState.True; _bookingsBunifuDataGridView1.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle2; _bookingsBunifuDataGridView1.ColumnHeadersHeight = 40; _bookingsBunifuDataGridView1.Columns.AddRange(new DataGridViewColumn[] { Column1, Column2, Column7, Column3 }); _bookingsBunifuDataGridView1.CurrentTheme.AlternatingRowsStyle.BackColor = Color.White; _bookingsBunifuDataGridView1.CurrentTheme.AlternatingRowsStyle.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); _bookingsBunifuDataGridView1.CurrentTheme.AlternatingRowsStyle.ForeColor = Color.Black; _bookingsBunifuDataGridView1.CurrentTheme.AlternatingRowsStyle.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224))); _bookingsBunifuDataGridView1.CurrentTheme.AlternatingRowsStyle.SelectionForeColor = Color.Black; _bookingsBunifuDataGridView1.CurrentTheme.BackColor = Color.Snow; _bookingsBunifuDataGridView1.CurrentTheme.GridColor = Color.Gray; _bookingsBunifuDataGridView1.CurrentTheme.HeaderStyle.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _bookingsBunifuDataGridView1.CurrentTheme.HeaderStyle.Font = new Font("Segoe UI Semibold", 11.75f, FontStyle.Bold); _bookingsBunifuDataGridView1.CurrentTheme.HeaderStyle.ForeColor = Color.White; _bookingsBunifuDataGridView1.CurrentTheme.Name = null; _bookingsBunifuDataGridView1.CurrentTheme.RowsStyle.BackColor = Color.WhiteSmoke; _bookingsBunifuDataGridView1.CurrentTheme.RowsStyle.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); _bookingsBunifuDataGridView1.CurrentTheme.RowsStyle.ForeColor = Color.Black; _bookingsBunifuDataGridView1.CurrentTheme.RowsStyle.SelectionBackColor = Color.Gray; _bookingsBunifuDataGridView1.CurrentTheme.RowsStyle.SelectionForeColor = Color.Black; DataGridViewCellStyle3.Alignment = DataGridViewContentAlignment.MiddleLeft; DataGridViewCellStyle3.BackColor = Color.WhiteSmoke; DataGridViewCellStyle3.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); DataGridViewCellStyle3.ForeColor = Color.Black; DataGridViewCellStyle3.SelectionBackColor = Color.Gray; DataGridViewCellStyle3.SelectionForeColor = Color.Black; DataGridViewCellStyle3.WrapMode = DataGridViewTriState.False; _bookingsBunifuDataGridView1.DefaultCellStyle = DataGridViewCellStyle3; _bookingsBunifuDataGridView1.Dock = DockStyle.Fill; _bookingsBunifuDataGridView1.EnableHeadersVisualStyles = false; _bookingsBunifuDataGridView1.GridColor = Color.Gray; _bookingsBunifuDataGridView1.HeaderBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _bookingsBunifuDataGridView1.HeaderBgColor = Color.Empty; _bookingsBunifuDataGridView1.HeaderForeColor = Color.White; _bookingsBunifuDataGridView1.Location = new Point(0, 0); _bookingsBunifuDataGridView1.MultiSelect = false; _bookingsBunifuDataGridView1.Name = "_bookingsBunifuDataGridView1"; _bookingsBunifuDataGridView1.ReadOnly = true; _bookingsBunifuDataGridView1.RowHeadersVisible = false; _bookingsBunifuDataGridView1.RowTemplate.Height = 35; _bookingsBunifuDataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect; _bookingsBunifuDataGridView1.Size = new Size(650, 275); _bookingsBunifuDataGridView1.TabIndex = 80; _bookingsBunifuDataGridView1.Theme = Bunifu.UI.WinForms.BunifuDataGridView.PresetThemes.Dark; // // searchBunifuTextBox1 // _searchBunifuTextBox1.AcceptsReturn = false; _searchBunifuTextBox1.AcceptsTab = false; _searchBunifuTextBox1.AnimationSpeed = 200; _searchBunifuTextBox1.AutoCompleteMode = AutoCompleteMode.None; _searchBunifuTextBox1.AutoCompleteSource = AutoCompleteSource.None; _searchBunifuTextBox1.BackColor = Color.Transparent; _searchBunifuTextBox1.BackgroundImage = (Image)resources.GetObject("searchBunifuTextBox1.BackgroundImage"); _searchBunifuTextBox1.BorderColorActive = Color.DodgerBlue; _searchBunifuTextBox1.BorderColorDisabled = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161))); _searchBunifuTextBox1.BorderColorHover = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); _searchBunifuTextBox1.BorderColorIdle = Color.Silver; _searchBunifuTextBox1.BorderRadius = 1; _searchBunifuTextBox1.BorderThickness = 1; _searchBunifuTextBox1.CharacterCasing = CharacterCasing.Normal; _searchBunifuTextBox1.Cursor = Cursors.IBeam; _searchBunifuTextBox1.DefaultFont = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _searchBunifuTextBox1.DefaultText = ""; _searchBunifuTextBox1.FillColor = Color.White; _searchBunifuTextBox1.HideSelection = true; _searchBunifuTextBox1.IconLeft = null; _searchBunifuTextBox1.IconLeftCursor = Cursors.IBeam; _searchBunifuTextBox1.IconPadding = 10; _searchBunifuTextBox1.IconRight = null; _searchBunifuTextBox1.IconRightCursor = Cursors.IBeam; _searchBunifuTextBox1.Lines = new string[0]; _searchBunifuTextBox1.Location = new Point(453, 104); _searchBunifuTextBox1.MaxLength = 32767; _searchBunifuTextBox1.MinimumSize = new Size(100, 35); _searchBunifuTextBox1.Modified = false; _searchBunifuTextBox1.Multiline = false; _searchBunifuTextBox1.Name = "_searchBunifuTextBox1"; StateProperties5.BorderColor = Color.DodgerBlue; StateProperties5.FillColor = Color.Empty; StateProperties5.ForeColor = Color.Empty; StateProperties5.PlaceholderForeColor = Color.Empty; _searchBunifuTextBox1.OnActiveState = StateProperties5; StateProperties6.BorderColor = Color.Empty; StateProperties6.FillColor = Color.White; StateProperties6.ForeColor = Color.Empty; StateProperties6.PlaceholderForeColor = Color.Silver; _searchBunifuTextBox1.OnDisabledState = StateProperties6; StateProperties7.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); StateProperties7.FillColor = Color.Empty; StateProperties7.ForeColor = Color.Empty; StateProperties7.PlaceholderForeColor = Color.Empty; _searchBunifuTextBox1.OnHoverState = StateProperties7; StateProperties8.BorderColor = Color.Silver; StateProperties8.FillColor = Color.White; StateProperties8.ForeColor = Color.Empty; StateProperties8.PlaceholderForeColor = Color.Empty; _searchBunifuTextBox1.OnIdleState = StateProperties8; _searchBunifuTextBox1.PasswordChar = '\0'; _searchBunifuTextBox1.PlaceholderForeColor = Color.Silver; _searchBunifuTextBox1.PlaceholderText = "Search..."; _searchBunifuTextBox1.ReadOnly = false; _searchBunifuTextBox1.ScrollBars = ScrollBars.None; _searchBunifuTextBox1.SelectedText = ""; _searchBunifuTextBox1.SelectionLength = 0; _searchBunifuTextBox1.SelectionStart = 0; _searchBunifuTextBox1.ShortcutsEnabled = true; _searchBunifuTextBox1.Size = new Size(218, 35); _searchBunifuTextBox1.Style = _Style.Bunifu; _searchBunifuTextBox1.TabIndex = 0; _searchBunifuTextBox1.TextAlign = HorizontalAlignment.Left; _searchBunifuTextBox1.TextMarginBottom = 0; _searchBunifuTextBox1.TextMarginLeft = 5; _searchBunifuTextBox1.TextMarginTop = 0; _searchBunifuTextBox1.TextPlaceholder = "Search..."; _searchBunifuTextBox1.UseSystemPasswordChar = false; _searchBunifuTextBox1.WordWrap = true; // // infoLabel // infoLabel.BackColor = Color.Silver; infoLabel.BorderColor = Color.White; infoLabel.Edge = 50; infoLabel.Font = new Font("Segoe UI Semibold", 9.818182f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); infoLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); infoLabel.Location = new Point(59, 423); infoLabel.Name = "infoLabel"; infoLabel.Padding = new Padding(10); infoLabel.Size = new Size(612, 104); infoLabel.TabIndex = 83; // // 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(59, 58); Label1.Name = "Label1"; Label1.Size = new Size(474, 21); Label1.TabIndex = 84; Label1.Text = "Select the booking number the containers will be transferred to"; // // Label2 // Label2.AutoSize = true; Label2.Font = new Font("Segoe UI Semibold", 9.818182f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.ForeColor = Color.Tomato; Label2.Location = new Point(52, 116); Label2.Name = "Label2"; Label2.Size = new Size(58, 19); Label2.TabIndex = 87; Label2.Text = "Inactive"; // // Label3 // Label3.AutoSize = true; Label3.Font = new Font("Segoe UI Semibold", 9.818182f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label3.ForeColor = Color.Green; Label3.Location = new Point(154, 116); Label3.Name = "Label3"; Label3.Size = new Size(48, 19); Label3.TabIndex = 86; Label3.Text = "Active"; // // BunifuToggleSwitch1 // _BunifuToggleSwitch1.Anchor = AnchorStyles.Top | AnchorStyles.Right; _BunifuToggleSwitch1.Animation = 5; _BunifuToggleSwitch1.BackColor = Color.Transparent; _BunifuToggleSwitch1.BackgroundImage = (Image)resources.GetObject("BunifuToggleSwitch1.BackgroundImage"); _BunifuToggleSwitch1.Cursor = Cursors.Hand; _BunifuToggleSwitch1.Location = new Point(117, 120); _BunifuToggleSwitch1.Name = "_BunifuToggleSwitch1"; _BunifuToggleSwitch1.Size = new Size(35, 19); _BunifuToggleSwitch1.TabIndex = 85; ToggleState1.BackColor = Color.Empty; ToggleState1.BackColorInner = Color.Empty; ToggleState1.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(236)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(140))); ToggleState1.BorderColorInner = Color.Empty; ToggleState1.BorderRadius = 1; ToggleState1.BorderRadiusInner = 1; ToggleState1.BorderThickness = 1; ToggleState1.BorderThicknessInner = 1; _BunifuToggleSwitch1.ToggleStateDisabled = ToggleState1; ToggleState2.BackColor = Color.Tomato; ToggleState2.BackColorInner = Color.White; ToggleState2.BorderColor = Color.Tomato; ToggleState2.BorderColorInner = Color.White; ToggleState2.BorderRadius = 17; ToggleState2.BorderRadiusInner = 15; ToggleState2.BorderThickness = 1; ToggleState2.BorderThicknessInner = 1; _BunifuToggleSwitch1.ToggleStateOff = ToggleState2; ToggleState3.BackColor = Color.Green; ToggleState3.BackColorInner = Color.White; ToggleState3.BorderColor = Color.Green; ToggleState3.BorderColorInner = Color.White; ToggleState3.BorderRadius = 17; ToggleState3.BorderRadiusInner = 15; ToggleState3.BorderThickness = 1; ToggleState3.BorderThicknessInner = 1; _BunifuToggleSwitch1.ToggleStateOn = ToggleState3; _BunifuToggleSwitch1.Value = true; // // Column1 // Column1.FillWeight = 127.5518f; Column1.HeaderText = "Booking Number"; Column1.Name = "Column1"; Column1.ReadOnly = true; // // Column2 // Column2.FillWeight = 186.5444f; Column2.HeaderText = "Customer"; Column2.Name = "Column2"; Column2.ReadOnly = true; // // Column7 // Column7.FillWeight = 56.42446f; Column7.HeaderText = "SS Line"; Column7.Name = "Column7"; Column7.ReadOnly = true; // // Column3 // Column3.HeaderText = "mbId"; Column3.Name = "Column3"; Column3.ReadOnly = true; Column3.Visible = false; // // FrmChangeBooking // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(749, 616); Controls.Add(_BunifuToggleSwitch1); Controls.Add(Label2); Controls.Add(Label3); Controls.Add(Label1); Controls.Add(infoLabel); Controls.Add(Panel3); Controls.Add(_closeLabel); Controls.Add(_searchBunifuTextBox1); Controls.Add(Label7); Controls.Add(_cancelButton); Controls.Add(_transferButton); FormBorderStyle = FormBorderStyle.None; Name = "FrmChangeBooking"; Text = "FrmChangeBooking"; Panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)_bookingsBunifuDataGridView1).EndInit(); Load += new EventHandler(FrmChangeBooking_Load); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmTimeTracker)); 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(); Panel2 = new Panel(); messageButto = new CustomizedControlsLibrary.ShapedLabel(); _clockInOutButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _clockInOutButton.Click += new EventHandler(clockInOutButton_Click); titleLabel = new Label(); BunifuShadowPanel1 = new Bunifu.UI.WinForm.BunifuShadowPanel.BunifuShadowPanel(); Panel1 = new Panel(); Panel5 = new Panel(); Panel2.SuspendLayout(); BunifuShadowPanel1.SuspendLayout(); Panel1.SuspendLayout(); Panel5.SuspendLayout(); SuspendLayout(); // // Panel2 // Panel2.BackColor = Color.White; Panel2.Controls.Add(messageButto); Panel2.Controls.Add(_clockInOutButton); Panel2.Controls.Add(titleLabel); Panel2.Dock = DockStyle.Fill; Panel2.Location = new Point(0, 40); Panel2.Name = "Panel2"; Panel2.Size = new Size(1140, 678); Panel2.TabIndex = 0; // // messageButto // messageButto.Anchor = AnchorStyles.None; messageButto.BackColor = Color.Gray; messageButto.BorderColor = Color.Transparent; messageButto.Edge = 200; messageButto.Font = new Font("Segoe UI Semibold", 20.29091f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); messageButto.Location = new Point(470, 159); messageButto.Name = "messageButto"; messageButto.Size = new Size(199, 203); messageButto.TabIndex = 81; messageButto.Text = "CLOCKED" + '\r' + '\n' + "OUT"; messageButto.TextAlign = ContentAlignment.MiddleCenter; // // clockInOutButton // _clockInOutButton.AllowToggling = false; _clockInOutButton.Anchor = AnchorStyles.None; _clockInOutButton.AnimationSpeed = 200; _clockInOutButton.AutoGenerateColors = false; _clockInOutButton.BackColor = Color.Transparent; _clockInOutButton.BackColor1 = Color.Teal; _clockInOutButton.BackgroundImage = (Image)resources.GetObject("clockInOutButton.BackgroundImage"); _clockInOutButton.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _clockInOutButton.ButtonText = "Clock In"; _clockInOutButton.ButtonTextMarginLeft = 0; _clockInOutButton.ColorContrastOnClick = 45; _clockInOutButton.ColorContrastOnHover = 45; _clockInOutButton.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _clockInOutButton.CustomizableEdges = BorderEdges1; _clockInOutButton.DialogResult = DialogResult.None; _clockInOutButton.DisabledBorderColor = Color.Empty; _clockInOutButton.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _clockInOutButton.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _clockInOutButton.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _clockInOutButton.Font = new Font("Segoe UI Semibold", 13.74545f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _clockInOutButton.ForeColor = Color.White; _clockInOutButton.IconLeftCursor = Cursors.Hand; _clockInOutButton.IconMarginLeft = 11; _clockInOutButton.IconPadding = 10; _clockInOutButton.IconRightCursor = Cursors.Hand; _clockInOutButton.IdleBorderColor = Color.Teal; _clockInOutButton.IdleBorderRadius = 3; _clockInOutButton.IdleBorderThickness = 1; _clockInOutButton.IdleFillColor = Color.Teal; _clockInOutButton.IdleIconLeftImage = null; _clockInOutButton.IdleIconRightImage = null; _clockInOutButton.IndicateFocus = true; _clockInOutButton.Location = new Point(493, 551); _clockInOutButton.Name = "_clockInOutButton"; 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; _clockInOutButton.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; _clockInOutButton.OnPressedState = StateProperties2; _clockInOutButton.Size = new Size(161, 51); _clockInOutButton.TabIndex = 79; _clockInOutButton.TextAlign = ContentAlignment.MiddleCenter; _clockInOutButton.TextMarginLeft = 0; _clockInOutButton.UseDefaultRadiusAndThickness = true; // // titleLabel // titleLabel.Anchor = AnchorStyles.None; titleLabel.Font = new Font("Segoe UI", 18.32727f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); titleLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); titleLabel.Location = new Point(195, 26); titleLabel.Name = "titleLabel"; titleLabel.Size = new Size(749, 87); titleLabel.TabIndex = 1; titleLabel.Text = "CLock in Message"; titleLabel.TextAlign = ContentAlignment.MiddleCenter; // // BunifuShadowPanel1 // BunifuShadowPanel1.BackColor = Color.White; BunifuShadowPanel1.BorderColor = Color.Transparent; BunifuShadowPanel1.Controls.Add(Panel1); BunifuShadowPanel1.Dock = DockStyle.Fill; BunifuShadowPanel1.ForeColor = Color.White; BunifuShadowPanel1.Location = new Point(0, 0); BunifuShadowPanel1.Margin = new Padding(0); BunifuShadowPanel1.Name = "BunifuShadowPanel1"; BunifuShadowPanel1.Padding = new Padding(10, 6, 5, 5); BunifuShadowPanel1.PanelColor = Color.Empty; BunifuShadowPanel1.ShadowDept = 2; BunifuShadowPanel1.ShadowTopLeftVisible = true; BunifuShadowPanel1.Size = new Size(1155, 729); BunifuShadowPanel1.TabIndex = 5; // // Panel1 // Panel1.BackColor = Color.White; Panel1.Controls.Add(Panel5); Panel1.Dock = DockStyle.Fill; Panel1.Location = new Point(10, 6); Panel1.Name = "Panel1"; Panel1.Size = new Size(1140, 718); Panel1.TabIndex = 32; // // Panel5 // Panel5.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Panel5.Controls.Add(Panel2); Panel5.Dock = DockStyle.Fill; Panel5.Location = new Point(0, 0); Panel5.Name = "Panel5"; Panel5.Padding = new Padding(0, 40, 0, 0); Panel5.Size = new Size(1140, 718); Panel5.TabIndex = 33; // // FrmTimeTracker // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(1155, 729); Controls.Add(BunifuShadowPanel1); FormBorderStyle = FormBorderStyle.None; Name = "FrmTimeTracker"; Text = "FrmTimeTracker"; Panel2.ResumeLayout(false); BunifuShadowPanel1.ResumeLayout(false); Panel1.ResumeLayout(false); Panel5.ResumeLayout(false); Load += new EventHandler(FrmTimeTracker_Load); ResumeLayout(false); }
private void InitializeComponent() { var DataGridViewCellStyle13 = new DataGridViewCellStyle(); var DataGridViewCellStyle14 = new DataGridViewCellStyle(); var DataGridViewCellStyle16 = new DataGridViewCellStyle(); var DataGridViewCellStyle15 = new DataGridViewCellStyle(); employeeNameLabel = new Label(); dateLabel = new Label(); Label9 = new Label(); TableLayoutPanel3 = new TableLayoutPanel(); Label11 = new Label(); deviceNameLabel = new Label(); siteLocationLabel = new Label(); Label10 = new Label(); Label1 = new Label(); modifiedOnLabel = new Label(); TableLayoutPanel4 = new TableLayoutPanel(); Label6 = new Label(); workDoneLabel = new Label(); Panel4 = new Panel(); _entryDetailsDataGrid = new Bunifu.UI.WinForms.BunifuDataGridView(); _entryDetailsDataGrid.SelectionChanged += new EventHandler(entryDetailsDataGrid_SelectionChanged); reasonLabel = new CustomizedControlsLibrary.ShapedLabel(); _closeLabel = new Label(); _closeLabel.MouseHover += new EventHandler(closeLabel_MouseHover); _closeLabel.MouseLeave += new EventHandler(closeLabel_MouseLeave); _closeLabel.Click += new EventHandler(closeLabel_Click); Label12 = new Label(); Column6 = new DataGridViewTextBoxColumn(); Column1 = new DataGridViewTextBoxColumn(); Column2 = new DataGridViewTextBoxColumn(); Column4 = new DataGridViewTextBoxColumn(); Column3 = new DataGridViewTextBoxColumn(); Column5 = new DataGridViewTextBoxColumn(); Column7 = new DataGridViewTextBoxColumn(); Column8 = new DataGridViewTextBoxColumn(); Column9 = new DataGridViewTextBoxColumn(); Column10 = new DataGridViewTextBoxColumn(); Column11 = new DataGridViewTextBoxColumn(); TableLayoutPanel3.SuspendLayout(); TableLayoutPanel4.SuspendLayout(); Panel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)_entryDetailsDataGrid).BeginInit(); SuspendLayout(); // // employeeNameLabel // employeeNameLabel.BackColor = Color.White; employeeNameLabel.Font = new Font("Segoe UI Semibold", 13.74545f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); employeeNameLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); employeeNameLabel.Location = new Point(45, 49); employeeNameLabel.Margin = new Padding(1, 0, 1, 0); employeeNameLabel.Name = "employeeNameLabel"; employeeNameLabel.Size = new Size(319, 39); employeeNameLabel.TabIndex = 11; employeeNameLabel.Text = "John Doe"; employeeNameLabel.TextAlign = ContentAlignment.MiddleLeft; // // dateLabel // dateLabel.BackColor = Color.White; dateLabel.BorderStyle = BorderStyle.FixedSingle; dateLabel.Font = new Font("Segoe UI Semibold", 11.78182f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); dateLabel.ForeColor = Color.DimGray; dateLabel.Location = new Point(225, 89); dateLabel.Margin = new Padding(1, 0, 1, 0); dateLabel.Name = "dateLabel"; dateLabel.Size = new Size(165, 33); dateLabel.TabIndex = 16; dateLabel.Text = "Jan 9, 2019"; dateLabel.TextAlign = ContentAlignment.MiddleCenter; // // Label9 // Label9.AutoSize = true; Label9.Font = new Font("Segoe UI Semibold", 11.78182f, FontStyle.Bold); Label9.Location = new Point(59, 359); Label9.Margin = new Padding(1, 0, 1, 0); Label9.Name = "Label9"; Label9.Size = new Size(63, 25); Label9.TabIndex = 14; Label9.Text = "Notes"; // // TableLayoutPanel3 // TableLayoutPanel3.ColumnCount = 2; TableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 42.71844f)); TableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 57.28156f)); TableLayoutPanel3.Controls.Add(Label11, 0, 0); TableLayoutPanel3.Controls.Add(deviceNameLabel, 1, 1); TableLayoutPanel3.Controls.Add(siteLocationLabel, 1, 0); TableLayoutPanel3.Controls.Add(Label10, 0, 1); TableLayoutPanel3.Controls.Add(Label1, 0, 2); TableLayoutPanel3.Controls.Add(modifiedOnLabel, 1, 2); TableLayoutPanel3.Location = new Point(590, 120); TableLayoutPanel3.Margin = new Padding(1); TableLayoutPanel3.Name = "TableLayoutPanel3"; TableLayoutPanel3.RowCount = 3; TableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Percent, 33.33333f)); TableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Percent, 35.10638f)); TableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Percent, 31.91489f)); TableLayoutPanel3.Size = new Size(412, 94); TableLayoutPanel3.TabIndex = 18; // // Label11 // Label11.Anchor = AnchorStyles.Top | AnchorStyles.Right; Label11.AutoSize = true; Label11.BackColor = Color.White; Label11.Font = new Font("Segoe UI Semibold", 11.78182f, 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(47, 0); Label11.Margin = new Padding(1, 0, 1, 0); Label11.Name = "Label11"; Label11.Size = new Size(127, 25); Label11.TabIndex = 1; Label11.Text = "Site Location:"; Label11.TextAlign = ContentAlignment.MiddleCenter; // // deviceNameLabel // deviceNameLabel.AutoSize = true; deviceNameLabel.BackColor = Color.White; deviceNameLabel.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); deviceNameLabel.Location = new Point(176, 31); deviceNameLabel.Margin = new Padding(1, 0, 1, 0); deviceNameLabel.Name = "deviceNameLabel"; deviceNameLabel.Size = new Size(45, 25); deviceNameLabel.TabIndex = 13; deviceNameLabel.Text = "N/A"; deviceNameLabel.TextAlign = ContentAlignment.MiddleCenter; // // siteLocationLabel // siteLocationLabel.AutoSize = true; siteLocationLabel.BackColor = Color.White; siteLocationLabel.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); siteLocationLabel.Location = new Point(176, 0); siteLocationLabel.Margin = new Padding(1, 0, 1, 0); siteLocationLabel.Name = "siteLocationLabel"; siteLocationLabel.Size = new Size(45, 25); siteLocationLabel.TabIndex = 11; siteLocationLabel.Text = "N/A"; siteLocationLabel.TextAlign = ContentAlignment.MiddleCenter; // // Label10 // Label10.Anchor = AnchorStyles.Top | AnchorStyles.Right; Label10.BackColor = Color.White; Label10.Font = new Font("Segoe UI Semibold", 11.78182f, FontStyle.Bold, 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(1, 31); Label10.Margin = new Padding(1, 0, 1, 0); Label10.Name = "Label10"; Label10.Size = new Size(173, 27); Label10.TabIndex = 12; Label10.Text = "Device Name:"; Label10.TextAlign = ContentAlignment.MiddleRight; // // Label1 // Label1.Anchor = AnchorStyles.Top | AnchorStyles.Right; Label1.BackColor = Color.White; 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(1, 63); Label1.Margin = new Padding(1, 0, 1, 0); Label1.Name = "Label1"; Label1.Size = new Size(173, 27); Label1.TabIndex = 14; Label1.Text = "Modification Date:"; Label1.TextAlign = ContentAlignment.MiddleRight; // // modifiedOnLabel // modifiedOnLabel.AutoSize = true; modifiedOnLabel.BackColor = Color.White; modifiedOnLabel.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); modifiedOnLabel.Location = new Point(176, 63); modifiedOnLabel.Margin = new Padding(1, 0, 1, 0); modifiedOnLabel.Name = "modifiedOnLabel"; modifiedOnLabel.Size = new Size(45, 25); modifiedOnLabel.TabIndex = 15; modifiedOnLabel.Text = "N/A"; modifiedOnLabel.TextAlign = ContentAlignment.MiddleCenter; // // TableLayoutPanel4 // TableLayoutPanel4.ColumnCount = 2; TableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50.2994f)); TableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 234.0f)); TableLayoutPanel4.Controls.Add(Label6, 0, 0); TableLayoutPanel4.Controls.Add(workDoneLabel, 1, 0); TableLayoutPanel4.Location = new Point(590, 230); TableLayoutPanel4.Margin = new Padding(1); TableLayoutPanel4.Name = "TableLayoutPanel4"; TableLayoutPanel4.RowCount = 1; TableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Percent, 20.625f)); TableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Absolute, 130.0f)); TableLayoutPanel4.Size = new Size(412, 130); TableLayoutPanel4.TabIndex = 19; // // Label6 // Label6.Anchor = AnchorStyles.Top | AnchorStyles.Right; Label6.AutoSize = true; Label6.BackColor = Color.White; Label6.Font = new Font("Segoe UI Semibold", 11.78182f, FontStyle.Bold, 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(19, 0); Label6.Margin = new Padding(1, 0, 1, 0); Label6.Name = "Label6"; Label6.Size = new Size(158, 25); Label6.TabIndex = 1; Label6.Text = "Work Performed:"; Label6.TextAlign = ContentAlignment.MiddleRight; // // workDoneLabel // workDoneLabel.AutoSize = true; workDoneLabel.BackColor = Color.White; workDoneLabel.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); workDoneLabel.Location = new Point(179, 0); workDoneLabel.Margin = new Padding(1, 0, 1, 0); workDoneLabel.Name = "workDoneLabel"; workDoneLabel.Size = new Size(45, 25); workDoneLabel.TabIndex = 12; workDoneLabel.Text = "N/A"; workDoneLabel.TextAlign = ContentAlignment.MiddleCenter; // // Panel4 // Panel4.Anchor = AnchorStyles.Top; Panel4.BorderStyle = BorderStyle.FixedSingle; Panel4.Controls.Add(_entryDetailsDataGrid); Panel4.Location = new Point(42, 120); Panel4.Name = "Panel4"; Panel4.Size = new Size(543, 218); Panel4.TabIndex = 111; // // entryDetailsDataGrid // _entryDetailsDataGrid.AllowCustomTheming = true; _entryDetailsDataGrid.AllowUserToAddRows = false; _entryDetailsDataGrid.AllowUserToDeleteRows = false; _entryDetailsDataGrid.AllowUserToResizeRows = false; DataGridViewCellStyle13.BackColor = Color.White; DataGridViewCellStyle13.ForeColor = Color.Black; DataGridViewCellStyle13.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _entryDetailsDataGrid.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle13; _entryDetailsDataGrid.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; _entryDetailsDataGrid.BackgroundColor = Color.White; _entryDetailsDataGrid.BorderStyle = BorderStyle.None; _entryDetailsDataGrid.CellBorderStyle = DataGridViewCellBorderStyle.SingleHorizontal; _entryDetailsDataGrid.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.None; DataGridViewCellStyle14.Alignment = DataGridViewContentAlignment.MiddleLeft; DataGridViewCellStyle14.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); DataGridViewCellStyle14.Font = new Font("Segoe UI Semibold", 11.75f, FontStyle.Bold); DataGridViewCellStyle14.ForeColor = Color.White; DataGridViewCellStyle14.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); DataGridViewCellStyle14.SelectionForeColor = SystemColors.HighlightText; DataGridViewCellStyle14.WrapMode = DataGridViewTriState.True; _entryDetailsDataGrid.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle14; _entryDetailsDataGrid.ColumnHeadersHeight = 40; _entryDetailsDataGrid.Columns.AddRange(new DataGridViewColumn[] { Column6, Column1, Column2, Column4, Column3, Column5, Column7, Column8, Column9, Column10, Column11 }); _entryDetailsDataGrid.CurrentTheme.AlternatingRowsStyle.BackColor = Color.White; _entryDetailsDataGrid.CurrentTheme.AlternatingRowsStyle.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); _entryDetailsDataGrid.CurrentTheme.AlternatingRowsStyle.ForeColor = Color.Black; _entryDetailsDataGrid.CurrentTheme.AlternatingRowsStyle.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224))); _entryDetailsDataGrid.CurrentTheme.AlternatingRowsStyle.SelectionForeColor = Color.Black; _entryDetailsDataGrid.CurrentTheme.BackColor = Color.Snow; _entryDetailsDataGrid.CurrentTheme.GridColor = Color.Gray; _entryDetailsDataGrid.CurrentTheme.HeaderStyle.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _entryDetailsDataGrid.CurrentTheme.HeaderStyle.Font = new Font("Segoe UI Semibold", 11.75f, FontStyle.Bold); _entryDetailsDataGrid.CurrentTheme.HeaderStyle.ForeColor = Color.White; _entryDetailsDataGrid.CurrentTheme.Name = null; _entryDetailsDataGrid.CurrentTheme.RowsStyle.BackColor = Color.WhiteSmoke; _entryDetailsDataGrid.CurrentTheme.RowsStyle.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); _entryDetailsDataGrid.CurrentTheme.RowsStyle.ForeColor = Color.Black; _entryDetailsDataGrid.CurrentTheme.RowsStyle.SelectionBackColor = Color.Gray; _entryDetailsDataGrid.CurrentTheme.RowsStyle.SelectionForeColor = Color.Black; DataGridViewCellStyle16.Alignment = DataGridViewContentAlignment.MiddleLeft; DataGridViewCellStyle16.BackColor = Color.WhiteSmoke; DataGridViewCellStyle16.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); DataGridViewCellStyle16.ForeColor = Color.Black; DataGridViewCellStyle16.SelectionBackColor = Color.Gray; DataGridViewCellStyle16.SelectionForeColor = Color.Black; DataGridViewCellStyle16.WrapMode = DataGridViewTriState.False; _entryDetailsDataGrid.DefaultCellStyle = DataGridViewCellStyle16; _entryDetailsDataGrid.Dock = DockStyle.Fill; _entryDetailsDataGrid.EnableHeadersVisualStyles = false; _entryDetailsDataGrid.GridColor = Color.Gray; _entryDetailsDataGrid.HeaderBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _entryDetailsDataGrid.HeaderBgColor = Color.Empty; _entryDetailsDataGrid.HeaderForeColor = Color.White; _entryDetailsDataGrid.Location = new Point(0, 0); _entryDetailsDataGrid.Name = "_entryDetailsDataGrid"; _entryDetailsDataGrid.ReadOnly = true; _entryDetailsDataGrid.RowHeadersVisible = false; _entryDetailsDataGrid.RowTemplate.DefaultCellStyle.SelectionBackColor = Color.Gray; _entryDetailsDataGrid.RowTemplate.Height = 40; _entryDetailsDataGrid.SelectionMode = DataGridViewSelectionMode.FullRowSelect; _entryDetailsDataGrid.Size = new Size(541, 216); _entryDetailsDataGrid.TabIndex = 57; _entryDetailsDataGrid.Theme = Bunifu.UI.WinForms.BunifuDataGridView.PresetThemes.Dark; // // reasonLabel // reasonLabel.BackColor = Color.PapayaWhip; reasonLabel.BorderColor = Color.White; reasonLabel.Edge = 50; reasonLabel.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); reasonLabel.Location = new Point(59, 387); reasonLabel.Name = "reasonLabel"; reasonLabel.Padding = new Padding(5); reasonLabel.Size = new Size(686, 105); reasonLabel.TabIndex = 112; reasonLabel.Text = "N/A"; // // 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(981, 0); _closeLabel.Margin = new Padding(0); _closeLabel.Name = "_closeLabel"; _closeLabel.Size = new Size(48, 46); _closeLabel.TabIndex = 114; _closeLabel.Text = "🗙"; _closeLabel.TextAlign = ContentAlignment.MiddleCenter; // // 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(1029, 46); Label12.TabIndex = 113; Label12.TextAlign = ContentAlignment.MiddleCenter; // // Column6 // DataGridViewCellStyle15.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); DataGridViewCellStyle15.WrapMode = DataGridViewTriState.False; Column6.DefaultCellStyle = DataGridViewCellStyle15; Column6.FillWeight = 60.9197f; Column6.HeaderText = "Clock In"; Column6.Name = "Column6"; Column6.ReadOnly = true; Column6.Resizable = DataGridViewTriState.True; // // Column1 // Column1.FillWeight = 71.14038f; Column1.HeaderText = "Clock Out"; Column1.Name = "Column1"; Column1.ReadOnly = true; // // Column2 // Column2.FillWeight = 137.7865f; Column2.HeaderText = "Punched By"; Column2.Name = "Column2"; Column2.ReadOnly = true; // // Column4 // Column4.FillWeight = 118.181f; Column4.HeaderText = "Modified Field"; Column4.Name = "Column4"; Column4.ReadOnly = true; // // Column3 // Column3.FillWeight = 127.3232f; Column3.HeaderText = "Notes"; Column3.Name = "Column3"; Column3.ReadOnly = true; Column3.Visible = false; // // Column5 // Column5.FillWeight = 75.70589f; Column5.HeaderText = "Site Location"; Column5.Name = "Column5"; Column5.ReadOnly = true; Column5.Visible = false; // // Column7 // Column7.FillWeight = 69.87342f; Column7.HeaderText = "Device Name"; Column7.Name = "Column7"; Column7.ReadOnly = true; Column7.Visible = false; // // Column8 // Column8.FillWeight = 127.3232f; Column8.HeaderText = "Modification Date"; Column8.Name = "Column8"; Column8.ReadOnly = true; Column8.Visible = false; // // Column9 // Column9.HeaderText = "type"; Column9.Name = "Column9"; Column9.ReadOnly = true; Column9.Visible = false; // // Column10 // Column10.HeaderText = "punchType"; Column10.Name = "Column10"; Column10.ReadOnly = true; Column10.Visible = false; // // Column11 // Column11.HeaderText = "jobDescription"; Column11.Name = "Column11"; Column11.ReadOnly = true; Column11.Visible = false; // // FrmDetailedEntry // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(1029, 555); ControlBox = false; Controls.Add(_closeLabel); Controls.Add(Label12); Controls.Add(reasonLabel); Controls.Add(Panel4); Controls.Add(TableLayoutPanel4); Controls.Add(TableLayoutPanel3); Controls.Add(employeeNameLabel); Controls.Add(dateLabel); Controls.Add(Label9); FormBorderStyle = FormBorderStyle.FixedSingle; Margin = new Padding(2); Name = "FrmDetailedEntry"; StartPosition = FormStartPosition.CenterParent; TableLayoutPanel3.ResumeLayout(false); TableLayoutPanel3.PerformLayout(); TableLayoutPanel4.ResumeLayout(false); TableLayoutPanel4.PerformLayout(); Panel4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)_entryDetailsDataGrid).EndInit(); Load += new EventHandler(FrmDetailedEntry_Load); ResumeLayout(false); PerformLayout(); }