private void GameOptimizerForm_Load(object sender, EventArgs e) { foreach (GameOptimizerSettings.IOptimizer configurator in settings.games) { if (configurator.FileDetect()) { TabPage page = configurator.GetTabPage(bunifuPages1); bunifuPages1.TabPages.Add(page); /* Добавление кнопки перехода на страницу */ Bunifu.UI.WinForms.BunifuButton.BunifuButton pagebutton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); pagebutton.Text = configurator.GetName(); pagebutton.Size = new Size(200, 30); if (bunifuPages1.TabPages.Count - 2 == 0) { pagebutton.Location = new Point(0, 0); } else { pagebutton.Location = new Point(0, 35 * (bunifuPages1.TabPages.Count - 2)); } pagebutton.Click += (a, g) => { bunifuPages1.Page = page; }; /* Добавляем кнопку на главную страницу */ bunifuPages1.TabPages[0].Controls.Add(pagebutton); } } }
private void bunifuButton1_Click(object sender, EventArgs e) { Bunifu.UI.WinForms.BunifuButton.BunifuButton bunifuButton = (Bunifu.UI.WinForms.BunifuButton.BunifuButton)sender; if (bunifuButton.ButtonText.Equals("Overview")) { if (Properties.Settings.Default.isInternet) { if (Classes.OpenURL.Ping("https://disease.sh/v2/all")) { DisposeUserControl(new View.OverviewUserControl(), mainpanel); } else { pictureBox2.BringToFront(); } } else { DisposeUserControl(new View.OverviewUserControl(), mainpanel); } } else if (bunifuButton.ButtonText.Equals("Symptoms")) { pictureBox2.SendToBack(); DisposeUserControl(new View.SymptomsUserControl(), mainpanel); } else if (bunifuButton.ButtonText.Equals("Reports")) { if (Properties.Settings.Default.isInternet) { if (Classes.OpenURL.Ping("https://disease.sh/v2/countries/Philippines")) { DisposeUserControl(new View.ReportsUserControl(), mainpanel); } else { pictureBox2.BringToFront(); } } else { DisposeUserControl(new View.ReportsUserControl(), mainpanel); } } else if (bunifuButton.ButtonText.Equals("Test yourself")) { pictureBox2.SendToBack(); frmAssessment f1 = new frmAssessment(false); new PopupEffect.transparentBg(this, f1); DisposeUserControl(new View.SelfAssessmentUserControl(f1.score), mainpanel); f1.Dispose(); GC.Collect(); GC.WaitForPendingFinalizers(); GC.Collect(); } }
void fillPanelsWithButtonsPanel() { foreach (Control hotelOffer in DisplayPanel.Controls) { string minWebsiteName = ""; int miniPrice = -1; Bunifu.UI.WinForm.BunifuShadowPanel.BunifuShadowPanel websitesPanel = (Bunifu.UI.WinForm.BunifuShadowPanel.BunifuShadowPanel)hotelOffer.Controls["websitesInfoPanel"]; foreach (Control websitePanel in websitesPanel.Controls) { string websiteName = getWebsiteNameFromPanel(websitePanel); int tempPrice = getWebsitePriceFromPanel(websitePanel); if (miniPrice == -1) { miniPrice = tempPrice; minWebsiteName = websiteName; } else if (miniPrice > tempPrice) { miniPrice = tempPrice; minWebsiteName = websiteName; } } Bunifu.UI.WinForm.BunifuShadowPanel.BunifuShadowPanel reservePanel = (Bunifu.UI.WinForm.BunifuShadowPanel.BunifuShadowPanel)hotelOffer.Controls["reservePanel"]; Bunifu.UI.WinForm.BunifuShadowPanel.BunifuShadowPanel newWebsitePanel = getWebsitePanel(); newWebsitePanel.Controls.Add(getNewLabel(4, 4, "website name : " + minWebsiteName)); newWebsitePanel.Controls.Add(getNewLabel(194, 4, "price : " + miniPrice.ToString())); //newWebsitePanel.Dock = DockStyle.Top; //newWebsitePanel.AutoSize = true; //Bunifu.UI.WinForm.BunifuShadowPanel.BunifuShadowPanel newButtonPanel = getWebsitePanel(); //newButtonPanel.Dock = DockStyle.Top; //newButtonPanel.AutoSize = true; Bunifu.UI.WinForms.BunifuButton.BunifuButton reserveButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); reserveButton.Tag = getButtonHotelIdFromControl(hotelOffer) + ' ' + getButtonRoomIdFromControl(hotelOffer); reserveButton.Click += new EventHandler(reserveButton_Click); reserveButton.Dock = DockStyle.Top; reserveButton.ButtonText = "Reserve"; //reserveButton.Size = new Size(305, 125); //reserveButton.AutoSize = true; //newButtonPanel.Controls.Add(reserveButton); reservePanel.Controls.Add(reserveButton); reservePanel.Controls.Add(newWebsitePanel); } }
private void ChangeImage_Click(object sender, EventArgs e) { OpenFileDialog of = new OpenFileDialog(); of.Filter = "Png Image (.png)|*.png|JPEG Image (.jpeg)|*.jpeg"; of.ShowDialog(); var path = of.FileName; switch (dataType) { case DataManager.PRODUCTLAPTOP: Bunifu.UI.WinForms.BunifuButton.BunifuButton t = (Bunifu.UI.WinForms.BunifuButton.BunifuButton)sender; if (path != "") { switch (t.Tag.ToString()) { case "1": ptbProLaptopImage1.Image = Image.FromFile(path); break; case "2": ptbProLapImage2.Image = Image.FromFile(path); break; case "3": ptbProLaptopImage3.Image = Image.FromFile(path); break; case "4": ptbProLaptopImage4.Image = Image.FromFile(path); break; } } break; case DataManager.CATEGORY_LAPTOP: if (path != "") { btnCatLaptopChangeImg.Image = Image.FromFile(path); } break; } }
//Matematičke Operacije private void operator_click(object sender, EventArgs e) { Bunifu.UI.WinForms.BunifuButton.BunifuButton button = (Bunifu.UI.WinForms.BunifuButton.BunifuButton)sender; if (rezultat != 0) { buttonEql.PerformClick(); izvrsenaOperacije = button.Text; //Labela sa rezultatima bunifuLabel1.Text = rezultat + " " + izvrsenaOperacije; jelOperacijaIzvrsena = true; } else { izvrsenaOperacije = button.Text; rezultat = Double.Parse(bunifuTextBox1.Text); bunifuLabel1.Text = rezultat + " " + izvrsenaOperacije; jelOperacijaIzvrsena = true; } }
private void Button_click(object sender, EventArgs e) { if ((bunifuTextBox1.Text == "0") || (jelOperacijaIzvrsena)) { bunifuTextBox1.Clear(); } jelOperacijaIzvrsena = false; Bunifu.UI.WinForms.BunifuButton.BunifuButton button = (Bunifu.UI.WinForms.BunifuButton.BunifuButton)sender; //Decimalni zapis if (button.Text == ".") { if (!bunifuTextBox1.Text.Contains(".")) { bunifuTextBox1.Text = bunifuTextBox1.Text + button.Text; } } else { bunifuTextBox1.Text = bunifuTextBox1.Text + button.Text; } }
private void PDFBtn_Click(object sender, EventArgs e) { Bunifu.UI.WinForms.BunifuButton.BunifuButton btn = (Bunifu.UI.WinForms.BunifuButton.BunifuButton)sender; Bunifu.Framework.UI.BunifuCustomDataGrid PDF_dataTable = this.Controls.Find($"{btn.Name.Split('_')[1]}", true).FirstOrDefault() as Bunifu.Framework.UI.BunifuCustomDataGrid; if (PDFSaveDialog.ShowDialog() == DialogResult.OK) { //create a pdf document PdfDocument pdf = new PdfDocument(); //add a page PdfPageBase page = pdf.Pages.Add(); //create a table PdfTable table = new PdfTable(); //export datagridview to table table.DataSource = PDF_dataTable.DataSource; //show header table.Style.ShowHeader = true; //set cell padding table.Style.CellPadding = 2; //set table layout PdfTableLayoutFormat tableLayout = new PdfTableLayoutFormat(); tableLayout.Break = PdfLayoutBreakType.FitElement; tableLayout.Layout = PdfLayoutType.Paginate; table.BeginRowLayout += new BeginRowLayoutEventHandler(table_BeginRowLayout); //draw table to pdf page table.Draw(page, new RectangleF(10, 50, 500, 500), tableLayout); pdf.SaveToFile(PDFSaveDialog.FileName); } }
private void InitializeComponent() { components = new System.ComponentModel.Container(); var resources = new System.ComponentModel.ComponentResourceManager(typeof(MessageBoxCeresYesNo)); 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(); messageLabel = new Label(); buttonsPanel = new TableLayoutPanel(); _noButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _noButton.Click += new EventHandler(Button_OK_Click); _yesButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _yesButton.Click += new EventHandler(Button_Abort_Click); titleLabel = new Label(); PictureBox1 = new PictureBox(); BunifuElipse1 = new Bunifu.Framework.UI.BunifuElipse(components); buttonsPanel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)PictureBox1).BeginInit(); SuspendLayout(); // // messageLabel // messageLabel.Font = new Font("Segoe UI", 11.12727f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); messageLabel.Location = new Point(33, 127); messageLabel.Name = "messageLabel"; messageLabel.Size = new Size(423, 191); messageLabel.TabIndex = 0; messageLabel.Text = "Label1"; // // 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(_noButton, 1, 0); buttonsPanel.Controls.Add(_yesButton, 0, 0); buttonsPanel.Location = new Point(133, 335); buttonsPanel.Name = "buttonsPanel"; buttonsPanel.RowCount = 1; buttonsPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 50.0f)); buttonsPanel.Size = new Size(210, 39); buttonsPanel.TabIndex = 169; // // noButton // _noButton.AllowToggling = false; _noButton.Anchor = AnchorStyles.Top | AnchorStyles.Right; _noButton.AnimationSpeed = 200; _noButton.AutoGenerateColors = false; _noButton.BackColor = Color.Transparent; _noButton.BackColor1 = Color.White; _noButton.BackgroundImage = (Image)resources.GetObject("noButton.BackgroundImage"); _noButton.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _noButton.ButtonText = "No"; _noButton.ButtonTextMarginLeft = 0; _noButton.ColorContrastOnClick = 45; _noButton.ColorContrastOnHover = 45; _noButton.Cursor = Cursors.Hand; BorderEdges3.BottomLeft = true; BorderEdges3.BottomRight = true; BorderEdges3.TopLeft = true; BorderEdges3.TopRight = true; _noButton.CustomizableEdges = BorderEdges3; _noButton.DialogResult = DialogResult.None; _noButton.DisabledBorderColor = Color.Empty; _noButton.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _noButton.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _noButton.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _noButton.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _noButton.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _noButton.IconLeftCursor = Cursors.Hand; _noButton.IconMarginLeft = 11; _noButton.IconPadding = 10; _noButton.IconRightCursor = Cursors.Hand; _noButton.IdleBorderColor = Color.Gray; _noButton.IdleBorderRadius = 3; _noButton.IdleBorderThickness = 1; _noButton.IdleFillColor = Color.White; _noButton.IdleIconLeftImage = null; _noButton.IdleIconRightImage = null; _noButton.IndicateFocus = true; _noButton.Location = new Point(112, 3); _noButton.Name = "_noButton"; StateProperties5.BorderColor = Color.DarkGray; StateProperties5.BorderRadius = 3; StateProperties5.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties5.BorderThickness = 1; StateProperties5.FillColor = Color.DarkGray; StateProperties5.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties5.IconLeftImage = null; StateProperties5.IconRightImage = null; _noButton.onHoverState = StateProperties5; StateProperties6.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties6.BorderRadius = 3; StateProperties6.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties6.BorderThickness = 1; StateProperties6.FillColor = Color.White; StateProperties6.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties6.IconLeftImage = null; StateProperties6.IconRightImage = null; _noButton.OnPressedState = StateProperties6; _noButton.Size = new Size(95, 33); _noButton.TabIndex = 137; _noButton.TextAlign = ContentAlignment.MiddleCenter; _noButton.TextMarginLeft = 0; _noButton.UseDefaultRadiusAndThickness = true; // // yesButton // _yesButton.AllowToggling = false; _yesButton.AnimationSpeed = 200; _yesButton.AutoGenerateColors = false; _yesButton.BackColor = Color.Transparent; _yesButton.BackColor1 = Color.Teal; _yesButton.BackgroundImage = (Image)resources.GetObject("yesButton.BackgroundImage"); _yesButton.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _yesButton.ButtonText = "Yes"; _yesButton.ButtonTextMarginLeft = 0; _yesButton.ColorContrastOnClick = 45; _yesButton.ColorContrastOnHover = 45; _yesButton.Cursor = Cursors.Hand; BorderEdges4.BottomLeft = true; BorderEdges4.BottomRight = true; BorderEdges4.TopLeft = true; BorderEdges4.TopRight = true; _yesButton.CustomizableEdges = BorderEdges4; _yesButton.DialogResult = DialogResult.None; _yesButton.DisabledBorderColor = Color.Empty; _yesButton.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _yesButton.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _yesButton.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _yesButton.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _yesButton.ForeColor = Color.White; _yesButton.IconLeftCursor = Cursors.Hand; _yesButton.IconMarginLeft = 11; _yesButton.IconPadding = 10; _yesButton.IconRightCursor = Cursors.Hand; _yesButton.IdleBorderColor = Color.Teal; _yesButton.IdleBorderRadius = 3; _yesButton.IdleBorderThickness = 1; _yesButton.IdleFillColor = Color.Teal; _yesButton.IdleIconLeftImage = null; _yesButton.IdleIconRightImage = null; _yesButton.IndicateFocus = true; _yesButton.Location = new Point(3, 3); _yesButton.Name = "_yesButton"; StateProperties7.BorderColor = Color.MediumTurquoise; StateProperties7.BorderRadius = 3; StateProperties7.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties7.BorderThickness = 1; StateProperties7.FillColor = Color.MediumTurquoise; StateProperties7.ForeColor = Color.White; StateProperties7.IconLeftImage = null; StateProperties7.IconRightImage = null; _yesButton.onHoverState = StateProperties7; StateProperties8.BorderColor = Color.Teal; StateProperties8.BorderRadius = 3; StateProperties8.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties8.BorderThickness = 1; StateProperties8.FillColor = Color.Teal; StateProperties8.ForeColor = Color.White; StateProperties8.IconLeftImage = null; StateProperties8.IconRightImage = null; _yesButton.OnPressedState = StateProperties8; _yesButton.Size = new Size(99, 33); _yesButton.TabIndex = 136; _yesButton.TextAlign = ContentAlignment.MiddleCenter; _yesButton.TextMarginLeft = 0; _yesButton.UseDefaultRadiusAndThickness = true; // // titleLabel // titleLabel.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); titleLabel.Location = new Point(12, 86); titleLabel.Name = "titleLabel"; titleLabel.Size = new Size(441, 41); titleLabel.TabIndex = 170; titleLabel.Text = "Label2"; titleLabel.TextAlign = ContentAlignment.MiddleLeft; // // PictureBox1 // PictureBox1.Image = My.Resources.Resources.warning; PictureBox1.Location = new Point(200, 12); PictureBox1.Name = "PictureBox1"; PictureBox1.Size = new Size(87, 78); PictureBox1.SizeMode = PictureBoxSizeMode.Zoom; PictureBox1.TabIndex = 171; PictureBox1.TabStop = false; // // BunifuElipse1 // BunifuElipse1.ElipseRadius = 30; BunifuElipse1.TargetControl = this; // // MessageBoxCeresYesNo // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(478, 386); Controls.Add(PictureBox1); Controls.Add(titleLabel); Controls.Add(buttonsPanel); Controls.Add(messageLabel); FormBorderStyle = FormBorderStyle.None; Name = "MessageBoxCeresYesNo"; StartPosition = FormStartPosition.CenterScreen; Text = "MessageBoxCeresYesNo"; buttonsPanel.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)PictureBox1).EndInit(); Load += new EventHandler(MessageBoxCeresYesNo_Load); ResumeLayout(false); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAddDepartment)); var StateProperties1 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties2 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties3 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties4 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var BorderEdges1 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderEdges(); var StateProperties5 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties6 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); _btnClose = new Label(); _btnClose.Click += new EventHandler(btnClose_Click); Label2 = new Label(); txtDocumentType = new BunifuTextBox(); BunifuLabel3 = new Bunifu.UI.WinForms.BunifuLabel(); _btnInsert = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnInsert.Click += new EventHandler(btnInsert_Click); BunifuLabel1 = new Bunifu.UI.WinForms.BunifuLabel(); SuspendLayout(); // // btnClose // _btnClose.Anchor = AnchorStyles.Top | AnchorStyles.Right; _btnClose.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _btnClose.Font = new Font("Arial Narrow", 22.25455f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _btnClose.ForeColor = Color.White; _btnClose.Location = new Point(563, 0); _btnClose.Margin = new Padding(0); _btnClose.Name = "_btnClose"; _btnClose.Size = new Size(40, 41); _btnClose.TabIndex = 205; _btnClose.Text = "🗙"; _btnClose.TextAlign = ContentAlignment.MiddleCenter; // // Label2 // Label2.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label2.Dock = DockStyle.Top; Label2.Font = new Font("Microsoft Sans Serif", 22.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.ForeColor = Color.White; Label2.Location = new Point(0, 0); Label2.Name = "Label2"; Label2.Size = new Size(603, 41); Label2.TabIndex = 204; Label2.TextAlign = ContentAlignment.MiddleCenter; // // txtDocumentType // txtDocumentType.AcceptsReturn = false; txtDocumentType.AcceptsTab = false; txtDocumentType.AnimationSpeed = 200; txtDocumentType.AutoCompleteMode = AutoCompleteMode.None; txtDocumentType.AutoCompleteSource = AutoCompleteSource.None; txtDocumentType.BackColor = Color.Transparent; txtDocumentType.BackgroundImage = (Image)resources.GetObject("txtDocumentType.BackgroundImage"); txtDocumentType.BorderColorActive = Color.DodgerBlue; txtDocumentType.BorderColorDisabled = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161))); txtDocumentType.BorderColorHover = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); txtDocumentType.BorderColorIdle = Color.Silver; txtDocumentType.BorderRadius = 1; txtDocumentType.BorderThickness = 1; txtDocumentType.CharacterCasing = CharacterCasing.Upper; txtDocumentType.Cursor = Cursors.IBeam; txtDocumentType.DefaultFont = new Font("Segoe UI Semibold", 9.75f); txtDocumentType.DefaultText = ""; txtDocumentType.FillColor = Color.White; txtDocumentType.HideSelection = true; txtDocumentType.IconLeft = null; txtDocumentType.IconLeftCursor = Cursors.IBeam; txtDocumentType.IconPadding = 10; txtDocumentType.IconRight = null; txtDocumentType.IconRightCursor = Cursors.IBeam; txtDocumentType.Lines = new string[0]; txtDocumentType.Location = new Point(130, 97); txtDocumentType.MaxLength = 32767; txtDocumentType.MinimumSize = new Size(100, 35); txtDocumentType.Modified = false; txtDocumentType.Multiline = false; txtDocumentType.Name = "txtDocumentType"; StateProperties1.BorderColor = Color.DodgerBlue; StateProperties1.FillColor = Color.Empty; StateProperties1.ForeColor = Color.Empty; StateProperties1.PlaceholderForeColor = Color.Empty; txtDocumentType.OnActiveState = StateProperties1; StateProperties2.BorderColor = Color.Empty; StateProperties2.FillColor = Color.White; StateProperties2.ForeColor = Color.Empty; StateProperties2.PlaceholderForeColor = Color.Silver; txtDocumentType.OnDisabledState = StateProperties2; StateProperties3.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); StateProperties3.FillColor = Color.Empty; StateProperties3.ForeColor = Color.Empty; StateProperties3.PlaceholderForeColor = Color.Empty; txtDocumentType.OnHoverState = StateProperties3; StateProperties4.BorderColor = Color.Silver; StateProperties4.FillColor = Color.White; StateProperties4.ForeColor = Color.Empty; StateProperties4.PlaceholderForeColor = Color.Empty; txtDocumentType.OnIdleState = StateProperties4; txtDocumentType.PasswordChar = '\0'; txtDocumentType.PlaceholderForeColor = Color.Silver; txtDocumentType.PlaceholderText = "ENTER TEXT"; txtDocumentType.ReadOnly = false; txtDocumentType.ScrollBars = ScrollBars.None; txtDocumentType.SelectedText = ""; txtDocumentType.SelectionLength = 0; txtDocumentType.SelectionStart = 0; txtDocumentType.ShortcutsEnabled = true; txtDocumentType.Size = new Size(451, 35); txtDocumentType.Style = _Style.Bunifu; txtDocumentType.TabIndex = 207; txtDocumentType.TextAlign = HorizontalAlignment.Left; txtDocumentType.TextMarginBottom = 0; txtDocumentType.TextMarginLeft = 5; txtDocumentType.TextMarginTop = 0; txtDocumentType.TextPlaceholder = "ENTER TEXT"; txtDocumentType.UseSystemPasswordChar = false; txtDocumentType.WordWrap = true; // // BunifuLabel3 // BunifuLabel3.AutoEllipsis = false; BunifuLabel3.CursorType = null; BunifuLabel3.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); BunifuLabel3.Location = new Point(26, 104); BunifuLabel3.Name = "BunifuLabel3"; BunifuLabel3.RightToLeft = RightToLeft.No; BunifuLabel3.Size = new Size(92, 22); BunifuLabel3.TabIndex = 206; BunifuLabel3.Text = "Department:"; BunifuLabel3.TextAlignment = ContentAlignment.TopLeft; BunifuLabel3.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // btnInsert // _btnInsert.AllowToggling = false; _btnInsert.AnimationSpeed = 200; _btnInsert.AutoGenerateColors = false; _btnInsert.BackColor = Color.Transparent; _btnInsert.BackColor1 = Color.Teal; _btnInsert.BackgroundImage = (Image)resources.GetObject("btnInsert.BackgroundImage"); _btnInsert.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnInsert.ButtonText = "Insert"; _btnInsert.ButtonTextMarginLeft = 0; _btnInsert.ColorContrastOnClick = 45; _btnInsert.ColorContrastOnHover = 45; _btnInsert.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _btnInsert.CustomizableEdges = BorderEdges1; _btnInsert.DialogResult = DialogResult.None; _btnInsert.DisabledBorderColor = Color.Empty; _btnInsert.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnInsert.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnInsert.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnInsert.Font = new Font("Segoe UI Semibold", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnInsert.ForeColor = Color.White; _btnInsert.IconLeftCursor = Cursors.Hand; _btnInsert.IconMarginLeft = 11; _btnInsert.IconPadding = 10; _btnInsert.IconRightCursor = Cursors.Hand; _btnInsert.IdleBorderColor = Color.Teal; _btnInsert.IdleBorderRadius = 3; _btnInsert.IdleBorderThickness = 1; _btnInsert.IdleFillColor = Color.Teal; _btnInsert.IdleIconLeftImage = null; _btnInsert.IdleIconRightImage = null; _btnInsert.IndicateFocus = true; _btnInsert.Location = new Point(480, 137); _btnInsert.Name = "_btnInsert"; StateProperties5.BorderColor = Color.MediumTurquoise; StateProperties5.BorderRadius = 3; StateProperties5.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties5.BorderThickness = 1; StateProperties5.FillColor = Color.MediumTurquoise; StateProperties5.ForeColor = Color.White; StateProperties5.IconLeftImage = null; StateProperties5.IconRightImage = null; _btnInsert.onHoverState = StateProperties5; StateProperties6.BorderColor = Color.Teal; StateProperties6.BorderRadius = 3; StateProperties6.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties6.BorderThickness = 1; StateProperties6.FillColor = Color.Teal; StateProperties6.ForeColor = Color.White; StateProperties6.IconLeftImage = null; StateProperties6.IconRightImage = null; _btnInsert.OnPressedState = StateProperties6; _btnInsert.Size = new Size(100, 40); _btnInsert.TabIndex = 208; _btnInsert.TextAlign = ContentAlignment.MiddleCenter; _btnInsert.TextMarginLeft = 0; _btnInsert.UseDefaultRadiusAndThickness = true; // // BunifuLabel1 // BunifuLabel1.AutoEllipsis = false; BunifuLabel1.CursorType = null; BunifuLabel1.Font = new Font("Microsoft Sans Serif", 13.74545f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); BunifuLabel1.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); BunifuLabel1.Location = new Point(26, 58); BunifuLabel1.Name = "BunifuLabel1"; BunifuLabel1.RightToLeft = RightToLeft.No; BunifuLabel1.Size = new Size(150, 24); BunifuLabel1.TabIndex = 209; BunifuLabel1.Text = "Add department:"; BunifuLabel1.TextAlignment = ContentAlignment.TopLeft; BunifuLabel1.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // frmAddDepartment // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(603, 198); Controls.Add(BunifuLabel1); Controls.Add(_btnInsert); Controls.Add(txtDocumentType); Controls.Add(BunifuLabel3); Controls.Add(_btnClose); Controls.Add(Label2); FormBorderStyle = FormBorderStyle.None; Name = "frmAddDepartment"; Text = "frmAddDepartment"; Load += new EventHandler(frmAddDepartment_Load); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(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(); }
private void InitializeComponent() { var DataGridViewCellStyle1 = new DataGridViewCellStyle(); var resources = new System.ComponentModel.ComponentResourceManager(typeof(frmVesselCSVUpdate)); 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(); _btnClose = new Label(); _btnClose.Click += new EventHandler(btnClose_Click); Label2 = new Label(); _dgvVesselCSV = new DataGridView(); _dgvVesselCSV.KeyDown += new KeyEventHandler(dgvVesselCSV_KeyDown); VesselName = new DataGridViewTextBoxColumn(); Owner = new DataGridViewTextBoxColumn(); Manager = new DataGridViewTextBoxColumn(); Capacity = new DataGridViewTextBoxColumn(); Year = new DataGridViewTextBoxColumn(); Flag = new DataGridViewTextBoxColumn(); Active = new DataGridViewTextBoxColumn(); TableLayoutPanel1 = new TableLayoutPanel(); _btnClear = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnClear.Click += new EventHandler(btnClear_Click); _btnSave = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnSave.Click += new EventHandler(btnSave_Click); Label5 = new Label(); lblMessage = new Label(); pnlMessage = new Panel(); Label4 = new Label(); Label3 = new Label(); Label1 = new Label(); pnlMessageDefault = new Panel(); Label9 = new Label(); _lblClosePanel = new Label(); _lblClosePanel.Click += new EventHandler(lblClosePanel_Click); Label7 = new Label(); lbMessage = new ListBox(); Label6 = new Label(); Label10 = new Label(); Panel1 = new Panel(); Label8 = new Label(); Label14 = new Label(); ((System.ComponentModel.ISupportInitialize)_dgvVesselCSV).BeginInit(); TableLayoutPanel1.SuspendLayout(); pnlMessage.SuspendLayout(); pnlMessageDefault.SuspendLayout(); Panel1.SuspendLayout(); SuspendLayout(); // // btnClose // _btnClose.Anchor = AnchorStyles.Top | AnchorStyles.Right; _btnClose.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _btnClose.Font = new Font("Arial Narrow", 22.25455f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _btnClose.ForeColor = Color.White; _btnClose.Location = new Point(1159, 0); _btnClose.Margin = new Padding(0); _btnClose.Name = "_btnClose"; _btnClose.Size = new Size(40, 41); _btnClose.TabIndex = 207; _btnClose.Text = "🗙"; _btnClose.TextAlign = ContentAlignment.MiddleCenter; // // Label2 // Label2.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label2.Dock = DockStyle.Top; Label2.Font = new Font("Microsoft Sans Serif", 22.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.ForeColor = Color.White; Label2.Location = new Point(0, 0); Label2.Name = "Label2"; Label2.Size = new Size(1200, 41); Label2.TabIndex = 206; Label2.TextAlign = ContentAlignment.MiddleCenter; // // dgvVesselCSV // _dgvVesselCSV.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; _dgvVesselCSV.Columns.AddRange(new DataGridViewColumn[] { VesselName, Owner, Manager, Capacity, Year, Flag, Active }); _dgvVesselCSV.EnableHeadersVisualStyles = false; _dgvVesselCSV.Location = new Point(12, 143); _dgvVesselCSV.Name = "_dgvVesselCSV"; _dgvVesselCSV.Size = new Size(1180, 459); _dgvVesselCSV.TabIndex = 208; // // VesselName // DataGridViewCellStyle1.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); VesselName.DefaultCellStyle = DataGridViewCellStyle1; VesselName.HeaderText = "Vessel Name"; VesselName.MinimumWidth = 250; VesselName.Name = "VesselName"; VesselName.Width = 250; // // Owner // Owner.HeaderText = "Owner"; Owner.MinimumWidth = 250; Owner.Name = "Owner"; Owner.Width = 250; // // Manager // Manager.HeaderText = "Manager"; Manager.MinimumWidth = 200; Manager.Name = "Manager"; Manager.Width = 200; // // Capacity // Capacity.HeaderText = "Capacity"; Capacity.MinimumWidth = 110; Capacity.Name = "Capacity"; Capacity.Width = 110; // // Year // Year.HeaderText = "Year"; Year.MaxInputLength = 4; Year.MinimumWidth = 100; Year.Name = "Year"; // // Flag // Flag.HeaderText = "Flag"; Flag.MaxInputLength = 50; Flag.MinimumWidth = 110; Flag.Name = "Flag"; Flag.Width = 110; // // Active // Active.HeaderText = "Active"; Active.MinimumWidth = 100; Active.Name = "Active"; // // TableLayoutPanel1 // TableLayoutPanel1.Anchor = AnchorStyles.Top | AnchorStyles.Right; TableLayoutPanel1.ColumnCount = 4; TableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 45.73643f)); TableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 18.79845f)); TableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 35.46511f)); TableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 125.0f)); TableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 20.0f)); TableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 20.0f)); TableLayoutPanel1.Controls.Add(_btnClear, 3, 0); TableLayoutPanel1.Controls.Add(_btnSave, 2, 0); TableLayoutPanel1.Location = new Point(562, 608); TableLayoutPanel1.Name = "TableLayoutPanel1"; TableLayoutPanel1.RowCount = 1; TableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100.0f)); TableLayoutPanel1.Size = new Size(626, 43); TableLayoutPanel1.TabIndex = 209; // // btnClear // _btnClear.AllowToggling = false; _btnClear.Anchor = AnchorStyles.Top | AnchorStyles.Right; _btnClear.AnimationSpeed = 200; _btnClear.AutoGenerateColors = false; _btnClear.BackColor = Color.Transparent; _btnClear.BackColor1 = Color.IndianRed; _btnClear.BackgroundImage = (Image)resources.GetObject("btnClear.BackgroundImage"); _btnClear.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnClear.ButtonText = "Clear Grid"; _btnClear.ButtonTextMarginLeft = 0; _btnClear.ColorContrastOnClick = 45; _btnClear.ColorContrastOnHover = 45; _btnClear.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _btnClear.CustomizableEdges = BorderEdges1; _btnClear.DialogResult = DialogResult.None; _btnClear.DisabledBorderColor = Color.Empty; _btnClear.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnClear.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnClear.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnClear.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnClear.ForeColor = Color.White; _btnClear.IconLeftCursor = Cursors.Hand; _btnClear.IconMarginLeft = 11; _btnClear.IconPadding = 10; _btnClear.IconRightCursor = Cursors.Hand; _btnClear.IdleBorderColor = Color.IndianRed; _btnClear.IdleBorderRadius = 3; _btnClear.IdleBorderThickness = 1; _btnClear.IdleFillColor = Color.IndianRed; _btnClear.IdleIconLeftImage = null; _btnClear.IdleIconRightImage = null; _btnClear.IndicateFocus = true; _btnClear.Location = new Point(521, 3); _btnClear.Name = "_btnClear"; StateProperties1.BorderColor = Color.Salmon; StateProperties1.BorderRadius = 3; StateProperties1.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties1.BorderThickness = 1; StateProperties1.FillColor = Color.Salmon; StateProperties1.ForeColor = Color.White; StateProperties1.IconLeftImage = null; StateProperties1.IconRightImage = null; _btnClear.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; _btnClear.OnPressedState = StateProperties2; _btnClear.Size = new Size(102, 35); _btnClear.TabIndex = 78; _btnClear.TextAlign = ContentAlignment.MiddleCenter; _btnClear.TextMarginLeft = 0; _btnClear.UseDefaultRadiusAndThickness = true; // // btnSave // _btnSave.AllowToggling = false; _btnSave.Anchor = AnchorStyles.Top | AnchorStyles.Right; _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 = "Sync and update"; _btnSave.ButtonTextMarginLeft = 0; _btnSave.ColorContrastOnClick = 45; _btnSave.ColorContrastOnHover = 45; _btnSave.Cursor = Cursors.Hand; BorderEdges2.BottomLeft = true; BorderEdges2.BottomRight = true; BorderEdges2.TopLeft = true; BorderEdges2.TopRight = true; _btnSave.CustomizableEdges = BorderEdges2; _btnSave.DialogResult = DialogResult.None; _btnSave.DisabledBorderColor = Color.Empty; _btnSave.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnSave.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnSave.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnSave.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnSave.ForeColor = Color.White; _btnSave.IconLeftCursor = Cursors.Hand; _btnSave.IconMarginLeft = 11; _btnSave.IconPadding = 10; _btnSave.IconRightCursor = Cursors.Hand; _btnSave.IdleBorderColor = Color.Teal; _btnSave.IdleBorderRadius = 3; _btnSave.IdleBorderThickness = 1; _btnSave.IdleFillColor = Color.Teal; _btnSave.IdleIconLeftImage = null; _btnSave.IdleIconRightImage = null; _btnSave.IndicateFocus = true; _btnSave.Location = new Point(348, 3); _btnSave.Name = "_btnSave"; 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; _btnSave.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; _btnSave.OnPressedState = StateProperties4; _btnSave.Size = new Size(149, 35); _btnSave.TabIndex = 77; _btnSave.TextAlign = ContentAlignment.MiddleCenter; _btnSave.TextMarginLeft = 0; _btnSave.UseDefaultRadiusAndThickness = true; // // Label5 // Label5.AutoSize = true; Label5.Font = new Font("Segoe UI Semibold", 13.74545f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label5.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); Label5.Location = new Point(12, 53); Label5.Name = "Label5"; Label5.Size = new Size(170, 25); Label5.TabIndex = 211; Label5.Text = "CSV Vessel Update"; // // lblMessage // lblMessage.Anchor = AnchorStyles.Left; lblMessage.AutoSize = true; lblMessage.Font = new Font("Microsoft Sans Serif", 9.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); lblMessage.ForeColor = Color.Red; lblMessage.Location = new Point(3, 37); lblMessage.Name = "lblMessage"; lblMessage.Size = new Size(367, 15); lblMessage.TabIndex = 216; lblMessage.Text = "please check the data reported in the Grid and try again."; // // pnlMessage // pnlMessage.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(255)), Conversions.ToInteger(Conversions.ToByte(255)), Conversions.ToInteger(Conversions.ToByte(192))); pnlMessage.Controls.Add(Label4); pnlMessage.Controls.Add(Label3); pnlMessage.Controls.Add(Label1); pnlMessage.Controls.Add(lblMessage); pnlMessage.Location = new Point(814, 44); pnlMessage.Name = "pnlMessage"; pnlMessage.Size = new Size(371, 75); pnlMessage.TabIndex = 214; pnlMessage.Visible = false; // // Label4 // Label4.Anchor = AnchorStyles.Left; Label4.AutoSize = true; Label4.Font = new Font("Microsoft Sans Serif", 9.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label4.ForeColor = Color.Red; Label4.Location = new Point(4, 56); Label4.Name = "Label4"; Label4.Size = new Size(303, 15); Label4.TabIndex = 219; Label4.Text = "If the error persists, contact the IT department."; // // Label3 // Label3.Anchor = AnchorStyles.Left; Label3.AutoSize = true; Label3.Font = new Font("Microsoft Sans Serif", 9.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label3.ForeColor = Color.Red; Label3.Location = new Point(3, 21); Label3.Name = "Label3"; Label3.Size = new Size(190, 15); Label3.TabIndex = 218; Label3.Text = "the lines that are in the Grid,"; // // Label1 // Label1.Anchor = AnchorStyles.Left; Label1.AutoSize = true; Label1.Font = new Font("Microsoft Sans Serif", 9.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label1.ForeColor = Color.Red; Label1.Location = new Point(3, 4); Label1.Name = "Label1"; Label1.Size = new Size(339, 15); Label1.TabIndex = 217; Label1.Text = "There was an error that cannot be synchronized and"; // // pnlMessageDefault // pnlMessageDefault.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(255)), Conversions.ToInteger(Conversions.ToByte(255)), Conversions.ToInteger(Conversions.ToByte(192))); pnlMessageDefault.Controls.Add(Label9); pnlMessageDefault.Controls.Add(_lblClosePanel); pnlMessageDefault.Controls.Add(Label7); pnlMessageDefault.Controls.Add(lbMessage); pnlMessageDefault.Location = new Point(285, 195); pnlMessageDefault.Name = "pnlMessageDefault"; pnlMessageDefault.Size = new Size(621, 326); pnlMessageDefault.TabIndex = 224; pnlMessageDefault.Visible = false; // // Label9 // Label9.Anchor = AnchorStyles.Left; Label9.AutoSize = true; Label9.Font = new Font("Microsoft Sans Serif", 10.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label9.ForeColor = Color.Red; Label9.Location = new Point(3, 42); Label9.Name = "Label9"; Label9.Size = new Size(551, 17); Label9.TabIndex = 224; Label9.Text = "The red items need to be corrected. Attention to the header of the column."; // // lblClosePanel // _lblClosePanel.Anchor = AnchorStyles.Top | AnchorStyles.Right; _lblClosePanel.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _lblClosePanel.Font = new Font("Arial Narrow", 22.25455f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _lblClosePanel.ForeColor = Color.White; _lblClosePanel.Location = new Point(592, -6); _lblClosePanel.Margin = new Padding(0); _lblClosePanel.Name = "_lblClosePanel"; _lblClosePanel.Size = new Size(30, 32); _lblClosePanel.TabIndex = 224; _lblClosePanel.Text = "🗙"; _lblClosePanel.TextAlign = ContentAlignment.MiddleCenter; // // Label7 // Label7.Anchor = AnchorStyles.None; Label7.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label7.Font = new Font("Microsoft Sans Serif", 22.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label7.ForeColor = Color.White; Label7.Location = new Point(0, 0); Label7.Name = "Label7"; Label7.Size = new Size(621, 29); Label7.TabIndex = 224; Label7.TextAlign = ContentAlignment.MiddleCenter; // // lbMessage // lbMessage.FormattingEnabled = true; lbMessage.Location = new Point(3, 70); lbMessage.Name = "lbMessage"; lbMessage.Size = new Size(615, 251); lbMessage.TabIndex = 0; // // Label6 // Label6.AutoSize = true; Label6.Font = new Font("Microsoft Sans Serif", 10.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label6.Location = new Point(3, 25); Label6.Name = "Label6"; Label6.Size = new Size(567, 17); Label6.TabIndex = 225; Label6.Text = "Capacity field: Use Numbers (N,NNN.NN) or (NNN) or Empty field will equal 0"; // // Label10 // Label10.AutoSize = true; Label10.Font = new Font("Microsoft Sans Serif", 10.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label10.Location = new Point(5, 72); Label10.Name = "Label10"; Label10.Size = new Size(217, 17); Label10.TabIndex = 227; Label10.Text = "Field Active: TRUE or FALSE"; // // Panel1 // Panel1.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(255)), Conversions.ToInteger(Conversions.ToByte(255)), Conversions.ToInteger(Conversions.ToByte(192))); Panel1.Controls.Add(Label8); Panel1.Controls.Add(Label14); Panel1.Controls.Add(Label10); Panel1.Controls.Add(Label6); Panel1.Location = new Point(215, 45); Panel1.Name = "Panel1"; Panel1.Size = new Size(582, 92); Panel1.TabIndex = 233; // // Label8 // Label8.AutoSize = true; Label8.Font = new Font("Microsoft Sans Serif", 10.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label8.Location = new Point(3, 48); Label8.Name = "Label8"; Label8.Size = new Size(433, 17); Label8.TabIndex = 228; Label8.Text = "Year field: Use Numbers (YYYY) or Empty field will equal 0"; // // Label14 // Label14.Anchor = AnchorStyles.Left; Label14.AutoSize = true; Label14.Font = new Font("Microsoft Sans Serif", 10.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label14.ForeColor = Color.Red; Label14.Location = new Point(3, 2); Label14.Name = "Label14"; Label14.Size = new Size(543, 17); Label14.TabIndex = 217; Label14.Text = "For the synchronization to work correctly use the formatting for the fields:"; // // frmVesselCSVUpdate // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(1200, 659); Controls.Add(Panel1); Controls.Add(pnlMessageDefault); Controls.Add(pnlMessage); Controls.Add(Label5); Controls.Add(TableLayoutPanel1); Controls.Add(_dgvVesselCSV); Controls.Add(_btnClose); Controls.Add(Label2); FormBorderStyle = FormBorderStyle.None; Name = "frmVesselCSVUpdate"; StartPosition = FormStartPosition.CenterScreen; Text = "frmVesselCSVUpdate"; ((System.ComponentModel.ISupportInitialize)_dgvVesselCSV).EndInit(); TableLayoutPanel1.ResumeLayout(false); pnlMessage.ResumeLayout(false); pnlMessage.PerformLayout(); pnlMessageDefault.ResumeLayout(false); pnlMessageDefault.PerformLayout(); Panel1.ResumeLayout(false); Panel1.PerformLayout(); Load += new EventHandler(frmVesselCSVUpdate_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() { components = new System.ComponentModel.Container(); var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmAddEditReleaseMb)); 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 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(); Label2 = new Label(); nudQtyCans = new NumericUpDown(); buttonsPanel = new TableLayoutPanel(); _btnComplete = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnComplete.Click += new EventHandler(btnComplete_Click); _btnCancel = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnCancel.Click += new EventHandler(btnCancel_Click); _btnClose = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnClose.Click += new EventHandler(btnCancel_Click); Label15 = new Label(); Label1 = new Label(); BunifuElipse1 = new Bunifu.Framework.UI.BunifuElipse(components); cboBooking = new ComboBox(); ((System.ComponentModel.ISupportInitialize)nudQtyCans).BeginInit(); buttonsPanel.SuspendLayout(); SuspendLayout(); // // Label2 // Label2.AutoSize = true; Label2.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.Location = new Point(15, 85); Label2.Name = "Label2"; Label2.Size = new Size(105, 18); Label2.TabIndex = 234; Label2.Text = "Cans Quantity:"; // // nudQtyCans // nudQtyCans.Font = new Font("Microsoft Sans Serif", 13.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); nudQtyCans.Location = new Point(123, 82); nudQtyCans.Name = "nudQtyCans"; nudQtyCans.Size = new Size(105, 27); nudQtyCans.TabIndex = 233; nudQtyCans.TextAlign = HorizontalAlignment.Center; // // buttonsPanel // buttonsPanel.ColumnCount = 2; buttonsPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 49.25373f)); buttonsPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50.74627f)); buttonsPanel.Controls.Add(_btnComplete, 0, 0); buttonsPanel.Controls.Add(_btnCancel, 1, 0); buttonsPanel.Location = new Point(199, 134); buttonsPanel.Name = "buttonsPanel"; buttonsPanel.RowCount = 1; buttonsPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 50.0f)); buttonsPanel.Size = new Size(134, 31); buttonsPanel.TabIndex = 232; // // btnComplete // _btnComplete.AllowToggling = false; _btnComplete.AnimationSpeed = 200; _btnComplete.AutoGenerateColors = false; _btnComplete.BackColor = Color.Transparent; _btnComplete.BackColor1 = Color.Teal; _btnComplete.BackgroundImage = (Image)resources.GetObject("btnComplete.BackgroundImage"); _btnComplete.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnComplete.ButtonText = "OK"; _btnComplete.ButtonTextMarginLeft = 0; _btnComplete.ColorContrastOnClick = 45; _btnComplete.ColorContrastOnHover = 45; _btnComplete.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _btnComplete.CustomizableEdges = BorderEdges1; _btnComplete.DialogResult = DialogResult.None; _btnComplete.DisabledBorderColor = Color.Empty; _btnComplete.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnComplete.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnComplete.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnComplete.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnComplete.ForeColor = Color.White; _btnComplete.IconLeftCursor = Cursors.Hand; _btnComplete.IconMarginLeft = 11; _btnComplete.IconPadding = 10; _btnComplete.IconRightCursor = Cursors.Hand; _btnComplete.IdleBorderColor = Color.Teal; _btnComplete.IdleBorderRadius = 3; _btnComplete.IdleBorderThickness = 1; _btnComplete.IdleFillColor = Color.Teal; _btnComplete.IdleIconLeftImage = null; _btnComplete.IdleIconRightImage = null; _btnComplete.IndicateFocus = true; _btnComplete.Location = new Point(3, 3); _btnComplete.Name = "_btnComplete"; 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; _btnComplete.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; _btnComplete.OnPressedState = StateProperties2; _btnComplete.Size = new Size(59, 25); _btnComplete.TabIndex = 136; _btnComplete.TextAlign = ContentAlignment.MiddleCenter; _btnComplete.TextMarginLeft = 0; _btnComplete.UseDefaultRadiusAndThickness = true; // // btnCancel // _btnCancel.AllowToggling = false; _btnCancel.Anchor = AnchorStyles.Top | AnchorStyles.Right; _btnCancel.AnimationSpeed = 200; _btnCancel.AutoGenerateColors = false; _btnCancel.BackColor = Color.Transparent; _btnCancel.BackColor1 = Color.White; _btnCancel.BackgroundImage = (Image)resources.GetObject("btnCancel.BackgroundImage"); _btnCancel.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnCancel.ButtonText = "Cancel"; _btnCancel.ButtonTextMarginLeft = 0; _btnCancel.ColorContrastOnClick = 45; _btnCancel.ColorContrastOnHover = 45; _btnCancel.Cursor = Cursors.Hand; BorderEdges2.BottomLeft = true; BorderEdges2.BottomRight = true; BorderEdges2.TopLeft = true; BorderEdges2.TopRight = true; _btnCancel.CustomizableEdges = BorderEdges2; _btnCancel.DialogResult = DialogResult.None; _btnCancel.DisabledBorderColor = Color.Empty; _btnCancel.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnCancel.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnCancel.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnCancel.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnCancel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _btnCancel.IconLeftCursor = Cursors.Hand; _btnCancel.IconMarginLeft = 11; _btnCancel.IconPadding = 10; _btnCancel.IconRightCursor = Cursors.Hand; _btnCancel.IdleBorderColor = Color.Gray; _btnCancel.IdleBorderRadius = 3; _btnCancel.IdleBorderThickness = 1; _btnCancel.IdleFillColor = Color.White; _btnCancel.IdleIconLeftImage = null; _btnCancel.IdleIconRightImage = null; _btnCancel.IndicateFocus = true; _btnCancel.Location = new Point(68, 3); _btnCancel.Name = "_btnCancel"; 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; _btnCancel.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; _btnCancel.OnPressedState = StateProperties4; _btnCancel.Size = new Size(63, 25); _btnCancel.TabIndex = 137; _btnCancel.TextAlign = ContentAlignment.MiddleCenter; _btnCancel.TextMarginLeft = 0; _btnCancel.UseDefaultRadiusAndThickness = true; // // btnClose // _btnClose.AllowToggling = false; _btnClose.AnimationSpeed = 200; _btnClose.AutoGenerateColors = false; _btnClose.BackColor = Color.Transparent; _btnClose.BackColor1 = Color.White; _btnClose.BackgroundImage = (Image)resources.GetObject("btnClose.BackgroundImage"); _btnClose.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnClose.ButtonText = "🗙"; _btnClose.ButtonTextMarginLeft = 0; _btnClose.ColorContrastOnClick = 45; _btnClose.ColorContrastOnHover = 45; _btnClose.Cursor = Cursors.Hand; BorderEdges3.BottomLeft = true; BorderEdges3.BottomRight = true; BorderEdges3.TopLeft = true; BorderEdges3.TopRight = true; _btnClose.CustomizableEdges = BorderEdges3; _btnClose.DialogResult = DialogResult.None; _btnClose.DisabledBorderColor = Color.Empty; _btnClose.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnClose.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnClose.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnClose.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnClose.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _btnClose.IconLeftCursor = Cursors.Hand; _btnClose.IconMarginLeft = 11; _btnClose.IconPadding = 10; _btnClose.IconRightCursor = Cursors.Hand; _btnClose.IdleBorderColor = Color.White; _btnClose.IdleBorderRadius = 20; _btnClose.IdleBorderThickness = 1; _btnClose.IdleFillColor = Color.White; _btnClose.IdleIconLeftImage = null; _btnClose.IdleIconRightImage = null; _btnClose.IndicateFocus = true; _btnClose.Location = new Point(333, -2); _btnClose.Name = "_btnClose"; StateProperties5.BorderColor = Color.Silver; StateProperties5.BorderRadius = 20; StateProperties5.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties5.BorderThickness = 1; StateProperties5.FillColor = Color.Silver; StateProperties5.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties5.IconLeftImage = null; StateProperties5.IconRightImage = null; _btnClose.onHoverState = StateProperties5; StateProperties6.BorderColor = Color.Silver; StateProperties6.BorderRadius = 20; StateProperties6.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties6.BorderThickness = 1; StateProperties6.FillColor = Color.Silver; StateProperties6.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties6.IconLeftImage = null; StateProperties6.IconRightImage = null; _btnClose.OnPressedState = StateProperties6; _btnClose.Size = new Size(25, 25); _btnClose.TabIndex = 237; _btnClose.TextAlign = ContentAlignment.MiddleCenter; _btnClose.TextMarginLeft = 0; _btnClose.UseDefaultRadiusAndThickness = true; // // Label15 // Label15.AutoSize = true; Label15.Font = new Font("Segoe UI Semibold", 14.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label15.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); Label15.Location = new Point(12, 12); Label15.Name = "Label15"; Label15.Size = new Size(210, 25); Label15.TabIndex = 236; Label15.Text = "Add booking to release"; // // Label1 // Label1.AutoSize = true; Label1.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label1.Location = new Point(41, 55); Label1.Name = "Label1"; Label1.Size = new Size(79, 18); Label1.TabIndex = 235; Label1.Text = "Booking #:"; // // BunifuElipse1 // BunifuElipse1.ElipseRadius = 20; BunifuElipse1.TargetControl = this; // // cboBooking // cboBooking.AutoCompleteMode = AutoCompleteMode.Append; cboBooking.AutoCompleteSource = AutoCompleteSource.ListItems; cboBooking.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); cboBooking.FormattingEnabled = true; cboBooking.Location = new Point(123, 52); cboBooking.Name = "cboBooking"; cboBooking.Size = new Size(202, 26); cboBooking.TabIndex = 245; // // FrmAddEditReleaseMb // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(359, 180); Controls.Add(cboBooking); Controls.Add(Label2); Controls.Add(nudQtyCans); Controls.Add(buttonsPanel); Controls.Add(_btnClose); Controls.Add(Label15); Controls.Add(Label1); FormBorderStyle = FormBorderStyle.None; Name = "FrmAddEditReleaseMb"; Text = "FrmAddEditReleaseMb"; ((System.ComponentModel.ISupportInitialize)nudQtyCans).EndInit(); buttonsPanel.ResumeLayout(false); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSplitMiniUnit)); 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(); _closeLabel = new Label(); _closeLabel.Click += new EventHandler(closeLabel_Click); Label12 = new Label(); _btnCancel = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnCancel.Click += new EventHandler(btnCancel_Click); _btnAddMiniUnit = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnAddMiniUnit.Click += new EventHandler(btnAddMiniUnit_Click); lblTotalMUMain = new Label(); lblTotalMU = new Label(); lblMUSplit = new Label(); nudMaxSplitMU = new NumericUpDown(); Label1 = new Label(); totalLabel = new Label(); currentMUTotal = new Label(); Label4 = new Label(); ((System.ComponentModel.ISupportInitialize)nudMaxSplitMU).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(563, 1); _closeLabel.Margin = new Padding(0); _closeLabel.Name = "_closeLabel"; _closeLabel.Size = new Size(48, 45); _closeLabel.TabIndex = 139; _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(611, 46); Label12.TabIndex = 138; Label12.TextAlign = ContentAlignment.MiddleCenter; // // btnCancel // _btnCancel.AllowToggling = false; _btnCancel.Anchor = AnchorStyles.Right; _btnCancel.AnimationSpeed = 200; _btnCancel.AutoGenerateColors = false; _btnCancel.BackColor = Color.Transparent; _btnCancel.BackColor1 = Color.White; _btnCancel.BackgroundImage = (Image)resources.GetObject("btnCancel.BackgroundImage"); _btnCancel.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnCancel.ButtonText = "Cancel"; _btnCancel.ButtonTextMarginLeft = 0; _btnCancel.ColorContrastOnClick = 45; _btnCancel.ColorContrastOnHover = 45; _btnCancel.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _btnCancel.CustomizableEdges = BorderEdges1; _btnCancel.DialogResult = DialogResult.None; _btnCancel.DisabledBorderColor = Color.Empty; _btnCancel.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnCancel.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnCancel.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnCancel.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnCancel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _btnCancel.IconLeftCursor = Cursors.Hand; _btnCancel.IconMarginLeft = 11; _btnCancel.IconPadding = 10; _btnCancel.IconRightCursor = Cursors.Hand; _btnCancel.IdleBorderColor = Color.Gray; _btnCancel.IdleBorderRadius = 3; _btnCancel.IdleBorderThickness = 1; _btnCancel.IdleFillColor = Color.White; _btnCancel.IdleIconLeftImage = null; _btnCancel.IdleIconRightImage = null; _btnCancel.IndicateFocus = true; _btnCancel.Location = new Point(510, 292); _btnCancel.Name = "_btnCancel"; 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; _btnCancel.onHoverState = StateProperties1; StateProperties2.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties2.BorderRadius = 3; StateProperties2.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties2.BorderThickness = 1; StateProperties2.FillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224))); StateProperties2.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties2.IconLeftImage = null; StateProperties2.IconRightImage = null; _btnCancel.OnPressedState = StateProperties2; _btnCancel.Size = new Size(86, 34); _btnCancel.TabIndex = 141; _btnCancel.TextAlign = ContentAlignment.MiddleCenter; _btnCancel.TextMarginLeft = 0; _btnCancel.UseDefaultRadiusAndThickness = true; // // btnAddMiniUnit // _btnAddMiniUnit.AllowToggling = false; _btnAddMiniUnit.Anchor = AnchorStyles.Right; _btnAddMiniUnit.AnimationSpeed = 200; _btnAddMiniUnit.AutoGenerateColors = false; _btnAddMiniUnit.BackColor = Color.Transparent; _btnAddMiniUnit.BackColor1 = Color.Teal; _btnAddMiniUnit.BackgroundImage = (Image)resources.GetObject("btnAddMiniUnit.BackgroundImage"); _btnAddMiniUnit.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnAddMiniUnit.ButtonText = "Add MiniUnit"; _btnAddMiniUnit.ButtonTextMarginLeft = 0; _btnAddMiniUnit.ColorContrastOnClick = 45; _btnAddMiniUnit.ColorContrastOnHover = 45; _btnAddMiniUnit.Cursor = Cursors.Hand; BorderEdges2.BottomLeft = true; BorderEdges2.BottomRight = true; BorderEdges2.TopLeft = true; BorderEdges2.TopRight = true; _btnAddMiniUnit.CustomizableEdges = BorderEdges2; _btnAddMiniUnit.DialogResult = DialogResult.None; _btnAddMiniUnit.DisabledBorderColor = Color.Empty; _btnAddMiniUnit.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnAddMiniUnit.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnAddMiniUnit.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnAddMiniUnit.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnAddMiniUnit.ForeColor = Color.White; _btnAddMiniUnit.IconLeftCursor = Cursors.Hand; _btnAddMiniUnit.IconMarginLeft = 11; _btnAddMiniUnit.IconPadding = 10; _btnAddMiniUnit.IconRightCursor = Cursors.Hand; _btnAddMiniUnit.IdleBorderColor = Color.Teal; _btnAddMiniUnit.IdleBorderRadius = 3; _btnAddMiniUnit.IdleBorderThickness = 1; _btnAddMiniUnit.IdleFillColor = Color.Teal; _btnAddMiniUnit.IdleIconLeftImage = null; _btnAddMiniUnit.IdleIconRightImage = null; _btnAddMiniUnit.IndicateFocus = true; _btnAddMiniUnit.Location = new Point(343, 292); _btnAddMiniUnit.Name = "_btnAddMiniUnit"; 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; _btnAddMiniUnit.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; _btnAddMiniUnit.OnPressedState = StateProperties4; _btnAddMiniUnit.Size = new Size(161, 34); _btnAddMiniUnit.TabIndex = 140; _btnAddMiniUnit.TextAlign = ContentAlignment.MiddleCenter; _btnAddMiniUnit.TextMarginLeft = 0; _btnAddMiniUnit.UseDefaultRadiusAndThickness = true; // // lblTotalMUMain // lblTotalMUMain.Anchor = AnchorStyles.Left; lblTotalMUMain.AutoSize = true; lblTotalMUMain.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); lblTotalMUMain.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); lblTotalMUMain.Location = new Point(142, 139); lblTotalMUMain.Name = "lblTotalMUMain"; lblTotalMUMain.Size = new Size(106, 25); lblTotalMUMain.TabIndex = 147; lblTotalMUMain.Text = "Total Geral:"; // // lblTotalMU // lblTotalMU.Anchor = AnchorStyles.Left; lblTotalMU.AutoSize = true; lblTotalMU.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); lblTotalMU.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); lblTotalMU.Location = new Point(77, 175); lblTotalMU.Name = "lblTotalMU"; lblTotalMU.Size = new Size(167, 25); lblTotalMU.TabIndex = 148; lblTotalMU.Text = "Current MU Billed:"; // // lblMUSplit // lblMUSplit.Anchor = AnchorStyles.Left; lblMUSplit.AutoSize = true; lblMUSplit.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); lblMUSplit.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); lblMUSplit.Location = new Point(142, 219); lblMUSplit.Name = "lblMUSplit"; lblMUSplit.Size = new Size(96, 25); lblMUSplit.TabIndex = 150; lblMUSplit.Text = "M.U. Split:"; // // nudMaxSplitMU // nudMaxSplitMU.Anchor = AnchorStyles.Left; nudMaxSplitMU.Font = new Font("Segoe UI", 13.74545f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); nudMaxSplitMU.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); nudMaxSplitMU.Location = new Point(255, 213); nudMaxSplitMU.Maximum = new decimal(new int[] { 10000, 0, 0, 0 }); nudMaxSplitMU.Name = "nudMaxSplitMU"; nudMaxSplitMU.Size = new Size(109, 35); nudMaxSplitMU.TabIndex = 151; nudMaxSplitMU.TextAlign = HorizontalAlignment.Center; // // Label1 // Label1.Anchor = AnchorStyles.Left; Label1.AutoSize = true; Label1.Font = new Font("Segoe UI Semibold", 13.74545f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label1.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); Label1.Location = new Point(23, 66); Label1.Name = "Label1"; Label1.Size = new Size(148, 30); Label1.TabIndex = 152; Label1.Text = "Spilt Mini Unit"; // // totalLabel // totalLabel.Anchor = AnchorStyles.Left; totalLabel.AutoSize = true; totalLabel.Font = new Font("Segoe UI Semibold", 11.78182f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); totalLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); totalLabel.Location = new Point(250, 139); totalLabel.Name = "totalLabel"; totalLabel.Size = new Size(103, 25); totalLabel.TabIndex = 153; totalLabel.Text = "Total Geral"; // // currentMUTotal // currentMUTotal.Anchor = AnchorStyles.Left; currentMUTotal.AutoSize = true; currentMUTotal.Font = new Font("Segoe UI Semibold", 11.78182f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); currentMUTotal.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); currentMUTotal.Location = new Point(250, 175); currentMUTotal.Name = "currentMUTotal"; currentMUTotal.Size = new Size(103, 25); currentMUTotal.TabIndex = 154; currentMUTotal.Text = "Total Geral"; // // Label4 // Label4.Anchor = AnchorStyles.Left; Label4.AutoSize = true; Label4.Font = new Font("Segoe UI Semibold", 11.78182f, FontStyle.Bold, 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(37, 99); Label4.Name = "Label4"; Label4.Size = new Size(559, 25); Label4.TabIndex = 155; Label4.Text = "Type the value that will be decreased from the current Mini Unit"; // // frmSplitMiniUnit // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(611, 344); Controls.Add(Label4); Controls.Add(currentMUTotal); Controls.Add(totalLabel); Controls.Add(Label1); Controls.Add(nudMaxSplitMU); Controls.Add(_btnCancel); Controls.Add(lblTotalMUMain); Controls.Add(lblMUSplit); Controls.Add(_btnAddMiniUnit); Controls.Add(lblTotalMU); Controls.Add(_closeLabel); Controls.Add(Label12); FormBorderStyle = FormBorderStyle.None; Name = "frmSplitMiniUnit"; StartPosition = FormStartPosition.CenterScreen; Text = "tot"; ((System.ComponentModel.ISupportInitialize)nudMaxSplitMU).EndInit(); Load += new EventHandler(frmSplitMiniUnit_Load); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmEditEntry)); 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(); clockInTimePicker = new DateTimePicker(); clockOutTimePicker = new DateTimePicker(); editEntryTitleLabel = new Label(); clockInDateTimePicker = new DateTimePicker(); clockoOutDateTimePicker = new DateTimePicker(); warningLabel = new Label(); _reasonNewEntryComboBox = new Bunifu.UI.WinForms.BunifuDropdown(); _reasonNewEntryComboBox.SelectedIndexChanged += new EventHandler(reasonNewEntryComboBox_SelectedIndexChanged); _clockInCheckBox = new Bunifu.UI.WinForms.BunifuCheckBox(); _clockInCheckBox.CheckedChanged += new EventHandler <Bunifu.UI.WinForms.BunifuCheckBox.CheckedChangedEventArgs>(CheckBox1_CheckedChanged); shiftTypeComboBox = new Bunifu.UI.WinForms.BunifuDropdown(); Panel2 = new Panel(); workDoneListView = new ListView(); Label11 = new Label(); Panel1 = new Panel(); Label10 = new Label(); RichTextBox1 = new RichTextBox(); _clockOutCheckBox = new Bunifu.UI.WinForms.BunifuCheckBox(); _clockOutCheckBox.CheckedChanged += new EventHandler <Bunifu.UI.WinForms.BunifuCheckBox.CheckedChangedEventArgs>(clockOutCheckBox_CheckedChanged); Label3 = new Label(); Label8 = new Label(); Label6 = new Label(); Label4 = new Label(); Label7 = new Label(); _closeLabel = new Label(); _closeLabel.MouseHover += new EventHandler(closeLabel_MouseHover); _closeLabel.MouseLeave += new EventHandler(closeLabel_MouseLeave); _closeLabel.Click += new EventHandler(closeLabel_Click); Label12 = new Label(); modifiedByTextBox = new Label(); _createNewEntryButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _createNewEntryButton.Click += new EventHandler(Button1_Click); _cancelButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _cancelButton.Click += new EventHandler(cancelButton_Click); Panel2.SuspendLayout(); Panel1.SuspendLayout(); SuspendLayout(); // // clockInTimePicker // clockInTimePicker.CalendarFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); clockInTimePicker.CustomFormat = "\"hh:mm\""; clockInTimePicker.Font = new Font("Microsoft Sans Serif", 14.25f); clockInTimePicker.Format = DateTimePickerFormat.Time; clockInTimePicker.Location = new Point(335, 142); clockInTimePicker.Name = "clockInTimePicker"; clockInTimePicker.ShowUpDown = true; clockInTimePicker.Size = new Size(162, 32); clockInTimePicker.TabIndex = 2; clockInTimePicker.Visible = false; // // clockOutTimePicker // clockOutTimePicker.CalendarFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); clockOutTimePicker.CustomFormat = "\"hh:mm\""; clockOutTimePicker.Font = new Font("Microsoft Sans Serif", 14.25f); clockOutTimePicker.Format = DateTimePickerFormat.Time; clockOutTimePicker.Location = new Point(335, 181); clockOutTimePicker.Name = "clockOutTimePicker"; clockOutTimePicker.ShowUpDown = true; clockOutTimePicker.Size = new Size(162, 32); clockOutTimePicker.TabIndex = 3; clockOutTimePicker.Visible = false; // // editEntryTitleLabel // editEntryTitleLabel.BackColor = Color.White; editEntryTitleLabel.Font = new Font("Segoe UI Semibold", 13.74545f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); editEntryTitleLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); editEntryTitleLabel.Location = new Point(40, 57); editEntryTitleLabel.Name = "editEntryTitleLabel"; editEntryTitleLabel.Padding = new Padding(20, 0, 20, 0); editEntryTitleLabel.Size = new Size(467, 36); editEntryTitleLabel.TabIndex = 11; editEntryTitleLabel.Text = "Check the fields to be modified"; editEntryTitleLabel.TextAlign = ContentAlignment.MiddleLeft; // // clockInDateTimePicker // clockInDateTimePicker.Font = new Font("Microsoft Sans Serif", 14.25f); clockInDateTimePicker.Format = DateTimePickerFormat.Short; clockInDateTimePicker.Location = new Point(196, 142); clockInDateTimePicker.Name = "clockInDateTimePicker"; clockInDateTimePicker.Size = new Size(133, 32); clockInDateTimePicker.TabIndex = 15; clockInDateTimePicker.Visible = false; // // clockoOutDateTimePicker // clockoOutDateTimePicker.Font = new Font("Microsoft Sans Serif", 14.25f); clockoOutDateTimePicker.Format = DateTimePickerFormat.Short; clockoOutDateTimePicker.Location = new Point(196, 181); clockoOutDateTimePicker.Name = "clockoOutDateTimePicker"; clockoOutDateTimePicker.Size = new Size(133, 32); clockoOutDateTimePicker.TabIndex = 16; clockoOutDateTimePicker.Visible = false; // // warningLabel // warningLabel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; warningLabel.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); warningLabel.ForeColor = Color.Maroon; warningLabel.Location = new Point(503, 142); warningLabel.Name = "warningLabel"; warningLabel.Size = new Size(259, 82); warningLabel.TabIndex = 131; warningLabel.TextAlign = ContentAlignment.MiddleLeft; // // reasonNewEntryComboBox // _reasonNewEntryComboBox.BackColor = Color.Snow; _reasonNewEntryComboBox.BorderRadius = 3; _reasonNewEntryComboBox.Color = Color.Teal; _reasonNewEntryComboBox.Direction = Bunifu.UI.WinForms.BunifuDropdown.Directions.Down; _reasonNewEntryComboBox.DisabledColor = Color.Gray; _reasonNewEntryComboBox.DrawMode = DrawMode.OwnerDrawFixed; _reasonNewEntryComboBox.DropdownBorderThickness = Bunifu.UI.WinForms.BunifuDropdown.BorderThickness.Thick; _reasonNewEntryComboBox.DropDownStyle = ComboBoxStyle.DropDownList; _reasonNewEntryComboBox.DropDownTextAlign = Bunifu.UI.WinForms.BunifuDropdown.TextAlign.Left; _reasonNewEntryComboBox.FillDropDown = false; _reasonNewEntryComboBox.FillIndicator = true; _reasonNewEntryComboBox.FlatStyle = FlatStyle.Flat; _reasonNewEntryComboBox.Font = new Font("Segoe UI Semibold", 11.78182f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _reasonNewEntryComboBox.ForeColor = SystemColors.ControlDarkDark; _reasonNewEntryComboBox.FormattingEnabled = true; _reasonNewEntryComboBox.Icon = null; _reasonNewEntryComboBox.IndicatorColor = Color.Teal; _reasonNewEntryComboBox.IndicatorLocation = Bunifu.UI.WinForms.BunifuDropdown.Indicator.Right; _reasonNewEntryComboBox.ItemBackColor = Color.White; _reasonNewEntryComboBox.ItemBorderColor = Color.White; _reasonNewEntryComboBox.ItemForeColor = SystemColors.ControlDarkDark; _reasonNewEntryComboBox.ItemHeight = 28; _reasonNewEntryComboBox.ItemHighLightColor = Color.Gray; _reasonNewEntryComboBox.Items.AddRange(new object[] { "Employee forgot to clock in/out", "Employee forgot card ID", "System prevented clock in (Employee forgot clock out last shift).", "System Error", "Working Remotely", "Other" }); _reasonNewEntryComboBox.Location = new Point(190, 227); _reasonNewEntryComboBox.MaxDropDownItems = 50; _reasonNewEntryComboBox.Name = "_reasonNewEntryComboBox"; _reasonNewEntryComboBox.Size = new Size(551, 34); _reasonNewEntryComboBox.TabIndex = 130; _reasonNewEntryComboBox.Text = null; // // clockInCheckBox // _clockInCheckBox.AllowBindingControlAnimation = true; _clockInCheckBox.AllowBindingControlColorChanges = false; _clockInCheckBox.AllowBindingControlLocation = true; _clockInCheckBox.AllowCheckBoxAnimation = false; _clockInCheckBox.AllowCheckmarkAnimation = true; _clockInCheckBox.AllowOnHoverStates = true; _clockInCheckBox.AutoCheck = true; _clockInCheckBox.BackColor = Color.Transparent; _clockInCheckBox.BackgroundImage = (Image)resources.GetObject("clockInCheckBox.BackgroundImage"); _clockInCheckBox.BackgroundImageLayout = ImageLayout.Zoom; _clockInCheckBox.BindingControl = null; _clockInCheckBox.BindingControlPosition = Bunifu.UI.WinForms.BunifuCheckBox.BindingControlPositions.Right; _clockInCheckBox.Checked = false; _clockInCheckBox.CheckState = Bunifu.UI.WinForms.BunifuCheckBox.CheckStates.Unchecked; _clockInCheckBox.Cursor = Cursors.Hand; _clockInCheckBox.CustomCheckmarkImage = null; _clockInCheckBox.Location = new Point(63, 146); _clockInCheckBox.MinimumSize = new Size(20, 20); _clockInCheckBox.Name = "_clockInCheckBox"; _clockInCheckBox.OnCheck.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); _clockInCheckBox.OnCheck.BorderRadius = 2; _clockInCheckBox.OnCheck.BorderThickness = 2; _clockInCheckBox.OnCheck.CheckBoxColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); _clockInCheckBox.OnCheck.CheckmarkColor = Color.White; _clockInCheckBox.OnCheck.CheckmarkThickness = 2; _clockInCheckBox.OnDisable.BorderColor = Color.LightGray; _clockInCheckBox.OnDisable.BorderRadius = 2; _clockInCheckBox.OnDisable.BorderThickness = 2; _clockInCheckBox.OnDisable.CheckBoxColor = Color.Transparent; _clockInCheckBox.OnDisable.CheckmarkColor = Color.LightGray; _clockInCheckBox.OnDisable.CheckmarkThickness = 2; _clockInCheckBox.OnHoverChecked.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(255)), Conversions.ToInteger(Conversions.ToByte(128)), Conversions.ToInteger(Conversions.ToByte(0))); _clockInCheckBox.OnHoverChecked.BorderRadius = 2; _clockInCheckBox.OnHoverChecked.BorderThickness = 2; _clockInCheckBox.OnHoverChecked.CheckBoxColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(255)), Conversions.ToInteger(Conversions.ToByte(128)), Conversions.ToInteger(Conversions.ToByte(0))); _clockInCheckBox.OnHoverChecked.CheckmarkColor = Color.White; _clockInCheckBox.OnHoverChecked.CheckmarkThickness = 2; _clockInCheckBox.OnHoverUnchecked.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(255)), Conversions.ToInteger(Conversions.ToByte(128)), Conversions.ToInteger(Conversions.ToByte(0))); _clockInCheckBox.OnHoverUnchecked.BorderRadius = 2; _clockInCheckBox.OnHoverUnchecked.BorderThickness = 2; _clockInCheckBox.OnHoverUnchecked.CheckBoxColor = Color.Transparent; _clockInCheckBox.OnUncheck.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); _clockInCheckBox.OnUncheck.BorderRadius = 2; _clockInCheckBox.OnUncheck.BorderThickness = 2; _clockInCheckBox.OnUncheck.CheckBoxColor = Color.Transparent; _clockInCheckBox.Size = new Size(25, 25); _clockInCheckBox.Style = Bunifu.UI.WinForms.BunifuCheckBox.CheckBoxStyles.Bunifu; _clockInCheckBox.TabIndex = 129; _clockInCheckBox.ThreeState = false; _clockInCheckBox.ToolTipText = null; // // shiftTypeComboBox // shiftTypeComboBox.BackColor = Color.Snow; shiftTypeComboBox.BorderRadius = 3; shiftTypeComboBox.Color = Color.Teal; shiftTypeComboBox.Direction = Bunifu.UI.WinForms.BunifuDropdown.Directions.Down; shiftTypeComboBox.DisabledColor = Color.Gray; shiftTypeComboBox.DrawMode = DrawMode.OwnerDrawFixed; shiftTypeComboBox.DropdownBorderThickness = Bunifu.UI.WinForms.BunifuDropdown.BorderThickness.Thick; shiftTypeComboBox.DropDownStyle = ComboBoxStyle.DropDownList; shiftTypeComboBox.DropDownTextAlign = Bunifu.UI.WinForms.BunifuDropdown.TextAlign.Left; shiftTypeComboBox.FillDropDown = false; shiftTypeComboBox.FillIndicator = true; shiftTypeComboBox.FlatStyle = FlatStyle.Flat; shiftTypeComboBox.Font = new Font("Segoe UI Semibold", 11.78182f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); shiftTypeComboBox.ForeColor = SystemColors.ControlDarkDark; shiftTypeComboBox.FormattingEnabled = true; shiftTypeComboBox.Icon = null; shiftTypeComboBox.IndicatorColor = Color.Teal; shiftTypeComboBox.IndicatorLocation = Bunifu.UI.WinForms.BunifuDropdown.Indicator.Right; shiftTypeComboBox.ItemBackColor = Color.White; shiftTypeComboBox.ItemBorderColor = Color.White; shiftTypeComboBox.ItemForeColor = SystemColors.ControlDarkDark; shiftTypeComboBox.ItemHeight = 28; shiftTypeComboBox.ItemHighLightColor = Color.Gray; shiftTypeComboBox.Items.AddRange(new object[] { "Hourly", "Salary", "Piece Work" }); shiftTypeComboBox.Location = new Point(190, 102); shiftTypeComboBox.MaxDropDownItems = 50; shiftTypeComboBox.Name = "shiftTypeComboBox"; shiftTypeComboBox.Size = new Size(195, 34); shiftTypeComboBox.TabIndex = 127; shiftTypeComboBox.Text = null; // // Panel2 // Panel2.BackColor = Color.Transparent; Panel2.Controls.Add(workDoneListView); Panel2.Controls.Add(Label11); Panel2.Location = new Point(768, 92); Panel2.Name = "Panel2"; Panel2.Size = new Size(224, 283); Panel2.TabIndex = 124; Panel2.Visible = false; // // workDoneListView // workDoneListView.AllowColumnReorder = true; workDoneListView.CheckBoxes = true; workDoneListView.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); workDoneListView.FullRowSelect = true; workDoneListView.HeaderStyle = ColumnHeaderStyle.None; workDoneListView.HideSelection = false; workDoneListView.Location = new Point(16, 27); workDoneListView.MultiSelect = false; workDoneListView.Name = "workDoneListView"; workDoneListView.Size = new Size(197, 253); workDoneListView.TabIndex = 17; workDoneListView.UseCompatibleStateImageBehavior = false; workDoneListView.View = View.Details; // // Label11 // Label11.Anchor = AnchorStyles.None; Label11.AutoSize = true; Label11.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label11.Location = new Point(7, 1); Label11.Name = "Label11"; Label11.Size = new Size(174, 25); Label11.TabIndex = 16; Label11.Text = "* Work Description:"; // // Panel1 // Panel1.Controls.Add(Label10); Panel1.Controls.Add(RichTextBox1); Panel1.Location = new Point(62, 271); Panel1.Name = "Panel1"; Panel1.Size = new Size(679, 104); Panel1.TabIndex = 123; Panel1.Visible = false; // // Label10 // Label10.Anchor = AnchorStyles.None; Label10.AutoSize = true; Label10.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label10.Location = new Point(32, 4); Label10.Name = "Label10"; Label10.Size = new Size(86, 25); Label10.TabIndex = 16; Label10.Text = "* Details:"; // // RichTextBox1 // RichTextBox1.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); RichTextBox1.Location = new Point(128, 2); RichTextBox1.Name = "RichTextBox1"; RichTextBox1.Size = new Size(541, 92); RichTextBox1.TabIndex = 41; RichTextBox1.Text = ""; // // clockOutCheckBox // _clockOutCheckBox.AllowBindingControlAnimation = true; _clockOutCheckBox.AllowBindingControlColorChanges = false; _clockOutCheckBox.AllowBindingControlLocation = true; _clockOutCheckBox.AllowCheckBoxAnimation = false; _clockOutCheckBox.AllowCheckmarkAnimation = true; _clockOutCheckBox.AllowOnHoverStates = true; _clockOutCheckBox.AutoCheck = true; _clockOutCheckBox.BackColor = Color.Transparent; _clockOutCheckBox.BackgroundImage = (Image)resources.GetObject("clockOutCheckBox.BackgroundImage"); _clockOutCheckBox.BackgroundImageLayout = ImageLayout.Zoom; _clockOutCheckBox.BindingControl = null; _clockOutCheckBox.BindingControlPosition = Bunifu.UI.WinForms.BunifuCheckBox.BindingControlPositions.Right; _clockOutCheckBox.Checked = false; _clockOutCheckBox.CheckState = Bunifu.UI.WinForms.BunifuCheckBox.CheckStates.Unchecked; _clockOutCheckBox.Cursor = Cursors.Hand; _clockOutCheckBox.CustomCheckmarkImage = null; _clockOutCheckBox.Location = new Point(64, 187); _clockOutCheckBox.MinimumSize = new Size(20, 20); _clockOutCheckBox.Name = "_clockOutCheckBox"; _clockOutCheckBox.OnCheck.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); _clockOutCheckBox.OnCheck.BorderRadius = 2; _clockOutCheckBox.OnCheck.BorderThickness = 2; _clockOutCheckBox.OnCheck.CheckBoxColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); _clockOutCheckBox.OnCheck.CheckmarkColor = Color.White; _clockOutCheckBox.OnCheck.CheckmarkThickness = 2; _clockOutCheckBox.OnDisable.BorderColor = Color.LightGray; _clockOutCheckBox.OnDisable.BorderRadius = 2; _clockOutCheckBox.OnDisable.BorderThickness = 2; _clockOutCheckBox.OnDisable.CheckBoxColor = Color.Transparent; _clockOutCheckBox.OnDisable.CheckmarkColor = Color.LightGray; _clockOutCheckBox.OnDisable.CheckmarkThickness = 2; _clockOutCheckBox.OnHoverChecked.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(255)), Conversions.ToInteger(Conversions.ToByte(128)), Conversions.ToInteger(Conversions.ToByte(0))); _clockOutCheckBox.OnHoverChecked.BorderRadius = 2; _clockOutCheckBox.OnHoverChecked.BorderThickness = 2; _clockOutCheckBox.OnHoverChecked.CheckBoxColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(255)), Conversions.ToInteger(Conversions.ToByte(128)), Conversions.ToInteger(Conversions.ToByte(0))); _clockOutCheckBox.OnHoverChecked.CheckmarkColor = Color.White; _clockOutCheckBox.OnHoverChecked.CheckmarkThickness = 2; _clockOutCheckBox.OnHoverUnchecked.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(255)), Conversions.ToInteger(Conversions.ToByte(128)), Conversions.ToInteger(Conversions.ToByte(0))); _clockOutCheckBox.OnHoverUnchecked.BorderRadius = 2; _clockOutCheckBox.OnHoverUnchecked.BorderThickness = 2; _clockOutCheckBox.OnHoverUnchecked.CheckBoxColor = Color.Transparent; _clockOutCheckBox.OnUncheck.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); _clockOutCheckBox.OnUncheck.BorderRadius = 2; _clockOutCheckBox.OnUncheck.BorderThickness = 2; _clockOutCheckBox.OnUncheck.CheckBoxColor = Color.Transparent; _clockOutCheckBox.Size = new Size(25, 25); _clockOutCheckBox.Style = Bunifu.UI.WinForms.BunifuCheckBox.CheckBoxStyles.Bunifu; _clockOutCheckBox.TabIndex = 109; _clockOutCheckBox.ThreeState = false; _clockOutCheckBox.ToolTipText = null; // // Label3 // Label3.Anchor = AnchorStyles.None; Label3.AutoSize = true; Label3.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label3.Location = new Point(95, 187); Label3.Name = "Label3"; Label3.Size = new Size(95, 25); Label3.TabIndex = 16; Label3.Text = "Clock out:"; // // Label8 // Label8.AutoSize = true; Label8.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label8.Location = new Point(73, 105); Label8.Name = "Label8"; Label8.Size = new Size(111, 25); Label8.TabIndex = 120; Label8.Text = "* Shift Type:"; // // Label6 // Label6.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; Label6.AutoSize = true; Label6.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label6.ForeColor = Color.Maroon; Label6.Location = new Point(3, 432); Label6.Name = "Label6"; Label6.Size = new Size(156, 25); Label6.TabIndex = 117; Label6.Text = "* Madatory fields"; // // Label4 // Label4.AutoSize = true; Label4.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label4.Location = new Point(95, 230); Label4.Name = "Label4"; Label4.Size = new Size(89, 25); Label4.TabIndex = 116; Label4.Text = "* Reason:"; // // Label7 // Label7.AutoSize = true; Label7.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label7.Location = new Point(107, 146); Label7.Name = "Label7"; Label7.Size = new Size(83, 25); Label7.TabIndex = 114; Label7.Text = "Clock in:"; // // 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(1001, 0); _closeLabel.Margin = new Padding(0); _closeLabel.Name = "_closeLabel"; _closeLabel.Size = new Size(48, 46); _closeLabel.TabIndex = 133; _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(1049, 46); Label12.TabIndex = 132; Label12.TextAlign = ContentAlignment.MiddleCenter; // // modifiedByTextBox // modifiedByTextBox.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; modifiedByTextBox.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); modifiedByTextBox.ForeColor = Color.Maroon; modifiedByTextBox.Location = new Point(361, 432); modifiedByTextBox.Name = "modifiedByTextBox"; modifiedByTextBox.Size = new Size(259, 25); modifiedByTextBox.TabIndex = 134; modifiedByTextBox.TextAlign = ContentAlignment.MiddleLeft; modifiedByTextBox.Visible = false; // // createNewEntryButton // _createNewEntryButton.AllowToggling = false; _createNewEntryButton.AnimationSpeed = 200; _createNewEntryButton.AutoGenerateColors = false; _createNewEntryButton.BackColor = Color.Transparent; _createNewEntryButton.BackColor1 = Color.Teal; _createNewEntryButton.BackgroundImage = (Image)resources.GetObject("createNewEntryButton.BackgroundImage"); _createNewEntryButton.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _createNewEntryButton.ButtonText = "Update Entry"; _createNewEntryButton.ButtonTextMarginLeft = 0; _createNewEntryButton.ColorContrastOnClick = 45; _createNewEntryButton.ColorContrastOnHover = 45; _createNewEntryButton.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _createNewEntryButton.CustomizableEdges = BorderEdges1; _createNewEntryButton.DialogResult = DialogResult.None; _createNewEntryButton.DisabledBorderColor = Color.Empty; _createNewEntryButton.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _createNewEntryButton.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _createNewEntryButton.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _createNewEntryButton.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _createNewEntryButton.ForeColor = Color.White; _createNewEntryButton.IconLeftCursor = Cursors.Hand; _createNewEntryButton.IconMarginLeft = 11; _createNewEntryButton.IconPadding = 10; _createNewEntryButton.IconRightCursor = Cursors.Hand; _createNewEntryButton.IdleBorderColor = Color.Teal; _createNewEntryButton.IdleBorderRadius = 3; _createNewEntryButton.IdleBorderThickness = 1; _createNewEntryButton.IdleFillColor = Color.Teal; _createNewEntryButton.IdleIconLeftImage = null; _createNewEntryButton.IdleIconRightImage = null; _createNewEntryButton.IndicateFocus = true; _createNewEntryButton.Location = new Point(763, 402); _createNewEntryButton.Name = "_createNewEntryButton"; 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; _createNewEntryButton.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; _createNewEntryButton.OnPressedState = StateProperties2; _createNewEntryButton.Size = new Size(128, 45); _createNewEntryButton.TabIndex = 125; _createNewEntryButton.TextAlign = ContentAlignment.MiddleCenter; _createNewEntryButton.TextMarginLeft = 0; _createNewEntryButton.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(914, 402); _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.White; StateProperties3.IconLeftImage = null; StateProperties3.IconRightImage = null; _cancelButton.onHoverState = StateProperties3; StateProperties4.BorderColor = Color.IndianRed; StateProperties4.BorderRadius = 3; StateProperties4.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties4.BorderThickness = 1; StateProperties4.FillColor = Color.IndianRed; StateProperties4.ForeColor = Color.White; StateProperties4.IconLeftImage = null; StateProperties4.IconRightImage = null; _cancelButton.OnPressedState = StateProperties4; _cancelButton.Size = new Size(103, 45); _cancelButton.TabIndex = 126; _cancelButton.TextAlign = ContentAlignment.MiddleCenter; _cancelButton.TextMarginLeft = 0; _cancelButton.UseDefaultRadiusAndThickness = true; // // FrmEditEntry // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.Snow; ClientSize = new Size(1049, 466); ControlBox = false; Controls.Add(modifiedByTextBox); Controls.Add(_closeLabel); Controls.Add(Label12); Controls.Add(_clockOutCheckBox); Controls.Add(warningLabel); Controls.Add(_reasonNewEntryComboBox); Controls.Add(Label3); Controls.Add(_clockInCheckBox); Controls.Add(shiftTypeComboBox); Controls.Add(_cancelButton); Controls.Add(_createNewEntryButton); Controls.Add(Panel2); Controls.Add(Panel1); Controls.Add(Label8); Controls.Add(Label6); Controls.Add(Label4); Controls.Add(Label7); Controls.Add(clockoOutDateTimePicker); Controls.Add(clockInDateTimePicker); Controls.Add(editEntryTitleLabel); Controls.Add(clockOutTimePicker); Controls.Add(clockInTimePicker); FormBorderStyle = FormBorderStyle.FixedSingle; MaximizeBox = false; Name = "FrmEditEntry"; StartPosition = FormStartPosition.CenterScreen; Panel2.ResumeLayout(false); Panel2.PerformLayout(); Panel1.ResumeLayout(false); Panel1.PerformLayout(); Load += new EventHandler(FrmEditEntry_Load); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmGrainLocation)); 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(); TableLayoutPanel6 = new TableLayoutPanel(); Label21 = new Label(); _cboStorageType = new ComboBox(); _cboStorageType.SelectedIndexChanged += new EventHandler(cboLocationType_SelectedIndexChanged); Label23 = new Label(); cboStorage = new ComboBox(); Quantity = new Label(); nudBagQty = new NumericUpDown(); _closeFlatButton = new Bunifu.Framework.UI.BunifuFlatButton(); _closeFlatButton.Click += new EventHandler(closeFlatButton_Click); Label17 = new Label(); lblWarning = new Label(); Label1 = new Label(); _btnOk = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnOk.Click += new EventHandler(btnSave_Click); Label7 = new Label(); TableLayoutPanel6.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)nudBagQty).BeginInit(); SuspendLayout(); // // TableLayoutPanel6 // TableLayoutPanel6.ColumnCount = 2; TableLayoutPanel6.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 36.90852f)); TableLayoutPanel6.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 63.09148f)); TableLayoutPanel6.Controls.Add(Label21, 0, 0); TableLayoutPanel6.Controls.Add(_cboStorageType, 1, 0); TableLayoutPanel6.Controls.Add(Label23, 0, 1); TableLayoutPanel6.Controls.Add(cboStorage, 1, 1); TableLayoutPanel6.Controls.Add(Quantity, 0, 2); TableLayoutPanel6.Controls.Add(nudBagQty, 1, 2); TableLayoutPanel6.Location = new Point(27, 82); TableLayoutPanel6.Margin = new Padding(2); TableLayoutPanel6.Name = "TableLayoutPanel6"; TableLayoutPanel6.RowCount = 3; TableLayoutPanel6.RowStyles.Add(new RowStyle(SizeType.Percent, 16.66667f)); TableLayoutPanel6.RowStyles.Add(new RowStyle(SizeType.Percent, 16.66667f)); TableLayoutPanel6.RowStyles.Add(new RowStyle(SizeType.Absolute, 30.0f)); TableLayoutPanel6.RowStyles.Add(new RowStyle(SizeType.Absolute, 18.0f)); TableLayoutPanel6.Size = new Size(317, 103); TableLayoutPanel6.TabIndex = 202; // // Label21 // Label21.Anchor = AnchorStyles.Right; Label21.AutoSize = true; Label21.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label21.Location = new Point(13, 10); Label21.Margin = new Padding(2, 0, 2, 0); Label21.Name = "Label21"; Label21.Size = new Size(102, 16); Label21.TabIndex = 6; Label21.Text = "* Storage Type:"; // // cboStorageType // _cboStorageType.Anchor = AnchorStyles.Left; _cboStorageType.AutoCompleteSource = AutoCompleteSource.ListItems; _cboStorageType.DropDownStyle = ComboBoxStyle.DropDownList; _cboStorageType.Font = new Font("Microsoft Sans Serif", 11.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _cboStorageType.FormattingEnabled = true; _cboStorageType.Items.AddRange(new object[] { "CONTAINER", "BAGGER" }); _cboStorageType.Location = new Point(119, 5); _cboStorageType.Margin = new Padding(2); _cboStorageType.Name = "_cboStorageType"; _cboStorageType.Size = new Size(150, 26); _cboStorageType.TabIndex = 177; // // Label23 // Label23.Anchor = AnchorStyles.Right; Label23.AutoSize = true; Label23.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label23.Location = new Point(48, 46); Label23.Margin = new Padding(2, 0, 2, 0); Label23.Name = "Label23"; Label23.Size = new Size(67, 16); Label23.TabIndex = 176; Label23.Text = "* Storage:"; // // cboStorage // cboStorage.AutoCompleteMode = AutoCompleteMode.Suggest; cboStorage.AutoCompleteSource = AutoCompleteSource.ListItems; cboStorage.Font = new Font("Microsoft Sans Serif", 11.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); cboStorage.FormattingEnabled = true; cboStorage.Location = new Point(119, 38); cboStorage.Margin = new Padding(2); cboStorage.Name = "cboStorage"; cboStorage.Size = new Size(159, 26); cboStorage.TabIndex = 7; // // Quantity // Quantity.Anchor = AnchorStyles.Right; Quantity.AutoSize = true; Quantity.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Quantity.Location = new Point(51, 79); Quantity.Margin = new Padding(2, 0, 2, 0); Quantity.Name = "Quantity"; Quantity.Size = new Size(64, 16); Quantity.TabIndex = 178; Quantity.Text = "* Quantity"; // // nudBagQty // nudBagQty.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); nudBagQty.Location = new Point(119, 74); nudBagQty.Margin = new Padding(2); nudBagQty.Maximum = new decimal(new int[] { 1000000, 0, 0, 0 }); nudBagQty.Name = "nudBagQty"; nudBagQty.Size = new Size(108, 26); nudBagQty.TabIndex = 179; nudBagQty.TextAlign = HorizontalAlignment.Center; // // 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(333, 0); _closeFlatButton.Margin = new Padding(5, 6, 5, 6); _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(41, 29); _closeFlatButton.TabIndex = 201; _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)); // // 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", 11.78182f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label17.ForeColor = Color.White; Label17.Location = new Point(0, 0); Label17.Name = "Label17"; Label17.Size = new Size(374, 29); Label17.TabIndex = 200; Label17.TextAlign = ContentAlignment.MiddleCenter; // // lblWarning // lblWarning.Anchor = AnchorStyles.Right; lblWarning.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, 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(35, 71); lblWarning.Margin = new Padding(2, 0, 2, 0); lblWarning.Name = "lblWarning"; lblWarning.Size = new Size(309, 16); lblWarning.TabIndex = 206; lblWarning.TextAlign = ContentAlignment.MiddleCenter; // // Label1 // Label1.Anchor = AnchorStyles.Right; Label1.AutoSize = true; Label1.Location = new Point(35, 187); Label1.Margin = new Padding(2, 0, 2, 0); Label1.Name = "Label1"; Label1.Size = new Size(97, 13); Label1.TabIndex = 205; Label1.Text = "* : Mandatory fields"; // // btnOk // _btnOk.AllowToggling = false; _btnOk.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; _btnOk.AnimationSpeed = 200; _btnOk.AutoGenerateColors = false; _btnOk.BackColor = Color.Transparent; _btnOk.BackColor1 = Color.Teal; _btnOk.BackgroundImage = (Image)resources.GetObject("btnOk.BackgroundImage"); _btnOk.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnOk.ButtonText = "Add Location"; _btnOk.ButtonTextMarginLeft = 0; _btnOk.ColorContrastOnClick = 45; _btnOk.ColorContrastOnHover = 45; _btnOk.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _btnOk.CustomizableEdges = BorderEdges1; _btnOk.DialogResult = DialogResult.None; _btnOk.DisabledBorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(191)), Conversions.ToInteger(Conversions.ToByte(191)), Conversions.ToInteger(Conversions.ToByte(191))); _btnOk.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnOk.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnOk.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnOk.Font = new Font("Segoe UI Semibold", 11.0f); _btnOk.ForeColor = Color.White; _btnOk.IconLeftCursor = Cursors.Hand; _btnOk.IconMarginLeft = 11; _btnOk.IconPadding = 10; _btnOk.IconRightCursor = Cursors.Hand; _btnOk.IdleBorderColor = Color.Teal; _btnOk.IdleBorderRadius = 3; _btnOk.IdleBorderThickness = 1; _btnOk.IdleFillColor = Color.Teal; _btnOk.IdleIconLeftImage = null; _btnOk.IdleIconRightImage = null; _btnOk.IndicateFocus = false; _btnOk.Location = new Point(142, 219); _btnOk.Margin = new Padding(2); _btnOk.Name = "_btnOk"; 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; _btnOk.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; _btnOk.OnPressedState = StateProperties2; _btnOk.Size = new Size(103, 36); _btnOk.TabIndex = 204; _btnOk.TextAlign = ContentAlignment.MiddleCenter; _btnOk.TextMarginLeft = 0; _btnOk.UseDefaultRadiusAndThickness = true; // // 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(9, 42); Label7.Margin = new Padding(2, 0, 2, 0); Label7.Name = "Label7"; Label7.Size = new Size(261, 25); Label7.TabIndex = 203; Label7.Text = "Add Grain Inventory location"; // // FrmGrainLocation // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(374, 266); Controls.Add(TableLayoutPanel6); Controls.Add(_closeFlatButton); Controls.Add(Label17); Controls.Add(lblWarning); Controls.Add(Label1); Controls.Add(_btnOk); Controls.Add(Label7); FormBorderStyle = FormBorderStyle.None; Name = "FrmGrainLocation"; Text = "FrmGrainLocation"; TableLayoutPanel6.ResumeLayout(false); TableLayoutPanel6.PerformLayout(); ((System.ComponentModel.ISupportInitialize)nudBagQty).EndInit(); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { var TreeNode1 = new TreeNode("Home Page"); var TreeNode2 = new TreeNode("Bookings"); var TreeNode3 = new TreeNode("Assign Container"); var TreeNode4 = new TreeNode("Block Container"); var TreeNode5 = new TreeNode("Edit Sample Type"); var TreeNode6 = new TreeNode("Edit Customer"); var TreeNode7 = new TreeNode("Edit Booking"); var TreeNode8 = new TreeNode("Edit Unit"); var TreeNode9 = new TreeNode("Edit Commodity"); var TreeNode10 = new TreeNode("Print Label"); var TreeNode11 = new TreeNode("CFIA Labels", new TreeNode[] { TreeNode5, TreeNode6, TreeNode7, TreeNode8, TreeNode9, TreeNode10 }); var TreeNode12 = new TreeNode("EDI"); var TreeNode13 = new TreeNode("In/Out Gate"); var TreeNode14 = new TreeNode("Transfer Container"); var TreeNode15 = new TreeNode("Manage Container"); var TreeNode16 = new TreeNode("Containers", new TreeNode[] { TreeNode3, TreeNode4, TreeNode11, TreeNode12, TreeNode13, TreeNode14, TreeNode15 }); var TreeNode17 = new TreeNode("Add New Entry"); var TreeNode18 = new TreeNode("See Entry Details"); var TreeNode19 = new TreeNode("Edit Entry"); var TreeNode20 = new TreeNode("Delete Entry"); var TreeNode21 = new TreeNode("Print TimeSheet"); var TreeNode22 = new TreeNode("Export TimeSheet"); var TreeNode23 = new TreeNode("Add Holidays"); var TreeNode24 = new TreeNode("Time Management", new TreeNode[] { TreeNode17, TreeNode18, TreeNode19, TreeNode20, TreeNode21, TreeNode22, TreeNode23 }); var TreeNode25 = new TreeNode("Time Reports"); var TreeNode26 = new TreeNode("Time Management and Reports", new TreeNode[] { TreeNode24, TreeNode25 }); var TreeNode27 = new TreeNode("Add Employee"); var TreeNode28 = new TreeNode("Assign CardID"); var TreeNode29 = new TreeNode("Create Login"); var TreeNode30 = new TreeNode("Delete Employee"); var TreeNode31 = new TreeNode("See sensitive information"); var TreeNode32 = new TreeNode("See Employee Details", new TreeNode[] { TreeNode31 }); var TreeNode33 = new TreeNode("Suspend Employee"); var TreeNode34 = new TreeNode("Modify Employee"); var TreeNode35 = new TreeNode("Print Card"); var TreeNode36 = new TreeNode("Set Clearance"); var TreeNode37 = new TreeNode("Employee Management", new TreeNode[] { TreeNode27, TreeNode28, TreeNode29, TreeNode30, TreeNode32, TreeNode33, TreeNode34, TreeNode35, TreeNode36 }); var TreeNode38 = new TreeNode("Shift Management"); var TreeNode39 = new TreeNode("Worked Hours"); var TreeNode40 = new TreeNode("Document Storage"); var TreeNode41 = new TreeNode("Safety and Risk Management", new TreeNode[] { TreeNode39, TreeNode40 }); var TreeNode42 = new TreeNode("Message Employee"); var TreeNode43 = new TreeNode("Human Resources", new TreeNode[] { TreeNode26, TreeNode37, TreeNode38, TreeNode41, TreeNode42 }); var TreeNode44 = new TreeNode("Probation Due Reminder"); var TreeNode45 = new TreeNode("Statutory Holiday Reminder"); var TreeNode46 = new TreeNode("Year Follow Up Reminder"); var TreeNode47 = new TreeNode("Benefit Reminder"); var TreeNode48 = new TreeNode("Email Reminder"); var TreeNode49 = new TreeNode("Job Letter Request"); var TreeNode50 = new TreeNode("Time Off Request"); var TreeNode51 = new TreeNode("Vacation Pay Request"); var TreeNode52 = new TreeNode("Benefit Claim Request"); var TreeNode53 = new TreeNode("Failed Punch Attempt Warning"); var TreeNode54 = new TreeNode("Employee Management Notifications", new TreeNode[] { TreeNode44, TreeNode45, TreeNode46, TreeNode47, TreeNode48, TreeNode49, TreeNode50, TreeNode51, TreeNode52, TreeNode53 }); var TreeNode55 = new TreeNode("Document Expiration Reminder"); var TreeNode56 = new TreeNode("Safety Committee Meeting Reminder"); var TreeNode57 = new TreeNode("Safety Committee Inspection Reminder"); var TreeNode58 = new TreeNode("Training Reminder"); var TreeNode59 = new TreeNode("Email Reminder"); var TreeNode60 = new TreeNode("Safety and Risk Notifications", new TreeNode[] { TreeNode55, TreeNode56, TreeNode57, TreeNode58, TreeNode59 }); var TreeNode61 = new TreeNode("Notifications", new TreeNode[] { TreeNode54, TreeNode60 }); var TreeNode62 = new TreeNode("Companies"); var TreeNode63 = new TreeNode("Pre Scripts"); var TreeNode64 = new TreeNode("Contacts", new TreeNode[] { TreeNode62, TreeNode63 }); var TreeNode65 = new TreeNode("Inbound Cargo"); var TreeNode66 = new TreeNode("Carrier Assignment"); var TreeNode67 = new TreeNode("Requests"); var TreeNode68 = new TreeNode("Inbound"); var TreeNode69 = new TreeNode("Outbound"); var TreeNode70 = new TreeNode("Truck Dispatch", new TreeNode[] { TreeNode66, TreeNode67, TreeNode68, TreeNode69 }); var TreeNode71 = new TreeNode("Trucking Reconciliation"); var TreeNode72 = new TreeNode("Billing", new TreeNode[] { TreeNode71 }); var TreeNode73 = new TreeNode("Truck Drivers"); var TreeNode74 = new TreeNode("Logs"); var TreeNode75 = new TreeNode("Miscellaneous", new TreeNode[] { TreeNode73, TreeNode74 }); var TreeNode76 = new TreeNode("Time Tracker"); var TreeNode77 = new TreeNode("Empty Bag Inventory"); var TreeNode78 = new TreeNode("Grain Inventory"); var TreeNode79 = new TreeNode("Inventory Management", new TreeNode[] { TreeNode77, TreeNode78 }); var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmClearance)); 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(); _TreeView1 = new TreeView(); _TreeView1.AfterCheck += new TreeViewEventHandler(TreeView1_AfterCheck); Label1 = new Label(); _saveBunifuButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _saveBunifuButton.Click += new EventHandler(TouchButton1_Load); _noBunifuButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _noBunifuButton.Click += new EventHandler(finishButton_Click); SuspendLayout(); // // TreeView1 // _TreeView1.CheckBoxes = true; _TreeView1.Font = new Font("Microsoft Sans Serif", 18.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _TreeView1.Location = new Point(80, 128); _TreeView1.Margin = new Padding(4, 4, 4, 4); _TreeView1.Name = "_TreeView1"; TreeNode1.Name = "Node0"; TreeNode1.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode1.Text = "Home Page"; TreeNode2.Name = "Node0"; TreeNode2.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode2.Text = "Bookings"; TreeNode3.Name = "Node3"; TreeNode3.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode3.Text = "Assign Container"; TreeNode4.Name = "Node1"; TreeNode4.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode4.Text = "Block Container"; TreeNode5.Name = "editSampleType"; TreeNode5.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); TreeNode5.Text = "Edit Sample Type"; TreeNode6.Name = "editCustomer"; TreeNode6.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode6.Text = "Edit Customer"; TreeNode7.Name = "editBooking"; TreeNode7.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode7.Text = "Edit Booking"; TreeNode8.Name = "editUnit"; TreeNode8.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode8.Text = "Edit Unit"; TreeNode9.Name = "editCommodity"; TreeNode9.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode9.Text = "Edit Commodity"; TreeNode10.Name = "printButton"; TreeNode10.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode10.Text = "Print Label"; TreeNode11.Name = "CFIALabelsNode"; TreeNode11.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); TreeNode11.Text = "CFIA Labels"; TreeNode12.Name = "Node7"; TreeNode12.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode12.Text = "EDI"; TreeNode13.Name = "Node5"; TreeNode13.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode13.Text = "In/Out Gate"; TreeNode14.Name = "Node5"; TreeNode14.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode14.Text = "Transfer Container"; TreeNode15.Name = "Node0"; TreeNode15.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode15.Text = "Manage Container"; TreeNode16.Name = "Node0"; TreeNode16.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode16.Text = "Containers"; TreeNode17.BackColor = Color.Transparent; TreeNode17.Name = "addEntry"; TreeNode17.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode17.Text = "Add New Entry"; TreeNode18.Name = "entryDetails"; TreeNode18.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode18.Text = "See Entry Details"; TreeNode19.Name = "Node1"; TreeNode19.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode19.Text = "Edit Entry"; TreeNode20.Name = "deleteEntry"; TreeNode20.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode20.Text = "Delete Entry"; TreeNode21.Name = "Node2"; TreeNode21.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode21.Text = "Print TimeSheet"; TreeNode22.Name = "Node3"; TreeNode22.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode22.Text = "Export TimeSheet"; TreeNode23.Name = "addHoliday"; TreeNode23.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode23.Text = "Add Holidays"; TreeNode24.Name = "Node1"; TreeNode24.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); TreeNode24.Text = "Time Management"; TreeNode24.ToolTipText = "Read, Edit, Create, Add, Delete time entries"; TreeNode25.Name = "node1"; TreeNode25.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode25.Text = "Time Reports"; TreeNode26.Name = "Node0"; TreeNode26.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode26.Text = "Time Management and Reports"; TreeNode27.Name = "addEmployee"; TreeNode27.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode27.Text = "Add Employee"; TreeNode28.Name = "assignCardID"; TreeNode28.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode28.Text = "Assign CardID"; TreeNode29.Name = "createLogin"; TreeNode29.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode29.Text = "Create Login"; TreeNode30.Name = "deleteEmployee"; TreeNode30.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode30.Text = "Delete Employee"; TreeNode31.Name = "Node5"; TreeNode31.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode31.Text = "See sensitive information"; TreeNode31.ToolTipText = "Give user access to sensitive information such as SIN, Birthday, Address..."; TreeNode32.Name = "employeeDetails"; TreeNode32.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode32.Text = "See Employee Details"; TreeNode33.Name = "suspendEmployee"; TreeNode33.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode33.Text = "Suspend Employee"; TreeNode34.Name = "modifyEployee"; TreeNode34.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode34.Text = "Modify Employee"; TreeNode35.Name = "Node0"; TreeNode35.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode35.Text = "Print Card"; TreeNode36.Name = "setClearance"; TreeNode36.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode36.Text = "Set Clearance"; TreeNode37.Name = "Node8"; TreeNode37.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode37.Text = "Employee Management"; TreeNode38.Name = "Node9"; TreeNode38.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode38.Text = "Shift Management"; TreeNode39.Name = "WorkedHours"; TreeNode39.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode39.Text = "Worked Hours"; TreeNode40.Name = "Node1"; TreeNode40.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode40.Text = "Document Storage"; TreeNode41.Name = "Node10"; TreeNode41.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode41.Text = "Safety and Risk Management"; TreeNode42.Name = "Node0"; TreeNode42.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode42.Text = "Message Employee"; TreeNode43.Name = "EmployeeManagementNode"; TreeNode43.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); TreeNode43.Text = "Human Resources"; TreeNode44.Name = "Node1"; TreeNode44.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode44.Text = "Probation Due Reminder"; TreeNode45.Name = "Node2"; TreeNode45.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode45.Text = "Statutory Holiday Reminder"; TreeNode46.Name = "Node3"; TreeNode46.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode46.Text = "Year Follow Up Reminder"; TreeNode47.Name = "Node12"; TreeNode47.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode47.Text = "Benefit Reminder"; TreeNode47.ToolTipText = "Remind to update benefits after the probation period"; TreeNode48.Name = "Node0"; TreeNode48.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode48.Text = "Email Reminder"; TreeNode48.ToolTipText = "Sends a email with reminders about probation due, year follow up, and benefit rem" + "inder"; TreeNode49.Name = "Node8"; TreeNode49.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode49.Text = "Job Letter Request"; TreeNode49.ToolTipText = "Receive job letter requests"; TreeNode50.Name = "Node9"; TreeNode50.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode50.Text = "Time Off Request"; TreeNode50.ToolTipText = "Receive time off requests"; TreeNode51.Name = "Node10"; TreeNode51.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode51.Text = "Vacation Pay Request"; TreeNode51.ToolTipText = "Receive vacation pay requests"; TreeNode52.Name = "Node11"; TreeNode52.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode52.Text = "Benefit Claim Request"; TreeNode53.Name = "Node2"; TreeNode53.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode53.Text = "Failed Punch Attempt Warning"; TreeNode54.Name = "Node13"; TreeNode54.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode54.Text = "Employee Management Notifications"; TreeNode55.Name = "Node5"; TreeNode55.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode55.Text = "Document Expiration Reminder"; TreeNode56.Name = "Node6"; TreeNode56.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode56.Text = "Safety Committee Meeting Reminder"; TreeNode57.Name = "Node7"; TreeNode57.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode57.Text = "Safety Committee Inspection Reminder"; TreeNode58.Name = "Node4"; TreeNode58.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode58.Text = "Training Reminder"; TreeNode59.Name = "Node1"; TreeNode59.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode59.Text = "Email Reminder"; TreeNode59.ToolTipText = "Sends email reminder about Committee Meetings, Inspections, and Document expirati" + "ons"; TreeNode60.Name = "Node14"; TreeNode60.NodeFont = new Font("Microsoft Sans Serif", 14.25f); TreeNode60.Text = "Safety and Risk Notifications"; TreeNode61.Name = "Node0"; TreeNode61.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode61.Text = "Notifications"; TreeNode61.ToolTipText = "Check the type of requests the selected employee will receive"; TreeNode62.Name = "Node1"; TreeNode62.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode62.Text = "Companies"; TreeNode63.Name = "Node2"; TreeNode63.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode63.Text = "Pre Scripts"; TreeNode64.Name = "Node0"; TreeNode64.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode64.Text = "Contacts"; TreeNode64.ToolTipText = "Add Companies information and its contacts. Create and modify Message Templates"; TreeNode65.Name = "Node11"; TreeNode65.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode65.Text = "Inbound Cargo"; TreeNode66.Name = "Node2"; TreeNode66.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode66.Text = "Carrier Assignment"; TreeNode67.Name = "Node13"; TreeNode67.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode67.Text = "Requests"; TreeNode68.Name = "Node0"; TreeNode68.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode68.Text = "Inbound"; TreeNode69.Name = "Node1"; TreeNode69.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode69.Text = "Outbound"; TreeNode70.Name = "Node12"; TreeNode70.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode70.Text = "Truck Dispatch"; TreeNode71.Name = "Node1"; TreeNode71.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode71.Text = "Trucking Reconciliation"; TreeNode72.Name = "Node0"; TreeNode72.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode72.Text = "Billing"; TreeNode73.Name = "Node1"; TreeNode73.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode73.Text = "Truck Drivers"; TreeNode74.Name = "Node2"; TreeNode74.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode74.Text = "Logs"; TreeNode75.Name = "Node0"; TreeNode75.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode75.Text = "Miscellaneous"; TreeNode76.Name = "Node0"; TreeNode76.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode76.Text = "Time Tracker"; TreeNode77.Name = "Node1"; TreeNode77.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode77.Text = "Empty Bag Inventory"; TreeNode78.Name = "Node2"; TreeNode78.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode78.Text = "Grain Inventory"; TreeNode79.Name = "Node0"; TreeNode79.NodeFont = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold); TreeNode79.Text = "Inventory Management"; _TreeView1.Nodes.AddRange(new TreeNode[] { TreeNode1, TreeNode2, TreeNode16, TreeNode43, TreeNode61, TreeNode64, TreeNode65, TreeNode70, TreeNode72, TreeNode75, TreeNode76, TreeNode79 }); _TreeView1.ShowNodeToolTips = true; _TreeView1.Size = new Size(773, 415); _TreeView1.TabIndex = 2; // // Label1 // Label1.BackColor = Color.Transparent; Label1.Font = new Font("Segoe UI Semibold", 13.74545f, 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(73, 44); Label1.Margin = new Padding(4, 0, 4, 0); Label1.Name = "Label1"; Label1.Size = new Size(781, 80); Label1.TabIndex = 3; Label1.Text = "Check all functionalities you wish to grant to Bob Singer"; Label1.TextAlign = ContentAlignment.MiddleLeft; // // saveBunifuButton // _saveBunifuButton.AllowToggling = false; _saveBunifuButton.AnimationSpeed = 200; _saveBunifuButton.AutoGenerateColors = false; _saveBunifuButton.BackColor = Color.Transparent; _saveBunifuButton.BackColor1 = Color.Teal; _saveBunifuButton.BackgroundImage = (Image)resources.GetObject("saveBunifuButton.BackgroundImage"); _saveBunifuButton.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _saveBunifuButton.ButtonText = "Save"; _saveBunifuButton.ButtonTextMarginLeft = 0; _saveBunifuButton.ColorContrastOnClick = 45; _saveBunifuButton.ColorContrastOnHover = 45; _saveBunifuButton.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _saveBunifuButton.CustomizableEdges = BorderEdges1; _saveBunifuButton.DialogResult = DialogResult.None; _saveBunifuButton.DisabledBorderColor = Color.Empty; _saveBunifuButton.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _saveBunifuButton.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _saveBunifuButton.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _saveBunifuButton.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _saveBunifuButton.ForeColor = Color.White; _saveBunifuButton.IconLeftCursor = Cursors.Hand; _saveBunifuButton.IconMarginLeft = 11; _saveBunifuButton.IconPadding = 10; _saveBunifuButton.IconRightCursor = Cursors.Hand; _saveBunifuButton.IdleBorderColor = Color.Teal; _saveBunifuButton.IdleBorderRadius = 3; _saveBunifuButton.IdleBorderThickness = 1; _saveBunifuButton.IdleFillColor = Color.Teal; _saveBunifuButton.IdleIconLeftImage = null; _saveBunifuButton.IdleIconRightImage = null; _saveBunifuButton.IndicateFocus = true; _saveBunifuButton.Location = new Point(509, 598); _saveBunifuButton.Margin = new Padding(4, 4, 4, 4); _saveBunifuButton.Name = "_saveBunifuButton"; 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; _saveBunifuButton.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; _saveBunifuButton.OnPressedState = StateProperties2; _saveBunifuButton.Size = new Size(176, 55); _saveBunifuButton.TabIndex = 74; _saveBunifuButton.TextAlign = ContentAlignment.MiddleCenter; _saveBunifuButton.TextMarginLeft = 0; _saveBunifuButton.UseDefaultRadiusAndThickness = true; // // noBunifuButton // _noBunifuButton.AllowToggling = false; _noBunifuButton.Anchor = AnchorStyles.Top | AnchorStyles.Right; _noBunifuButton.AnimationSpeed = 200; _noBunifuButton.AutoGenerateColors = false; _noBunifuButton.BackColor = Color.Transparent; _noBunifuButton.BackColor1 = Color.White; _noBunifuButton.BackgroundImage = (Image)resources.GetObject("noBunifuButton.BackgroundImage"); _noBunifuButton.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _noBunifuButton.ButtonText = "Cancel"; _noBunifuButton.ButtonTextMarginLeft = 0; _noBunifuButton.ColorContrastOnClick = 45; _noBunifuButton.ColorContrastOnHover = 45; _noBunifuButton.Cursor = Cursors.Hand; BorderEdges2.BottomLeft = true; BorderEdges2.BottomRight = true; BorderEdges2.TopLeft = true; BorderEdges2.TopRight = true; _noBunifuButton.CustomizableEdges = BorderEdges2; _noBunifuButton.DialogResult = DialogResult.None; _noBunifuButton.DisabledBorderColor = Color.Empty; _noBunifuButton.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _noBunifuButton.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _noBunifuButton.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _noBunifuButton.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _noBunifuButton.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _noBunifuButton.IconLeftCursor = Cursors.Hand; _noBunifuButton.IconMarginLeft = 11; _noBunifuButton.IconPadding = 10; _noBunifuButton.IconRightCursor = Cursors.Hand; _noBunifuButton.IdleBorderColor = Color.Gray; _noBunifuButton.IdleBorderRadius = 3; _noBunifuButton.IdleBorderThickness = 1; _noBunifuButton.IdleFillColor = Color.White; _noBunifuButton.IdleIconLeftImage = null; _noBunifuButton.IdleIconRightImage = null; _noBunifuButton.IndicateFocus = true; _noBunifuButton.Location = new Point(713, 599); _noBunifuButton.Margin = new Padding(4, 4, 4, 4); _noBunifuButton.Name = "_noBunifuButton"; 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.White; StateProperties3.IconLeftImage = null; StateProperties3.IconRightImage = null; _noBunifuButton.onHoverState = StateProperties3; StateProperties4.BorderColor = Color.IndianRed; StateProperties4.BorderRadius = 3; StateProperties4.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties4.BorderThickness = 1; StateProperties4.FillColor = Color.IndianRed; StateProperties4.ForeColor = Color.White; StateProperties4.IconLeftImage = null; StateProperties4.IconRightImage = null; _noBunifuButton.OnPressedState = StateProperties4; _noBunifuButton.Size = new Size(141, 54); _noBunifuButton.TabIndex = 75; _noBunifuButton.TextAlign = ContentAlignment.MiddleCenter; _noBunifuButton.TextMarginLeft = 0; _noBunifuButton.UseDefaultRadiusAndThickness = true; // // FrmClearance // AutoScaleDimensions = new SizeF(8.0f, 16.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(925, 695); ControlBox = false; Controls.Add(_noBunifuButton); Controls.Add(_saveBunifuButton); Controls.Add(Label1); Controls.Add(_TreeView1); FormBorderStyle = FormBorderStyle.FixedSingle; Margin = new Padding(4, 4, 4, 4); MaximizeBox = false; MinimizeBox = false; Name = "FrmClearance"; StartPosition = FormStartPosition.CenterScreen; Load += new EventHandler(FrmClearance_Load); ResumeLayout(false); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmSplitContainersg)); 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(); _closeLabel = new Label(); _closeLabel.MouseHover += new EventHandler(closeLabel_MouseHover); _closeLabel.MouseLeave += new EventHandler(closeLabel_MouseLeave); _closeLabel.Click += new EventHandler(closeLabel_Click); Label12 = new Label(); _cancelButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _cancelButton.Click += new EventHandler(cancelButton_Click); _addButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _addButton.Click += new EventHandler(splitButton_Click); Label1 = new Label(); Label2 = new Label(); _numMBNumericUpDown = new NumericUpDown(); _numMBNumericUpDown.ValueChanged += new EventHandler(numMBNumericUpDown_ValueChanged); warningLabel = new Label(); ((System.ComponentModel.ISupportInitialize)_numMBNumericUpDown).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(472, 0); _closeLabel.Margin = new Padding(0); _closeLabel.Name = "_closeLabel"; _closeLabel.Size = new Size(48, 46); _closeLabel.TabIndex = 137; _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(520, 46); Label12.TabIndex = 136; Label12.TextAlign = ContentAlignment.MiddleCenter; // // cancelButton // _cancelButton.AllowToggling = false; _cancelButton.Anchor = 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; BorderEdges3.BottomLeft = true; BorderEdges3.BottomRight = true; BorderEdges3.TopLeft = true; BorderEdges3.TopRight = true; _cancelButton.CustomizableEdges = BorderEdges3; _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(421, 211); _cancelButton.Name = "_cancelButton"; StateProperties5.BorderColor = Color.DarkGray; StateProperties5.BorderRadius = 3; StateProperties5.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties5.BorderThickness = 1; StateProperties5.FillColor = Color.DarkGray; StateProperties5.ForeColor = Color.White; StateProperties5.IconLeftImage = null; StateProperties5.IconRightImage = null; _cancelButton.onHoverState = StateProperties5; StateProperties6.BorderColor = Color.IndianRed; StateProperties6.BorderRadius = 3; StateProperties6.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties6.BorderThickness = 1; StateProperties6.FillColor = Color.IndianRed; StateProperties6.ForeColor = Color.White; StateProperties6.IconLeftImage = null; StateProperties6.IconRightImage = null; _cancelButton.OnPressedState = StateProperties6; _cancelButton.Size = new Size(86, 34); _cancelButton.TabIndex = 135; _cancelButton.TextAlign = ContentAlignment.MiddleCenter; _cancelButton.TextMarginLeft = 0; _cancelButton.UseDefaultRadiusAndThickness = true; // // addButton // _addButton.AllowToggling = false; _addButton.Anchor = AnchorStyles.Right; _addButton.AnimationSpeed = 200; _addButton.AutoGenerateColors = false; _addButton.BackColor = Color.Transparent; _addButton.BackColor1 = Color.Teal; _addButton.BackgroundImage = (Image)resources.GetObject("addButton.BackgroundImage"); _addButton.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _addButton.ButtonText = "Add Minibooking"; _addButton.ButtonTextMarginLeft = 0; _addButton.ColorContrastOnClick = 45; _addButton.ColorContrastOnHover = 45; _addButton.Cursor = Cursors.Hand; BorderEdges4.BottomLeft = true; BorderEdges4.BottomRight = true; BorderEdges4.TopLeft = true; BorderEdges4.TopRight = true; _addButton.CustomizableEdges = BorderEdges4; _addButton.DialogResult = DialogResult.None; _addButton.DisabledBorderColor = Color.Empty; _addButton.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _addButton.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _addButton.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _addButton.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _addButton.ForeColor = Color.White; _addButton.IconLeftCursor = Cursors.Hand; _addButton.IconMarginLeft = 11; _addButton.IconPadding = 10; _addButton.IconRightCursor = Cursors.Hand; _addButton.IdleBorderColor = Color.Teal; _addButton.IdleBorderRadius = 3; _addButton.IdleBorderThickness = 1; _addButton.IdleFillColor = Color.Teal; _addButton.IdleIconLeftImage = null; _addButton.IdleIconRightImage = null; _addButton.IndicateFocus = true; _addButton.Location = new Point(254, 211); _addButton.Name = "_addButton"; StateProperties7.BorderColor = Color.MediumTurquoise; StateProperties7.BorderRadius = 3; StateProperties7.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties7.BorderThickness = 1; StateProperties7.FillColor = Color.MediumTurquoise; StateProperties7.ForeColor = Color.White; StateProperties7.IconLeftImage = null; StateProperties7.IconRightImage = null; _addButton.onHoverState = StateProperties7; StateProperties8.BorderColor = Color.Teal; StateProperties8.BorderRadius = 3; StateProperties8.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties8.BorderThickness = 1; StateProperties8.FillColor = Color.Teal; StateProperties8.ForeColor = Color.White; StateProperties8.IconLeftImage = null; StateProperties8.IconRightImage = null; _addButton.OnPressedState = StateProperties8; _addButton.Size = new Size(161, 34); _addButton.TabIndex = 134; _addButton.TextAlign = ContentAlignment.MiddleCenter; _addButton.TextMarginLeft = 0; _addButton.UseDefaultRadiusAndThickness = true; // // Label1 // 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(7, 53); Label1.Name = "Label1"; Label1.Size = new Size(501, 58); Label1.TabIndex = 138; Label1.Text = "Set the number of containers that will split to the new Mini Booking"; // // Label2 // Label2.Font = new Font("Segoe UI", 11.78182f, 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(47, 114); Label2.Name = "Label2"; Label2.Size = new Size(201, 34); Label2.TabIndex = 139; Label2.Text = "Number of containers:"; // // numMBNumericUpDown // _numMBNumericUpDown.Anchor = AnchorStyles.Left; _numMBNumericUpDown.Font = new Font("Segoe UI", 13.74545f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _numMBNumericUpDown.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _numMBNumericUpDown.Location = new Point(245, 108); _numMBNumericUpDown.Maximum = new decimal(new int[] { 10000, 0, 0, 0 }); _numMBNumericUpDown.Name = "_numMBNumericUpDown"; _numMBNumericUpDown.Size = new Size(111, 35); _numMBNumericUpDown.TabIndex = 140; _numMBNumericUpDown.TextAlign = HorizontalAlignment.Center; // // warningLabel // warningLabel.Font = new Font("Segoe UI Semibold", 9.818182f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); warningLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0))); warningLabel.Location = new Point(32, 145); warningLabel.Name = "warningLabel"; warningLabel.Size = new Size(449, 50); warningLabel.TabIndex = 141; warningLabel.TextAlign = ContentAlignment.MiddleCenter; // // FrmSplitContainersg // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(520, 257); Controls.Add(warningLabel); Controls.Add(_numMBNumericUpDown); Controls.Add(Label2); Controls.Add(Label1); Controls.Add(_closeLabel); Controls.Add(Label12); Controls.Add(_cancelButton); Controls.Add(_addButton); FormBorderStyle = FormBorderStyle.None; Name = "FrmSplitContainersg"; Text = "FrmSplitBooking"; ((System.ComponentModel.ISupportInitialize)_numMBNumericUpDown).EndInit(); Load += new EventHandler(FrmSplitBooking_Load); ResumeLayout(false); }
private void InitializeComponent() { components = new System.ComponentModel.Container(); var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmEditAddress)); 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 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(); ImageList1 = new ImageList(components); ImageList2 = new ImageList(components); _cancelButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _cancelButton.Click += new EventHandler(Button4_Click); Panel1 = new Panel(); TableLayoutPanel1 = new TableLayoutPanel(); Label6 = new Label(); address2Label1 = new Label(); address1TextBox2 = new TextBox(); locationDescription1TextBox1 = new TextBox(); _country1ComboBox1 = new ComboBox(); _country1ComboBox1.SelectedIndexChanged += new EventHandler(country1ComboBox1_SelectedIndexChanged); Label3 = new Label(); Label = new Label(); Panel2 = new Panel(); _btnEditRegionCity = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnEditRegionCity.Click += new EventHandler(btnEditRegionCity_Click); _btnAddRegionCity = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnAddRegionCity.Click += new EventHandler(btnAddRegionCity_Click); cboCity = new ComboBox(); Label5 = new Label(); postal1TextBox1 = new TextBox(); Label30 = new Label(); phone1TextBox = new TextBox(); Label31 = new Label(); fax1TextBox = new TextBox(); Label7 = new Label(); BunifuElipse1 = new Bunifu.Framework.UI.BunifuElipse(components); _BunifuButton1 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _BunifuButton1.Click += new EventHandler(BunifuButton1_Click); Panel1.SuspendLayout(); TableLayoutPanel1.SuspendLayout(); Panel2.SuspendLayout(); SuspendLayout(); // // ImageList1 // ImageList1.ImageStream = (ImageListStreamer)resources.GetObject("ImageList1.ImageStream"); ImageList1.TransparentColor = Color.Transparent; ImageList1.Images.SetKeyName(0, "blueBall.png"); // // ImageList2 // ImageList2.ImageStream = (ImageListStreamer)resources.GetObject("ImageList2.ImageStream"); ImageList2.TransparentColor = Color.Transparent; ImageList2.Images.SetKeyName(0, "redBall.png"); // // 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 = "×"; _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("Adobe Fan Heiti Std B", 15.0f, 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.White; _cancelButton.IdleBorderRadius = 20; _cancelButton.IdleBorderThickness = 1; _cancelButton.IdleFillColor = Color.White; _cancelButton.IdleIconLeftImage = null; _cancelButton.IdleIconRightImage = null; _cancelButton.IndicateFocus = true; _cancelButton.Location = new Point(714, 2); _cancelButton.Name = "_cancelButton"; StateProperties1.BorderColor = Color.DarkGray; StateProperties1.BorderRadius = 20; 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 = 20; 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(26, 23); _cancelButton.TabIndex = 71; _cancelButton.TextAlign = ContentAlignment.MiddleCenter; _cancelButton.TextMarginLeft = 0; _cancelButton.UseDefaultRadiusAndThickness = true; // // Panel1 // Panel1.BackColor = Color.GhostWhite; Panel1.BorderStyle = BorderStyle.FixedSingle; Panel1.Controls.Add(TableLayoutPanel1); Panel1.Location = new Point(27, 56); Panel1.Name = "Panel1"; Panel1.Size = new Size(681, 132); Panel1.TabIndex = 37; // // TableLayoutPanel1 // TableLayoutPanel1.BackColor = Color.White; TableLayoutPanel1.ColumnCount = 4; TableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 26.90217f)); TableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 73.09783f)); TableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 110.0f)); TableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 158.0f)); TableLayoutPanel1.Controls.Add(Label6, 0, 0); TableLayoutPanel1.Controls.Add(address2Label1, 0, 3); TableLayoutPanel1.Controls.Add(address1TextBox2, 1, 2); TableLayoutPanel1.Controls.Add(locationDescription1TextBox1, 1, 3); TableLayoutPanel1.Controls.Add(_country1ComboBox1, 1, 0); TableLayoutPanel1.Controls.Add(Label3, 0, 1); TableLayoutPanel1.Controls.Add(Label, 0, 2); TableLayoutPanel1.Controls.Add(Panel2, 1, 1); TableLayoutPanel1.Controls.Add(Label5, 2, 0); TableLayoutPanel1.Controls.Add(postal1TextBox1, 3, 0); TableLayoutPanel1.Controls.Add(Label30, 2, 1); TableLayoutPanel1.Controls.Add(phone1TextBox, 3, 1); TableLayoutPanel1.Controls.Add(Label31, 2, 2); TableLayoutPanel1.Controls.Add(fax1TextBox, 3, 2); TableLayoutPanel1.Dock = DockStyle.Fill; TableLayoutPanel1.Location = new Point(0, 0); TableLayoutPanel1.Name = "TableLayoutPanel1"; TableLayoutPanel1.RowCount = 4; TableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 25.0f)); TableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 26.15385f)); TableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 23.07692f)); TableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 25.0f)); TableLayoutPanel1.Size = new Size(679, 130); TableLayoutPanel1.TabIndex = 5; // // Label6 // Label6.AutoSize = true; Label6.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label6.Location = new Point(3, 0); Label6.Name = "Label6"; Label6.Size = new Size(68, 20); Label6.TabIndex = 14; Label6.Text = "Country:"; Label6.TextAlign = ContentAlignment.MiddleLeft; // // address2Label1 // address2Label1.AutoSize = true; address2Label1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); address2Label1.Location = new Point(3, 96); address2Label1.Name = "address2Label1"; address2Label1.Size = new Size(93, 20); address2Label1.TabIndex = 21; address2Label1.Text = "Description:"; address2Label1.TextAlign = ContentAlignment.MiddleLeft; // // address1TextBox2 // address1TextBox2.Anchor = AnchorStyles.Left; address1TextBox2.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); address1TextBox2.Location = new Point(113, 69); address1TextBox2.Name = "address1TextBox2"; address1TextBox2.Size = new Size(261, 26); address1TextBox2.TabIndex = 3; // // locationDescription1TextBox1 // locationDescription1TextBox1.Anchor = AnchorStyles.Left; locationDescription1TextBox1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); locationDescription1TextBox1.Location = new Point(113, 100); locationDescription1TextBox1.Name = "locationDescription1TextBox1"; locationDescription1TextBox1.Size = new Size(224, 26); locationDescription1TextBox1.TabIndex = 3; // // country1ComboBox1 // _country1ComboBox1.AutoCompleteMode = AutoCompleteMode.Suggest; _country1ComboBox1.AutoCompleteSource = AutoCompleteSource.ListItems; _country1ComboBox1.Font = new Font("Microsoft Sans Serif", 13.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _country1ComboBox1.FormattingEnabled = true; _country1ComboBox1.Location = new Point(113, 3); _country1ComboBox1.Name = "_country1ComboBox1"; _country1ComboBox1.Size = new Size(261, 28); _country1ComboBox1.TabIndex = 1; // // Label3 // Label3.AutoSize = true; Label3.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label3.Location = new Point(3, 32); Label3.Name = "Label3"; Label3.Size = new Size(39, 20); Label3.TabIndex = 2; Label3.Text = "City:"; Label3.TextAlign = ContentAlignment.MiddleLeft; // // Label // Label.AutoSize = true; Label.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label.Location = new Point(3, 66); Label.Name = "Label"; Label.Size = new Size(72, 20); Label.TabIndex = 0; Label.Text = "Address:"; Label.TextAlign = ContentAlignment.MiddleLeft; // // Panel2 // Panel2.Controls.Add(_btnEditRegionCity); Panel2.Controls.Add(_btnAddRegionCity); Panel2.Controls.Add(cboCity); Panel2.Dock = DockStyle.Fill; Panel2.Location = new Point(110, 32); Panel2.Margin = new Padding(0); Panel2.Name = "Panel2"; Panel2.Size = new Size(300, 34); Panel2.TabIndex = 22; // // btnEditRegionCity // _btnEditRegionCity.AllowToggling = false; _btnEditRegionCity.AnimationSpeed = 200; _btnEditRegionCity.AutoGenerateColors = false; _btnEditRegionCity.BackColor = Color.Transparent; _btnEditRegionCity.BackColor1 = Color.White; _btnEditRegionCity.BackgroundImage = (Image)resources.GetObject("btnEditRegionCity.BackgroundImage"); _btnEditRegionCity.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnEditRegionCity.ButtonText = ""; _btnEditRegionCity.ButtonTextMarginLeft = 0; _btnEditRegionCity.ColorContrastOnClick = 45; _btnEditRegionCity.ColorContrastOnHover = 45; _btnEditRegionCity.Cursor = Cursors.Hand; BorderEdges2.BottomLeft = true; BorderEdges2.BottomRight = true; BorderEdges2.TopLeft = true; BorderEdges2.TopRight = true; _btnEditRegionCity.CustomizableEdges = BorderEdges2; _btnEditRegionCity.DialogResult = DialogResult.None; _btnEditRegionCity.DisabledBorderColor = Color.Empty; _btnEditRegionCity.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnEditRegionCity.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnEditRegionCity.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnEditRegionCity.Font = new Font("Segoe UI Semibold", 13.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnEditRegionCity.ForeColor = Color.White; _btnEditRegionCity.IconLeftCursor = Cursors.Hand; _btnEditRegionCity.IconMarginLeft = 1; _btnEditRegionCity.IconPadding = 1; _btnEditRegionCity.IconRightCursor = Cursors.Hand; _btnEditRegionCity.IdleBorderColor = Color.White; _btnEditRegionCity.IdleBorderRadius = 15; _btnEditRegionCity.IdleBorderThickness = 1; _btnEditRegionCity.IdleFillColor = Color.White; _btnEditRegionCity.IdleIconLeftImage = My.Resources.Resources.pencil; _btnEditRegionCity.IdleIconRightImage = null; _btnEditRegionCity.IndicateFocus = true; _btnEditRegionCity.Location = new Point(268, 16); _btnEditRegionCity.Name = "_btnEditRegionCity"; StateProperties3.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224))); StateProperties3.BorderRadius = 15; StateProperties3.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties3.BorderThickness = 1; StateProperties3.FillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224))); StateProperties3.ForeColor = Color.White; StateProperties3.IconLeftImage = null; StateProperties3.IconRightImage = null; _btnEditRegionCity.onHoverState = StateProperties3; StateProperties4.BorderColor = Color.White; StateProperties4.BorderRadius = 15; StateProperties4.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties4.BorderThickness = 1; StateProperties4.FillColor = Color.White; StateProperties4.ForeColor = Color.White; StateProperties4.IconLeftImage = null; StateProperties4.IconRightImage = null; _btnEditRegionCity.OnPressedState = StateProperties4; _btnEditRegionCity.Size = new Size(17, 17); _btnEditRegionCity.TabIndex = 80; _btnEditRegionCity.TextAlign = ContentAlignment.MiddleCenter; _btnEditRegionCity.TextMarginLeft = 0; _btnEditRegionCity.UseDefaultRadiusAndThickness = true; // // btnAddRegionCity // _btnAddRegionCity.AllowToggling = false; _btnAddRegionCity.AnimationSpeed = 200; _btnAddRegionCity.AutoGenerateColors = false; _btnAddRegionCity.BackColor = Color.Transparent; _btnAddRegionCity.BackColor1 = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); _btnAddRegionCity.BackgroundImage = (Image)resources.GetObject("btnAddRegionCity.BackgroundImage"); _btnAddRegionCity.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnAddRegionCity.ButtonText = ""; _btnAddRegionCity.ButtonTextMarginLeft = 0; _btnAddRegionCity.ColorContrastOnClick = 45; _btnAddRegionCity.ColorContrastOnHover = 45; _btnAddRegionCity.Cursor = Cursors.Hand; BorderEdges3.BottomLeft = true; BorderEdges3.BottomRight = true; BorderEdges3.TopLeft = true; BorderEdges3.TopRight = true; _btnAddRegionCity.CustomizableEdges = BorderEdges3; _btnAddRegionCity.DialogResult = DialogResult.None; _btnAddRegionCity.DisabledBorderColor = Color.Empty; _btnAddRegionCity.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnAddRegionCity.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnAddRegionCity.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnAddRegionCity.Font = new Font("Segoe UI Semibold", 13.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnAddRegionCity.ForeColor = Color.White; _btnAddRegionCity.IconLeftCursor = Cursors.Hand; _btnAddRegionCity.IconMarginLeft = 5; _btnAddRegionCity.IconPadding = 5; _btnAddRegionCity.IconRightCursor = Cursors.Hand; _btnAddRegionCity.IdleBorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); _btnAddRegionCity.IdleBorderRadius = 15; _btnAddRegionCity.IdleBorderThickness = 1; _btnAddRegionCity.IdleFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); _btnAddRegionCity.IdleIconLeftImage = My.Resources.Resources.addWhite; _btnAddRegionCity.IdleIconRightImage = null; _btnAddRegionCity.IndicateFocus = true; _btnAddRegionCity.Location = new Point(267, 0); _btnAddRegionCity.Name = "_btnAddRegionCity"; StateProperties5.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(255)), Conversions.ToInteger(Conversions.ToByte(128)), Conversions.ToInteger(Conversions.ToByte(0))); StateProperties5.BorderRadius = 15; StateProperties5.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties5.BorderThickness = 1; StateProperties5.FillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(255)), Conversions.ToInteger(Conversions.ToByte(128)), Conversions.ToInteger(Conversions.ToByte(0))); StateProperties5.ForeColor = Color.White; StateProperties5.IconLeftImage = null; StateProperties5.IconRightImage = null; _btnAddRegionCity.onHoverState = StateProperties5; StateProperties6.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); StateProperties6.BorderRadius = 15; StateProperties6.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties6.BorderThickness = 1; StateProperties6.FillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); StateProperties6.ForeColor = Color.White; StateProperties6.IconLeftImage = null; StateProperties6.IconRightImage = null; _btnAddRegionCity.OnPressedState = StateProperties6; _btnAddRegionCity.Size = new Size(17, 17); _btnAddRegionCity.TabIndex = 81; _btnAddRegionCity.TextAlign = ContentAlignment.MiddleCenter; _btnAddRegionCity.TextMarginLeft = 0; _btnAddRegionCity.UseDefaultRadiusAndThickness = true; // // cboCity // cboCity.AutoCompleteMode = AutoCompleteMode.Suggest; cboCity.AutoCompleteSource = AutoCompleteSource.ListItems; cboCity.Font = new Font("Microsoft Sans Serif", 13.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); cboCity.FormattingEnabled = true; cboCity.Location = new Point(1, 2); cboCity.Name = "cboCity"; cboCity.Size = new Size(264, 28); cboCity.TabIndex = 2; // // Label5 // Label5.AutoSize = true; Label5.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label5.Location = new Point(413, 0); Label5.Name = "Label5"; Label5.Size = new Size(99, 20); Label5.TabIndex = 17; Label5.Text = "Postal Code:"; Label5.TextAlign = ContentAlignment.MiddleLeft; // // postal1TextBox1 // postal1TextBox1.Anchor = AnchorStyles.Left; postal1TextBox1.CharacterCasing = CharacterCasing.Upper; postal1TextBox1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); postal1TextBox1.Location = new Point(523, 3); postal1TextBox1.Name = "postal1TextBox1"; postal1TextBox1.Size = new Size(146, 26); postal1TextBox1.TabIndex = 5; // // Label30 // Label30.AutoSize = true; Label30.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label30.Location = new Point(413, 32); Label30.Name = "Label30"; Label30.Size = new Size(59, 20); Label30.TabIndex = 0; Label30.Text = "Phone:"; Label30.TextAlign = ContentAlignment.MiddleRight; // // phone1TextBox // phone1TextBox.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); phone1TextBox.Location = new Point(523, 35); phone1TextBox.MaxLength = 20; phone1TextBox.Name = "phone1TextBox"; phone1TextBox.Size = new Size(146, 26); phone1TextBox.TabIndex = 6; // // Label31 // Label31.AutoSize = true; Label31.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label31.Location = new Point(413, 66); Label31.Name = "Label31"; Label31.Size = new Size(39, 20); Label31.TabIndex = 0; Label31.Text = "Fax:"; Label31.TextAlign = ContentAlignment.MiddleRight; // // fax1TextBox // fax1TextBox.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); fax1TextBox.Location = new Point(523, 69); fax1TextBox.MaxLength = 20; fax1TextBox.Name = "fax1TextBox"; fax1TextBox.Size = new Size(145, 26); fax1TextBox.TabIndex = 7; // // Label7 // Label7.AutoSize = true; Label7.Font = new Font("Segoe UI Semibold", 15.75f, 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(15, 14); Label7.Name = "Label7"; Label7.Size = new Size(133, 30); Label7.TabIndex = 36; Label7.Text = "Edit Address"; // // BunifuElipse1 // BunifuElipse1.ElipseRadius = 15; BunifuElipse1.TargetControl = this; // // BunifuButton1 // _BunifuButton1.AllowToggling = false; _BunifuButton1.AnimationSpeed = 200; _BunifuButton1.AutoGenerateColors = false; _BunifuButton1.BackColor = Color.Transparent; _BunifuButton1.BackColor1 = Color.Teal; _BunifuButton1.BackgroundImage = (Image)resources.GetObject("BunifuButton1.BackgroundImage"); _BunifuButton1.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _BunifuButton1.ButtonText = "Save"; _BunifuButton1.ButtonTextMarginLeft = 0; _BunifuButton1.ColorContrastOnClick = 45; _BunifuButton1.ColorContrastOnHover = 45; _BunifuButton1.Cursor = Cursors.Hand; BorderEdges4.BottomLeft = true; BorderEdges4.BottomRight = true; BorderEdges4.TopLeft = true; BorderEdges4.TopRight = true; _BunifuButton1.CustomizableEdges = BorderEdges4; _BunifuButton1.DialogResult = DialogResult.None; _BunifuButton1.DisabledBorderColor = Color.Empty; _BunifuButton1.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _BunifuButton1.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _BunifuButton1.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _BunifuButton1.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _BunifuButton1.ForeColor = Color.White; _BunifuButton1.IconLeftCursor = Cursors.Hand; _BunifuButton1.IconMarginLeft = 11; _BunifuButton1.IconPadding = 10; _BunifuButton1.IconRightCursor = Cursors.Hand; _BunifuButton1.IdleBorderColor = Color.Teal; _BunifuButton1.IdleBorderRadius = 3; _BunifuButton1.IdleBorderThickness = 1; _BunifuButton1.IdleFillColor = Color.Teal; _BunifuButton1.IdleIconLeftImage = null; _BunifuButton1.IdleIconRightImage = null; _BunifuButton1.IndicateFocus = true; _BunifuButton1.Location = new Point(324, 220); _BunifuButton1.Name = "_BunifuButton1"; StateProperties7.BorderColor = Color.MediumTurquoise; StateProperties7.BorderRadius = 3; StateProperties7.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties7.BorderThickness = 1; StateProperties7.FillColor = Color.MediumTurquoise; StateProperties7.ForeColor = Color.White; StateProperties7.IconLeftImage = null; StateProperties7.IconRightImage = null; _BunifuButton1.onHoverState = StateProperties7; StateProperties8.BorderColor = Color.Teal; StateProperties8.BorderRadius = 3; StateProperties8.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties8.BorderThickness = 1; StateProperties8.FillColor = Color.Teal; StateProperties8.ForeColor = Color.White; StateProperties8.IconLeftImage = null; StateProperties8.IconRightImage = null; _BunifuButton1.OnPressedState = StateProperties8; _BunifuButton1.Size = new Size(90, 31); _BunifuButton1.TabIndex = 70; _BunifuButton1.TextAlign = ContentAlignment.MiddleCenter; _BunifuButton1.TextMarginLeft = 0; _BunifuButton1.UseDefaultRadiusAndThickness = true; // // FrmEditAddress // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(740, 267); Controls.Add(_BunifuButton1); Controls.Add(_cancelButton); Controls.Add(Label7); Controls.Add(Panel1); FormBorderStyle = FormBorderStyle.None; Name = "FrmEditAddress"; StartPosition = FormStartPosition.CenterScreen; Panel1.ResumeLayout(false); TableLayoutPanel1.ResumeLayout(false); TableLayoutPanel1.PerformLayout(); Panel2.ResumeLayout(false); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmAddEditRequest)); 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(); buttonsPanel = new TableLayoutPanel(); _btnComplete = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnComplete.Click += new EventHandler(btnComplete_Click); _btnCancel = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnCancel.Click += new EventHandler(closeFlatButton_Click); _closeFlatButton = new Bunifu.Framework.UI.BunifuFlatButton(); _closeFlatButton.Click += new EventHandler(closeFlatButton_Click); Label8 = new Label(); cboCanState = new ComboBox(); nudQtyCans = new NumericUpDown(); Label1 = new Label(); Label2 = new Label(); Label3 = new Label(); Label4 = new Label(); lblWarning = new Label(); Label6 = new Label(); cboCanSize = new ComboBox(); cboSSLine = new ComboBox(); _cboReleaseType = new ComboBox(); _cboReleaseType.SelectedIndexChanged += new EventHandler(cboReleaseType_SelectedIndexChanged); lblTitle = new Label(); _cboBooking = new ComboBox(); _cboBooking.SelectedIndexChanged += new EventHandler(cboBooking_SelectedIndexChanged); Label5 = new Label(); pnlBooking = new Panel(); buttonsPanel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)nudQtyCans).BeginInit(); pnlBooking.SuspendLayout(); SuspendLayout(); // // 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(_btnComplete, 0, 0); buttonsPanel.Controls.Add(_btnCancel, 1, 0); buttonsPanel.Location = new Point(157, 310); buttonsPanel.Name = "buttonsPanel"; buttonsPanel.RowCount = 1; buttonsPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 50.0f)); buttonsPanel.Size = new Size(210, 39); buttonsPanel.TabIndex = 181; // // btnComplete // _btnComplete.AllowToggling = false; _btnComplete.AnimationSpeed = 200; _btnComplete.AutoGenerateColors = false; _btnComplete.BackColor = Color.Transparent; _btnComplete.BackColor1 = Color.Teal; _btnComplete.BackgroundImage = (Image)resources.GetObject("btnComplete.BackgroundImage"); _btnComplete.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnComplete.ButtonText = "OK"; _btnComplete.ButtonTextMarginLeft = 0; _btnComplete.ColorContrastOnClick = 45; _btnComplete.ColorContrastOnHover = 45; _btnComplete.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _btnComplete.CustomizableEdges = BorderEdges1; _btnComplete.DialogResult = DialogResult.None; _btnComplete.DisabledBorderColor = Color.Empty; _btnComplete.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnComplete.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnComplete.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnComplete.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnComplete.ForeColor = Color.White; _btnComplete.IconLeftCursor = Cursors.Hand; _btnComplete.IconMarginLeft = 11; _btnComplete.IconPadding = 10; _btnComplete.IconRightCursor = Cursors.Hand; _btnComplete.IdleBorderColor = Color.Teal; _btnComplete.IdleBorderRadius = 3; _btnComplete.IdleBorderThickness = 1; _btnComplete.IdleFillColor = Color.Teal; _btnComplete.IdleIconLeftImage = null; _btnComplete.IdleIconRightImage = null; _btnComplete.IndicateFocus = true; _btnComplete.Location = new Point(3, 3); _btnComplete.Name = "_btnComplete"; 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; _btnComplete.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; _btnComplete.OnPressedState = StateProperties2; _btnComplete.Size = new Size(99, 33); _btnComplete.TabIndex = 136; _btnComplete.TextAlign = ContentAlignment.MiddleCenter; _btnComplete.TextMarginLeft = 0; _btnComplete.UseDefaultRadiusAndThickness = true; // // btnCancel // _btnCancel.AllowToggling = false; _btnCancel.Anchor = AnchorStyles.Top | AnchorStyles.Right; _btnCancel.AnimationSpeed = 200; _btnCancel.AutoGenerateColors = false; _btnCancel.BackColor = Color.Transparent; _btnCancel.BackColor1 = Color.White; _btnCancel.BackgroundImage = (Image)resources.GetObject("btnCancel.BackgroundImage"); _btnCancel.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnCancel.ButtonText = "Cancel"; _btnCancel.ButtonTextMarginLeft = 0; _btnCancel.ColorContrastOnClick = 45; _btnCancel.ColorContrastOnHover = 45; _btnCancel.Cursor = Cursors.Hand; BorderEdges2.BottomLeft = true; BorderEdges2.BottomRight = true; BorderEdges2.TopLeft = true; BorderEdges2.TopRight = true; _btnCancel.CustomizableEdges = BorderEdges2; _btnCancel.DialogResult = DialogResult.None; _btnCancel.DisabledBorderColor = Color.Empty; _btnCancel.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnCancel.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnCancel.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnCancel.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnCancel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _btnCancel.IconLeftCursor = Cursors.Hand; _btnCancel.IconMarginLeft = 11; _btnCancel.IconPadding = 10; _btnCancel.IconRightCursor = Cursors.Hand; _btnCancel.IdleBorderColor = Color.Gray; _btnCancel.IdleBorderRadius = 3; _btnCancel.IdleBorderThickness = 1; _btnCancel.IdleFillColor = Color.White; _btnCancel.IdleIconLeftImage = null; _btnCancel.IdleIconRightImage = null; _btnCancel.IndicateFocus = true; _btnCancel.Location = new Point(112, 3); _btnCancel.Name = "_btnCancel"; 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; _btnCancel.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; _btnCancel.OnPressedState = StateProperties4; _btnCancel.Size = new Size(95, 33); _btnCancel.TabIndex = 137; _btnCancel.TextAlign = ContentAlignment.MiddleCenter; _btnCancel.TextMarginLeft = 0; _btnCancel.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.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(467, 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 = 180; _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(510, 41); Label8.TabIndex = 179; Label8.TextAlign = ContentAlignment.MiddleCenter; // // cboCanState // cboCanState.DropDownStyle = ComboBoxStyle.DropDownList; cboCanState.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); cboCanState.FormattingEnabled = true; cboCanState.Location = new Point(126, 196); cboCanState.Name = "cboCanState"; cboCanState.Size = new Size(136, 26); cboCanState.TabIndex = 182; // // nudQtyCans // nudQtyCans.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); nudQtyCans.Location = new Point(126, 132); nudQtyCans.Name = "nudQtyCans"; nudQtyCans.Size = new Size(105, 26); nudQtyCans.TabIndex = 183; // // Label1 // Label1.AutoSize = true; Label1.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label1.Location = new Point(21, 108); Label1.Name = "Label1"; Label1.Size = new Size(99, 18); Label1.TabIndex = 184; Label1.Text = "Shipping Line:"; // // Label2 // Label2.AutoSize = true; Label2.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.Location = new Point(46, 140); Label2.Name = "Label2"; Label2.Size = new Size(74, 18); Label2.TabIndex = 185; Label2.Text = "Qty Cans:"; // // Label3 // Label3.AutoSize = true; Label3.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label3.Location = new Point(74, 204); Label3.Name = "Label3"; Label3.Size = new Size(46, 18); Label3.TabIndex = 186; Label3.Text = "State:"; // // Label4 // Label4.AutoSize = true; Label4.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label4.Location = new Point(79, 172); Label4.Name = "Label4"; Label4.Size = new Size(41, 18); Label4.TabIndex = 187; Label4.Text = "Size:"; // // lblWarning // lblWarning.AutoSize = true; lblWarning.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, 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(196, 79); lblWarning.Name = "lblWarning"; lblWarning.Size = new Size(51, 18); lblWarning.TabIndex = 188; lblWarning.Text = "Label5"; // // Label6 // Label6.AutoSize = true; Label6.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label6.Location = new Point(20, 236); Label6.Name = "Label6"; Label6.Size = new Size(102, 18); Label6.TabIndex = 189; Label6.Text = "Release Type:"; // // cboCanSize // cboCanSize.DropDownStyle = ComboBoxStyle.DropDownList; cboCanSize.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); cboCanSize.FormattingEnabled = true; cboCanSize.Location = new Point(126, 164); cboCanSize.Name = "cboCanSize"; cboCanSize.Size = new Size(121, 26); cboCanSize.TabIndex = 190; // // cboSSLine // cboSSLine.AutoCompleteMode = AutoCompleteMode.Append; cboSSLine.AutoCompleteSource = AutoCompleteSource.ListItems; cboSSLine.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); cboSSLine.FormattingEnabled = true; cboSSLine.Location = new Point(126, 100); cboSSLine.Name = "cboSSLine"; cboSSLine.Size = new Size(344, 26); cboSSLine.TabIndex = 191; // // cboReleaseType // _cboReleaseType.DropDownStyle = ComboBoxStyle.DropDownList; _cboReleaseType.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _cboReleaseType.FormattingEnabled = true; _cboReleaseType.Location = new Point(126, 228); _cboReleaseType.Name = "_cboReleaseType"; _cboReleaseType.Size = new Size(136, 26); _cboReleaseType.TabIndex = 192; // // lblTitle // lblTitle.AutoSize = true; lblTitle.Font = new Font("Microsoft Sans Serif", 14.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); lblTitle.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); lblTitle.Location = new Point(20, 61); lblTitle.Name = "lblTitle"; lblTitle.Size = new Size(140, 24); lblTitle.TabIndex = 193; lblTitle.Text = "Create Request"; // // cboBooking // _cboBooking.AutoCompleteMode = AutoCompleteMode.Append; _cboBooking.AutoCompleteSource = AutoCompleteSource.ListItems; _cboBooking.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _cboBooking.FormattingEnabled = true; _cboBooking.Location = new Point(113, 3); _cboBooking.Name = "_cboBooking"; _cboBooking.Size = new Size(188, 26); _cboBooking.TabIndex = 195; // // Label5 // Label5.AutoSize = true; Label5.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label5.Location = new Point(28, 6); Label5.Name = "Label5"; Label5.Size = new Size(79, 18); Label5.TabIndex = 194; Label5.Text = "Booking #:"; // // pnlBooking // pnlBooking.Controls.Add(_cboBooking); pnlBooking.Controls.Add(Label5); pnlBooking.Location = new Point(12, 258); pnlBooking.Name = "pnlBooking"; pnlBooking.Size = new Size(320, 38); pnlBooking.TabIndex = 196; // // FrmAddEditRequest // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(510, 373); Controls.Add(pnlBooking); Controls.Add(lblTitle); Controls.Add(_cboReleaseType); Controls.Add(cboSSLine); Controls.Add(cboCanSize); Controls.Add(Label6); Controls.Add(lblWarning); Controls.Add(Label4); Controls.Add(Label3); Controls.Add(Label2); Controls.Add(Label1); Controls.Add(nudQtyCans); Controls.Add(cboCanState); Controls.Add(buttonsPanel); Controls.Add(_closeFlatButton); Controls.Add(Label8); FormBorderStyle = FormBorderStyle.None; Name = "FrmAddEditRequest"; Text = "FrmAddRequest"; buttonsPanel.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)nudQtyCans).EndInit(); pnlBooking.ResumeLayout(false); pnlBooking.PerformLayout(); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmDeactivateBooking)); 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(); buttonsPanel = new TableLayoutPanel(); _noButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _noButton.Click += new EventHandler(Button_OK_Click); _btnComplete = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnComplete.Click += new EventHandler(Button_Abort_Click); _closeFlatButton = new Bunifu.Framework.UI.BunifuFlatButton(); _closeFlatButton.Click += new EventHandler(closeFlatButton_Click); Label8 = new Label(); lblTitle = new Label(); cboReason = new ComboBox(); Label1 = new Label(); buttonsPanel.SuspendLayout(); SuspendLayout(); // // 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(_noButton, 1, 0); buttonsPanel.Controls.Add(_btnComplete, 0, 0); buttonsPanel.Location = new Point(118, 165); buttonsPanel.Name = "buttonsPanel"; buttonsPanel.RowCount = 1; buttonsPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 50.0f)); buttonsPanel.Size = new Size(210, 39); buttonsPanel.TabIndex = 172; // // noButton // _noButton.AllowToggling = false; _noButton.Anchor = AnchorStyles.Top | AnchorStyles.Right; _noButton.AnimationSpeed = 200; _noButton.AutoGenerateColors = false; _noButton.BackColor = Color.Transparent; _noButton.BackColor1 = Color.White; _noButton.BackgroundImage = (Image)resources.GetObject("noButton.BackgroundImage"); _noButton.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _noButton.ButtonText = "Cancel"; _noButton.ButtonTextMarginLeft = 0; _noButton.ColorContrastOnClick = 45; _noButton.ColorContrastOnHover = 45; _noButton.Cursor = Cursors.Hand; BorderEdges3.BottomLeft = true; BorderEdges3.BottomRight = true; BorderEdges3.TopLeft = true; BorderEdges3.TopRight = true; _noButton.CustomizableEdges = BorderEdges3; _noButton.DialogResult = DialogResult.None; _noButton.DisabledBorderColor = Color.Empty; _noButton.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _noButton.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _noButton.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _noButton.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _noButton.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _noButton.IconLeftCursor = Cursors.Hand; _noButton.IconMarginLeft = 11; _noButton.IconPadding = 10; _noButton.IconRightCursor = Cursors.Hand; _noButton.IdleBorderColor = Color.Gray; _noButton.IdleBorderRadius = 3; _noButton.IdleBorderThickness = 1; _noButton.IdleFillColor = Color.White; _noButton.IdleIconLeftImage = null; _noButton.IdleIconRightImage = null; _noButton.IndicateFocus = true; _noButton.Location = new Point(112, 3); _noButton.Name = "_noButton"; StateProperties5.BorderColor = Color.DarkGray; StateProperties5.BorderRadius = 3; StateProperties5.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties5.BorderThickness = 1; StateProperties5.FillColor = Color.DarkGray; StateProperties5.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties5.IconLeftImage = null; StateProperties5.IconRightImage = null; _noButton.onHoverState = StateProperties5; StateProperties6.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties6.BorderRadius = 3; StateProperties6.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties6.BorderThickness = 1; StateProperties6.FillColor = Color.White; StateProperties6.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties6.IconLeftImage = null; StateProperties6.IconRightImage = null; _noButton.OnPressedState = StateProperties6; _noButton.Size = new Size(95, 33); _noButton.TabIndex = 137; _noButton.TextAlign = ContentAlignment.MiddleCenter; _noButton.TextMarginLeft = 0; _noButton.UseDefaultRadiusAndThickness = true; // // btnComplete // _btnComplete.AllowToggling = false; _btnComplete.AnimationSpeed = 200; _btnComplete.AutoGenerateColors = false; _btnComplete.BackColor = Color.Transparent; _btnComplete.BackColor1 = Color.Teal; _btnComplete.BackgroundImage = (Image)resources.GetObject("btnComplete.BackgroundImage"); _btnComplete.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnComplete.ButtonText = "OK"; _btnComplete.ButtonTextMarginLeft = 0; _btnComplete.ColorContrastOnClick = 45; _btnComplete.ColorContrastOnHover = 45; _btnComplete.Cursor = Cursors.Hand; BorderEdges4.BottomLeft = true; BorderEdges4.BottomRight = true; BorderEdges4.TopLeft = true; BorderEdges4.TopRight = true; _btnComplete.CustomizableEdges = BorderEdges4; _btnComplete.DialogResult = DialogResult.None; _btnComplete.DisabledBorderColor = Color.Empty; _btnComplete.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnComplete.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnComplete.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnComplete.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnComplete.ForeColor = Color.White; _btnComplete.IconLeftCursor = Cursors.Hand; _btnComplete.IconMarginLeft = 11; _btnComplete.IconPadding = 10; _btnComplete.IconRightCursor = Cursors.Hand; _btnComplete.IdleBorderColor = Color.Teal; _btnComplete.IdleBorderRadius = 3; _btnComplete.IdleBorderThickness = 1; _btnComplete.IdleFillColor = Color.Teal; _btnComplete.IdleIconLeftImage = null; _btnComplete.IdleIconRightImage = null; _btnComplete.IndicateFocus = true; _btnComplete.Location = new Point(3, 3); _btnComplete.Name = "_btnComplete"; StateProperties7.BorderColor = Color.MediumTurquoise; StateProperties7.BorderRadius = 3; StateProperties7.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties7.BorderThickness = 1; StateProperties7.FillColor = Color.MediumTurquoise; StateProperties7.ForeColor = Color.White; StateProperties7.IconLeftImage = null; StateProperties7.IconRightImage = null; _btnComplete.onHoverState = StateProperties7; StateProperties8.BorderColor = Color.Teal; StateProperties8.BorderRadius = 3; StateProperties8.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties8.BorderThickness = 1; StateProperties8.FillColor = Color.Teal; StateProperties8.ForeColor = Color.White; StateProperties8.IconLeftImage = null; StateProperties8.IconRightImage = null; _btnComplete.OnPressedState = StateProperties8; _btnComplete.Size = new Size(99, 33); _btnComplete.TabIndex = 136; _btnComplete.TextAlign = ContentAlignment.MiddleCenter; _btnComplete.TextMarginLeft = 0; _btnComplete.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.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(403, 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 = 171; _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(446, 41); Label8.TabIndex = 170; Label8.TextAlign = ContentAlignment.MiddleCenter; // // lblTitle // lblTitle.AutoSize = true; lblTitle.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); lblTitle.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); lblTitle.Location = new Point(28, 59); lblTitle.Name = "lblTitle"; lblTitle.Size = new Size(368, 20); lblTitle.TabIndex = 173; lblTitle.Text = "Choose reason for deactivating the booking:"; // // cboReason // cboReason.DropDownStyle = ComboBoxStyle.DropDownList; cboReason.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); cboReason.FormattingEnabled = true; cboReason.Items.AddRange(new object[] { "Booking was completed", "Booking was cancelled ", "Booking was created by mistake" }); cboReason.Location = new Point(113, 107); cboReason.Name = "cboReason"; cboReason.Size = new Size(294, 28); cboReason.TabIndex = 174; // // Label1 // Label1.AutoSize = true; Label1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label1.Location = new Point(40, 109); Label1.Name = "Label1"; Label1.Size = new Size(69, 20); Label1.TabIndex = 175; Label1.Text = "Reason:"; // // FrmDeactivateBooking // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(446, 221); Controls.Add(Label1); Controls.Add(cboReason); Controls.Add(lblTitle); Controls.Add(buttonsPanel); Controls.Add(_closeFlatButton); Controls.Add(Label8); FormBorderStyle = FormBorderStyle.None; Name = "FrmDeactivateBooking"; Text = "FrmDeactivateBooking"; buttonsPanel.ResumeLayout(false); Load += new EventHandler(MessageBoxCeresYesNo_Load); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmManageServices)); 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 StateProperties9 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties10 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties11 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties12 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); _closeLabel = new Label(); _closeLabel.Click += new EventHandler(Label6_Click); _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(Label6_Click); saveButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); Panel4 = new Panel(); blockContBunifuDataGridView = new Bunifu.UI.WinForms.BunifuDataGridView(); Column1 = new DataGridViewTextBoxColumn(); Column4 = new DataGridViewTextBoxColumn(); Column5 = new DataGridViewTextBoxColumn(); MenuStrip1 = new MenuStrip(); CompanyToolStripMenuItem = new ToolStripMenuItem(); EditToolStripMenuItem = new ToolStripMenuItem(); DeleteToolStripMenuItem = new ToolStripMenuItem(); ruleActionLabel = new Label(); Label1 = new Label(); subTitleLabel = new Label(); searchBunifuTextBox1 = new BunifuTextBox(); BunifuTextBox1 = new BunifuTextBox(); Panel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)blockContBunifuDataGridView).BeginInit(); MenuStrip1.SuspendLayout(); SuspendLayout(); // // closeLabel // _closeLabel.Anchor = AnchorStyles.Top | AnchorStyles.Right; _closeLabel.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _closeLabel.Font = new Font("Arial Narrow", 22.25455f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _closeLabel.ForeColor = Color.White; _closeLabel.Location = new Point(918, 0); _closeLabel.Margin = new Padding(0); _closeLabel.Name = "_closeLabel"; _closeLabel.Size = new Size(48, 46); _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(966, 46); Label7.TabIndex = 80; Label7.TextAlign = ContentAlignment.MiddleCenter; // // cancelButton // _cancelButton.AllowToggling = false; _cancelButton.Anchor = AnchorStyles.None; _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(847, 491); _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; // // saveButton // saveButton.AllowToggling = false; saveButton.Anchor = AnchorStyles.None; 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; BorderEdges2.BottomLeft = true; BorderEdges2.BottomRight = true; BorderEdges2.TopLeft = true; BorderEdges2.TopRight = true; saveButton.CustomizableEdges = BorderEdges2; 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(725, 491); saveButton.Name = "saveButton"; 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; saveButton.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; saveButton.OnPressedState = StateProperties4; saveButton.Size = new Size(100, 45); saveButton.TabIndex = 78; saveButton.TextAlign = ContentAlignment.MiddleCenter; saveButton.TextMarginLeft = 0; saveButton.UseDefaultRadiusAndThickness = true; // // Panel4 // Panel4.Anchor = AnchorStyles.None; Panel4.BorderStyle = BorderStyle.FixedSingle; Panel4.Controls.Add(blockContBunifuDataGridView); Panel4.Location = new Point(31, 148); Panel4.Name = "Panel4"; Panel4.Size = new Size(403, 364); Panel4.TabIndex = 113; // // blockContBunifuDataGridView // blockContBunifuDataGridView.AllowCustomTheming = true; blockContBunifuDataGridView.AllowUserToAddRows = false; blockContBunifuDataGridView.AllowUserToDeleteRows = false; blockContBunifuDataGridView.AllowUserToOrderColumns = true; blockContBunifuDataGridView.AllowUserToResizeRows = false; DataGridViewCellStyle1.BackColor = Color.White; DataGridViewCellStyle1.ForeColor = Color.Black; DataGridViewCellStyle1.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); blockContBunifuDataGridView.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1; blockContBunifuDataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; blockContBunifuDataGridView.BackgroundColor = Color.White; blockContBunifuDataGridView.BorderStyle = BorderStyle.None; blockContBunifuDataGridView.CellBorderStyle = DataGridViewCellBorderStyle.SingleHorizontal; blockContBunifuDataGridView.ClipboardCopyMode = DataGridViewClipboardCopyMode.EnableAlwaysIncludeHeaderText; blockContBunifuDataGridView.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; blockContBunifuDataGridView.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle2; blockContBunifuDataGridView.ColumnHeadersHeight = 40; blockContBunifuDataGridView.ColumnHeadersVisible = false; blockContBunifuDataGridView.Columns.AddRange(new DataGridViewColumn[] { Column1, Column4, Column5 }); blockContBunifuDataGridView.CurrentTheme.AlternatingRowsStyle.BackColor = Color.White; blockContBunifuDataGridView.CurrentTheme.AlternatingRowsStyle.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); blockContBunifuDataGridView.CurrentTheme.AlternatingRowsStyle.ForeColor = Color.Black; blockContBunifuDataGridView.CurrentTheme.AlternatingRowsStyle.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224))); blockContBunifuDataGridView.CurrentTheme.AlternatingRowsStyle.SelectionForeColor = Color.Black; blockContBunifuDataGridView.CurrentTheme.BackColor = Color.Snow; blockContBunifuDataGridView.CurrentTheme.GridColor = Color.Gray; blockContBunifuDataGridView.CurrentTheme.HeaderStyle.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); blockContBunifuDataGridView.CurrentTheme.HeaderStyle.Font = new Font("Segoe UI Semibold", 11.75f, FontStyle.Bold); blockContBunifuDataGridView.CurrentTheme.HeaderStyle.ForeColor = Color.White; blockContBunifuDataGridView.CurrentTheme.Name = null; blockContBunifuDataGridView.CurrentTheme.RowsStyle.BackColor = Color.WhiteSmoke; blockContBunifuDataGridView.CurrentTheme.RowsStyle.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); blockContBunifuDataGridView.CurrentTheme.RowsStyle.ForeColor = Color.Black; blockContBunifuDataGridView.CurrentTheme.RowsStyle.SelectionBackColor = Color.Gray; blockContBunifuDataGridView.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; blockContBunifuDataGridView.DefaultCellStyle = DataGridViewCellStyle3; blockContBunifuDataGridView.Dock = DockStyle.Fill; blockContBunifuDataGridView.EnableHeadersVisualStyles = false; blockContBunifuDataGridView.GridColor = Color.Gray; blockContBunifuDataGridView.HeaderBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); blockContBunifuDataGridView.HeaderBgColor = Color.Empty; blockContBunifuDataGridView.HeaderForeColor = Color.White; blockContBunifuDataGridView.Location = new Point(0, 0); blockContBunifuDataGridView.Name = "blockContBunifuDataGridView"; blockContBunifuDataGridView.ReadOnly = true; blockContBunifuDataGridView.RowHeadersVisible = false; blockContBunifuDataGridView.RowTemplate.DefaultCellStyle.SelectionBackColor = Color.Gray; blockContBunifuDataGridView.RowTemplate.Height = 30; blockContBunifuDataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect; blockContBunifuDataGridView.Size = new Size(401, 362); blockContBunifuDataGridView.TabIndex = 57; blockContBunifuDataGridView.Theme = Bunifu.UI.WinForms.BunifuDataGridView.PresetThemes.Dark; // // Column1 // Column1.HeaderText = ""; Column1.Name = "Column1"; Column1.ReadOnly = true; Column1.Visible = false; // // Column4 // Column4.FillWeight = 93.73149f; Column4.HeaderText = "Service Name"; Column4.Name = "Column4"; Column4.ReadOnly = true; // // Column5 // Column5.FillWeight = 10.59113f; Column5.HeaderText = "Rate"; Column5.Name = "Column5"; Column5.ReadOnly = true; Column5.Resizable = DataGridViewTriState.True; Column5.SortMode = DataGridViewColumnSortMode.NotSortable; // // MenuStrip1 // MenuStrip1.Anchor = AnchorStyles.None; MenuStrip1.BackColor = Color.Transparent; MenuStrip1.Dock = DockStyle.None; MenuStrip1.GripMargin = new Padding(2); MenuStrip1.GripStyle = ToolStripGripStyle.Visible; MenuStrip1.ImageScalingSize = new Size(18, 18); MenuStrip1.Items.AddRange(new ToolStripItem[] { CompanyToolStripMenuItem, EditToolStripMenuItem, DeleteToolStripMenuItem }); MenuStrip1.Location = new Point(31, 108); MenuStrip1.Name = "MenuStrip1"; MenuStrip1.Padding = new Padding(2); MenuStrip1.Size = new Size(422, 37); MenuStrip1.TabIndex = 114; MenuStrip1.Text = "MenuStrip1"; // // CompanyToolStripMenuItem // CompanyToolStripMenuItem.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); CompanyToolStripMenuItem.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); CompanyToolStripMenuItem.Image = (Image)resources.GetObject("CompanyToolStripMenuItem.Image"); CompanyToolStripMenuItem.Name = "CompanyToolStripMenuItem"; CompanyToolStripMenuItem.Padding = new Padding(2, 2, 35, 2); CompanyToolStripMenuItem.Size = new Size(109, 33); CompanyToolStripMenuItem.Text = "New"; // // EditToolStripMenuItem // EditToolStripMenuItem.Enabled = false; EditToolStripMenuItem.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); EditToolStripMenuItem.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); EditToolStripMenuItem.Image = (Image)resources.GetObject("EditToolStripMenuItem.Image"); EditToolStripMenuItem.Name = "EditToolStripMenuItem"; EditToolStripMenuItem.Padding = new Padding(2, 2, 70, 2); EditToolStripMenuItem.Size = new Size(138, 33); EditToolStripMenuItem.Text = "Edit"; // // DeleteToolStripMenuItem // DeleteToolStripMenuItem.Enabled = false; DeleteToolStripMenuItem.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); DeleteToolStripMenuItem.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); DeleteToolStripMenuItem.Image = (Image)resources.GetObject("DeleteToolStripMenuItem.Image"); DeleteToolStripMenuItem.Name = "DeleteToolStripMenuItem"; DeleteToolStripMenuItem.Padding = new Padding(2, 2, 70, 2); DeleteToolStripMenuItem.Size = new Size(160, 33); DeleteToolStripMenuItem.Text = "Delete"; // // ruleActionLabel // ruleActionLabel.Anchor = AnchorStyles.None; ruleActionLabel.AutoSize = true; ruleActionLabel.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); ruleActionLabel.Location = new Point(467, 197); ruleActionLabel.Name = "ruleActionLabel"; ruleActionLabel.Size = new Size(131, 25); ruleActionLabel.TabIndex = 116; ruleActionLabel.Text = "Service Name:"; // // Label1 // Label1.Anchor = AnchorStyles.None; Label1.AutoSize = true; Label1.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label1.Location = new Point(480, 244); Label1.Name = "Label1"; Label1.Size = new Size(118, 25); Label1.TabIndex = 118; Label1.Text = "Service Rate:"; // // subTitleLabel // subTitleLabel.AutoSize = true; subTitleLabel.Font = new Font("Segoe UI Semibold", 13.74545f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); subTitleLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); subTitleLabel.Location = new Point(26, 61); subTitleLabel.Name = "subTitleLabel"; subTitleLabel.Size = new Size(370, 30); subTitleLabel.TabIndex = 119; subTitleLabel.Text = "Select existing rule to edit or delete"; // // searchBunifuTextBox1 // searchBunifuTextBox1.AcceptsReturn = false; searchBunifuTextBox1.AcceptsTab = false; searchBunifuTextBox1.Anchor = AnchorStyles.Top; 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.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); 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(594, 189); 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.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties8.PlaceholderForeColor = Color.Empty; searchBunifuTextBox1.OnIdleState = StateProperties8; searchBunifuTextBox1.PasswordChar = '\0'; searchBunifuTextBox1.PlaceholderForeColor = Color.Silver; searchBunifuTextBox1.PlaceholderText = ""; searchBunifuTextBox1.ReadOnly = false; searchBunifuTextBox1.ScrollBars = ScrollBars.None; searchBunifuTextBox1.SelectedText = ""; searchBunifuTextBox1.SelectionLength = 0; searchBunifuTextBox1.SelectionStart = 0; searchBunifuTextBox1.ShortcutsEnabled = true; searchBunifuTextBox1.Size = new Size(350, 35); searchBunifuTextBox1.Style = _Style.Bunifu; searchBunifuTextBox1.TabIndex = 120; searchBunifuTextBox1.TextAlign = HorizontalAlignment.Left; searchBunifuTextBox1.TextMarginBottom = 0; searchBunifuTextBox1.TextMarginLeft = 5; searchBunifuTextBox1.TextMarginTop = 0; searchBunifuTextBox1.TextPlaceholder = ""; searchBunifuTextBox1.UseSystemPasswordChar = false; searchBunifuTextBox1.WordWrap = true; // // BunifuTextBox1 // BunifuTextBox1.AcceptsReturn = false; BunifuTextBox1.AcceptsTab = false; BunifuTextBox1.Anchor = AnchorStyles.Top; BunifuTextBox1.AnimationSpeed = 200; BunifuTextBox1.AutoCompleteMode = AutoCompleteMode.None; BunifuTextBox1.AutoCompleteSource = AutoCompleteSource.None; BunifuTextBox1.BackColor = Color.Transparent; BunifuTextBox1.BackgroundImage = (Image)resources.GetObject("BunifuTextBox1.BackgroundImage"); BunifuTextBox1.BorderColorActive = Color.DodgerBlue; BunifuTextBox1.BorderColorDisabled = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161))); BunifuTextBox1.BorderColorHover = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); BunifuTextBox1.BorderColorIdle = Color.Silver; BunifuTextBox1.BorderRadius = 1; BunifuTextBox1.BorderThickness = 1; BunifuTextBox1.CharacterCasing = CharacterCasing.Normal; BunifuTextBox1.Cursor = Cursors.IBeam; BunifuTextBox1.DefaultFont = new Font("Segoe UI", 11.78182f); BunifuTextBox1.DefaultText = ""; BunifuTextBox1.FillColor = Color.White; BunifuTextBox1.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); BunifuTextBox1.HideSelection = true; BunifuTextBox1.IconLeft = null; BunifuTextBox1.IconLeftCursor = Cursors.IBeam; BunifuTextBox1.IconPadding = 10; BunifuTextBox1.IconRight = null; BunifuTextBox1.IconRightCursor = Cursors.IBeam; BunifuTextBox1.Lines = new string[0]; BunifuTextBox1.Location = new Point(594, 236); BunifuTextBox1.MaxLength = 32767; BunifuTextBox1.MinimumSize = new Size(100, 35); BunifuTextBox1.Modified = false; BunifuTextBox1.Multiline = false; BunifuTextBox1.Name = "BunifuTextBox1"; StateProperties9.BorderColor = Color.DodgerBlue; StateProperties9.FillColor = Color.Empty; StateProperties9.ForeColor = Color.Empty; StateProperties9.PlaceholderForeColor = Color.Empty; BunifuTextBox1.OnActiveState = StateProperties9; StateProperties10.BorderColor = Color.Empty; StateProperties10.FillColor = Color.White; StateProperties10.ForeColor = Color.Empty; StateProperties10.PlaceholderForeColor = Color.Silver; BunifuTextBox1.OnDisabledState = StateProperties10; StateProperties11.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); StateProperties11.FillColor = Color.Empty; StateProperties11.ForeColor = Color.Empty; StateProperties11.PlaceholderForeColor = Color.Empty; BunifuTextBox1.OnHoverState = StateProperties11; StateProperties12.BorderColor = Color.Silver; StateProperties12.FillColor = Color.White; StateProperties12.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties12.PlaceholderForeColor = Color.Empty; BunifuTextBox1.OnIdleState = StateProperties12; BunifuTextBox1.PasswordChar = '\0'; BunifuTextBox1.PlaceholderForeColor = Color.Silver; BunifuTextBox1.PlaceholderText = "$"; BunifuTextBox1.ReadOnly = false; BunifuTextBox1.ScrollBars = ScrollBars.None; BunifuTextBox1.SelectedText = ""; BunifuTextBox1.SelectionLength = 0; BunifuTextBox1.SelectionStart = 0; BunifuTextBox1.ShortcutsEnabled = true; BunifuTextBox1.Size = new Size(100, 35); BunifuTextBox1.Style = _Style.Bunifu; BunifuTextBox1.TabIndex = 121; BunifuTextBox1.TextAlign = HorizontalAlignment.Left; BunifuTextBox1.TextMarginBottom = 0; BunifuTextBox1.TextMarginLeft = 5; BunifuTextBox1.TextMarginTop = 0; BunifuTextBox1.TextPlaceholder = "$"; BunifuTextBox1.UseSystemPasswordChar = false; BunifuTextBox1.WordWrap = true; // // FrmManageServices // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(966, 570); Controls.Add(BunifuTextBox1); Controls.Add(searchBunifuTextBox1); Controls.Add(subTitleLabel); Controls.Add(Label1); Controls.Add(ruleActionLabel); Controls.Add(MenuStrip1); Controls.Add(Panel4); Controls.Add(_closeLabel); Controls.Add(Label7); Controls.Add(_cancelButton); Controls.Add(saveButton); FormBorderStyle = FormBorderStyle.None; Name = "FrmManageServices"; Text = "FrmManageServices"; Panel4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)blockContBunifuDataGridView).EndInit(); MenuStrip1.ResumeLayout(false); MenuStrip1.PerformLayout(); ResumeLayout(false); PerformLayout(); }
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(); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmCreateUsernameAndPassword)); 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(); nameOfemployeLabel = new Label(); passwordTextBox = new TextBox(); usernameTextBox = new TextBox(); Label2 = new Label(); Label1 = new Label(); confirmTextBox = new TextBox(); Label4 = new Label(); Label3 = new Label(); Label5 = new Label(); _cancelButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _cancelButton.Click += new EventHandler(cancelButton_Click); _saveButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _saveButton.Click += new EventHandler(loginButton_Click); SuspendLayout(); // // nameOfemployeLabel // nameOfemployeLabel.BackColor = Color.White; nameOfemployeLabel.Font = new Font("Segoe UI Semibold", 13.74545f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); nameOfemployeLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); nameOfemployeLabel.Location = new Point(24, 67); nameOfemployeLabel.Name = "nameOfemployeLabel"; nameOfemployeLabel.Size = new Size(557, 49); nameOfemployeLabel.TabIndex = 12; nameOfemployeLabel.Text = "Select Employee and fill up the informations"; nameOfemployeLabel.TextAlign = ContentAlignment.MiddleLeft; // // passwordTextBox // passwordTextBox.Font = new Font("Microsoft Sans Serif", 13.74545f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); passwordTextBox.Location = new Point(270, 206); passwordTextBox.Name = "passwordTextBox"; passwordTextBox.PasswordChar = '*'; passwordTextBox.Size = new Size(156, 31); passwordTextBox.TabIndex = 2; passwordTextBox.UseSystemPasswordChar = true; // // usernameTextBox // usernameTextBox.Font = new Font("Microsoft Sans Serif", 13.74545f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); usernameTextBox.Location = new Point(270, 169); usernameTextBox.Name = "usernameTextBox"; usernameTextBox.Size = new Size(156, 31); usernameTextBox.TabIndex = 1; // // Label2 // Label2.AutoSize = true; Label2.Font = new Font("Segoe UI", 11.78182f, 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(157, 207); Label2.Name = "Label2"; Label2.Size = new Size(108, 25); Label2.TabIndex = 8; Label2.Text = "* Password:"******"Segoe UI", 11.78182f, 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(151, 169); Label1.Name = "Label1"; Label1.Size = new Size(114, 25); Label1.TabIndex = 7; Label1.Text = "* Username:"******"Microsoft Sans Serif", 13.74545f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); confirmTextBox.Location = new Point(270, 241); confirmTextBox.Name = "confirmTextBox"; confirmTextBox.PasswordChar = '*'; confirmTextBox.Size = new Size(156, 31); confirmTextBox.TabIndex = 3; confirmTextBox.UseSystemPasswordChar = true; // // Label4 // Label4.AutoSize = true; Label4.Font = new Font("Segoe UI", 11.78182f, 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(84, 244); Label4.Name = "Label4"; Label4.Size = new Size(181, 25); Label4.TabIndex = 15; Label4.Text = "* Confirm Password:"******"Arial Narrow", 22.25455f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label3.ForeColor = Color.White; Label3.Location = new Point(545, 0); Label3.Margin = new Padding(0); Label3.Name = "Label3"; Label3.Size = new Size(48, 49); Label3.TabIndex = 77; Label3.Text = "🗙"; Label3.TextAlign = ContentAlignment.MiddleCenter; // // Label5 // Label5.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label5.Dock = DockStyle.Top; Label5.Font = new Font("Microsoft Sans Serif", 24.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(0, 0); Label5.Name = "Label5"; Label5.Size = new Size(593, 49); Label5.TabIndex = 76; Label5.TextAlign = ContentAlignment.MiddleCenter; // // 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; 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(463, 308); _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; // // 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; BorderEdges2.BottomLeft = true; BorderEdges2.BottomRight = true; BorderEdges2.TopLeft = true; BorderEdges2.TopRight = true; _saveButton.CustomizableEdges = BorderEdges2; _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(343, 308); _saveButton.Name = "_saveButton"; 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; _saveButton.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; _saveButton.OnPressedState = StateProperties4; _saveButton.Size = new Size(102, 45); _saveButton.TabIndex = 78; _saveButton.TextAlign = ContentAlignment.MiddleCenter; _saveButton.TextMarginLeft = 0; _saveButton.UseDefaultRadiusAndThickness = true; // // FrmCreateUsernameAndPassword // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(593, 380); ControlBox = false; Controls.Add(_cancelButton); Controls.Add(_saveButton); Controls.Add(Label3); Controls.Add(Label5); Controls.Add(confirmTextBox); Controls.Add(Label4); Controls.Add(nameOfemployeLabel); Controls.Add(passwordTextBox); Controls.Add(usernameTextBox); Controls.Add(Label2); Controls.Add(Label1); FormBorderStyle = FormBorderStyle.FixedSingle; Name = "FrmCreateUsernameAndPassword"; StartPosition = FormStartPosition.CenterScreen; Load += new EventHandler(FrmCreateUsernameAndPassword_Load); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmBlockContainer)); 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 DataGridViewCellStyle1 = new DataGridViewCellStyle(); var DataGridViewCellStyle2 = new DataGridViewCellStyle(); var DataGridViewCellStyle3 = new DataGridViewCellStyle(); var DataGridViewCellStyle4 = new DataGridViewCellStyle(); var DataGridViewCellStyle5 = new DataGridViewCellStyle(); var DataGridViewCellStyle6 = new DataGridViewCellStyle(); 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(); Label1 = new Label(); Label2 = new Label(); _RichTextBox1 = new RichTextBox(); _RichTextBox1.TextChanged += new EventHandler(RichTextBox1_TextChanged); warningLabel = new Label(); titleLabel = new Label(); _blockContainerButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _blockContainerButton.Click += new EventHandler(blockContainerButton_ButtonClick); goodContDataGrid = new Bunifu.UI.WinForms.BunifuDataGridView(); Column2 = new DataGridViewTextBoxColumn(); badContDataGrid = new Bunifu.UI.WinForms.BunifuDataGridView(); Column1 = new DataGridViewTextBoxColumn(); Panel1 = new Panel(); _closeLabel = new Label(); _closeLabel.Click += new EventHandler(Label6_Click); _closeLabel.MouseHover += new EventHandler(closeLabel_MouseHover); _closeLabel.MouseLeave += new EventHandler(closeLabel_Click); _closeLabel.Click += new EventHandler(closeLabel_MouseLeave); Panel2 = new Panel(); _noBunifuButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _noBunifuButton.Click += new EventHandler(Label6_Click); NumericUpDown1 = new NumericUpDown(); Label4 = new Label(); Label3 = new Label(); cboShippingLine = new ComboBox(); ((System.ComponentModel.ISupportInitialize)goodContDataGrid).BeginInit(); ((System.ComponentModel.ISupportInitialize)badContDataGrid).BeginInit(); Panel1.SuspendLayout(); Panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)NumericUpDown1).BeginInit(); SuspendLayout(); // // Label1 // Label1.Anchor = AnchorStyles.None; Label1.AutoSize = true; Label1.Font = new Font("Segoe UI", 11.78182f, 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(115, 95); Label1.Name = "Label1"; Label1.Size = new Size(108, 21); Label1.TabIndex = 10; Label1.Text = "Shipping Line:"; // // Label2 // Label2.Anchor = AnchorStyles.None; Label2.AutoSize = true; Label2.Font = new Font("Segoe UI", 11.78182f, 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(137, 182); Label2.Name = "Label2"; Label2.Size = new Size(88, 21); Label2.TabIndex = 13; Label2.Text = "Containers:"; // // RichTextBox1 // _RichTextBox1.Anchor = AnchorStyles.None; _RichTextBox1.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _RichTextBox1.Location = new Point(142, 210); _RichTextBox1.Name = "_RichTextBox1"; _RichTextBox1.Size = new Size(297, 371); _RichTextBox1.TabIndex = 12; _RichTextBox1.Text = ""; // // warningLabel // warningLabel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; warningLabel.AutoSize = true; warningLabel.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); warningLabel.ForeColor = Color.Firebrick; warningLabel.Location = new Point(882, 584); warningLabel.Name = "warningLabel"; warningLabel.Size = new Size(208, 21); warningLabel.TabIndex = 17; warningLabel.Text = "* Container Already Blocked"; warningLabel.Visible = false; // // titleLabel // titleLabel.Anchor = AnchorStyles.None; titleLabel.BackColor = Color.Transparent; titleLabel.Font = new Font("Segoe UI Semibold", 13.74545f, FontStyle.Bold, 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(86, 26); titleLabel.Name = "titleLabel"; titleLabel.Size = new Size(727, 42); titleLabel.TabIndex = 16; titleLabel.Text = "Block Container"; titleLabel.TextAlign = ContentAlignment.MiddleLeft; // // blockContainerButton // _blockContainerButton.AllowToggling = false; _blockContainerButton.Anchor = AnchorStyles.Bottom; _blockContainerButton.AnimationSpeed = 200; _blockContainerButton.AutoGenerateColors = false; _blockContainerButton.BackColor = Color.Transparent; _blockContainerButton.BackColor1 = Color.Teal; _blockContainerButton.BackgroundImage = (Image)resources.GetObject("blockContainerButton.BackgroundImage"); _blockContainerButton.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _blockContainerButton.ButtonText = "Block Containers"; _blockContainerButton.ButtonTextMarginLeft = 0; _blockContainerButton.ColorContrastOnClick = 45; _blockContainerButton.ColorContrastOnHover = 45; _blockContainerButton.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _blockContainerButton.CustomizableEdges = BorderEdges1; _blockContainerButton.DialogResult = DialogResult.None; _blockContainerButton.DisabledBorderColor = Color.Empty; _blockContainerButton.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _blockContainerButton.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _blockContainerButton.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _blockContainerButton.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _blockContainerButton.ForeColor = Color.White; _blockContainerButton.IconLeftCursor = Cursors.Hand; _blockContainerButton.IconMarginLeft = 11; _blockContainerButton.IconPadding = 10; _blockContainerButton.IconRightCursor = Cursors.Hand; _blockContainerButton.IdleBorderColor = Color.Teal; _blockContainerButton.IdleBorderRadius = 3; _blockContainerButton.IdleBorderThickness = 1; _blockContainerButton.IdleFillColor = Color.Teal; _blockContainerButton.IdleIconLeftImage = null; _blockContainerButton.IdleIconRightImage = null; _blockContainerButton.IndicateFocus = true; _blockContainerButton.Location = new Point(869, 705); _blockContainerButton.Name = "_blockContainerButton"; 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; _blockContainerButton.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; _blockContainerButton.OnPressedState = StateProperties2; _blockContainerButton.Size = new Size(159, 45); _blockContainerButton.TabIndex = 68; _blockContainerButton.TextAlign = ContentAlignment.MiddleCenter; _blockContainerButton.TextMarginLeft = 0; _blockContainerButton.UseDefaultRadiusAndThickness = true; // // goodContDataGrid // goodContDataGrid.AllowCustomTheming = false; goodContDataGrid.AllowUserToAddRows = false; goodContDataGrid.AllowUserToDeleteRows = false; goodContDataGrid.AllowUserToResizeColumns = false; goodContDataGrid.AllowUserToResizeRows = false; DataGridViewCellStyle1.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(199)), Conversions.ToInteger(Conversions.ToByte(226)), Conversions.ToInteger(Conversions.ToByte(199))); DataGridViewCellStyle1.ForeColor = Color.Black; goodContDataGrid.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1; goodContDataGrid.Anchor = AnchorStyles.None; goodContDataGrid.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; goodContDataGrid.BackgroundColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224))); goodContDataGrid.BorderStyle = BorderStyle.None; goodContDataGrid.CellBorderStyle = DataGridViewCellBorderStyle.SingleHorizontal; goodContDataGrid.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.None; DataGridViewCellStyle2.Alignment = DataGridViewContentAlignment.MiddleLeft; DataGridViewCellStyle2.BackColor = Color.ForestGreen; DataGridViewCellStyle2.Font = new Font("Segoe UI Semibold", 11.75f, FontStyle.Bold); DataGridViewCellStyle2.ForeColor = Color.White; DataGridViewCellStyle2.SelectionBackColor = SystemColors.Highlight; DataGridViewCellStyle2.SelectionForeColor = SystemColors.HighlightText; DataGridViewCellStyle2.WrapMode = DataGridViewTriState.True; goodContDataGrid.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle2; goodContDataGrid.ColumnHeadersHeight = 40; goodContDataGrid.Columns.AddRange(new DataGridViewColumn[] { Column2 }); goodContDataGrid.CurrentTheme.AlternatingRowsStyle.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(199)), Conversions.ToInteger(Conversions.ToByte(226)), Conversions.ToInteger(Conversions.ToByte(199))); goodContDataGrid.CurrentTheme.AlternatingRowsStyle.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); goodContDataGrid.CurrentTheme.AlternatingRowsStyle.ForeColor = Color.Black; goodContDataGrid.CurrentTheme.AlternatingRowsStyle.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(122)), Conversions.ToInteger(Conversions.ToByte(185)), Conversions.ToInteger(Conversions.ToByte(122))); goodContDataGrid.CurrentTheme.AlternatingRowsStyle.SelectionForeColor = Color.White; goodContDataGrid.CurrentTheme.BackColor = Color.ForestGreen; goodContDataGrid.CurrentTheme.GridColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(188)), Conversions.ToInteger(Conversions.ToByte(220)), Conversions.ToInteger(Conversions.ToByte(188))); goodContDataGrid.CurrentTheme.HeaderStyle.BackColor = Color.ForestGreen; goodContDataGrid.CurrentTheme.HeaderStyle.Font = new Font("Segoe UI Semibold", 11.75f, FontStyle.Bold); goodContDataGrid.CurrentTheme.HeaderStyle.ForeColor = Color.White; goodContDataGrid.CurrentTheme.Name = null; goodContDataGrid.CurrentTheme.RowsStyle.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(210)), Conversions.ToInteger(Conversions.ToByte(231)), Conversions.ToInteger(Conversions.ToByte(210))); goodContDataGrid.CurrentTheme.RowsStyle.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); goodContDataGrid.CurrentTheme.RowsStyle.ForeColor = Color.Black; goodContDataGrid.CurrentTheme.RowsStyle.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(122)), Conversions.ToInteger(Conversions.ToByte(185)), Conversions.ToInteger(Conversions.ToByte(122))); goodContDataGrid.CurrentTheme.RowsStyle.SelectionForeColor = Color.White; DataGridViewCellStyle3.Alignment = DataGridViewContentAlignment.MiddleLeft; DataGridViewCellStyle3.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(210)), Conversions.ToInteger(Conversions.ToByte(231)), Conversions.ToInteger(Conversions.ToByte(210))); DataGridViewCellStyle3.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); DataGridViewCellStyle3.ForeColor = Color.Black; DataGridViewCellStyle3.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(122)), Conversions.ToInteger(Conversions.ToByte(185)), Conversions.ToInteger(Conversions.ToByte(122))); DataGridViewCellStyle3.SelectionForeColor = Color.White; DataGridViewCellStyle3.WrapMode = DataGridViewTriState.False; goodContDataGrid.DefaultCellStyle = DataGridViewCellStyle3; goodContDataGrid.EnableHeadersVisualStyles = false; goodContDataGrid.GridColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(188)), Conversions.ToInteger(Conversions.ToByte(220)), Conversions.ToInteger(Conversions.ToByte(188))); goodContDataGrid.HeaderBackColor = Color.ForestGreen; goodContDataGrid.HeaderBgColor = Color.Empty; goodContDataGrid.HeaderForeColor = Color.White; goodContDataGrid.Location = new Point(585, 208); goodContDataGrid.Name = "goodContDataGrid"; goodContDataGrid.RowHeadersVisible = false; goodContDataGrid.RowTemplate.Height = 40; goodContDataGrid.SelectionMode = DataGridViewSelectionMode.FullRowSelect; goodContDataGrid.Size = new Size(264, 373); goodContDataGrid.TabIndex = 72; goodContDataGrid.Theme = Bunifu.UI.WinForms.BunifuDataGridView.PresetThemes.ForestGreen; // // Column2 // Column2.HeaderText = "GOOD ENTRIES"; Column2.Name = "Column2"; // // badContDataGrid // badContDataGrid.AllowCustomTheming = false; badContDataGrid.AllowUserToAddRows = false; badContDataGrid.AllowUserToDeleteRows = false; badContDataGrid.AllowUserToResizeColumns = false; badContDataGrid.AllowUserToResizeRows = false; DataGridViewCellStyle4.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(223)), Conversions.ToInteger(Conversions.ToByte(191)), Conversions.ToInteger(Conversions.ToByte(191))); DataGridViewCellStyle4.ForeColor = Color.Black; badContDataGrid.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle4; badContDataGrid.Anchor = AnchorStyles.None; badContDataGrid.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; badContDataGrid.BackgroundColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224)), Conversions.ToInteger(Conversions.ToByte(224))); badContDataGrid.BorderStyle = BorderStyle.None; badContDataGrid.CellBorderStyle = DataGridViewCellBorderStyle.SingleHorizontal; badContDataGrid.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.None; DataGridViewCellStyle5.Alignment = DataGridViewContentAlignment.MiddleLeft; DataGridViewCellStyle5.BackColor = Color.Maroon; DataGridViewCellStyle5.Font = new Font("Segoe UI Semibold", 11.75f, FontStyle.Bold); DataGridViewCellStyle5.ForeColor = Color.White; DataGridViewCellStyle5.SelectionBackColor = SystemColors.Highlight; DataGridViewCellStyle5.SelectionForeColor = SystemColors.HighlightText; DataGridViewCellStyle5.WrapMode = DataGridViewTriState.True; badContDataGrid.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle5; badContDataGrid.ColumnHeadersHeight = 40; badContDataGrid.Columns.AddRange(new DataGridViewColumn[] { Column1 }); badContDataGrid.CurrentTheme.AlternatingRowsStyle.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(223)), Conversions.ToInteger(Conversions.ToByte(191)), Conversions.ToInteger(Conversions.ToByte(191))); badContDataGrid.CurrentTheme.AlternatingRowsStyle.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); badContDataGrid.CurrentTheme.AlternatingRowsStyle.ForeColor = Color.Black; badContDataGrid.CurrentTheme.AlternatingRowsStyle.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(178)), Conversions.ToInteger(Conversions.ToByte(102)), Conversions.ToInteger(Conversions.ToByte(102))); badContDataGrid.CurrentTheme.AlternatingRowsStyle.SelectionForeColor = Color.White; badContDataGrid.CurrentTheme.BackColor = Color.Maroon; badContDataGrid.CurrentTheme.GridColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(216)), Conversions.ToInteger(Conversions.ToByte(178)), Conversions.ToInteger(Conversions.ToByte(178))); badContDataGrid.CurrentTheme.HeaderStyle.BackColor = Color.Maroon; badContDataGrid.CurrentTheme.HeaderStyle.Font = new Font("Segoe UI Semibold", 11.75f, FontStyle.Bold); badContDataGrid.CurrentTheme.HeaderStyle.ForeColor = Color.White; badContDataGrid.CurrentTheme.Name = null; badContDataGrid.CurrentTheme.RowsStyle.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(229)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); badContDataGrid.CurrentTheme.RowsStyle.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); badContDataGrid.CurrentTheme.RowsStyle.ForeColor = Color.Black; badContDataGrid.CurrentTheme.RowsStyle.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(178)), Conversions.ToInteger(Conversions.ToByte(102)), Conversions.ToInteger(Conversions.ToByte(102))); badContDataGrid.CurrentTheme.RowsStyle.SelectionForeColor = Color.White; DataGridViewCellStyle6.Alignment = DataGridViewContentAlignment.MiddleLeft; DataGridViewCellStyle6.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(229)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); DataGridViewCellStyle6.Font = new Font("Segoe UI Semibold", 9.75f, FontStyle.Bold); DataGridViewCellStyle6.ForeColor = Color.Black; DataGridViewCellStyle6.SelectionBackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(178)), Conversions.ToInteger(Conversions.ToByte(102)), Conversions.ToInteger(Conversions.ToByte(102))); DataGridViewCellStyle6.SelectionForeColor = Color.White; DataGridViewCellStyle6.WrapMode = DataGridViewTriState.False; badContDataGrid.DefaultCellStyle = DataGridViewCellStyle6; badContDataGrid.EnableHeadersVisualStyles = false; badContDataGrid.GridColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(216)), Conversions.ToInteger(Conversions.ToByte(178)), Conversions.ToInteger(Conversions.ToByte(178))); badContDataGrid.HeaderBackColor = Color.Maroon; badContDataGrid.HeaderBgColor = Color.Empty; badContDataGrid.HeaderForeColor = Color.White; badContDataGrid.Location = new Point(886, 208); badContDataGrid.Name = "badContDataGrid"; badContDataGrid.RowHeadersVisible = false; badContDataGrid.RowTemplate.Height = 40; badContDataGrid.SelectionMode = DataGridViewSelectionMode.FullRowSelect; badContDataGrid.Size = new Size(249, 373); badContDataGrid.TabIndex = 73; badContDataGrid.Theme = Bunifu.UI.WinForms.BunifuDataGridView.PresetThemes.Maroon; // // Column1 // Column1.HeaderText = "BAD ENTRIES"; Column1.Name = "Column1"; // // Panel1 // Panel1.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Panel1.Controls.Add(_closeLabel); Panel1.Controls.Add(Panel2); Panel1.Dock = DockStyle.Fill; Panel1.Location = new Point(0, 0); Panel1.Name = "Panel1"; Panel1.Padding = new Padding(0, 40, 0, 0); Panel1.Size = new Size(1253, 821); Panel1.TabIndex = 33; // // 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", 18.32727f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _closeLabel.ForeColor = Color.White; _closeLabel.Location = new Point(1205, 0); _closeLabel.Margin = new Padding(0); _closeLabel.Name = "_closeLabel"; _closeLabel.Size = new Size(48, 37); _closeLabel.TabIndex = 78; _closeLabel.Text = "🗙"; _closeLabel.TextAlign = ContentAlignment.MiddleCenter; // // Panel2 // Panel2.BackColor = Color.White; Panel2.Controls.Add(cboShippingLine); Panel2.Controls.Add(_noBunifuButton); Panel2.Controls.Add(NumericUpDown1); Panel2.Controls.Add(Label4); Panel2.Controls.Add(Label3); Panel2.Controls.Add(titleLabel); Panel2.Controls.Add(warningLabel); Panel2.Controls.Add(badContDataGrid); Panel2.Controls.Add(_RichTextBox1); Panel2.Controls.Add(goodContDataGrid); Panel2.Controls.Add(Label2); Panel2.Controls.Add(Label1); Panel2.Controls.Add(_blockContainerButton); Panel2.Dock = DockStyle.Fill; Panel2.Location = new Point(0, 40); Panel2.Name = "Panel2"; Panel2.Size = new Size(1253, 781); Panel2.TabIndex = 1; // // noBunifuButton // _noBunifuButton.AllowToggling = false; _noBunifuButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; _noBunifuButton.AnimationSpeed = 200; _noBunifuButton.AutoGenerateColors = false; _noBunifuButton.BackColor = Color.Transparent; _noBunifuButton.BackColor1 = Color.White; _noBunifuButton.BackgroundImage = (Image)resources.GetObject("noBunifuButton.BackgroundImage"); _noBunifuButton.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _noBunifuButton.ButtonText = "CANCEL"; _noBunifuButton.ButtonTextMarginLeft = 0; _noBunifuButton.ColorContrastOnClick = 45; _noBunifuButton.ColorContrastOnHover = 45; _noBunifuButton.Cursor = Cursors.Hand; BorderEdges2.BottomLeft = true; BorderEdges2.BottomRight = true; BorderEdges2.TopLeft = true; BorderEdges2.TopRight = true; _noBunifuButton.CustomizableEdges = BorderEdges2; _noBunifuButton.DialogResult = DialogResult.None; _noBunifuButton.DisabledBorderColor = Color.Empty; _noBunifuButton.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _noBunifuButton.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _noBunifuButton.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _noBunifuButton.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _noBunifuButton.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _noBunifuButton.IconLeftCursor = Cursors.Hand; _noBunifuButton.IconMarginLeft = 11; _noBunifuButton.IconPadding = 10; _noBunifuButton.IconRightCursor = Cursors.Hand; _noBunifuButton.IdleBorderColor = Color.Gray; _noBunifuButton.IdleBorderRadius = 3; _noBunifuButton.IdleBorderThickness = 1; _noBunifuButton.IdleFillColor = Color.White; _noBunifuButton.IdleIconLeftImage = null; _noBunifuButton.IdleIconRightImage = null; _noBunifuButton.IndicateFocus = true; _noBunifuButton.Location = new Point(1053, 705); _noBunifuButton.Name = "_noBunifuButton"; 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; _noBunifuButton.onHoverState = StateProperties3; StateProperties4.BorderColor = Color.Gray; 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; _noBunifuButton.OnPressedState = StateProperties4; _noBunifuButton.Size = new Size(135, 44); _noBunifuButton.TabIndex = 77; _noBunifuButton.TextAlign = ContentAlignment.MiddleCenter; _noBunifuButton.TextMarginLeft = 0; _noBunifuButton.UseDefaultRadiusAndThickness = true; // // NumericUpDown1 // NumericUpDown1.Anchor = AnchorStyles.None; NumericUpDown1.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); NumericUpDown1.Location = new Point(296, 134); NumericUpDown1.Name = "NumericUpDown1"; NumericUpDown1.Size = new Size(60, 28); NumericUpDown1.TabIndex = 75; NumericUpDown1.Value = new decimal(new int[] { 30, 0, 0, 0 }); // // Label4 // Label4.Anchor = AnchorStyles.None; Label4.AutoSize = true; Label4.Font = new Font("Segoe UI", 11.78182f, 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(357, 136); Label4.Name = "Label4"; Label4.Size = new Size(42, 21); Label4.TabIndex = 76; Label4.Text = "days"; // // Label3 // Label3.Anchor = AnchorStyles.None; Label3.AutoSize = true; 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(115, 136); Label3.Name = "Label3"; Label3.Size = new Size(147, 21); Label3.TabIndex = 74; Label3.Text = "Block containers for"; // // cboShippingLine // cboShippingLine.AutoCompleteMode = AutoCompleteMode.Append; cboShippingLine.AutoCompleteSource = AutoCompleteSource.ListItems; cboShippingLine.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); cboShippingLine.FormattingEnabled = true; cboShippingLine.Location = new Point(229, 88); cboShippingLine.Name = "cboShippingLine"; cboShippingLine.Size = new Size(415, 28); cboShippingLine.TabIndex = 78; // // FrmBlockContainer // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(1253, 821); ControlBox = false; Controls.Add(Panel1); FormBorderStyle = FormBorderStyle.None; Name = "FrmBlockContainer"; StartPosition = FormStartPosition.CenterScreen; ((System.ComponentModel.ISupportInitialize)goodContDataGrid).EndInit(); ((System.ComponentModel.ISupportInitialize)badContDataGrid).EndInit(); Panel1.ResumeLayout(false); Panel2.ResumeLayout(false); Panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)NumericUpDown1).EndInit(); Load += new EventHandler(Form1_Load); ResumeLayout(false); }
private void InitializeComponent() { components = new System.ComponentModel.Container(); var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmAddEditDistRequest)); 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 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(); Label2 = new Label(); nudQtyCans = new NumericUpDown(); buttonsPanel = new TableLayoutPanel(); _btnComplete = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnComplete.Click += new EventHandler(btnComplete_Click); _btnCancel = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnCancel.Click += new EventHandler(BunifuButton1_Click); _BunifuButton1 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _BunifuButton1.Click += new EventHandler(BunifuButton1_Click); Label15 = new Label(); Label1 = new Label(); BunifuElipse1 = new Bunifu.Framework.UI.BunifuElipse(components); dtpFromDate = new DateTimePicker(); Label3 = new Label(); dtpToDate = new DateTimePicker(); Label4 = new Label(); Label5 = new Label(); Label7 = new Label(); Label6 = new Label(); lblPickUpCode = new Label(); lblDropOff = new Label(); lblReleaseNumb = new Label(); lblCarrierCode = new Label(); ((System.ComponentModel.ISupportInitialize)nudQtyCans).BeginInit(); buttonsPanel.SuspendLayout(); SuspendLayout(); // // Label2 // Label2.AutoSize = true; Label2.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.Location = new Point(37, 197); Label2.Name = "Label2"; Label2.Size = new Size(90, 18); Label2.TabIndex = 234; Label2.Text = "Qty Needed:"; // // nudQtyCans // nudQtyCans.Font = new Font("Microsoft Sans Serif", 13.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); nudQtyCans.Location = new Point(133, 193); nudQtyCans.Maximum = new decimal(new int[] { 10000, 0, 0, 0 }); nudQtyCans.Name = "nudQtyCans"; nudQtyCans.Size = new Size(105, 27); nudQtyCans.TabIndex = 233; nudQtyCans.TextAlign = HorizontalAlignment.Center; // // buttonsPanel // buttonsPanel.ColumnCount = 2; buttonsPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 49.25373f)); buttonsPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50.74627f)); buttonsPanel.Controls.Add(_btnComplete, 0, 0); buttonsPanel.Controls.Add(_btnCancel, 1, 0); buttonsPanel.Location = new Point(214, 235); buttonsPanel.Name = "buttonsPanel"; buttonsPanel.RowCount = 1; buttonsPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 50.0f)); buttonsPanel.Size = new Size(150, 31); buttonsPanel.TabIndex = 232; // // btnComplete // _btnComplete.AllowToggling = false; _btnComplete.AnimationSpeed = 200; _btnComplete.AutoGenerateColors = false; _btnComplete.BackColor = Color.Transparent; _btnComplete.BackColor1 = Color.Teal; _btnComplete.BackgroundImage = (Image)resources.GetObject("btnComplete.BackgroundImage"); _btnComplete.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnComplete.ButtonText = "OK"; _btnComplete.ButtonTextMarginLeft = 0; _btnComplete.ColorContrastOnClick = 45; _btnComplete.ColorContrastOnHover = 45; _btnComplete.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _btnComplete.CustomizableEdges = BorderEdges1; _btnComplete.DialogResult = DialogResult.None; _btnComplete.DisabledBorderColor = Color.Empty; _btnComplete.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnComplete.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnComplete.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnComplete.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnComplete.ForeColor = Color.White; _btnComplete.IconLeftCursor = Cursors.Hand; _btnComplete.IconMarginLeft = 11; _btnComplete.IconPadding = 10; _btnComplete.IconRightCursor = Cursors.Hand; _btnComplete.IdleBorderColor = Color.Teal; _btnComplete.IdleBorderRadius = 3; _btnComplete.IdleBorderThickness = 1; _btnComplete.IdleFillColor = Color.Teal; _btnComplete.IdleIconLeftImage = null; _btnComplete.IdleIconRightImage = null; _btnComplete.IndicateFocus = true; _btnComplete.Location = new Point(3, 3); _btnComplete.Name = "_btnComplete"; 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; _btnComplete.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; _btnComplete.OnPressedState = StateProperties2; _btnComplete.Size = new Size(66, 24); _btnComplete.TabIndex = 136; _btnComplete.TextAlign = ContentAlignment.MiddleCenter; _btnComplete.TextMarginLeft = 0; _btnComplete.UseDefaultRadiusAndThickness = true; // // btnCancel // _btnCancel.AllowToggling = false; _btnCancel.Anchor = AnchorStyles.Top | AnchorStyles.Right; _btnCancel.AnimationSpeed = 200; _btnCancel.AutoGenerateColors = false; _btnCancel.BackColor = Color.Transparent; _btnCancel.BackColor1 = Color.White; _btnCancel.BackgroundImage = (Image)resources.GetObject("btnCancel.BackgroundImage"); _btnCancel.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnCancel.ButtonText = "Cancel"; _btnCancel.ButtonTextMarginLeft = 0; _btnCancel.ColorContrastOnClick = 45; _btnCancel.ColorContrastOnHover = 45; _btnCancel.Cursor = Cursors.Hand; BorderEdges2.BottomLeft = true; BorderEdges2.BottomRight = true; BorderEdges2.TopLeft = true; BorderEdges2.TopRight = true; _btnCancel.CustomizableEdges = BorderEdges2; _btnCancel.DialogResult = DialogResult.None; _btnCancel.DisabledBorderColor = Color.Empty; _btnCancel.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnCancel.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnCancel.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnCancel.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnCancel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _btnCancel.IconLeftCursor = Cursors.Hand; _btnCancel.IconMarginLeft = 11; _btnCancel.IconPadding = 10; _btnCancel.IconRightCursor = Cursors.Hand; _btnCancel.IdleBorderColor = Color.Gray; _btnCancel.IdleBorderRadius = 3; _btnCancel.IdleBorderThickness = 1; _btnCancel.IdleFillColor = Color.White; _btnCancel.IdleIconLeftImage = null; _btnCancel.IdleIconRightImage = null; _btnCancel.IndicateFocus = true; _btnCancel.Location = new Point(77, 3); _btnCancel.Name = "_btnCancel"; 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; _btnCancel.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; _btnCancel.OnPressedState = StateProperties4; _btnCancel.Size = new Size(70, 24); _btnCancel.TabIndex = 137; _btnCancel.TextAlign = ContentAlignment.MiddleCenter; _btnCancel.TextMarginLeft = 0; _btnCancel.UseDefaultRadiusAndThickness = true; // // BunifuButton1 // _BunifuButton1.AllowToggling = false; _BunifuButton1.AnimationSpeed = 200; _BunifuButton1.AutoGenerateColors = false; _BunifuButton1.BackColor = Color.Transparent; _BunifuButton1.BackColor1 = Color.White; _BunifuButton1.BackgroundImage = (Image)resources.GetObject("BunifuButton1.BackgroundImage"); _BunifuButton1.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _BunifuButton1.ButtonText = "🗙"; _BunifuButton1.ButtonTextMarginLeft = 0; _BunifuButton1.ColorContrastOnClick = 45; _BunifuButton1.ColorContrastOnHover = 45; _BunifuButton1.Cursor = Cursors.Hand; BorderEdges3.BottomLeft = true; BorderEdges3.BottomRight = true; BorderEdges3.TopLeft = true; BorderEdges3.TopRight = true; _BunifuButton1.CustomizableEdges = BorderEdges3; _BunifuButton1.DialogResult = DialogResult.None; _BunifuButton1.DisabledBorderColor = Color.Empty; _BunifuButton1.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _BunifuButton1.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _BunifuButton1.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _BunifuButton1.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _BunifuButton1.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _BunifuButton1.IconLeftCursor = Cursors.Hand; _BunifuButton1.IconMarginLeft = 11; _BunifuButton1.IconPadding = 10; _BunifuButton1.IconRightCursor = Cursors.Hand; _BunifuButton1.IdleBorderColor = Color.White; _BunifuButton1.IdleBorderRadius = 20; _BunifuButton1.IdleBorderThickness = 1; _BunifuButton1.IdleFillColor = Color.White; _BunifuButton1.IdleIconLeftImage = null; _BunifuButton1.IdleIconRightImage = null; _BunifuButton1.IndicateFocus = true; _BunifuButton1.Location = new Point(523, 0); _BunifuButton1.Name = "_BunifuButton1"; StateProperties5.BorderColor = Color.Silver; StateProperties5.BorderRadius = 20; StateProperties5.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties5.BorderThickness = 1; StateProperties5.FillColor = Color.Silver; StateProperties5.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties5.IconLeftImage = null; StateProperties5.IconRightImage = null; _BunifuButton1.onHoverState = StateProperties5; StateProperties6.BorderColor = Color.Silver; StateProperties6.BorderRadius = 20; StateProperties6.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties6.BorderThickness = 1; StateProperties6.FillColor = Color.Silver; StateProperties6.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties6.IconLeftImage = null; StateProperties6.IconRightImage = null; _BunifuButton1.OnPressedState = StateProperties6; _BunifuButton1.Size = new Size(25, 25); _BunifuButton1.TabIndex = 237; _BunifuButton1.TextAlign = ContentAlignment.MiddleCenter; _BunifuButton1.TextMarginLeft = 0; _BunifuButton1.UseDefaultRadiusAndThickness = true; // // Label15 // Label15.AutoSize = true; Label15.Font = new Font("Segoe UI Semibold", 14.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label15.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); Label15.Location = new Point(12, 18); Label15.Name = "Label15"; Label15.Size = new Size(154, 25); Label15.TabIndex = 236; Label15.Text = "Add Distribution"; // // Label1 // Label1.AutoSize = true; Label1.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label1.Location = new Point(44, 135); Label1.Name = "Label1"; Label1.Size = new Size(83, 18); Label1.TabIndex = 235; Label1.Text = "From Date:"; // // BunifuElipse1 // BunifuElipse1.ElipseRadius = 20; BunifuElipse1.TargetControl = this; // // dtpFromDate // dtpFromDate.CalendarTrailingForeColor = Color.Teal; dtpFromDate.CustomFormat = " dd-MMM-yyyy hh:mm tt"; dtpFromDate.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); dtpFromDate.Format = DateTimePickerFormat.Custom; dtpFromDate.Location = new Point(133, 129); dtpFromDate.Name = "dtpFromDate"; dtpFromDate.RightToLeft = RightToLeft.No; dtpFromDate.Size = new Size(234, 26); dtpFromDate.TabIndex = 238; // // Label3 // Label3.AutoSize = true; Label3.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label3.Location = new Point(44, 164); Label3.Name = "Label3"; Label3.Size = new Size(65, 18); Label3.TabIndex = 239; Label3.Text = "To Date:"; // // dtpToDate // dtpToDate.CalendarTrailingForeColor = Color.Teal; dtpToDate.CustomFormat = " dd-MMM-yyyy hh:mm tt"; dtpToDate.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); dtpToDate.Format = DateTimePickerFormat.Custom; dtpToDate.Location = new Point(133, 161); dtpToDate.Name = "dtpToDate"; dtpToDate.RightToLeft = RightToLeft.No; dtpToDate.Size = new Size(234, 26); dtpToDate.TabIndex = 240; // // Label4 // Label4.AutoSize = true; Label4.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label4.Location = new Point(70, 92); Label4.Name = "Label4"; Label4.Size = new Size(57, 18); Label4.TabIndex = 242; Label4.Text = "Carrier:"; // // Label5 // Label5.AutoSize = true; Label5.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label5.Location = new Point(49, 58); Label5.Name = "Label5"; Label5.Size = new Size(78, 18); Label5.TabIndex = 243; Label5.Text = "Release #:"; // // Label7 // Label7.AutoSize = true; Label7.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label7.Location = new Point(323, 60); Label7.Name = "Label7"; Label7.Size = new Size(61, 18); Label7.TabIndex = 245; Label7.Text = "Pick up:"; // // Label6 // Label6.AutoSize = true; Label6.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label6.Location = new Point(323, 95); Label6.Name = "Label6"; Label6.Size = new Size(66, 18); Label6.TabIndex = 246; Label6.Text = "Drop off:"; // // lblPickUpCode // lblPickUpCode.BackColor = Color.Linen; lblPickUpCode.BorderStyle = BorderStyle.Fixed3D; lblPickUpCode.FlatStyle = FlatStyle.Flat; lblPickUpCode.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); lblPickUpCode.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); lblPickUpCode.Location = new Point(390, 54); lblPickUpCode.Name = "lblPickUpCode"; lblPickUpCode.Size = new Size(125, 27); lblPickUpCode.TabIndex = 247; lblPickUpCode.Text = "Pick up:"; lblPickUpCode.TextAlign = ContentAlignment.MiddleLeft; // // lblDropOff // lblDropOff.BackColor = Color.Linen; lblDropOff.BorderStyle = BorderStyle.Fixed3D; lblDropOff.FlatStyle = FlatStyle.Flat; lblDropOff.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); lblDropOff.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); lblDropOff.Location = new Point(390, 87); lblDropOff.Name = "lblDropOff"; lblDropOff.Size = new Size(125, 27); lblDropOff.TabIndex = 248; lblDropOff.Text = "Drop off"; lblDropOff.TextAlign = ContentAlignment.MiddleLeft; // // lblReleaseNumb // lblReleaseNumb.BackColor = Color.Linen; lblReleaseNumb.BorderStyle = BorderStyle.Fixed3D; lblReleaseNumb.FlatStyle = FlatStyle.Flat; lblReleaseNumb.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); lblReleaseNumb.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); lblReleaseNumb.Location = new Point(133, 54); lblReleaseNumb.Name = "lblReleaseNumb"; lblReleaseNumb.Size = new Size(176, 27); lblReleaseNumb.TabIndex = 249; lblReleaseNumb.Text = "Drop off"; lblReleaseNumb.TextAlign = ContentAlignment.MiddleLeft; // // lblCarrierCode // lblCarrierCode.BackColor = Color.Linen; lblCarrierCode.BorderStyle = BorderStyle.Fixed3D; lblCarrierCode.FlatStyle = FlatStyle.Flat; lblCarrierCode.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); lblCarrierCode.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); lblCarrierCode.Location = new Point(133, 88); lblCarrierCode.Name = "lblCarrierCode"; lblCarrierCode.Size = new Size(176, 27); lblCarrierCode.TabIndex = 250; lblCarrierCode.Text = "Carrier Code"; lblCarrierCode.TextAlign = ContentAlignment.MiddleLeft; // // FrmAddEditDistRequest // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(550, 289); Controls.Add(lblCarrierCode); Controls.Add(lblReleaseNumb); Controls.Add(lblDropOff); Controls.Add(lblPickUpCode); Controls.Add(Label6); Controls.Add(Label7); Controls.Add(Label5); Controls.Add(Label4); Controls.Add(Label3); Controls.Add(dtpToDate); Controls.Add(Label2); Controls.Add(nudQtyCans); Controls.Add(buttonsPanel); Controls.Add(_BunifuButton1); Controls.Add(Label15); Controls.Add(Label1); Controls.Add(dtpFromDate); FormBorderStyle = FormBorderStyle.None; Name = "FrmAddEditDistRequest"; Text = "FrmAddEditDistRequest"; ((System.ComponentModel.ISupportInitialize)nudQtyCans).EndInit(); buttonsPanel.ResumeLayout(false); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmAddEditBagLogo)); 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 StateProperties3 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties4 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties5 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties6 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var BorderEdges2 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderEdges(); var StateProperties7 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties8 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); _closeFlatButton = new Bunifu.Framework.UI.BunifuFlatButton(); _closeFlatButton.Click += new EventHandler(closeFlatButton_Click); Label17 = new Label(); Label1 = new Label(); BunifuSeparator4 = new Bunifu.Framework.UI.BunifuSeparator(); TableLayoutPanel4 = new TableLayoutPanel(); Label16 = new Label(); TableLayoutPanel5 = new TableLayoutPanel(); pbBagLogo = new PictureBox(); _btnUploadLogo = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnUploadLogo.Click += new EventHandler(BunifuButton1_Click); Label22 = new Label(); TableLayoutPanel7 = new TableLayoutPanel(); nudBagYear = new NumericUpDown(); Label23 = new Label(); _cbNoBagYear = new Bunifu.UI.WinForms.BunifuCheckBox(); _cbNoBagYear.CheckedChanged += new EventHandler <Bunifu.UI.WinForms.BunifuCheckBox.CheckedChangedEventArgs>(cbNoBagYear_CheckedChanged); tbLogoDescription = new BunifuTextBox(); Label14 = new Label(); _btnSave = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnSave.Click += new EventHandler(btnSave_Click); lblWarning = new Label(); TableLayoutPanel4.SuspendLayout(); TableLayoutPanel5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)pbBagLogo).BeginInit(); TableLayoutPanel7.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)nudBagYear).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(605, 0); _closeFlatButton.Margin = new Padding(7); _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, 41); _closeFlatButton.TabIndex = 173; _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)); // // 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", 11.78182f, 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(643, 41); Label17.TabIndex = 172; Label17.TextAlign = ContentAlignment.MiddleCenter; // // Label1 // Label1.AutoSize = true; Label1.Font = new Font("Segoe UI", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label1.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); Label1.Location = new Point(26, 51); Label1.Name = "Label1"; Label1.Size = new Size(209, 21); Label1.TabIndex = 176; Label1.Text = "Bag Logo/Special Printing"; // // BunifuSeparator4 // BunifuSeparator4.BackColor = Color.Transparent; BunifuSeparator4.ForeColor = Color.Gray; BunifuSeparator4.LineColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(105))); BunifuSeparator4.LineThickness = 1; BunifuSeparator4.Location = new Point(24, 73); BunifuSeparator4.Margin = new Padding(5); BunifuSeparator4.Name = "BunifuSeparator4"; BunifuSeparator4.Size = new Size(533, 19); BunifuSeparator4.TabIndex = 175; BunifuSeparator4.Transparency = 255; BunifuSeparator4.Vertical = false; // // TableLayoutPanel4 // TableLayoutPanel4.ColumnCount = 2; TableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 30.0f)); TableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 70.0f)); TableLayoutPanel4.Controls.Add(Label16, 0, 3); TableLayoutPanel4.Controls.Add(TableLayoutPanel5, 1, 3); TableLayoutPanel4.Controls.Add(Label22, 0, 2); TableLayoutPanel4.Controls.Add(TableLayoutPanel7, 1, 2); TableLayoutPanel4.Controls.Add(tbLogoDescription, 1, 1); TableLayoutPanel4.Controls.Add(Label14, 0, 1); TableLayoutPanel4.Location = new Point(27, 110); TableLayoutPanel4.Name = "TableLayoutPanel4"; TableLayoutPanel4.RowCount = 4; TableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Percent, 12.30769f)); TableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Percent, 87.69231f)); TableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Absolute, 37.0f)); TableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Absolute, 213.0f)); TableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Absolute, 22.0f)); TableLayoutPanel4.Size = new Size(533, 294); TableLayoutPanel4.TabIndex = 174; // // Label16 // Label16.Anchor = AnchorStyles.Top | AnchorStyles.Right; Label16.AutoSize = true; Label16.Location = new Point(71, 80); Label16.Name = "Label16"; Label16.Padding = new Padding(3); Label16.Size = new Size(85, 23); Label16.TabIndex = 6; Label16.Text = "Bag Image:"; // // TableLayoutPanel5 // TableLayoutPanel5.ColumnCount = 2; TableLayoutPanel5.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 59.29824f)); TableLayoutPanel5.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 40.70176f)); TableLayoutPanel5.Controls.Add(pbBagLogo, 0, 0); TableLayoutPanel5.Controls.Add(_btnUploadLogo, 1, 0); TableLayoutPanel5.Location = new Point(162, 83); TableLayoutPanel5.Name = "TableLayoutPanel5"; TableLayoutPanel5.RowCount = 1; TableLayoutPanel5.RowStyles.Add(new RowStyle(SizeType.Percent, 29.82456f)); TableLayoutPanel5.RowStyles.Add(new RowStyle(SizeType.Absolute, 208.0f)); TableLayoutPanel5.Size = new Size(333, 208); TableLayoutPanel5.TabIndex = 24; // // pbBagLogo // pbBagLogo.BorderStyle = BorderStyle.FixedSingle; pbBagLogo.Dock = DockStyle.Fill; pbBagLogo.Location = new Point(0, 0); pbBagLogo.Margin = new Padding(0); pbBagLogo.Name = "pbBagLogo"; pbBagLogo.Size = new Size(197, 208); pbBagLogo.SizeMode = PictureBoxSizeMode.Zoom; pbBagLogo.TabIndex = 24; pbBagLogo.TabStop = false; // // btnUploadLogo // _btnUploadLogo.AllowToggling = false; _btnUploadLogo.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; _btnUploadLogo.AnimationSpeed = 200; _btnUploadLogo.AutoGenerateColors = false; _btnUploadLogo.BackColor = Color.Transparent; _btnUploadLogo.BackColor1 = Color.Teal; _btnUploadLogo.BackgroundImage = (Image)resources.GetObject("btnUploadLogo.BackgroundImage"); _btnUploadLogo.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnUploadLogo.ButtonText = "Upload..."; _btnUploadLogo.ButtonTextMarginLeft = 0; _btnUploadLogo.ColorContrastOnClick = 45; _btnUploadLogo.ColorContrastOnHover = 45; _btnUploadLogo.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _btnUploadLogo.CustomizableEdges = BorderEdges1; _btnUploadLogo.DialogResult = DialogResult.None; _btnUploadLogo.DisabledBorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(191)), Conversions.ToInteger(Conversions.ToByte(191)), Conversions.ToInteger(Conversions.ToByte(191))); _btnUploadLogo.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnUploadLogo.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnUploadLogo.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnUploadLogo.Font = new Font("Segoe UI Semibold", 9.75f); _btnUploadLogo.ForeColor = Color.White; _btnUploadLogo.IconLeftCursor = Cursors.Hand; _btnUploadLogo.IconMarginLeft = 11; _btnUploadLogo.IconPadding = 10; _btnUploadLogo.IconRightCursor = Cursors.Hand; _btnUploadLogo.IdleBorderColor = Color.Teal; _btnUploadLogo.IdleBorderRadius = 3; _btnUploadLogo.IdleBorderThickness = 1; _btnUploadLogo.IdleFillColor = Color.Teal; _btnUploadLogo.IdleIconLeftImage = null; _btnUploadLogo.IdleIconRightImage = null; _btnUploadLogo.IndicateFocus = false; _btnUploadLogo.Location = new Point(200, 184); _btnUploadLogo.Name = "_btnUploadLogo"; 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; _btnUploadLogo.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; _btnUploadLogo.OnPressedState = StateProperties2; _btnUploadLogo.Size = new Size(72, 21); _btnUploadLogo.TabIndex = 25; _btnUploadLogo.TextAlign = ContentAlignment.MiddleCenter; _btnUploadLogo.TextMarginLeft = 0; _btnUploadLogo.UseDefaultRadiusAndThickness = true; // // Label22 // Label22.Anchor = AnchorStyles.Right; Label22.AutoSize = true; Label22.Location = new Point(53, 53); Label22.Name = "Label22"; Label22.Size = new Size(103, 17); Label22.TabIndex = 25; Label22.Text = "Bag/Logo Year"; // // TableLayoutPanel7 // TableLayoutPanel7.ColumnCount = 3; TableLayoutPanel7.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 82.87671f)); TableLayoutPanel7.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 17.12329f)); TableLayoutPanel7.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 191.0f)); TableLayoutPanel7.Controls.Add(nudBagYear, 0, 0); TableLayoutPanel7.Controls.Add(Label23, 2, 0); TableLayoutPanel7.Controls.Add(_cbNoBagYear, 1, 0); TableLayoutPanel7.Location = new Point(162, 46); TableLayoutPanel7.Name = "TableLayoutPanel7"; TableLayoutPanel7.RowCount = 1; TableLayoutPanel7.RowStyles.Add(new RowStyle(SizeType.Percent, 29.82456f)); TableLayoutPanel7.RowStyles.Add(new RowStyle(SizeType.Absolute, 31.0f)); TableLayoutPanel7.Size = new Size(333, 31); TableLayoutPanel7.TabIndex = 177; // // nudBagYear // nudBagYear.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); nudBagYear.Location = new Point(3, 3); nudBagYear.Maximum = new decimal(new int[] { 100000, 0, 0, 0 }); nudBagYear.Name = "nudBagYear"; nudBagYear.Size = new Size(109, 26); nudBagYear.TabIndex = 26; nudBagYear.TextAlign = HorizontalAlignment.Center; // // Label23 // Label23.Anchor = AnchorStyles.Left; Label23.AutoSize = true; Label23.Location = new Point(144, 7); Label23.Name = "Label23"; Label23.Size = new Size(31, 17); Label23.TabIndex = 177; Label23.Text = "N/A"; // // cbNoBagYear // _cbNoBagYear.AllowBindingControlAnimation = true; _cbNoBagYear.AllowBindingControlColorChanges = false; _cbNoBagYear.AllowBindingControlLocation = true; _cbNoBagYear.AllowCheckBoxAnimation = false; _cbNoBagYear.AllowCheckmarkAnimation = true; _cbNoBagYear.AllowOnHoverStates = true; _cbNoBagYear.Anchor = AnchorStyles.Right; _cbNoBagYear.AutoCheck = true; _cbNoBagYear.BackColor = Color.Transparent; _cbNoBagYear.BackgroundImage = (Image)resources.GetObject("cbNoBagYear.BackgroundImage"); _cbNoBagYear.BackgroundImageLayout = ImageLayout.Zoom; _cbNoBagYear.BindingControl = null; _cbNoBagYear.BindingControlPosition = Bunifu.UI.WinForms.BunifuCheckBox.BindingControlPositions.Right; _cbNoBagYear.Checked = false; _cbNoBagYear.CheckState = Bunifu.UI.WinForms.BunifuCheckBox.CheckStates.Unchecked; _cbNoBagYear.Cursor = Cursors.Hand; _cbNoBagYear.CustomCheckmarkImage = null; _cbNoBagYear.Location = new Point(120, 5); _cbNoBagYear.MinimumSize = new Size(20, 20); _cbNoBagYear.Name = "_cbNoBagYear"; _cbNoBagYear.OnCheck.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); _cbNoBagYear.OnCheck.BorderRadius = 2; _cbNoBagYear.OnCheck.BorderThickness = 2; _cbNoBagYear.OnCheck.CheckBoxColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); _cbNoBagYear.OnCheck.CheckmarkColor = Color.White; _cbNoBagYear.OnCheck.CheckmarkThickness = 2; _cbNoBagYear.OnDisable.BorderColor = Color.LightGray; _cbNoBagYear.OnDisable.BorderRadius = 2; _cbNoBagYear.OnDisable.BorderThickness = 2; _cbNoBagYear.OnDisable.CheckBoxColor = Color.Transparent; _cbNoBagYear.OnDisable.CheckmarkColor = Color.LightGray; _cbNoBagYear.OnDisable.CheckmarkThickness = 2; _cbNoBagYear.OnHoverChecked.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(255)), Conversions.ToInteger(Conversions.ToByte(128)), Conversions.ToInteger(Conversions.ToByte(0))); _cbNoBagYear.OnHoverChecked.BorderRadius = 2; _cbNoBagYear.OnHoverChecked.BorderThickness = 2; _cbNoBagYear.OnHoverChecked.CheckBoxColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(255)), Conversions.ToInteger(Conversions.ToByte(128)), Conversions.ToInteger(Conversions.ToByte(0))); _cbNoBagYear.OnHoverChecked.CheckmarkColor = Color.White; _cbNoBagYear.OnHoverChecked.CheckmarkThickness = 2; _cbNoBagYear.OnHoverUnchecked.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(255)), Conversions.ToInteger(Conversions.ToByte(128)), Conversions.ToInteger(Conversions.ToByte(0))); _cbNoBagYear.OnHoverUnchecked.BorderRadius = 2; _cbNoBagYear.OnHoverUnchecked.BorderThickness = 2; _cbNoBagYear.OnHoverUnchecked.CheckBoxColor = Color.Transparent; _cbNoBagYear.OnUncheck.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); _cbNoBagYear.OnUncheck.BorderRadius = 2; _cbNoBagYear.OnUncheck.BorderThickness = 2; _cbNoBagYear.OnUncheck.CheckBoxColor = Color.Transparent; _cbNoBagYear.Size = new Size(20, 20); _cbNoBagYear.Style = Bunifu.UI.WinForms.BunifuCheckBox.CheckBoxStyles.Bunifu; _cbNoBagYear.TabIndex = 178; _cbNoBagYear.ThreeState = false; _cbNoBagYear.ToolTipText = null; // // tbLogoDescription // tbLogoDescription.AcceptsReturn = false; tbLogoDescription.AcceptsTab = false; tbLogoDescription.AnimationSpeed = 200; tbLogoDescription.AutoCompleteMode = AutoCompleteMode.None; tbLogoDescription.AutoCompleteSource = AutoCompleteSource.None; tbLogoDescription.BackColor = Color.Transparent; tbLogoDescription.BackgroundImage = (Image)resources.GetObject("tbLogoDescription.BackgroundImage"); tbLogoDescription.BorderColorActive = Color.DodgerBlue; tbLogoDescription.BorderColorDisabled = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161))); tbLogoDescription.BorderColorHover = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); tbLogoDescription.BorderColorIdle = Color.Silver; tbLogoDescription.BorderRadius = 1; tbLogoDescription.BorderThickness = 1; tbLogoDescription.CharacterCasing = CharacterCasing.Normal; tbLogoDescription.Cursor = Cursors.IBeam; tbLogoDescription.DefaultFont = new Font("Segoe UI Semibold", 9.75f); tbLogoDescription.DefaultText = ""; tbLogoDescription.FillColor = Color.White; tbLogoDescription.HideSelection = true; tbLogoDescription.IconLeft = null; tbLogoDescription.IconLeftCursor = Cursors.IBeam; tbLogoDescription.IconPadding = 10; tbLogoDescription.IconRight = null; tbLogoDescription.IconRightCursor = Cursors.IBeam; tbLogoDescription.Lines = new string[0]; tbLogoDescription.Location = new Point(162, 8); tbLogoDescription.MaxLength = 32767; tbLogoDescription.MinimumSize = new Size(116, 35); tbLogoDescription.Modified = false; tbLogoDescription.Multiline = false; tbLogoDescription.Name = "tbLogoDescription"; StateProperties3.BorderColor = Color.DodgerBlue; StateProperties3.FillColor = Color.Empty; StateProperties3.ForeColor = Color.Empty; StateProperties3.PlaceholderForeColor = Color.Empty; tbLogoDescription.OnActiveState = StateProperties3; StateProperties4.BorderColor = Color.Empty; StateProperties4.FillColor = Color.White; StateProperties4.ForeColor = Color.Empty; StateProperties4.PlaceholderForeColor = Color.Silver; tbLogoDescription.OnDisabledState = StateProperties4; StateProperties5.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(105)), Conversions.ToInteger(Conversions.ToByte(181)), Conversions.ToInteger(Conversions.ToByte(255))); StateProperties5.FillColor = Color.Empty; StateProperties5.ForeColor = Color.Empty; StateProperties5.PlaceholderForeColor = Color.Empty; tbLogoDescription.OnHoverState = StateProperties5; StateProperties6.BorderColor = Color.Silver; StateProperties6.FillColor = Color.White; StateProperties6.ForeColor = Color.Empty; StateProperties6.PlaceholderForeColor = Color.Empty; tbLogoDescription.OnIdleState = StateProperties6; tbLogoDescription.PasswordChar = '\0'; tbLogoDescription.PlaceholderForeColor = Color.Silver; tbLogoDescription.PlaceholderText = ""; tbLogoDescription.ReadOnly = false; tbLogoDescription.ScrollBars = ScrollBars.None; tbLogoDescription.SelectedText = ""; tbLogoDescription.SelectionLength = 0; tbLogoDescription.SelectionStart = 0; tbLogoDescription.ShortcutsEnabled = true; tbLogoDescription.Size = new Size(368, 35); tbLogoDescription.Style = _Style.Bunifu; tbLogoDescription.TabIndex = 23; tbLogoDescription.TextAlign = HorizontalAlignment.Left; tbLogoDescription.TextMarginBottom = 0; tbLogoDescription.TextMarginLeft = 5; tbLogoDescription.TextMarginTop = 0; tbLogoDescription.TextPlaceholder = ""; tbLogoDescription.UseSystemPasswordChar = false; tbLogoDescription.WordWrap = true; // // Label14 // Label14.Anchor = AnchorStyles.Right; Label14.AutoSize = true; Label14.Location = new Point(37, 15); Label14.Name = "Label14"; Label14.Size = new Size(119, 17); Label14.TabIndex = 5; Label14.Text = "Logo Description:"; // // 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; BorderEdges2.BottomLeft = true; BorderEdges2.BottomRight = true; BorderEdges2.TopLeft = true; BorderEdges2.TopRight = true; _btnSave.CustomizableEdges = BorderEdges2; _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.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(265, 417); _btnSave.Name = "_btnSave"; 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(0)), Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(192))); StateProperties7.ForeColor = Color.White; StateProperties7.IconLeftImage = null; StateProperties7.IconRightImage = null; _btnSave.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.Teal; StateProperties8.ForeColor = Color.White; StateProperties8.IconLeftImage = null; StateProperties8.IconRightImage = null; _btnSave.OnPressedState = StateProperties8; _btnSave.Size = new Size(91, 30); _btnSave.TabIndex = 177; _btnSave.TextAlign = ContentAlignment.MiddleCenter; _btnSave.TextMarginLeft = 0; _btnSave.UseDefaultRadiusAndThickness = true; // // lblWarning // lblWarning.Anchor = AnchorStyles.Top | AnchorStyles.Right; lblWarning.ForeColor = Color.Red; lblWarning.Location = new Point(30, 87); lblWarning.Name = "lblWarning"; lblWarning.Padding = new Padding(3); lblWarning.Size = new Size(527, 23); lblWarning.TabIndex = 178; // // FrmAddEditBagLogo // AutoScaleDimensions = new SizeF(8.0f, 16.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(643, 459); Controls.Add(lblWarning); Controls.Add(_btnSave); Controls.Add(Label1); Controls.Add(BunifuSeparator4); Controls.Add(TableLayoutPanel4); 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); Name = "FrmAddEditBagLogo"; Text = "FrmAddEditBagLogo"; TableLayoutPanel4.ResumeLayout(false); TableLayoutPanel4.PerformLayout(); TableLayoutPanel5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)pbBagLogo).EndInit(); TableLayoutPanel7.ResumeLayout(false); TableLayoutPanel7.PerformLayout(); ((System.ComponentModel.ISupportInitialize)nudBagYear).EndInit(); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmOutGateReport)); 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); _closeFlatButton.Load += new EventHandler(closeFlatButton_Load); Label8 = new Label(); CrystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer(); _refreshInShapedButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _refreshInShapedButton.Click += new EventHandler(refreshInShapedButton_Click); toInBunifuDatePicker = new Bunifu.UI.WinForms.BunifuDatePicker(); fromInBunifuDatePicker = new Bunifu.UI.WinForms.BunifuDatePicker(); Label1 = new Label(); Label2 = new Label(); CrystalReportOuGate1 = new CrystalReportOuGate(); 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(1216, 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 = 168; _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(1259, 41); Label8.TabIndex = 167; Label8.TextAlign = ContentAlignment.MiddleCenter; // // CrystalReportViewer1 // CrystalReportViewer1.ActiveViewIndex = 0; CrystalReportViewer1.BorderStyle = BorderStyle.FixedSingle; CrystalReportViewer1.Cursor = Cursors.Default; CrystalReportViewer1.Dock = DockStyle.Fill; CrystalReportViewer1.Location = new Point(0, 41); CrystalReportViewer1.Name = "CrystalReportViewer1"; CrystalReportViewer1.ReportSource = CrystalReportOuGate1; CrystalReportViewer1.Size = new Size(1259, 758); CrystalReportViewer1.TabIndex = 169; // // refreshInShapedButton // _refreshInShapedButton.AllowToggling = false; _refreshInShapedButton.Anchor = AnchorStyles.None; _refreshInShapedButton.AnimationSpeed = 200; _refreshInShapedButton.AutoGenerateColors = false; _refreshInShapedButton.BackColor = Color.Transparent; _refreshInShapedButton.BackColor1 = Color.WhiteSmoke; _refreshInShapedButton.BackgroundImage = (Image)resources.GetObject("refreshInShapedButton.BackgroundImage"); _refreshInShapedButton.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _refreshInShapedButton.ButtonText = ""; _refreshInShapedButton.ButtonTextMarginLeft = 0; _refreshInShapedButton.ColorContrastOnClick = 45; _refreshInShapedButton.ColorContrastOnHover = 45; _refreshInShapedButton.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _refreshInShapedButton.CustomizableEdges = BorderEdges1; _refreshInShapedButton.DialogResult = DialogResult.None; _refreshInShapedButton.DisabledBorderColor = Color.Empty; _refreshInShapedButton.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _refreshInShapedButton.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _refreshInShapedButton.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _refreshInShapedButton.Font = new Font("Segoe UI Semibold", 9.75f); _refreshInShapedButton.ForeColor = Color.WhiteSmoke; _refreshInShapedButton.IconLeftCursor = Cursors.Hand; _refreshInShapedButton.IconMarginLeft = 3; _refreshInShapedButton.IconPadding = 3; _refreshInShapedButton.IconRightCursor = Cursors.Hand; _refreshInShapedButton.IdleBorderColor = Color.WhiteSmoke; _refreshInShapedButton.IdleBorderRadius = 3; _refreshInShapedButton.IdleBorderThickness = 1; _refreshInShapedButton.IdleFillColor = Color.WhiteSmoke; _refreshInShapedButton.IdleIconLeftImage = My.Resources.Resources.refresh_pngrepo_com; _refreshInShapedButton.IdleIconRightImage = null; _refreshInShapedButton.IndicateFocus = false; _refreshInShapedButton.Location = new Point(1041, 46); _refreshInShapedButton.Name = "_refreshInShapedButton"; StateProperties1.BorderColor = Color.Teal; StateProperties1.BorderRadius = 3; StateProperties1.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties1.BorderThickness = 1; StateProperties1.FillColor = Color.White; StateProperties1.ForeColor = Color.White; StateProperties1.IconLeftImage = null; StateProperties1.IconRightImage = null; _refreshInShapedButton.onHoverState = StateProperties1; StateProperties2.BorderColor = Color.White; StateProperties2.BorderRadius = 3; StateProperties2.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties2.BorderThickness = 1; StateProperties2.FillColor = Color.White; StateProperties2.ForeColor = Color.White; StateProperties2.IconLeftImage = null; StateProperties2.IconRightImage = null; _refreshInShapedButton.OnPressedState = StateProperties2; _refreshInShapedButton.Size = new Size(40, 31); _refreshInShapedButton.TabIndex = 174; _refreshInShapedButton.TextAlign = ContentAlignment.MiddleCenter; _refreshInShapedButton.TextMarginLeft = 0; _refreshInShapedButton.UseDefaultRadiusAndThickness = true; // // toInBunifuDatePicker // toInBunifuDatePicker.Anchor = AnchorStyles.None; toInBunifuDatePicker.BorderRadius = 3; toInBunifuDatePicker.CalendarFont = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); toInBunifuDatePicker.Color = Color.Teal; toInBunifuDatePicker.CustomFormat = "MMM dd, yyyy"; toInBunifuDatePicker.DateBorderThickness = Bunifu.UI.WinForms.BunifuDatePicker.BorderThickness.Thin; toInBunifuDatePicker.DateTextAlign = Bunifu.UI.WinForms.BunifuDatePicker.TextAlign.Left; toInBunifuDatePicker.DisabledColor = Color.Gray; toInBunifuDatePicker.DisplayWeekNumbers = false; toInBunifuDatePicker.DPHeight = 0; toInBunifuDatePicker.DropDownAlign = LeftRightAlignment.Right; toInBunifuDatePicker.FillDatePicker = false; toInBunifuDatePicker.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); toInBunifuDatePicker.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); toInBunifuDatePicker.Format = DateTimePickerFormat.Custom; toInBunifuDatePicker.Icon = (Image)resources.GetObject("toInBunifuDatePicker.Icon"); toInBunifuDatePicker.IconColor = Color.Teal; toInBunifuDatePicker.IconLocation = Bunifu.UI.WinForms.BunifuDatePicker.Indicator.Right; toInBunifuDatePicker.Location = new Point(876, 47); toInBunifuDatePicker.MinimumSize = new Size(160, 28); toInBunifuDatePicker.Name = "toInBunifuDatePicker"; toInBunifuDatePicker.Size = new Size(160, 31); toInBunifuDatePicker.TabIndex = 173; // // fromInBunifuDatePicker // fromInBunifuDatePicker.Anchor = AnchorStyles.None; fromInBunifuDatePicker.BorderRadius = 3; fromInBunifuDatePicker.CalendarFont = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); fromInBunifuDatePicker.Color = Color.Teal; fromInBunifuDatePicker.CustomFormat = "MMM dd, yyyy"; fromInBunifuDatePicker.DateBorderThickness = Bunifu.UI.WinForms.BunifuDatePicker.BorderThickness.Thin; fromInBunifuDatePicker.DateTextAlign = Bunifu.UI.WinForms.BunifuDatePicker.TextAlign.Left; fromInBunifuDatePicker.DisabledColor = Color.Gray; fromInBunifuDatePicker.DisplayWeekNumbers = false; fromInBunifuDatePicker.DPHeight = 0; fromInBunifuDatePicker.DropDownAlign = LeftRightAlignment.Right; fromInBunifuDatePicker.FillDatePicker = false; fromInBunifuDatePicker.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); fromInBunifuDatePicker.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); fromInBunifuDatePicker.Format = DateTimePickerFormat.Custom; fromInBunifuDatePicker.Icon = (Image)resources.GetObject("fromInBunifuDatePicker.Icon"); fromInBunifuDatePicker.IconColor = Color.Teal; fromInBunifuDatePicker.IconLocation = Bunifu.UI.WinForms.BunifuDatePicker.Indicator.Right; fromInBunifuDatePicker.Location = new Point(638, 46); fromInBunifuDatePicker.MinimumSize = new Size(160, 28); fromInBunifuDatePicker.Name = "fromInBunifuDatePicker"; fromInBunifuDatePicker.Size = new Size(160, 31); fromInBunifuDatePicker.TabIndex = 172; // // Label1 // Label1.Anchor = AnchorStyles.None; Label1.BackColor = Color.WhiteSmoke; Label1.Font = new Font("Segoe UI", 11.78182f, 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(834, 51); Label1.Margin = new Padding(0); Label1.Name = "Label1"; Label1.Size = new Size(39, 27); Label1.TabIndex = 171; Label1.Text = "To:"; Label1.TextAlign = ContentAlignment.MiddleRight; // // Label2 // Label2.Anchor = AnchorStyles.None; Label2.BackColor = Color.WhiteSmoke; Label2.Font = new Font("Segoe UI", 11.78182f, 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(570, 51); Label2.Margin = new Padding(0); Label2.Name = "Label2"; Label2.Size = new Size(65, 26); Label2.TabIndex = 170; Label2.Text = "From:"; Label2.TextAlign = ContentAlignment.MiddleRight; // // FrmOutGateReport // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(1259, 799); Controls.Add(_refreshInShapedButton); Controls.Add(toInBunifuDatePicker); Controls.Add(fromInBunifuDatePicker); Controls.Add(Label1); Controls.Add(Label2); Controls.Add(CrystalReportViewer1); Controls.Add(_closeFlatButton); Controls.Add(Label8); FormBorderStyle = FormBorderStyle.None; Name = "FrmOutGateReport"; Text = "FrmOutGateReport"; Load += new EventHandler(FrmOutGateReport_Load); ResumeLayout(false); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmCardAssignment)); var ToggleState1 = new Bunifu.ToggleSwitch.ToggleState(); var ToggleState2 = new Bunifu.ToggleSwitch.ToggleState(); var ToggleState3 = new Bunifu.ToggleSwitch.ToggleState(); 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(); reassignCardTitleLabel = new Label(); _BunifuToggleSwitch1 = new Bunifu.ToggleSwitch.BunifuToggleSwitch(); _BunifuToggleSwitch1.OnValuechange += new EventHandler(BunifuToggleSwitch1_OnValuechange); Label1 = new Label(); Label2 = new Label(); PictureBox1 = new PictureBox(); _closeButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _closeButton.Click += new EventHandler(closeButton_Click); ((System.ComponentModel.ISupportInitialize)PictureBox1).BeginInit(); SuspendLayout(); // // reassignCardTitleLabel // reassignCardTitleLabel.Font = new Font("Segoe UI Semibold", 13.74545f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); reassignCardTitleLabel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); reassignCardTitleLabel.Location = new Point(11, 63); reassignCardTitleLabel.Margin = new Padding(2, 0, 2, 0); reassignCardTitleLabel.Name = "reassignCardTitleLabel"; reassignCardTitleLabel.Size = new Size(566, 46); reassignCardTitleLabel.TabIndex = 1; reassignCardTitleLabel.Text = "Scan card that will be assigned to employee"; reassignCardTitleLabel.TextAlign = ContentAlignment.MiddleLeft; // // 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(603, 12); _BunifuToggleSwitch1.Name = "_BunifuToggleSwitch1"; _BunifuToggleSwitch1.Size = new Size(62, 31); _BunifuToggleSwitch1.TabIndex = 74; 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.Teal; ToggleState2.BackColorInner = Color.White; ToggleState2.BorderColor = Color.Teal; ToggleState2.BorderColorInner = Color.White; ToggleState2.BorderRadius = 17; ToggleState2.BorderRadiusInner = 15; ToggleState2.BorderThickness = 1; ToggleState2.BorderThicknessInner = 1; _BunifuToggleSwitch1.ToggleStateOff = ToggleState2; ToggleState3.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); ToggleState3.BackColorInner = Color.White; ToggleState3.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); ToggleState3.BorderColorInner = Color.White; ToggleState3.BorderRadius = 17; ToggleState3.BorderRadiusInner = 15; ToggleState3.BorderThickness = 1; ToggleState3.BorderThicknessInner = 1; _BunifuToggleSwitch1.ToggleStateOn = ToggleState3; _BunifuToggleSwitch1.Value = false; // // Label1 // Label1.Anchor = AnchorStyles.Top | AnchorStyles.Right; Label1.AutoSize = true; Label1.Font = new Font("Segoe UI", 11.78182f, 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(522, 18); Label1.Name = "Label1"; Label1.Size = new Size(75, 25); Label1.TabIndex = 75; Label1.Text = "Card ID"; // // Label2 // Label2.Anchor = AnchorStyles.Top | AnchorStyles.Right; Label2.AutoSize = true; Label2.Font = new Font("Segoe UI", 11.78182f, 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(671, 18); Label2.Name = "Label2"; Label2.Size = new Size(89, 25); Label2.TabIndex = 76; Label2.Text = "Phone ID"; // // PictureBox1 // PictureBox1.Location = new Point(279, 121); PictureBox1.Name = "PictureBox1"; PictureBox1.Size = new Size(251, 283); PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage; PictureBox1.TabIndex = 77; PictureBox1.TabStop = false; // // closeButton // _closeButton.AllowToggling = false; _closeButton.AnimationSpeed = 200; _closeButton.AutoGenerateColors = false; _closeButton.BackColor = Color.Transparent; _closeButton.BackColor1 = Color.Teal; _closeButton.BackgroundImage = (Image)resources.GetObject("closeButton.BackgroundImage"); _closeButton.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _closeButton.ButtonText = "Close"; _closeButton.ButtonTextMarginLeft = 0; _closeButton.ColorContrastOnClick = 45; _closeButton.ColorContrastOnHover = 45; _closeButton.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _closeButton.CustomizableEdges = BorderEdges1; _closeButton.DialogResult = DialogResult.None; _closeButton.DisabledBorderColor = Color.Empty; _closeButton.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _closeButton.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _closeButton.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _closeButton.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _closeButton.ForeColor = Color.White; _closeButton.IconLeftCursor = Cursors.Hand; _closeButton.IconMarginLeft = 11; _closeButton.IconPadding = 10; _closeButton.IconRightCursor = Cursors.Hand; _closeButton.IdleBorderColor = Color.Teal; _closeButton.IdleBorderRadius = 3; _closeButton.IdleBorderThickness = 1; _closeButton.IdleFillColor = Color.Teal; _closeButton.IdleIconLeftImage = null; _closeButton.IdleIconRightImage = null; _closeButton.IndicateFocus = true; _closeButton.Location = new Point(329, 456); _closeButton.Name = "_closeButton"; 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; _closeButton.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; _closeButton.OnPressedState = StateProperties2; _closeButton.Size = new Size(152, 45); _closeButton.TabIndex = 78; _closeButton.TextAlign = ContentAlignment.MiddleCenter; _closeButton.TextMarginLeft = 0; _closeButton.UseDefaultRadiusAndThickness = true; // // FrmCardAssignment // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(785, 515); ControlBox = false; Controls.Add(_closeButton); Controls.Add(PictureBox1); Controls.Add(Label2); Controls.Add(Label1); Controls.Add(_BunifuToggleSwitch1); Controls.Add(reassignCardTitleLabel); FormBorderStyle = FormBorderStyle.FixedSingle; KeyPreview = true; Margin = new Padding(2); MaximumSize = new Size(787, 551); MinimumSize = new Size(787, 515); Name = "FrmCardAssignment"; StartPosition = FormStartPosition.CenterScreen; ((System.ComponentModel.ISupportInitialize)PictureBox1).EndInit(); KeyDown += new KeyEventHandler(Key_press_KeyDown); Load += new EventHandler(FrmCardAssignment_Load); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { components = new System.ComponentModel.Container(); var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmRelDistSchDeclined)); 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 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(); Label2 = new Label(); lblTitle = new Label(); _btnComplete = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnComplete.Click += new EventHandler(btnComplete_Click); btnCancel = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); nudQtyCans = new NumericUpDown(); buttonsPanel = new TableLayoutPanel(); BunifuElipse1 = new Bunifu.Framework.UI.BunifuElipse(components); lblWarning = new Label(); tbNotes = new RichTextBox(); Label3 = new Label(); btnClose = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); Label1 = new Label(); cboDelineStatus = new ComboBox(); ((System.ComponentModel.ISupportInitialize)nudQtyCans).BeginInit(); buttonsPanel.SuspendLayout(); SuspendLayout(); // // Label2 // Label2.AutoSize = true; Label2.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.Location = new Point(55, 119); Label2.Name = "Label2"; Label2.Size = new Size(66, 18); Label2.TabIndex = 285; Label2.Text = "Quantity:"; // // lblTitle // lblTitle.AutoSize = true; lblTitle.Font = new Font("Segoe UI Semibold", 14.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); lblTitle.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); lblTitle.Location = new Point(23, 20); lblTitle.Name = "lblTitle"; lblTitle.Size = new Size(276, 25); lblTitle.TabIndex = 286; lblTitle.Text = "Distribution Schedule Declined"; // // btnComplete // _btnComplete.AllowToggling = false; _btnComplete.AnimationSpeed = 200; _btnComplete.AutoGenerateColors = false; _btnComplete.BackColor = Color.Transparent; _btnComplete.BackColor1 = Color.Teal; _btnComplete.BackgroundImage = (Image)resources.GetObject("btnComplete.BackgroundImage"); _btnComplete.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _btnComplete.ButtonText = "OK"; _btnComplete.ButtonTextMarginLeft = 0; _btnComplete.ColorContrastOnClick = 45; _btnComplete.ColorContrastOnHover = 45; _btnComplete.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _btnComplete.CustomizableEdges = BorderEdges1; _btnComplete.DialogResult = DialogResult.None; _btnComplete.DisabledBorderColor = Color.Empty; _btnComplete.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _btnComplete.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _btnComplete.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _btnComplete.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _btnComplete.ForeColor = Color.White; _btnComplete.IconLeftCursor = Cursors.Hand; _btnComplete.IconMarginLeft = 11; _btnComplete.IconPadding = 10; _btnComplete.IconRightCursor = Cursors.Hand; _btnComplete.IdleBorderColor = Color.Teal; _btnComplete.IdleBorderRadius = 3; _btnComplete.IdleBorderThickness = 1; _btnComplete.IdleFillColor = Color.Teal; _btnComplete.IdleIconLeftImage = null; _btnComplete.IdleIconRightImage = null; _btnComplete.IndicateFocus = true; _btnComplete.Location = new Point(3, 3); _btnComplete.Name = "_btnComplete"; 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; _btnComplete.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; _btnComplete.OnPressedState = StateProperties2; _btnComplete.Size = new Size(66, 24); _btnComplete.TabIndex = 136; _btnComplete.TextAlign = ContentAlignment.MiddleCenter; _btnComplete.TextMarginLeft = 0; _btnComplete.UseDefaultRadiusAndThickness = true; // // btnCancel // btnCancel.AllowToggling = false; btnCancel.Anchor = AnchorStyles.Top | AnchorStyles.Right; btnCancel.AnimationSpeed = 200; btnCancel.AutoGenerateColors = false; btnCancel.BackColor = Color.Transparent; btnCancel.BackColor1 = Color.White; btnCancel.BackgroundImage = (Image)resources.GetObject("btnCancel.BackgroundImage"); btnCancel.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; btnCancel.ButtonText = "Cancel"; btnCancel.ButtonTextMarginLeft = 0; btnCancel.ColorContrastOnClick = 45; btnCancel.ColorContrastOnHover = 45; btnCancel.Cursor = Cursors.Hand; BorderEdges2.BottomLeft = true; BorderEdges2.BottomRight = true; BorderEdges2.TopLeft = true; BorderEdges2.TopRight = true; btnCancel.CustomizableEdges = BorderEdges2; btnCancel.DialogResult = DialogResult.None; btnCancel.DisabledBorderColor = Color.Empty; btnCancel.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); btnCancel.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); btnCancel.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; btnCancel.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); btnCancel.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); btnCancel.IconLeftCursor = Cursors.Hand; btnCancel.IconMarginLeft = 11; btnCancel.IconPadding = 10; btnCancel.IconRightCursor = Cursors.Hand; btnCancel.IdleBorderColor = Color.Gray; btnCancel.IdleBorderRadius = 3; btnCancel.IdleBorderThickness = 1; btnCancel.IdleFillColor = Color.White; btnCancel.IdleIconLeftImage = null; btnCancel.IdleIconRightImage = null; btnCancel.IndicateFocus = true; btnCancel.Location = new Point(77, 3); btnCancel.Name = "btnCancel"; 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; btnCancel.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; btnCancel.OnPressedState = StateProperties4; btnCancel.Size = new Size(70, 24); btnCancel.TabIndex = 137; btnCancel.TextAlign = ContentAlignment.MiddleCenter; btnCancel.TextMarginLeft = 0; btnCancel.UseDefaultRadiusAndThickness = true; // // nudQtyCans // nudQtyCans.Font = new Font("Microsoft Sans Serif", 13.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); nudQtyCans.Location = new Point(127, 116); nudQtyCans.Maximum = new decimal(new int[] { 10000, 0, 0, 0 }); nudQtyCans.Name = "nudQtyCans"; nudQtyCans.Size = new Size(105, 27); nudQtyCans.TabIndex = 284; nudQtyCans.TextAlign = HorizontalAlignment.Center; // // buttonsPanel // buttonsPanel.ColumnCount = 2; buttonsPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 49.25373f)); buttonsPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50.74627f)); buttonsPanel.Controls.Add(_btnComplete, 0, 0); buttonsPanel.Controls.Add(btnCancel, 1, 0); buttonsPanel.Location = new Point(222, 241); buttonsPanel.Name = "buttonsPanel"; buttonsPanel.RowCount = 1; buttonsPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 50.0f)); buttonsPanel.Size = new Size(150, 31); buttonsPanel.TabIndex = 283; // // BunifuElipse1 // BunifuElipse1.ElipseRadius = 20; BunifuElipse1.TargetControl = this; // // lblWarning // lblWarning.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, 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(137, 52); lblWarning.Name = "lblWarning"; lblWarning.Size = new Size(424, 18); lblWarning.TabIndex = 292; lblWarning.TextAlign = ContentAlignment.MiddleCenter; // // tbNotes // tbNotes.Location = new Point(127, 149); tbNotes.Name = "tbNotes"; tbNotes.Size = new Size(375, 69); tbNotes.TabIndex = 291; tbNotes.Text = ""; // // Label3 // Label3.AutoSize = true; Label3.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label3.Location = new Point(69, 149); Label3.Name = "Label3"; Label3.Size = new Size(52, 18); Label3.TabIndex = 290; Label3.Text = "Notes:"; // // btnClose // btnClose.AllowToggling = false; btnClose.AnimationSpeed = 200; btnClose.AutoGenerateColors = false; btnClose.BackColor = Color.Transparent; btnClose.BackColor1 = Color.White; btnClose.BackgroundImage = (Image)resources.GetObject("btnClose.BackgroundImage"); btnClose.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; btnClose.ButtonText = "🗙"; btnClose.ButtonTextMarginLeft = 0; btnClose.ColorContrastOnClick = 45; btnClose.ColorContrastOnHover = 45; btnClose.Cursor = Cursors.Hand; BorderEdges3.BottomLeft = true; BorderEdges3.BottomRight = true; BorderEdges3.TopLeft = true; BorderEdges3.TopRight = true; btnClose.CustomizableEdges = BorderEdges3; btnClose.DialogResult = DialogResult.None; btnClose.DisabledBorderColor = Color.Empty; btnClose.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); btnClose.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); btnClose.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; btnClose.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); btnClose.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); btnClose.IconLeftCursor = Cursors.Hand; btnClose.IconMarginLeft = 11; btnClose.IconPadding = 10; btnClose.IconRightCursor = Cursors.Hand; btnClose.IdleBorderColor = Color.White; btnClose.IdleBorderRadius = 20; btnClose.IdleBorderThickness = 1; btnClose.IdleFillColor = Color.White; btnClose.IdleIconLeftImage = null; btnClose.IdleIconRightImage = null; btnClose.IndicateFocus = true; btnClose.Location = new Point(542, 3); btnClose.Name = "btnClose"; StateProperties5.BorderColor = Color.Silver; StateProperties5.BorderRadius = 20; StateProperties5.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties5.BorderThickness = 1; StateProperties5.FillColor = Color.Silver; StateProperties5.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties5.IconLeftImage = null; StateProperties5.IconRightImage = null; btnClose.onHoverState = StateProperties5; StateProperties6.BorderColor = Color.Silver; StateProperties6.BorderRadius = 20; StateProperties6.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties6.BorderThickness = 1; StateProperties6.FillColor = Color.Silver; StateProperties6.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties6.IconLeftImage = null; StateProperties6.IconRightImage = null; btnClose.OnPressedState = StateProperties6; btnClose.Size = new Size(25, 25); btnClose.TabIndex = 289; btnClose.TextAlign = ContentAlignment.MiddleCenter; btnClose.TextMarginLeft = 0; btnClose.UseDefaultRadiusAndThickness = true; // // Label1 // Label1.AutoSize = true; Label1.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label1.Location = new Point(57, 85); Label1.Name = "Label1"; Label1.Size = new Size(64, 18); Label1.TabIndex = 288; Label1.Text = "Reason:"; // // cboDelineStatus // cboDelineStatus.AutoCompleteMode = AutoCompleteMode.Append; cboDelineStatus.AutoCompleteSource = AutoCompleteSource.ListItems; cboDelineStatus.DropDownStyle = ComboBoxStyle.DropDownList; cboDelineStatus.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); cboDelineStatus.FormattingEnabled = true; cboDelineStatus.Items.AddRange(new object[] { "DECLINED" }); cboDelineStatus.Location = new Point(127, 81); cboDelineStatus.Name = "cboDelineStatus"; cboDelineStatus.Size = new Size(269, 28); cboDelineStatus.TabIndex = 287; // // FrmRelDistSchDeclined // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(577, 294); Controls.Add(Label2); Controls.Add(lblTitle); Controls.Add(nudQtyCans); Controls.Add(buttonsPanel); Controls.Add(lblWarning); Controls.Add(tbNotes); Controls.Add(Label3); Controls.Add(btnClose); Controls.Add(Label1); Controls.Add(cboDelineStatus); FormBorderStyle = FormBorderStyle.None; Name = "FrmRelDistSchDeclined"; Text = "FrmRelDistSchDeclined"; ((System.ComponentModel.ISupportInitialize)nudQtyCans).EndInit(); buttonsPanel.ResumeLayout(false); ResumeLayout(false); PerformLayout(); }