void InitializeUI() { SoftColor = UserInterface.SoftColor; Color HoverColor = Color.FromArgb(200, SoftColor); btnEdit.BackColor = btnEdit.Activecolor = btnEdit.Normalcolor = SoftColor; btnEdit.OnHovercolor = HoverColor; imgbtnExit.Image = ImageUtil.ColorImage(imgbtnExit.Image, ColorGray); Bunifu.Framework.UI.BunifuElipse Elipse = new Bunifu.Framework.UI.BunifuElipse { ElipseRadius = 7, TargetControl = pnlToolBox }; }
public Compacto() { InitializeComponent(); pnlCorEscolhida.Size = new Size(243, 103); foreach (Control c_panel in pnlCorEscolhida.Controls) { if (c_panel is Panel) { if (!c_panel.Name.Contains("Divi")) { Bunifu.Framework.UI.BunifuElipse elipse = new Bunifu.Framework.UI.BunifuElipse(); elipse.ApplyElipse(c_panel, 5); } } } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(doctorlogin)); this.bunifuElipse1 = new Bunifu.Framework.UI.BunifuElipse(this.components); this.bunifuGradientPanel1 = new Bunifu.Framework.UI.BunifuGradientPanel(); this.bunifuCustomLabel2 = new Bunifu.Framework.UI.BunifuCustomLabel(); this.bunifuCustomLabel1 = new Bunifu.Framework.UI.BunifuCustomLabel(); this.dctrRegBtn = new Bunifu.Framework.UI.BunifuImageButton(); this.dctrloginBtn = new Bunifu.Framework.UI.BunifuImageButton(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.bunifuGradientPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dctrRegBtn)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dctrloginBtn)).BeginInit(); this.SuspendLayout(); // // bunifuElipse1 // this.bunifuElipse1.ElipseRadius = 5; this.bunifuElipse1.TargetControl = this; // // bunifuGradientPanel1 // this.bunifuGradientPanel1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bunifuGradientPanel1.BackgroundImage"))); this.bunifuGradientPanel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.bunifuGradientPanel1.Controls.Add(this.bunifuCustomLabel2); this.bunifuGradientPanel1.Controls.Add(this.bunifuCustomLabel1); this.bunifuGradientPanel1.Controls.Add(this.dctrRegBtn); this.bunifuGradientPanel1.Controls.Add(this.dctrloginBtn); this.bunifuGradientPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.bunifuGradientPanel1.GradientBottomLeft = System.Drawing.Color.MidnightBlue; this.bunifuGradientPanel1.GradientBottomRight = System.Drawing.Color.Firebrick; this.bunifuGradientPanel1.GradientTopLeft = System.Drawing.Color.MidnightBlue; this.bunifuGradientPanel1.GradientTopRight = System.Drawing.Color.Firebrick; this.bunifuGradientPanel1.Location = new System.Drawing.Point(0, 0); this.bunifuGradientPanel1.Name = "bunifuGradientPanel1"; this.bunifuGradientPanel1.Quality = 10; this.bunifuGradientPanel1.Size = new System.Drawing.Size(797, 491); this.bunifuGradientPanel1.TabIndex = 0; // // bunifuCustomLabel2 // this.bunifuCustomLabel2.AutoSize = true; this.bunifuCustomLabel2.BackColor = System.Drawing.Color.Transparent; this.bunifuCustomLabel2.Font = new System.Drawing.Font("Perpetua Titling MT", 18F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.bunifuCustomLabel2.ForeColor = System.Drawing.Color.Gainsboro; this.bunifuCustomLabel2.Location = new System.Drawing.Point(361, 285); this.bunifuCustomLabel2.Name = "bunifuCustomLabel2"; this.bunifuCustomLabel2.Size = new System.Drawing.Size(117, 29); this.bunifuCustomLabel2.TabIndex = 3; this.bunifuCustomLabel2.Text = "SIGN UP"; // // bunifuCustomLabel1 // this.bunifuCustomLabel1.AutoSize = true; this.bunifuCustomLabel1.BackColor = System.Drawing.Color.Transparent; this.bunifuCustomLabel1.Font = new System.Drawing.Font("Perpetua Titling MT", 18F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.bunifuCustomLabel1.ForeColor = System.Drawing.Color.Gainsboro; this.bunifuCustomLabel1.Location = new System.Drawing.Point(134, 285); this.bunifuCustomLabel1.Name = "bunifuCustomLabel1"; this.bunifuCustomLabel1.Size = new System.Drawing.Size(96, 29); this.bunifuCustomLabel1.TabIndex = 2; this.bunifuCustomLabel1.Text = "LOGIN"; // // dctrRegBtn // this.dctrRegBtn.BackColor = System.Drawing.Color.Transparent; this.dctrRegBtn.Image = global::pmed.Properties.Resources.icons8_sign_up_50; this.dctrRegBtn.ImageActive = null; this.dctrRegBtn.Location = new System.Drawing.Point(366, 171); this.dctrRegBtn.Name = "dctrRegBtn"; this.dctrRegBtn.Size = new System.Drawing.Size(118, 99); this.dctrRegBtn.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.dctrRegBtn.TabIndex = 1; this.dctrRegBtn.TabStop = false; this.toolTip1.SetToolTip(this.dctrRegBtn, "Create account"); this.dctrRegBtn.Zoom = 10; this.dctrRegBtn.Click += new System.EventHandler(this.dctrRegBtn_Click); // // dctrloginBtn // this.dctrloginBtn.BackColor = System.Drawing.Color.Transparent; this.dctrloginBtn.Image = global::pmed.Properties.Resources.icons8_lock_80; this.dctrloginBtn.ImageActive = null; this.dctrloginBtn.Location = new System.Drawing.Point(139, 171); this.dctrloginBtn.Name = "dctrloginBtn"; this.dctrloginBtn.Size = new System.Drawing.Size(111, 99); this.dctrloginBtn.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.dctrloginBtn.TabIndex = 0; this.dctrloginBtn.TabStop = false; this.toolTip1.SetToolTip(this.dctrloginBtn, "For registered users.."); this.dctrloginBtn.Zoom = 10; this.dctrloginBtn.Click += new System.EventHandler(this.dctrloginBtn_Click); // // toolTip1 // this.toolTip1.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Info; this.toolTip1.ToolTipTitle = "Click!!"; // // doctorlogin // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(797, 491); this.Controls.Add(this.bunifuGradientPanel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "doctorlogin"; this.Text = "doctorlogin"; this.bunifuGradientPanel1.ResumeLayout(false); this.bunifuGradientPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dctrRegBtn)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dctrloginBtn)).EndInit(); this.ResumeLayout(false); }
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() { m_mediaManager = new MediaManager(); this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(formMainFrame)); this.panelControl = new System.Windows.Forms.Panel(); this.sliderVolume = new Bunifu.Framework.UI.BunifuSlider(); this.buttonShuffle = new Bunifu.Framework.UI.BunifuImageButton(); this.buttonRepeat = new Bunifu.Framework.UI.BunifuImageButton(); this.buttonVolumeMax = new Bunifu.Framework.UI.BunifuImageButton(); this.buttonVolumeMin = new Bunifu.Framework.UI.BunifuImageButton(); this.buttonPre = new Bunifu.Framework.UI.BunifuImageButton(); this.buttonNext = new Bunifu.Framework.UI.BunifuImageButton(); this.buttonPlay = new Bunifu.Framework.UI.BunifuImageButton(); this.processbarPlayTime = new Bunifu.Framework.UI.BunifuProgressBar(); this.elipseBorder = new Bunifu.Framework.UI.BunifuElipse(this.components); this.dragcontrolMainFrame = new Bunifu.Framework.UI.BunifuDragControl(this.components); this.gradientpanelUpperBar = new Bunifu.Framework.UI.BunifuGradientPanel(); this.buttonMinimize = new Bunifu.Framework.UI.BunifuImageButton(); this.buttonClose = new Bunifu.Framework.UI.BunifuImageButton(); this.panelLeft = new System.Windows.Forms.Panel(); this.separatorLeftMid = new Bunifu.Framework.UI.BunifuSeparator(); this.panelTrackList = new System.Windows.Forms.Panel(); this.panelTitle = new System.Windows.Forms.Panel(); this.buttonSlider = new Bunifu.Framework.UI.BunifuImageButton(); this.pictureboxTitle = new System.Windows.Forms.PictureBox(); this.panelMid = new System.Windows.Forms.Panel(); this.panelBlankTop = new System.Windows.Forms.Panel(); this.buttonClearList = new Bunifu.Framework.UI.BunifuThinButton2(); this.tooltipDescription = new System.Windows.Forms.ToolTip(this.components); this.panelControl.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.buttonShuffle)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.buttonRepeat)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.buttonVolumeMax)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.buttonVolumeMin)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.buttonPre)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.buttonNext)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.buttonPlay)).BeginInit(); this.gradientpanelUpperBar.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.buttonMinimize)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.buttonClose)).BeginInit(); this.panelLeft.SuspendLayout(); this.panelTitle.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.buttonSlider)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureboxTitle)).BeginInit(); this.panelBlankTop.SuspendLayout(); this.SuspendLayout(); // // panelControl // this.panelControl.Controls.Add(this.sliderVolume); this.panelControl.Controls.Add(this.buttonShuffle); this.panelControl.Controls.Add(this.buttonRepeat); this.panelControl.Controls.Add(this.buttonVolumeMax); this.panelControl.Controls.Add(this.buttonVolumeMin); this.panelControl.Controls.Add(this.buttonPre); this.panelControl.Controls.Add(this.buttonNext); this.panelControl.Controls.Add(this.buttonPlay); this.panelControl.Controls.Add(this.processbarPlayTime); this.panelControl.Dock = System.Windows.Forms.DockStyle.Bottom; this.panelControl.Location = new System.Drawing.Point(0, 416); this.panelControl.Name = "panelControl"; this.panelControl.Size = new System.Drawing.Size(768, 96); this.panelControl.TabIndex = 2; // // sliderVolume // this.sliderVolume.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.sliderVolume.BackColor = System.Drawing.Color.Transparent; this.sliderVolume.BackgroudColor = System.Drawing.Color.SlateGray; this.sliderVolume.BorderRadius = 2; this.sliderVolume.IndicatorColor = System.Drawing.Color.DarkSlateGray; this.sliderVolume.Location = new System.Drawing.Point(559, 41); this.sliderVolume.MaximumValue = 100; this.sliderVolume.Name = "sliderVolume"; this.sliderVolume.Size = new System.Drawing.Size(148, 30); this.sliderVolume.TabIndex = 13; this.tooltipDescription.SetToolTip(this.sliderVolume, "Adjust volume"); this.sliderVolume.Value = 0; // // buttonShuffle // this.buttonShuffle.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.buttonShuffle.BackColor = System.Drawing.Color.Transparent; this.buttonShuffle.Image = global::UIDesign.Properties.Resources.button_noneshuffle_background; this.buttonShuffle.ImageActive = null; this.buttonShuffle.Location = new System.Drawing.Point(191, 35); this.buttonShuffle.Name = "buttonShuffle"; this.buttonShuffle.Size = new System.Drawing.Size(40, 40); this.buttonShuffle.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.buttonShuffle.TabIndex = 10; this.buttonShuffle.TabStop = false; this.tooltipDescription.SetToolTip(this.buttonShuffle, "Shuffle mode"); this.buttonShuffle.Zoom = 10; this.buttonShuffle.Click += new System.EventHandler(this.buttonShuffle_Click); this.buttonShuffle.MouseLeave += new System.EventHandler(this.button_MouseLeave); this.buttonShuffle.MouseMove += new System.Windows.Forms.MouseEventHandler(this.button_MouseMove); // // buttonRepeat // this.buttonRepeat.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.buttonRepeat.BackColor = System.Drawing.Color.Transparent; this.buttonRepeat.Image = global::UIDesign.Properties.Resources.button_repeatnone_background; this.buttonRepeat.ImageActive = null; this.buttonRepeat.Location = new System.Drawing.Point(111, 35); this.buttonRepeat.Name = "buttonRepeat"; this.buttonRepeat.Size = new System.Drawing.Size(40, 40); this.buttonRepeat.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.buttonRepeat.TabIndex = 9; this.buttonRepeat.TabStop = false; this.tooltipDescription.SetToolTip(this.buttonRepeat, "Repeat mode"); this.buttonRepeat.Zoom = 10; this.buttonRepeat.Click += new System.EventHandler(this.buttonRepeat_Click); this.buttonRepeat.MouseLeave += new System.EventHandler(this.button_MouseLeave); this.buttonRepeat.MouseMove += new System.Windows.Forms.MouseEventHandler(this.button_MouseMove); // // buttonVolumeMax // this.buttonVolumeMax.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.buttonVolumeMax.BackColor = System.Drawing.Color.Transparent; this.buttonVolumeMax.Image = global::UIDesign.Properties.Resources.button_sound_background; this.buttonVolumeMax.ImageActive = null; this.buttonVolumeMax.Location = new System.Drawing.Point(713, 35); this.buttonVolumeMax.Name = "buttonVolumeMax"; this.buttonVolumeMax.Size = new System.Drawing.Size(40, 40); this.buttonVolumeMax.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.buttonVolumeMax.TabIndex = 6; this.buttonVolumeMax.TabStop = false; this.tooltipDescription.SetToolTip(this.buttonVolumeMax, "Maximum volume"); this.buttonVolumeMax.Zoom = 10; this.buttonVolumeMax.Click += new System.EventHandler(this.buttonVolumeMax_Click); this.buttonVolumeMax.MouseLeave += new System.EventHandler(this.button_MouseLeave); this.buttonVolumeMax.MouseMove += new System.Windows.Forms.MouseEventHandler(this.button_MouseMove); // // buttonVolumeMin // this.buttonVolumeMin.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.buttonVolumeMin.BackColor = System.Drawing.Color.Transparent; this.buttonVolumeMin.Image = global::UIDesign.Properties.Resources.button_mute_background; this.buttonVolumeMin.ImageActive = null; this.buttonVolumeMin.Location = new System.Drawing.Point(513, 35); this.buttonVolumeMin.Name = "buttonVolumeMin"; this.buttonVolumeMin.Size = new System.Drawing.Size(40, 40); this.buttonVolumeMin.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.buttonVolumeMin.TabIndex = 5; this.buttonVolumeMin.TabStop = false; this.tooltipDescription.SetToolTip(this.buttonVolumeMin, "Mute volume"); this.buttonVolumeMin.Zoom = 10; this.buttonVolumeMin.Click += new System.EventHandler(this.buttonVolumeMin_Click); this.buttonVolumeMin.MouseLeave += new System.EventHandler(this.button_MouseLeave); this.buttonVolumeMin.MouseMove += new System.Windows.Forms.MouseEventHandler(this.button_MouseMove); // // buttonPre // this.buttonPre.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.buttonPre.BackColor = System.Drawing.Color.Transparent; this.buttonPre.Image = global::UIDesign.Properties.Resources.button_previous_background; this.buttonPre.ImageActive = null; this.buttonPre.Location = new System.Drawing.Point(298, 32); this.buttonPre.Name = "buttonPre"; this.buttonPre.Size = new System.Drawing.Size(48, 48); this.buttonPre.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.buttonPre.TabIndex = 4; this.buttonPre.TabStop = false; this.tooltipDescription.SetToolTip(this.buttonPre, "Previous"); this.buttonPre.Zoom = 10; this.buttonPre.MouseLeave += new System.EventHandler(this.button_MouseLeave); this.buttonPre.MouseMove += new System.Windows.Forms.MouseEventHandler(this.button_MouseMove); // // buttonNext // this.buttonNext.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.buttonNext.BackColor = System.Drawing.Color.Transparent; this.buttonNext.Image = global::UIDesign.Properties.Resources.button_forward_background; this.buttonNext.ImageActive = null; this.buttonNext.Location = new System.Drawing.Point(406, 32); this.buttonNext.Name = "buttonNext"; this.buttonNext.Size = new System.Drawing.Size(48, 48); this.buttonNext.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.buttonNext.TabIndex = 3; this.buttonNext.TabStop = false; this.tooltipDescription.SetToolTip(this.buttonNext, "Next"); this.buttonNext.Zoom = 10; this.buttonNext.Click += new System.EventHandler(this.buttonNext_Click); this.buttonNext.MouseLeave += new System.EventHandler(this.button_MouseLeave); this.buttonNext.MouseMove += new System.Windows.Forms.MouseEventHandler(this.button_MouseMove); // // buttonPlay // this.buttonPlay.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.buttonPlay.BackColor = System.Drawing.Color.Transparent; this.buttonPlay.Image = global::UIDesign.Properties.Resources.button_play_background; this.buttonPlay.ImageActive = null; this.buttonPlay.Location = new System.Drawing.Point(352, 32); this.buttonPlay.Name = "buttonPlay"; this.buttonPlay.Size = new System.Drawing.Size(48, 48); this.buttonPlay.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.buttonPlay.TabIndex = 2; this.buttonPlay.TabStop = false; this.tooltipDescription.SetToolTip(this.buttonPlay, "Play/Pause"); this.buttonPlay.Zoom = 10; this.buttonPlay.Click += new System.EventHandler(this.buttonPlay_Click); this.buttonPlay.MouseLeave += new System.EventHandler(this.button_MouseLeave); this.buttonPlay.MouseMove += new System.Windows.Forms.MouseEventHandler(this.button_MouseMove); // // processbarPlayTime // this.processbarPlayTime.BackColor = System.Drawing.Color.LightSlateGray; this.processbarPlayTime.BorderRadius = 2; this.processbarPlayTime.Cursor = System.Windows.Forms.Cursors.Hand; this.processbarPlayTime.Dock = System.Windows.Forms.DockStyle.Top; this.processbarPlayTime.Location = new System.Drawing.Point(0, 0); this.processbarPlayTime.MaximumValue = 100; this.processbarPlayTime.Name = "processbarPlayTime"; this.processbarPlayTime.ProgressColor = System.Drawing.Color.DeepSkyBlue; this.processbarPlayTime.Size = new System.Drawing.Size(768, 12); this.processbarPlayTime.TabIndex = 1; this.processbarPlayTime.TabStop = false; this.tooltipDescription.SetToolTip(this.processbarPlayTime, "Timer process"); this.processbarPlayTime.Value = 0; // // elipseBorder // this.elipseBorder.ElipseRadius = 3; this.elipseBorder.TargetControl = this; // // dragcontrolMainFrame // this.dragcontrolMainFrame.Fixed = true; this.dragcontrolMainFrame.Horizontal = true; this.dragcontrolMainFrame.TargetControl = this.gradientpanelUpperBar; this.dragcontrolMainFrame.Vertical = true; // // gradientpanelUpperBar // this.gradientpanelUpperBar.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gradientpanelUpperBar.BackgroundImage"))); this.gradientpanelUpperBar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.gradientpanelUpperBar.Controls.Add(this.buttonMinimize); this.gradientpanelUpperBar.Controls.Add(this.buttonClose); this.gradientpanelUpperBar.Dock = System.Windows.Forms.DockStyle.Top; this.gradientpanelUpperBar.GradientBottomLeft = System.Drawing.Color.DeepSkyBlue; this.gradientpanelUpperBar.GradientBottomRight = System.Drawing.Color.LightSeaGreen; this.gradientpanelUpperBar.GradientTopLeft = System.Drawing.Color.DeepSkyBlue; this.gradientpanelUpperBar.GradientTopRight = System.Drawing.Color.LightSeaGreen; this.gradientpanelUpperBar.Location = new System.Drawing.Point(0, 0); this.gradientpanelUpperBar.Name = "gradientpanelUpperBar"; this.gradientpanelUpperBar.Quality = 10; this.gradientpanelUpperBar.Size = new System.Drawing.Size(768, 32); this.gradientpanelUpperBar.TabIndex = 0; this.gradientpanelUpperBar.Paint += new System.Windows.Forms.PaintEventHandler(this.gradientpanelUpperBar_Paint); this.gradientpanelUpperBar.DoubleClick += new System.EventHandler(this.gradientpanelUpperBar_DoubleClick); // // buttonMinimize // this.buttonMinimize.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.buttonMinimize.BackColor = System.Drawing.Color.Transparent; this.buttonMinimize.Image = global::UIDesign.Properties.Resources.button_minus_background; this.buttonMinimize.ImageActive = null; this.buttonMinimize.Location = new System.Drawing.Point(703, 0); this.buttonMinimize.Name = "buttonMinimize"; this.buttonMinimize.Size = new System.Drawing.Size(32, 32); this.buttonMinimize.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.buttonMinimize.TabIndex = 1; this.buttonMinimize.TabStop = false; this.tooltipDescription.SetToolTip(this.buttonMinimize, "Minimize to taskbar"); this.buttonMinimize.Zoom = 0; this.buttonMinimize.Click += new System.EventHandler(this.buttonMinimize_Click); this.buttonMinimize.MouseLeave += new System.EventHandler(this.button_MouseLeave); this.buttonMinimize.MouseMove += new System.Windows.Forms.MouseEventHandler(this.button_MouseMove); // // buttonClose // this.buttonClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.buttonClose.BackColor = System.Drawing.Color.Transparent; this.buttonClose.Image = global::UIDesign.Properties.Resources.button_close_background; this.buttonClose.ImageActive = null; this.buttonClose.Location = new System.Drawing.Point(735, 0); this.buttonClose.Name = "buttonClose"; this.buttonClose.Size = new System.Drawing.Size(32, 32); this.buttonClose.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.buttonClose.TabIndex = 0; this.buttonClose.TabStop = false; this.tooltipDescription.SetToolTip(this.buttonClose, "Close application"); this.buttonClose.Zoom = 0; this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click); this.buttonClose.MouseLeave += new System.EventHandler(this.button_MouseLeave); this.buttonClose.MouseMove += new System.Windows.Forms.MouseEventHandler(this.button_MouseMove); // // panelLeft // this.panelLeft.BackColor = System.Drawing.Color.Transparent; this.panelLeft.Controls.Add(this.separatorLeftMid); this.panelLeft.Controls.Add(this.panelTrackList); this.panelLeft.Controls.Add(this.panelTitle); this.panelLeft.Dock = System.Windows.Forms.DockStyle.Left; this.panelLeft.Font = new System.Drawing.Font("Calibri", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.panelLeft.ForeColor = System.Drawing.Color.Black; this.panelLeft.Location = new System.Drawing.Point(0, 32); this.panelLeft.Name = "panelLeft"; this.panelLeft.Size = new System.Drawing.Size(240, 384); this.panelLeft.TabIndex = 3; // // separatorLeftMid // this.separatorLeftMid.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); this.separatorLeftMid.BackColor = System.Drawing.Color.Transparent; this.separatorLeftMid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(130)))), ((int)(((byte)(180))))); this.separatorLeftMid.LineThickness = 1; this.separatorLeftMid.Location = new System.Drawing.Point(238, 0); this.separatorLeftMid.Name = "separatorLeftMid"; this.separatorLeftMid.Size = new System.Drawing.Size(2, 384); this.separatorLeftMid.TabIndex = 2; this.separatorLeftMid.Transparency = 255; this.separatorLeftMid.Vertical = true; // // panelTrackList // this.panelTrackList.AllowDrop = true; this.panelTrackList.AutoScroll = true; this.panelTrackList.BackColor = System.Drawing.Color.Transparent; this.panelTrackList.Cursor = System.Windows.Forms.Cursors.Cross; this.panelTrackList.Dock = System.Windows.Forms.DockStyle.Fill; this.panelTrackList.Location = new System.Drawing.Point(0, 32); this.panelTrackList.Name = "panelTrackList"; this.panelTrackList.Size = new System.Drawing.Size(240, 352); this.panelTrackList.TabIndex = 1; this.tooltipDescription.SetToolTip(this.panelTrackList, "Drag your files here to open them"); this.panelTrackList.DragDrop += new System.Windows.Forms.DragEventHandler(this.panelTrackList_DragDrop); this.panelTrackList.DragEnter += new System.Windows.Forms.DragEventHandler(this.panelTrackList_DragEnter); // // panelTitle // this.panelTitle.Controls.Add(this.buttonSlider); this.panelTitle.Controls.Add(this.pictureboxTitle); this.panelTitle.Dock = System.Windows.Forms.DockStyle.Top; this.panelTitle.Location = new System.Drawing.Point(0, 0); this.panelTitle.Name = "panelTitle"; this.panelTitle.Size = new System.Drawing.Size(240, 32); this.panelTitle.TabIndex = 0; // // buttonSlider // this.buttonSlider.BackColor = System.Drawing.Color.Transparent; this.buttonSlider.Dock = System.Windows.Forms.DockStyle.Left; this.buttonSlider.Image = global::UIDesign.Properties.Resources.button_menu_background; this.buttonSlider.ImageActive = null; this.buttonSlider.Location = new System.Drawing.Point(0, 0); this.buttonSlider.Name = "buttonSlider"; this.buttonSlider.Size = new System.Drawing.Size(48, 32); this.buttonSlider.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.buttonSlider.TabIndex = 6; this.buttonSlider.TabStop = false; this.tooltipDescription.SetToolTip(this.buttonSlider, "About me"); this.buttonSlider.Zoom = 10; this.buttonSlider.Click += new System.EventHandler(this.buttonSlider_Click); this.buttonSlider.MouseLeave += new System.EventHandler(this.button_MouseLeave); this.buttonSlider.MouseMove += new System.Windows.Forms.MouseEventHandler(this.button_MouseMove); // // pictureboxTitle // this.pictureboxTitle.Dock = System.Windows.Forms.DockStyle.Right; this.pictureboxTitle.Image = global::UIDesign.Properties.Resources.picture_title_background; this.pictureboxTitle.Location = new System.Drawing.Point(48, 0); this.pictureboxTitle.Name = "pictureboxTitle"; this.pictureboxTitle.Size = new System.Drawing.Size(192, 32); this.pictureboxTitle.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.pictureboxTitle.TabIndex = 0; this.pictureboxTitle.TabStop = false; // // panelMid // this.panelMid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panelMid.BackColor = System.Drawing.Color.Transparent; this.panelMid.Location = new System.Drawing.Point(240, 64); this.panelMid.Name = "panelMid"; this.panelMid.Size = new System.Drawing.Size(528, 352); this.panelMid.TabIndex = 4; // // panelBlankTop // this.panelBlankTop.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panelBlankTop.BackColor = System.Drawing.Color.Transparent; this.panelBlankTop.Controls.Add(this.buttonClearList); this.panelBlankTop.Location = new System.Drawing.Point(240, 32); this.panelBlankTop.Name = "panelBlankTop"; this.panelBlankTop.Size = new System.Drawing.Size(528, 32); this.panelBlankTop.TabIndex = 5; // // buttonClearList // this.buttonClearList.ActiveBorderThickness = 1; this.buttonClearList.ActiveCornerRadius = 2; this.buttonClearList.ActiveFillColor = System.Drawing.Color.DarkCyan; this.buttonClearList.ActiveForecolor = System.Drawing.Color.White; this.buttonClearList.ActiveLineColor = System.Drawing.Color.DarkCyan; this.buttonClearList.BackColor = System.Drawing.Color.Transparent; this.buttonClearList.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("buttonClearList.BackgroundImage"))); this.buttonClearList.ButtonText = "Clear list"; this.buttonClearList.Cursor = System.Windows.Forms.Cursors.Default; this.buttonClearList.Font = new System.Drawing.Font("Calibri", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.buttonClearList.ForeColor = System.Drawing.Color.DarkSlateGray; this.buttonClearList.IdleBorderThickness = 1; this.buttonClearList.IdleCornerRadius = 2; this.buttonClearList.IdleFillColor = System.Drawing.Color.LightCyan; this.buttonClearList.IdleForecolor = System.Drawing.Color.DarkCyan; this.buttonClearList.IdleLineColor = System.Drawing.Color.DarkCyan; this.buttonClearList.Location = new System.Drawing.Point(8, 0); this.buttonClearList.Margin = new System.Windows.Forms.Padding(5); this.buttonClearList.Name = "buttonClearList"; this.buttonClearList.Size = new System.Drawing.Size(64, 32); this.buttonClearList.TabIndex = 0; this.buttonClearList.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.tooltipDescription.SetToolTip(this.buttonClearList, "Clear all loaded files"); this.buttonClearList.Click += new System.EventHandler(this.buttonClearList_Click); // // tooltipDescription // this.tooltipDescription.AutoPopDelay = 3000; this.tooltipDescription.BackColor = System.Drawing.Color.White; this.tooltipDescription.ForeColor = System.Drawing.Color.DarkSlateGray; this.tooltipDescription.InitialDelay = 500; this.tooltipDescription.ReshowDelay = 100; this.tooltipDescription.ToolTipTitle = "Hint"; // // formMainFrame // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(768, 512); this.Controls.Add(this.panelBlankTop); this.Controls.Add(this.panelMid); this.Controls.Add(this.panelLeft); this.Controls.Add(this.panelControl); this.Controls.Add(this.gradientpanelUpperBar); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MinimumSize = new System.Drawing.Size(400, 300); this.Name = "formMainFrame"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Media Play"; this.Load += new System.EventHandler(this.formMainFrame_Load); this.panelControl.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.buttonShuffle)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.buttonRepeat)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.buttonVolumeMax)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.buttonVolumeMin)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.buttonPre)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.buttonNext)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.buttonPlay)).EndInit(); this.gradientpanelUpperBar.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.buttonMinimize)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.buttonClose)).EndInit(); this.panelLeft.ResumeLayout(false); this.panelTitle.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.buttonSlider)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureboxTitle)).EndInit(); this.panelBlankTop.ResumeLayout(false); this.ResumeLayout(false); }
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(); }
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() { components = new System.ComponentModel.Container(); var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmAddEditCarrierReqDist)); 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(); lblReleaseNumb = new Label(); Label5 = new Label(); 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(); _btnCancel.Click += new EventHandler(btnCancel_Click); nudQtyCans = new NumericUpDown(); buttonsPanel = new TableLayoutPanel(); BunifuElipse1 = new Bunifu.Framework.UI.BunifuElipse(components); cboCarrier = new ComboBox(); Label1 = new Label(); _btnClose = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _btnClose.Click += new EventHandler(btnCancel_Click); ((System.ComponentModel.ISupportInitialize)nudQtyCans).BeginInit(); buttonsPanel.SuspendLayout(); SuspendLayout(); // // 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(159, 52); lblReleaseNumb.Margin = new Padding(4, 0, 4, 0); lblReleaseNumb.Name = "lblReleaseNumb"; lblReleaseNumb.Size = new Size(235, 33); lblReleaseNumb.TabIndex = 266; lblReleaseNumb.Text = "Drop off"; lblReleaseNumb.TextAlign = ContentAlignment.MiddleLeft; // // Label5 // Label5.AutoSize = true; Label5.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label5.Location = new Point(47, 57); Label5.Margin = new Padding(4, 0, 4, 0); Label5.Name = "Label5"; Label5.Size = new Size(99, 24); Label5.TabIndex = 261; Label5.Text = "Release #:"; // // Label2 // Label2.AutoSize = true; Label2.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.Location = new Point(31, 142); Label2.Margin = new Padding(4, 0, 4, 0); Label2.Name = "Label2"; Label2.Size = new Size(117, 24); Label2.TabIndex = 253; Label2.Text = "Qty Needed:"; // // 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(32, 11); lblTitle.Margin = new Padding(4, 0, 4, 0); lblTitle.Name = "lblTitle"; lblTitle.Size = new Size(140, 32); lblTitle.TabIndex = 255; lblTitle.Text = "Add Carrier"; // // 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(4, 4); _btnComplete.Margin = new Padding(4, 4, 4, 4); _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(88, 30); _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(102, 4); _btnCancel.Margin = new Padding(4, 4, 4, 4); _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(94, 30); _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(159, 137); nudQtyCans.Margin = new Padding(4, 4, 4, 4); nudQtyCans.Maximum = new decimal(new int[] { 10000, 0, 0, 0 }); nudQtyCans.Name = "nudQtyCans"; nudQtyCans.Size = new Size(140, 32); nudQtyCans.TabIndex = 252; 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(193, 201); buttonsPanel.Margin = new Padding(4, 4, 4, 4); buttonsPanel.Name = "buttonsPanel"; buttonsPanel.RowCount = 1; buttonsPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 50.0f)); buttonsPanel.Size = new Size(200, 38); buttonsPanel.TabIndex = 251; // // BunifuElipse1 // BunifuElipse1.ElipseRadius = 20; BunifuElipse1.TargetControl = this; // // cboCarrier // cboCarrier.AutoCompleteMode = AutoCompleteMode.Append; cboCarrier.AutoCompleteSource = AutoCompleteSource.ListItems; cboCarrier.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); cboCarrier.FormattingEnabled = true; cboCarrier.Location = new Point(159, 94); cboCarrier.Margin = new Padding(4, 4, 4, 4); cboCarrier.Name = "cboCarrier"; cboCarrier.Size = new Size(408, 33); cboCarrier.TabIndex = 268; // // Label1 // Label1.AutoSize = true; Label1.Font = new Font("Microsoft Sans Serif", 11.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label1.Location = new Point(16, 98); Label1.Margin = new Padding(4, 0, 4, 0); Label1.Name = "Label1"; Label1.Size = new Size(127, 24); Label1.TabIndex = 269; Label1.Text = "Carrier Name:"; // // 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(567, -1); _btnClose.Margin = new Padding(4, 4, 4, 4); _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(33, 31); _btnClose.TabIndex = 270; _btnClose.TextAlign = ContentAlignment.MiddleCenter; _btnClose.TextMarginLeft = 0; _btnClose.UseDefaultRadiusAndThickness = true; // // FrmAddEditCarrierReqDist // AutoScaleDimensions = new SizeF(8.0f, 16.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(599, 260); Controls.Add(_btnClose); Controls.Add(Label1); Controls.Add(cboCarrier); Controls.Add(lblReleaseNumb); Controls.Add(Label5); Controls.Add(Label2); Controls.Add(lblTitle); Controls.Add(nudQtyCans); Controls.Add(buttonsPanel); FormBorderStyle = FormBorderStyle.None; Margin = new Padding(4, 4, 4, 4); Name = "FrmAddEditCarrierReqDist"; Text = "FrmAddEditCarrierReqDist"; ((System.ComponentModel.ISupportInitialize)nudQtyCans).EndInit(); buttonsPanel.ResumeLayout(false); ResumeLayout(false); PerformLayout(); }
/// <summary> /// Méthode requise pour la prise en charge du concepteur - ne modifiez pas /// le contenu de cette méthode avec l'éditeur de code. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.label1 = new System.Windows.Forms.Label(); this.name = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.vorname = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.alter = new System.Windows.Forms.TextBox(); this.adresse = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.plz = new System.Windows.Forms.TextBox(); this.stadt = new System.Windows.Forms.TextBox(); this.tel_fixe = new System.Windows.Forms.TextBox(); this.tel_port = new System.Windows.Forms.TextBox(); this.fax = new System.Windows.Forms.TextBox(); this.CreateObjectCV = new System.Windows.Forms.Button(); this.label10 = new System.Windows.Forms.Label(); this.email = new System.Windows.Forms.TextBox(); this.label11 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); this.ziel = new System.Windows.Forms.TextBox(); this.label13 = new System.Windows.Forms.Label(); this.sexe = new System.Windows.Forms.ComboBox(); this.label14 = new System.Windows.Forms.Label(); this.comp_prof = new System.Windows.Forms.RichTextBox(); this.label15 = new System.Windows.Forms.Label(); this.ausbildung = new System.Windows.Forms.RichTextBox(); this.centre_interet = new System.Windows.Forms.RichTextBox(); this.label16 = new System.Windows.Forms.Label(); this.ImgSrc = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); this.BtnSpeichern = new System.Windows.Forms.Button(); this.bunifuGradientPanel1 = new Bunifu.Framework.UI.BunifuGradientPanel(); this.srcimg = new System.Windows.Forms.PictureBox(); this.bunifuDragControl1 = new Bunifu.Framework.UI.BunifuDragControl(this.components); this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.bunifuElipse1 = new Bunifu.Framework.UI.BunifuElipse(this.components); this.pictureBox4 = new System.Windows.Forms.PictureBox(); this.bunifuElipse5 = new Bunifu.Framework.UI.BunifuElipse(this.components); this.bunifuGradientPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.srcimg)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit(); this.SuspendLayout(); // // label1 // this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(16, 34); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(104, 24); this.label1.TabIndex = 0; this.label1.Text = "Name :"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // name // this.name.BackColor = System.Drawing.Color.DarkSlateGray; this.name.BorderStyle = System.Windows.Forms.BorderStyle.None; this.name.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.name.ForeColor = System.Drawing.Color.White; this.name.Location = new System.Drawing.Point(136, 34); this.name.Name = "name"; this.name.Size = new System.Drawing.Size(100, 19); this.name.TabIndex = 1; // // label2 // this.label2.ForeColor = System.Drawing.Color.White; this.label2.Location = new System.Drawing.Point(256, 34); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(100, 23); this.label2.TabIndex = 2; this.label2.Text = "Vorname :"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // vorname // this.vorname.BackColor = System.Drawing.Color.DarkSlateGray; this.vorname.BorderStyle = System.Windows.Forms.BorderStyle.None; this.vorname.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.vorname.ForeColor = System.Drawing.Color.White; this.vorname.Location = new System.Drawing.Point(368, 34); this.vorname.Name = "vorname"; this.vorname.Size = new System.Drawing.Size(100, 19); this.vorname.TabIndex = 3; // // label3 // this.label3.ForeColor = System.Drawing.Color.White; this.label3.Location = new System.Drawing.Point(16, 66); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(104, 23); this.label3.TabIndex = 4; this.label3.Text = "Alter :"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label4 // this.label4.ForeColor = System.Drawing.Color.White; this.label4.Location = new System.Drawing.Point(256, 66); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(100, 23); this.label4.TabIndex = 5; this.label4.Text = "Adresse :"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // alter // this.alter.BackColor = System.Drawing.Color.DarkSlateGray; this.alter.BorderStyle = System.Windows.Forms.BorderStyle.None; this.alter.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.alter.ForeColor = System.Drawing.Color.White; this.alter.Location = new System.Drawing.Point(136, 66); this.alter.Name = "alter"; this.alter.Size = new System.Drawing.Size(100, 19); this.alter.TabIndex = 6; // // adresse // this.adresse.BackColor = System.Drawing.Color.DarkSlateGray; this.adresse.BorderStyle = System.Windows.Forms.BorderStyle.None; this.adresse.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.adresse.ForeColor = System.Drawing.Color.White; this.adresse.Location = new System.Drawing.Point(368, 66); this.adresse.Name = "adresse"; this.adresse.Size = new System.Drawing.Size(100, 19); this.adresse.TabIndex = 7; // // label5 // this.label5.ForeColor = System.Drawing.Color.White; this.label5.Location = new System.Drawing.Point(16, 98); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(100, 23); this.label5.TabIndex = 8; this.label5.Text = "PlZ :"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label6 // this.label6.ForeColor = System.Drawing.Color.White; this.label6.Location = new System.Drawing.Point(256, 98); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(100, 23); this.label6.TabIndex = 9; this.label6.Text = "Stadt :"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label7 // this.label7.ForeColor = System.Drawing.Color.White; this.label7.Location = new System.Drawing.Point(16, 130); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(100, 23); this.label7.TabIndex = 10; this.label7.Text = "Telefon (fix) :"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label8 // this.label8.ForeColor = System.Drawing.Color.White; this.label8.Location = new System.Drawing.Point(256, 130); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(100, 23); this.label8.TabIndex = 11; this.label8.Text = "Tel. Mobil :"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label9 // this.label9.ForeColor = System.Drawing.Color.White; this.label9.Location = new System.Drawing.Point(16, 162); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(100, 23); this.label9.TabIndex = 12; this.label9.Text = "Fax :"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // plz // this.plz.BackColor = System.Drawing.Color.DarkSlateGray; this.plz.BorderStyle = System.Windows.Forms.BorderStyle.None; this.plz.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.plz.ForeColor = System.Drawing.Color.White; this.plz.Location = new System.Drawing.Point(136, 98); this.plz.Name = "plz"; this.plz.Size = new System.Drawing.Size(100, 19); this.plz.TabIndex = 13; // // stadt // this.stadt.BackColor = System.Drawing.Color.DarkSlateGray; this.stadt.BorderStyle = System.Windows.Forms.BorderStyle.None; this.stadt.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.stadt.ForeColor = System.Drawing.Color.White; this.stadt.Location = new System.Drawing.Point(368, 98); this.stadt.Name = "stadt"; this.stadt.Size = new System.Drawing.Size(100, 19); this.stadt.TabIndex = 14; // // tel_fixe // this.tel_fixe.BackColor = System.Drawing.Color.DarkSlateGray; this.tel_fixe.BorderStyle = System.Windows.Forms.BorderStyle.None; this.tel_fixe.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tel_fixe.ForeColor = System.Drawing.Color.White; this.tel_fixe.Location = new System.Drawing.Point(136, 130); this.tel_fixe.Name = "tel_fixe"; this.tel_fixe.Size = new System.Drawing.Size(100, 19); this.tel_fixe.TabIndex = 15; // // tel_port // this.tel_port.BackColor = System.Drawing.Color.DarkSlateGray; this.tel_port.BorderStyle = System.Windows.Forms.BorderStyle.None; this.tel_port.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tel_port.ForeColor = System.Drawing.Color.White; this.tel_port.Location = new System.Drawing.Point(368, 130); this.tel_port.Name = "tel_port"; this.tel_port.Size = new System.Drawing.Size(100, 19); this.tel_port.TabIndex = 16; // // fax // this.fax.BackColor = System.Drawing.Color.DarkSlateGray; this.fax.BorderStyle = System.Windows.Forms.BorderStyle.None; this.fax.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.fax.ForeColor = System.Drawing.Color.White; this.fax.Location = new System.Drawing.Point(136, 162); this.fax.Name = "fax"; this.fax.Size = new System.Drawing.Size(100, 19); this.fax.TabIndex = 17; // // CreateObjectCV // this.CreateObjectCV.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.CreateObjectCV.ForeColor = System.Drawing.Color.White; this.CreateObjectCV.Location = new System.Drawing.Point(560, 610); this.CreateObjectCV.Name = "CreateObjectCV"; this.CreateObjectCV.Size = new System.Drawing.Size(128, 32); this.CreateObjectCV.TabIndex = 99; this.CreateObjectCV.Text = "erstellen / Visualisieren"; this.CreateObjectCV.Click += new System.EventHandler(this.CreateObjectCV_Click); // // label10 // this.label10.ForeColor = System.Drawing.Color.White; this.label10.Location = new System.Drawing.Point(256, 162); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(100, 23); this.label10.TabIndex = 19; this.label10.Text = "E-Mail :"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // email // this.email.BackColor = System.Drawing.Color.DarkSlateGray; this.email.BorderStyle = System.Windows.Forms.BorderStyle.None; this.email.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.email.ForeColor = System.Drawing.Color.White; this.email.Location = new System.Drawing.Point(368, 162); this.email.Name = "email"; this.email.Size = new System.Drawing.Size(100, 19); this.email.TabIndex = 20; // // label11 // this.label11.ForeColor = System.Drawing.Color.White; this.label11.Location = new System.Drawing.Point(488, 34); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(100, 24); this.label11.TabIndex = 21; this.label11.Text = "Bild"; this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label12 // this.label12.ForeColor = System.Drawing.Color.White; this.label12.Location = new System.Drawing.Point(16, 194); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(100, 23); this.label12.TabIndex = 22; this.label12.Text = "Ziel : "; this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // ziel // this.ziel.BackColor = System.Drawing.Color.DarkSlateGray; this.ziel.BorderStyle = System.Windows.Forms.BorderStyle.None; this.ziel.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ziel.ForeColor = System.Drawing.Color.White; this.ziel.Location = new System.Drawing.Point(136, 194); this.ziel.Name = "ziel"; this.ziel.Size = new System.Drawing.Size(552, 19); this.ziel.TabIndex = 23; // // label13 // this.label13.ForeColor = System.Drawing.Color.White; this.label13.Location = new System.Drawing.Point(488, 162); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(100, 23); this.label13.TabIndex = 24; this.label13.Text = "Geschlecht :"; this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // sexe // this.sexe.BackColor = System.Drawing.Color.DarkSlateGray; this.sexe.ForeColor = System.Drawing.Color.White; this.sexe.Items.AddRange(new object[] { "Feminin", "Maskulin" }); this.sexe.Location = new System.Drawing.Point(592, 162); this.sexe.Name = "sexe"; this.sexe.Size = new System.Drawing.Size(96, 21); this.sexe.Sorted = true; this.sexe.TabIndex = 25; // // label14 // this.label14.ForeColor = System.Drawing.Color.White; this.label14.Location = new System.Drawing.Point(8, 346); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(112, 23); this.label14.TabIndex = 26; this.label14.Text = "Ausbildung :"; this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // comp_prof // this.comp_prof.BackColor = System.Drawing.Color.DarkSlateGray; this.comp_prof.BorderStyle = System.Windows.Forms.BorderStyle.None; this.comp_prof.ForeColor = System.Drawing.Color.White; this.comp_prof.Location = new System.Drawing.Point(136, 226); this.comp_prof.Name = "comp_prof"; this.comp_prof.Size = new System.Drawing.Size(552, 112); this.comp_prof.TabIndex = 27; this.comp_prof.Text = ""; // // label15 // this.label15.ForeColor = System.Drawing.Color.White; this.label15.Location = new System.Drawing.Point(8, 226); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(112, 32); this.label15.TabIndex = 28; this.label15.Text = "Persönliche Kompetenze:"; this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // ausbildung // this.ausbildung.BackColor = System.Drawing.Color.DarkSlateGray; this.ausbildung.BorderStyle = System.Windows.Forms.BorderStyle.None; this.ausbildung.ForeColor = System.Drawing.Color.White; this.ausbildung.Location = new System.Drawing.Point(136, 354); this.ausbildung.Name = "ausbildung"; this.ausbildung.Size = new System.Drawing.Size(552, 112); this.ausbildung.TabIndex = 29; this.ausbildung.Text = ""; // // centre_interet // this.centre_interet.BackColor = System.Drawing.Color.DarkSlateGray; this.centre_interet.BorderStyle = System.Windows.Forms.BorderStyle.None; this.centre_interet.ForeColor = System.Drawing.Color.White; this.centre_interet.Location = new System.Drawing.Point(136, 482); this.centre_interet.Name = "centre_interet"; this.centre_interet.Size = new System.Drawing.Size(552, 112); this.centre_interet.TabIndex = 30; this.centre_interet.Text = ""; // // label16 // this.label16.ForeColor = System.Drawing.Color.White; this.label16.Location = new System.Drawing.Point(8, 482); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(112, 24); this.label16.TabIndex = 31; this.label16.Text = "Interesse :"; this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // ImgSrc // this.ImgSrc.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.ImgSrc.ForeColor = System.Drawing.Color.White; this.ImgSrc.Location = new System.Drawing.Point(600, 34); this.ImgSrc.Name = "ImgSrc"; this.ImgSrc.Size = new System.Drawing.Size(88, 23); this.ImgSrc.TabIndex = 100; this.ImgSrc.Text = "Duchsuchen"; this.ImgSrc.Click += new System.EventHandler(this.ImgSrc_Click); // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.ForeColor = System.Drawing.Color.White; this.button1.Location = new System.Drawing.Point(136, 610); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(128, 32); this.button1.TabIndex = 102; this.button1.Text = "Öffnen"; this.button1.Click += new System.EventHandler(this.button1_Click); // // BtnSpeichern // this.BtnSpeichern.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.BtnSpeichern.ForeColor = System.Drawing.Color.White; this.BtnSpeichern.Location = new System.Drawing.Point(352, 610); this.BtnSpeichern.Name = "BtnSpeichern"; this.BtnSpeichern.Size = new System.Drawing.Size(128, 32); this.BtnSpeichern.TabIndex = 103; this.BtnSpeichern.Text = "Speichern"; this.BtnSpeichern.Click += new System.EventHandler(this.button2_Click); // // bunifuGradientPanel1 // this.bunifuGradientPanel1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bunifuGradientPanel1.BackgroundImage"))); this.bunifuGradientPanel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.bunifuGradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.bunifuGradientPanel1.Controls.Add(this.button3); this.bunifuGradientPanel1.Controls.Add(this.button2); this.bunifuGradientPanel1.Dock = System.Windows.Forms.DockStyle.Top; this.bunifuGradientPanel1.GradientBottomLeft = System.Drawing.SystemColors.HotTrack; this.bunifuGradientPanel1.GradientBottomRight = System.Drawing.Color.SpringGreen; this.bunifuGradientPanel1.GradientTopLeft = System.Drawing.Color.DimGray; this.bunifuGradientPanel1.GradientTopRight = System.Drawing.Color.Maroon; this.bunifuGradientPanel1.Location = new System.Drawing.Point(0, 0); this.bunifuGradientPanel1.Name = "bunifuGradientPanel1"; this.bunifuGradientPanel1.Quality = 10; this.bunifuGradientPanel1.Size = new System.Drawing.Size(696, 28); this.bunifuGradientPanel1.TabIndex = 105; // // srcimg // this.srcimg.Location = new System.Drawing.Point(592, 61); this.srcimg.Name = "srcimg"; this.srcimg.Size = new System.Drawing.Size(95, 91); this.srcimg.TabIndex = 106; this.srcimg.TabStop = false; // // bunifuDragControl1 // this.bunifuDragControl1.Fixed = true; this.bunifuDragControl1.Horizontal = true; this.bunifuDragControl1.TargetControl = this.bunifuGradientPanel1; this.bunifuDragControl1.Vertical = true; // // button2 // this.button2.Dock = System.Windows.Forms.DockStyle.Right; this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button2.ForeColor = System.Drawing.Color.White; this.button2.Location = new System.Drawing.Point(660, 0); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(34, 26); this.button2.TabIndex = 107; this.button2.Text = "X"; this.button2.Click += new System.EventHandler(this.Button2_Click_1); // // button3 // this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F); this.button3.ForeColor = System.Drawing.Color.White; this.button3.Location = new System.Drawing.Point(599, -1); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(34, 27); this.button3.TabIndex = 108; this.button3.Text = "-"; this.button3.Click += new System.EventHandler(this.Button3_Click); // // bunifuElipse1 // this.bunifuElipse1.ElipseRadius = 5; this.bunifuElipse1.TargetControl = this; // // pictureBox4 // this.pictureBox4.BackColor = System.Drawing.Color.Transparent; this.pictureBox4.Image = global::Curiculum_Vitae.Properties.Resources.circle_github_icon_icons_com_66826; this.pictureBox4.Location = new System.Drawing.Point(0, 648); this.pictureBox4.Name = "pictureBox4"; this.pictureBox4.Size = new System.Drawing.Size(36, 32); this.pictureBox4.TabIndex = 112; this.pictureBox4.TabStop = false; this.pictureBox4.Click += new System.EventHandler(this.PictureBox4_Click); // // bunifuElipse5 // this.bunifuElipse5.ElipseRadius = 30; this.bunifuElipse5.TargetControl = this.pictureBox4; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.Color.Black; this.ClientSize = new System.Drawing.Size(696, 680); this.Controls.Add(this.pictureBox4); this.Controls.Add(this.srcimg); this.Controls.Add(this.bunifuGradientPanel1); this.Controls.Add(this.BtnSpeichern); this.Controls.Add(this.button1); this.Controls.Add(this.ImgSrc); this.Controls.Add(this.label16); this.Controls.Add(this.centre_interet); this.Controls.Add(this.ausbildung); this.Controls.Add(this.label15); this.Controls.Add(this.comp_prof); this.Controls.Add(this.label14); this.Controls.Add(this.sexe); this.Controls.Add(this.label13); this.Controls.Add(this.ziel); this.Controls.Add(this.label12); this.Controls.Add(this.label11); this.Controls.Add(this.email); this.Controls.Add(this.label10); this.Controls.Add(this.CreateObjectCV); this.Controls.Add(this.fax); this.Controls.Add(this.tel_port); this.Controls.Add(this.tel_fixe); this.Controls.Add(this.stadt); this.Controls.Add(this.plz); this.Controls.Add(this.label9); this.Controls.Add(this.label8); this.Controls.Add(this.label7); this.Controls.Add(this.label6); this.Controls.Add(this.label5); this.Controls.Add(this.adresse); this.Controls.Add(this.alter); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.vorname); this.Controls.Add(this.label2); this.Controls.Add(this.name); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Lebenslauf"; this.Closed += new System.EventHandler(this.Form1_Closing); this.bunifuGradientPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.srcimg)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAbout)); this.elipseBorder = new Bunifu.Framework.UI.BunifuElipse(this.components); this.gradientpanelUpperBar = new Bunifu.Framework.UI.BunifuGradientPanel(); this.buttonClose = new Bunifu.Framework.UI.BunifuImageButton(); this.dragcontrolUpperPanel = new Bunifu.Framework.UI.BunifuDragControl(this.components); this.panelInfor = new System.Windows.Forms.Panel(); this.panelImage = new System.Windows.Forms.Panel(); this.pictureboxImage = new System.Windows.Forms.PictureBox(); this.labelAuthor = new Bunifu.Framework.UI.BunifuCustomLabel(); this.labelContact = new Bunifu.Framework.UI.BunifuCustomLabel(); this.labelDescription = new Bunifu.Framework.UI.BunifuCustomLabel(); this.textboxAuthor = new WindowsFormsControlLibrary1.BunifuCustomTextbox(); this.bunifuCustomTextbox2 = new WindowsFormsControlLibrary1.BunifuCustomTextbox(); this.textboxDescription = new WindowsFormsControlLibrary1.BunifuCustomTextbox(); this.separator2 = new Bunifu.Framework.UI.BunifuSeparator(); this.separator1 = new Bunifu.Framework.UI.BunifuSeparator(); this.gradientpanelUpperBar.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.buttonClose)).BeginInit(); this.panelInfor.SuspendLayout(); this.panelImage.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureboxImage)).BeginInit(); this.SuspendLayout(); // // elipseBorder // this.elipseBorder.ElipseRadius = 3; this.elipseBorder.TargetControl = this.gradientpanelUpperBar; // // gradientpanelUpperBar // this.gradientpanelUpperBar.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gradientpanelUpperBar.BackgroundImage"))); this.gradientpanelUpperBar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.gradientpanelUpperBar.Controls.Add(this.buttonClose); this.gradientpanelUpperBar.Dock = System.Windows.Forms.DockStyle.Top; this.gradientpanelUpperBar.GradientBottomLeft = System.Drawing.Color.DeepSkyBlue; this.gradientpanelUpperBar.GradientBottomRight = System.Drawing.Color.LightSeaGreen; this.gradientpanelUpperBar.GradientTopLeft = System.Drawing.Color.DeepSkyBlue; this.gradientpanelUpperBar.GradientTopRight = System.Drawing.Color.LightSeaGreen; this.gradientpanelUpperBar.Location = new System.Drawing.Point(0, 0); this.gradientpanelUpperBar.Name = "gradientpanelUpperBar"; this.gradientpanelUpperBar.Quality = 10; this.gradientpanelUpperBar.Size = new System.Drawing.Size(384, 32); this.gradientpanelUpperBar.TabIndex = 1; // // buttonClose // this.buttonClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.buttonClose.BackColor = System.Drawing.Color.Transparent; this.buttonClose.Image = global::UIDesign.Properties.Resources.button_close_background; this.buttonClose.ImageActive = null; this.buttonClose.Location = new System.Drawing.Point(352, 0); this.buttonClose.Name = "buttonClose"; this.buttonClose.Size = new System.Drawing.Size(32, 32); this.buttonClose.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.buttonClose.TabIndex = 0; this.buttonClose.TabStop = false; this.buttonClose.Zoom = 0; this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click); this.buttonClose.MouseLeave += new System.EventHandler(this.buttonClose_MouseLeave); this.buttonClose.MouseMove += new System.Windows.Forms.MouseEventHandler(this.buttonClose_MouseMove); // // dragcontrolUpperPanel // this.dragcontrolUpperPanel.Fixed = true; this.dragcontrolUpperPanel.Horizontal = true; this.dragcontrolUpperPanel.TargetControl = this.gradientpanelUpperBar; this.dragcontrolUpperPanel.Vertical = true; // // panelInfor // this.panelInfor.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panelInfor.BackColor = System.Drawing.Color.White; this.panelInfor.Controls.Add(this.separator1); this.panelInfor.Controls.Add(this.separator2); this.panelInfor.Controls.Add(this.textboxDescription); this.panelInfor.Controls.Add(this.bunifuCustomTextbox2); this.panelInfor.Controls.Add(this.textboxAuthor); this.panelInfor.Controls.Add(this.labelDescription); this.panelInfor.Controls.Add(this.labelContact); this.panelInfor.Controls.Add(this.labelAuthor); this.panelInfor.Location = new System.Drawing.Point(144, 31); this.panelInfor.Name = "panelInfor"; this.panelInfor.Size = new System.Drawing.Size(239, 225); this.panelInfor.TabIndex = 5; // // panelImage // this.panelImage.BackColor = System.Drawing.Color.Transparent; this.panelImage.Controls.Add(this.pictureboxImage); this.panelImage.Location = new System.Drawing.Point(0, 32); this.panelImage.Name = "panelImage"; this.panelImage.Size = new System.Drawing.Size(142, 224); this.panelImage.TabIndex = 6; // // pictureboxImage // this.pictureboxImage.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.pictureboxImage.Image = global::UIDesign.Properties.Resources.form_about_background; this.pictureboxImage.Location = new System.Drawing.Point(1, 12); this.pictureboxImage.Name = "pictureboxImage"; this.pictureboxImage.Size = new System.Drawing.Size(133, 212); this.pictureboxImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.pictureboxImage.TabIndex = 0; this.pictureboxImage.TabStop = false; // // labelAuthor // this.labelAuthor.Anchor = System.Windows.Forms.AnchorStyles.Left; this.labelAuthor.AutoSize = true; this.labelAuthor.ForeColor = System.Drawing.Color.Red; this.labelAuthor.Location = new System.Drawing.Point(11, 25); this.labelAuthor.Name = "labelAuthor"; this.labelAuthor.Size = new System.Drawing.Size(43, 14); this.labelAuthor.TabIndex = 0; this.labelAuthor.Text = "Author"; // // labelContact // this.labelContact.Anchor = System.Windows.Forms.AnchorStyles.Left; this.labelContact.AutoSize = true; this.labelContact.ForeColor = System.Drawing.Color.Red; this.labelContact.Location = new System.Drawing.Point(11, 59); this.labelContact.Name = "labelContact"; this.labelContact.Size = new System.Drawing.Size(47, 14); this.labelContact.TabIndex = 1; this.labelContact.Text = "Contact"; // // labelDescription // this.labelDescription.Anchor = System.Windows.Forms.AnchorStyles.Left; this.labelDescription.AutoSize = true; this.labelDescription.ForeColor = System.Drawing.Color.Red; this.labelDescription.Location = new System.Drawing.Point(11, 102); this.labelDescription.Name = "labelDescription"; this.labelDescription.Size = new System.Drawing.Size(69, 14); this.labelDescription.TabIndex = 2; this.labelDescription.Text = "Description"; // // textboxAuthor // this.textboxAuthor.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.textboxAuthor.BackColor = System.Drawing.Color.White; this.textboxAuthor.BorderColor = System.Drawing.Color.Transparent; this.textboxAuthor.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textboxAuthor.Font = new System.Drawing.Font("Calibri", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.textboxAuthor.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(84)))), ((int)(((byte)(90))))); this.textboxAuthor.Location = new System.Drawing.Point(83, 24); this.textboxAuthor.Name = "textboxAuthor"; this.textboxAuthor.ReadOnly = true; this.textboxAuthor.Size = new System.Drawing.Size(145, 16); this.textboxAuthor.TabIndex = 3; this.textboxAuthor.TabStop = false; this.textboxAuthor.Text = "Trần Văn Sơn"; // // bunifuCustomTextbox2 // this.bunifuCustomTextbox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.bunifuCustomTextbox2.BackColor = System.Drawing.Color.White; this.bunifuCustomTextbox2.BorderColor = System.Drawing.Color.Transparent; this.bunifuCustomTextbox2.BorderStyle = System.Windows.Forms.BorderStyle.None; this.bunifuCustomTextbox2.Font = new System.Drawing.Font("Calibri", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.bunifuCustomTextbox2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(84)))), ((int)(((byte)(90))))); this.bunifuCustomTextbox2.Location = new System.Drawing.Point(83, 54); this.bunifuCustomTextbox2.Multiline = true; this.bunifuCustomTextbox2.Name = "bunifuCustomTextbox2"; this.bunifuCustomTextbox2.ReadOnly = true; this.bunifuCustomTextbox2.Size = new System.Drawing.Size(145, 48); this.bunifuCustomTextbox2.TabIndex = 4; this.bunifuCustomTextbox2.TabStop = false; this.bunifuCustomTextbox2.Text = "[email protected]\r\nfb:transon1812\r\nskype:kingson1812"; // // textboxDescription // this.textboxDescription.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.textboxDescription.BackColor = System.Drawing.Color.White; this.textboxDescription.BorderColor = System.Drawing.Color.Transparent; this.textboxDescription.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textboxDescription.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(84)))), ((int)(((byte)(90))))); this.textboxDescription.Location = new System.Drawing.Point(14, 124); this.textboxDescription.Multiline = true; this.textboxDescription.Name = "textboxDescription"; this.textboxDescription.ReadOnly = true; this.textboxDescription.Size = new System.Drawing.Size(214, 89); this.textboxDescription.TabIndex = 5; this.textboxDescription.TabStop = false; this.textboxDescription.Text = "Media Play is a product of entertainment. Hope you loved " + "it.\r\n\r\n\r\n\r\n>_< Copyright © 2017 -_- Tran V. Son ._."; // // separator2 // this.separator2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.separator2.BackColor = System.Drawing.Color.Transparent; this.separator2.LineColor = System.Drawing.Color.BurlyWood; this.separator2.LineThickness = 1; this.separator2.Location = new System.Drawing.Point(1, 101); this.separator2.Name = "separator2"; this.separator2.Size = new System.Drawing.Size(236, 1); this.separator2.TabIndex = 1; this.separator2.TabStop = false; this.separator2.Transparency = 255; this.separator2.Vertical = false; // // separator1 // this.separator1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.separator1.BackColor = System.Drawing.Color.Transparent; this.separator1.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(184)))), ((int)(((byte)(135))))); this.separator1.LineThickness = 1; this.separator1.Location = new System.Drawing.Point(1, 44); this.separator1.Name = "separator1"; this.separator1.Size = new System.Drawing.Size(236, 1); this.separator1.TabIndex = 6; this.separator1.TabStop = false; this.separator1.Transparency = 255; this.separator1.Vertical = false; // // frmAbout // this.BackColor = System.Drawing.Color.Magenta; this.ClientSize = new System.Drawing.Size(384, 256); this.Controls.Add(this.panelImage); this.Controls.Add(this.panelInfor); this.Controls.Add(this.gradientpanelUpperBar); this.Font = new System.Drawing.Font("Calibri", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.MaximumSize = new System.Drawing.Size(384, 256); this.Name = "frmAbout"; this.ShowIcon = false; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.TransparencyKey = System.Drawing.Color.Magenta; this.gradientpanelUpperBar.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.buttonClose)).EndInit(); this.panelInfor.ResumeLayout(false); this.panelInfor.PerformLayout(); this.panelImage.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pictureboxImage)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { components = new System.ComponentModel.Container(); var resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmAddEditRegionCity)); 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(); _tbSave = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _tbSave.Click += new EventHandler(tbSave_Click); Label7 = new Label(); tbCityName = new TextBox(); Label3 = new Label(); _cancelButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _cancelButton.Click += new EventHandler(cancelButton_Click); ImageList2 = new ImageList(components); BunifuElipse1 = new Bunifu.Framework.UI.BunifuElipse(components); ImageList1 = new ImageList(components); Label1 = new Label(); Label2 = new Label(); tbCityCode = new TextBox(); Label4 = new Label(); lblCountry = new Label(); cboRegionCode = new ComboBox(); SuspendLayout(); // // tbSave // _tbSave.AllowToggling = false; _tbSave.AnimationSpeed = 200; _tbSave.AutoGenerateColors = false; _tbSave.BackColor = Color.Transparent; _tbSave.BackColor1 = Color.Teal; _tbSave.BackgroundImage = (Image)resources.GetObject("tbSave.BackgroundImage"); _tbSave.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _tbSave.ButtonText = "Save"; _tbSave.ButtonTextMarginLeft = 0; _tbSave.ColorContrastOnClick = 45; _tbSave.ColorContrastOnHover = 45; _tbSave.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _tbSave.CustomizableEdges = BorderEdges1; _tbSave.DialogResult = DialogResult.None; _tbSave.DisabledBorderColor = Color.Empty; _tbSave.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _tbSave.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _tbSave.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _tbSave.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _tbSave.ForeColor = Color.White; _tbSave.IconLeftCursor = Cursors.Hand; _tbSave.IconMarginLeft = 11; _tbSave.IconPadding = 10; _tbSave.IconRightCursor = Cursors.Hand; _tbSave.IdleBorderColor = Color.Teal; _tbSave.IdleBorderRadius = 3; _tbSave.IdleBorderThickness = 1; _tbSave.IdleFillColor = Color.Teal; _tbSave.IdleIconLeftImage = null; _tbSave.IdleIconRightImage = null; _tbSave.IndicateFocus = true; _tbSave.Location = new Point(176, 198); _tbSave.Name = "_tbSave"; 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; _tbSave.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; _tbSave.OnPressedState = StateProperties2; _tbSave.Size = new Size(90, 31); _tbSave.TabIndex = 74; _tbSave.TextAlign = ContentAlignment.MiddleCenter; _tbSave.TextMarginLeft = 0; _tbSave.UseDefaultRadiusAndThickness = true; // // Label7 // Label7.AutoSize = true; Label7.Font = new Font("Segoe UI Semibold", 14.0f, 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(20, 22); Label7.Name = "Label7"; Label7.Size = new Size(118, 25); Label7.TabIndex = 72; Label7.Text = "Edit Address"; // // tbCityName // tbCityName.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); tbCityName.Location = new Point(146, 118); tbCityName.Name = "tbCityName"; tbCityName.Size = new Size(243, 26); tbCityName.TabIndex = 6; // // Label3 // Label3.AutoSize = true; Label3.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label3.Location = new Point(55, 121); Label3.Name = "Label3"; Label3.Size = new Size(85, 20); Label3.TabIndex = 2; Label3.Text = "City Name:"; Label3.TextAlign = ContentAlignment.MiddleLeft; // // cancelButton // _cancelButton.AllowToggling = false; _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; 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("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(426, 2); _cancelButton.Name = "_cancelButton"; StateProperties3.BorderColor = Color.DarkGray; StateProperties3.BorderRadius = 20; 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 = 20; 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(26, 23); _cancelButton.TabIndex = 75; _cancelButton.TextAlign = ContentAlignment.MiddleCenter; _cancelButton.TextMarginLeft = 0; _cancelButton.UseDefaultRadiusAndThickness = true; // // ImageList2 // ImageList2.ImageStream = (ImageListStreamer)resources.GetObject("ImageList2.ImageStream"); ImageList2.TransparentColor = Color.Transparent; ImageList2.Images.SetKeyName(0, "redBall.png"); // // BunifuElipse1 // BunifuElipse1.ElipseRadius = 15; BunifuElipse1.TargetControl = this; // // ImageList1 // ImageList1.ImageStream = (ImageListStreamer)resources.GetObject("ImageList1.ImageStream"); ImageList1.TransparentColor = Color.Transparent; ImageList1.Images.SetKeyName(0, "blueBall.png"); // // Label1 // Label1.AutoSize = true; Label1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label1.Location = new Point(34, 90); Label1.Name = "Label1"; Label1.Size = new Size(106, 20); Label1.TabIndex = 77; Label1.Text = "Provice Code:"; Label1.TextAlign = ContentAlignment.MiddleLeft; // // Label2 // Label2.AutoSize = true; Label2.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.Location = new Point(59, 151); Label2.Name = "Label2"; Label2.Size = new Size(81, 20); Label2.TabIndex = 78; Label2.Text = "City Code:"; Label2.TextAlign = ContentAlignment.MiddleLeft; // // tbCityCode // tbCityCode.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); tbCityCode.Location = new Point(146, 148); tbCityCode.MaxLength = 3; tbCityCode.Name = "tbCityCode"; tbCityCode.Size = new Size(107, 26); tbCityCode.TabIndex = 79; // // Label4 // Label4.AutoSize = true; Label4.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label4.Location = new Point(70, 59); Label4.Name = "Label4"; Label4.Size = new Size(68, 20); Label4.TabIndex = 80; Label4.Text = "Country:"; Label4.TextAlign = ContentAlignment.MiddleLeft; // // lblCountry // lblCountry.AutoSize = true; lblCountry.BackColor = Color.SeaShell; lblCountry.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); lblCountry.Location = new Point(145, 57); lblCountry.Name = "lblCountry"; lblCountry.Padding = new Padding(2); lblCountry.Size = new Size(121, 24); lblCountry.TabIndex = 81; lblCountry.Text = "CountryName"; lblCountry.TextAlign = ContentAlignment.MiddleLeft; // // cboRegionCode // cboRegionCode.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); cboRegionCode.FormattingEnabled = true; cboRegionCode.Items.AddRange(new object[] { "CUSTOMER", "VENDOR", "CUSTOMER | VENDOR" }); cboRegionCode.Location = new Point(146, 84); cboRegionCode.Name = "cboRegionCode"; cboRegionCode.Size = new Size(120, 28); cboRegionCode.TabIndex = 82; // // FrmAddEditRegionCity // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(455, 254); Controls.Add(cboRegionCode); Controls.Add(lblCountry); Controls.Add(Label4); Controls.Add(tbCityCode); Controls.Add(Label2); Controls.Add(Label1); Controls.Add(_tbSave); Controls.Add(Label7); Controls.Add(_cancelButton); Controls.Add(Label3); Controls.Add(tbCityName); FormBorderStyle = FormBorderStyle.None; Name = "FrmAddEditRegionCity"; Text = "FrmAddEditRegionCity"; ResumeLayout(false); PerformLayout(); }
/// <summary> /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改 /// 這個方法的內容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Bunifu.Framework.UI.BunifuElipse bunifuElipse1; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties stateProperties5 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties stateProperties6 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties stateProperties7 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties stateProperties8 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); this.bunifuFormDock1 = new Bunifu.UI.WinForms.BunifuFormDock(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.TextBox4 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox(); this.TextBox3 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox(); this.TextBox2 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox(); this.TextBox1 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox(); this.bunifuButton2 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); this.bunifuButton1 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); this.bunifuGradientPanel1 = new Bunifu.Framework.UI.BunifuGradientPanel(); bunifuElipse1 = new Bunifu.Framework.UI.BunifuElipse(this.components); this.SuspendLayout(); // // bunifuElipse1 // bunifuElipse1.ElipseRadius = 10; bunifuElipse1.TargetControl = this; // // bunifuFormDock1 // this.bunifuFormDock1.AllowFormDragging = false; this.bunifuFormDock1.AllowFormDropShadow = true; this.bunifuFormDock1.AllowFormResizing = false; this.bunifuFormDock1.AllowHidingBottomRegion = true; this.bunifuFormDock1.AllowOpacityChangesWhileDragging = false; this.bunifuFormDock1.BorderOptions.BottomBorder.BorderColor = System.Drawing.Color.Silver; this.bunifuFormDock1.BorderOptions.BottomBorder.BorderThickness = 1; this.bunifuFormDock1.BorderOptions.BottomBorder.ShowBorder = true; this.bunifuFormDock1.BorderOptions.LeftBorder.BorderColor = System.Drawing.Color.Silver; this.bunifuFormDock1.BorderOptions.LeftBorder.BorderThickness = 1; this.bunifuFormDock1.BorderOptions.LeftBorder.ShowBorder = true; this.bunifuFormDock1.BorderOptions.RightBorder.BorderColor = System.Drawing.Color.Silver; this.bunifuFormDock1.BorderOptions.RightBorder.BorderThickness = 1; this.bunifuFormDock1.BorderOptions.RightBorder.ShowBorder = true; this.bunifuFormDock1.BorderOptions.TopBorder.BorderColor = System.Drawing.Color.Silver; this.bunifuFormDock1.BorderOptions.TopBorder.BorderThickness = 1; this.bunifuFormDock1.BorderOptions.TopBorder.ShowBorder = true; this.bunifuFormDock1.ContainerControl = this; this.bunifuFormDock1.DockingIndicatorsColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(215)))), ((int)(((byte)(233))))); this.bunifuFormDock1.DockingIndicatorsOpacity = 0.5D; this.bunifuFormDock1.DockingOptions.DockAll = true; this.bunifuFormDock1.DockingOptions.DockBottomLeft = true; this.bunifuFormDock1.DockingOptions.DockBottomRight = true; this.bunifuFormDock1.DockingOptions.DockFullScreen = true; this.bunifuFormDock1.DockingOptions.DockLeft = true; this.bunifuFormDock1.DockingOptions.DockRight = true; this.bunifuFormDock1.DockingOptions.DockTopLeft = true; this.bunifuFormDock1.DockingOptions.DockTopRight = true; this.bunifuFormDock1.FormDraggingOpacity = 0.9D; this.bunifuFormDock1.ParentForm = this; this.bunifuFormDock1.ShowCursorChanges = false; this.bunifuFormDock1.ShowDockingIndicators = false; this.bunifuFormDock1.TitleBarOptions.AllowFormDragging = true; this.bunifuFormDock1.TitleBarOptions.BunifuFormDock = this.bunifuFormDock1; this.bunifuFormDock1.TitleBarOptions.DoubleClickToExpandWindow = true; this.bunifuFormDock1.TitleBarOptions.TitleBarControl = this.bunifuGradientPanel1; this.bunifuFormDock1.TitleBarOptions.UseBackColorOnDockingIndicators = false; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("cwTeX 圓體", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.label1.Location = new System.Drawing.Point(104, 38); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(104, 31); this.label1.TabIndex = 1; this.label1.Text = "塗鴉板"; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("cwTeX 圓體", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.label2.ForeColor = System.Drawing.SystemColors.AppWorkspace; this.label2.Location = new System.Drawing.Point(146, 463); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(26, 18); this.label2.TabIndex = 4; this.label2.Text = "或"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(54, 84); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(54, 21); this.label3.TabIndex = 7; this.label3.Text = "My IP"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(54, 152); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(43, 21); this.label4.TabIndex = 8; this.label4.Text = "Port"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(54, 245); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(27, 21); this.label5.TabIndex = 9; this.label5.Text = "IP"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(54, 315); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(43, 21); this.label6.TabIndex = 10; this.label6.Text = "Port"; // // panel1 // this.panel1.BackColor = System.Drawing.Color.Black; this.panel1.Location = new System.Drawing.Point(56, 233); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(217, 1); this.panel1.TabIndex = 12; // // TextBox4 // this.TextBox4.AcceptsReturn = false; this.TextBox4.AcceptsTab = false; this.TextBox4.AnimationSpeed = 220; this.TextBox4.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None; this.TextBox4.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None; this.TextBox4.BackColor = System.Drawing.Color.Transparent; this.TextBox4.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("TextBox4.BackgroundImage"))); this.TextBox4.BorderColorActive = System.Drawing.Color.DodgerBlue; this.TextBox4.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(161)))), ((int)(((byte)(161)))), ((int)(((byte)(161))))); this.TextBox4.BorderColorHover = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(181)))), ((int)(((byte)(255))))); this.TextBox4.BorderColorIdle = System.Drawing.Color.Silver; this.TextBox4.BorderRadius = 1; this.TextBox4.BorderThickness = 1; this.TextBox4.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.TextBox4.Cursor = System.Windows.Forms.Cursors.IBeam; this.TextBox4.DefaultFont = new System.Drawing.Font("Segoe UI Semibold", 9.75F); this.TextBox4.DefaultText = "2012"; this.TextBox4.FillColor = System.Drawing.Color.White; this.TextBox4.HideSelection = true; this.TextBox4.IconLeft = null; this.TextBox4.IconLeftCursor = System.Windows.Forms.Cursors.IBeam; this.TextBox4.IconPadding = 10; this.TextBox4.IconRight = null; this.TextBox4.IconRightCursor = System.Windows.Forms.Cursors.IBeam; this.TextBox4.Lines = new string[] { "2012" }; this.TextBox4.Location = new System.Drawing.Point(100, 339); this.TextBox4.MaxLength = 32767; this.TextBox4.MinimumSize = new System.Drawing.Size(100, 35); this.TextBox4.Modified = false; this.TextBox4.Multiline = false; this.TextBox4.Name = "TextBox4"; this.TextBox4.PasswordChar = '\0'; this.TextBox4.PlaceholderForeColor = System.Drawing.Color.Silver; this.TextBox4.PlaceholderText = "Enter text"; this.TextBox4.ReadOnly = false; this.TextBox4.SelectedText = ""; this.TextBox4.SelectionLength = 0; this.TextBox4.SelectionStart = 0; this.TextBox4.ShortcutsEnabled = true; this.TextBox4.Size = new System.Drawing.Size(148, 35); this.TextBox4.Style = Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox._Style.Bunifu; this.TextBox4.TabIndex = 11; this.TextBox4.TextAlign = System.Windows.Forms.HorizontalAlignment.Left; this.TextBox4.TextMarginLeft = 5; this.TextBox4.TextMarginTop = 0; this.TextBox4.TextPlaceholder = "Enter text"; this.TextBox4.UseSystemPasswordChar = false; // // TextBox3 // this.TextBox3.AcceptsReturn = false; this.TextBox3.AcceptsTab = false; this.TextBox3.AnimationSpeed = 220; this.TextBox3.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None; this.TextBox3.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None; this.TextBox3.BackColor = System.Drawing.Color.Transparent; this.TextBox3.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("TextBox3.BackgroundImage"))); this.TextBox3.BorderColorActive = System.Drawing.Color.DodgerBlue; this.TextBox3.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(161)))), ((int)(((byte)(161)))), ((int)(((byte)(161))))); this.TextBox3.BorderColorHover = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(181)))), ((int)(((byte)(255))))); this.TextBox3.BorderColorIdle = System.Drawing.Color.Silver; this.TextBox3.BorderRadius = 1; this.TextBox3.BorderThickness = 1; this.TextBox3.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.TextBox3.Cursor = System.Windows.Forms.Cursors.IBeam; this.TextBox3.DefaultFont = new System.Drawing.Font("Segoe UI Semibold", 9.75F); this.TextBox3.DefaultText = "127.0.0.1"; this.TextBox3.FillColor = System.Drawing.Color.White; this.TextBox3.HideSelection = true; this.TextBox3.IconLeft = null; this.TextBox3.IconLeftCursor = System.Windows.Forms.Cursors.IBeam; this.TextBox3.IconPadding = 10; this.TextBox3.IconRight = null; this.TextBox3.IconRightCursor = System.Windows.Forms.Cursors.IBeam; this.TextBox3.Lines = new string[] { "127.0.0.1" }; this.TextBox3.Location = new System.Drawing.Point(100, 266); this.TextBox3.MaxLength = 32767; this.TextBox3.MinimumSize = new System.Drawing.Size(100, 35); this.TextBox3.Modified = false; this.TextBox3.Multiline = false; this.TextBox3.Name = "TextBox3"; this.TextBox3.PasswordChar = '\0'; this.TextBox3.PlaceholderForeColor = System.Drawing.Color.Silver; this.TextBox3.PlaceholderText = "Enter text"; this.TextBox3.ReadOnly = false; this.TextBox3.SelectedText = ""; this.TextBox3.SelectionLength = 0; this.TextBox3.SelectionStart = 9; this.TextBox3.ShortcutsEnabled = true; this.TextBox3.Size = new System.Drawing.Size(148, 35); this.TextBox3.Style = Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox._Style.Bunifu; this.TextBox3.TabIndex = 11; this.TextBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Left; this.TextBox3.TextMarginLeft = 5; this.TextBox3.TextMarginTop = 0; this.TextBox3.TextPlaceholder = "Enter text"; this.TextBox3.UseSystemPasswordChar = false; // // TextBox2 // this.TextBox2.AcceptsReturn = false; this.TextBox2.AcceptsTab = false; this.TextBox2.AnimationSpeed = 220; this.TextBox2.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None; this.TextBox2.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None; this.TextBox2.BackColor = System.Drawing.Color.Transparent; this.TextBox2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("TextBox2.BackgroundImage"))); this.TextBox2.BorderColorActive = System.Drawing.Color.DodgerBlue; this.TextBox2.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(161)))), ((int)(((byte)(161)))), ((int)(((byte)(161))))); this.TextBox2.BorderColorHover = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(181)))), ((int)(((byte)(255))))); this.TextBox2.BorderColorIdle = System.Drawing.Color.Silver; this.TextBox2.BorderRadius = 1; this.TextBox2.BorderThickness = 1; this.TextBox2.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.TextBox2.Cursor = System.Windows.Forms.Cursors.IBeam; this.TextBox2.DefaultFont = new System.Drawing.Font("Segoe UI Semibold", 9.75F); this.TextBox2.DefaultText = "2013"; this.TextBox2.FillColor = System.Drawing.Color.White; this.TextBox2.HideSelection = true; this.TextBox2.IconLeft = null; this.TextBox2.IconLeftCursor = System.Windows.Forms.Cursors.IBeam; this.TextBox2.IconPadding = 10; this.TextBox2.IconRight = null; this.TextBox2.IconRightCursor = System.Windows.Forms.Cursors.IBeam; this.TextBox2.Lines = new string[] { "2013" }; this.TextBox2.Location = new System.Drawing.Point(100, 179); this.TextBox2.MaxLength = 32767; this.TextBox2.MinimumSize = new System.Drawing.Size(100, 35); this.TextBox2.Modified = false; this.TextBox2.Multiline = false; this.TextBox2.Name = "TextBox2"; this.TextBox2.PasswordChar = '\0'; this.TextBox2.PlaceholderForeColor = System.Drawing.Color.Silver; this.TextBox2.PlaceholderText = "Enter text"; this.TextBox2.ReadOnly = false; this.TextBox2.SelectedText = ""; this.TextBox2.SelectionLength = 0; this.TextBox2.SelectionStart = 4; this.TextBox2.ShortcutsEnabled = true; this.TextBox2.Size = new System.Drawing.Size(148, 35); this.TextBox2.Style = Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox._Style.Bunifu; this.TextBox2.TabIndex = 6; this.TextBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Left; this.TextBox2.TextMarginLeft = 5; this.TextBox2.TextMarginTop = 0; this.TextBox2.TextPlaceholder = "Enter text"; this.TextBox2.UseSystemPasswordChar = false; // // TextBox1 // this.TextBox1.AcceptsReturn = false; this.TextBox1.AcceptsTab = false; this.TextBox1.AnimationSpeed = 220; this.TextBox1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None; this.TextBox1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None; this.TextBox1.BackColor = System.Drawing.Color.Transparent; this.TextBox1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("TextBox1.BackgroundImage"))); this.TextBox1.BorderColorActive = System.Drawing.Color.DodgerBlue; this.TextBox1.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(161)))), ((int)(((byte)(161)))), ((int)(((byte)(161))))); this.TextBox1.BorderColorHover = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(181)))), ((int)(((byte)(255))))); this.TextBox1.BorderColorIdle = System.Drawing.Color.Silver; this.TextBox1.BorderRadius = 1; this.TextBox1.BorderThickness = 1; this.TextBox1.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.TextBox1.Cursor = System.Windows.Forms.Cursors.IBeam; this.TextBox1.DefaultFont = new System.Drawing.Font("Segoe UI Semibold", 9.75F); this.TextBox1.DefaultText = "127.0.0.1"; this.TextBox1.FillColor = System.Drawing.Color.White; this.TextBox1.HideSelection = true; this.TextBox1.IconLeft = null; this.TextBox1.IconLeftCursor = System.Windows.Forms.Cursors.IBeam; this.TextBox1.IconPadding = 10; this.TextBox1.IconRight = null; this.TextBox1.IconRightCursor = System.Windows.Forms.Cursors.IBeam; this.TextBox1.Lines = new string[] { "127.0.0.1" }; this.TextBox1.Location = new System.Drawing.Point(100, 114); this.TextBox1.MaxLength = 32767; this.TextBox1.MinimumSize = new System.Drawing.Size(100, 35); this.TextBox1.Modified = false; this.TextBox1.Multiline = false; this.TextBox1.Name = "TextBox1"; this.TextBox1.PasswordChar = '\0'; this.TextBox1.PlaceholderForeColor = System.Drawing.Color.Silver; this.TextBox1.PlaceholderText = "Enter text"; this.TextBox1.ReadOnly = false; this.TextBox1.SelectedText = ""; this.TextBox1.SelectionLength = 0; this.TextBox1.SelectionStart = 9; this.TextBox1.ShortcutsEnabled = true; this.TextBox1.Size = new System.Drawing.Size(148, 35); this.TextBox1.Style = Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox._Style.Bunifu; this.TextBox1.TabIndex = 5; this.TextBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Left; this.TextBox1.TextMarginLeft = 5; this.TextBox1.TextMarginTop = 0; this.TextBox1.TextPlaceholder = "Enter text"; this.TextBox1.UseSystemPasswordChar = false; // // bunifuButton2 // this.bunifuButton2.AnimationSpeed = 220; this.bunifuButton2.BackColor = System.Drawing.Color.Transparent; this.bunifuButton2.BackColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.bunifuButton2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bunifuButton2.BackgroundImage"))); this.bunifuButton2.ButtonText = "離開"; this.bunifuButton2.ButtonTextMarginLeft = 0; this.bunifuButton2.Cursor = System.Windows.Forms.Cursors.Hand; this.bunifuButton2.DialogResult = System.Windows.Forms.DialogResult.None; this.bunifuButton2.DisabledBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(161)))), ((int)(((byte)(161)))), ((int)(((byte)(161))))); this.bunifuButton2.DisabledFillColor = System.Drawing.Color.Gray; this.bunifuButton2.DisabledForecolor = System.Drawing.Color.White; this.bunifuButton2.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; this.bunifuButton2.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F); this.bunifuButton2.ForeColor = System.Drawing.Color.White; this.bunifuButton2.IconLeftCursor = System.Windows.Forms.Cursors.Hand; this.bunifuButton2.IconPadding = 10; this.bunifuButton2.IconRightCursor = System.Windows.Forms.Cursors.Hand; this.bunifuButton2.IdleBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.bunifuButton2.IdleBorderRadius = 1; this.bunifuButton2.IdleBorderThickness = 1; this.bunifuButton2.IdleFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.bunifuButton2.IdleIconLeftImage = null; this.bunifuButton2.IdleIconRightImage = null; this.bunifuButton2.IndicateFocus = true; this.bunifuButton2.Location = new System.Drawing.Point(58, 497); this.bunifuButton2.Name = "bunifuButton2"; stateProperties5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(181)))), ((int)(((byte)(255))))); stateProperties5.BorderRadius = 1; stateProperties5.BorderThickness = 1; stateProperties5.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(181)))), ((int)(((byte)(255))))); stateProperties5.ForeColor = System.Drawing.Color.White; stateProperties5.IconLeftImage = null; stateProperties5.IconRightImage = null; this.bunifuButton2.onHoverState = stateProperties5; stateProperties6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(96)))), ((int)(((byte)(144))))); stateProperties6.BorderRadius = 1; stateProperties6.BorderThickness = 1; stateProperties6.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(96)))), ((int)(((byte)(144))))); stateProperties6.ForeColor = System.Drawing.Color.White; stateProperties6.IconLeftImage = null; stateProperties6.IconRightImage = null; this.bunifuButton2.OnPressedState = stateProperties6; this.bunifuButton2.Size = new System.Drawing.Size(210, 45); this.bunifuButton2.TabIndex = 3; this.bunifuButton2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.bunifuButton2.TextMarginLeft = 0; this.bunifuButton2.Click += new System.EventHandler(this.bunifuButton2_Click); // // bunifuButton1 // this.bunifuButton1.AnimationSpeed = 220; this.bunifuButton1.BackColor = System.Drawing.Color.Transparent; this.bunifuButton1.BackColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.bunifuButton1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bunifuButton1.BackgroundImage"))); this.bunifuButton1.ButtonText = "連線"; this.bunifuButton1.ButtonTextMarginLeft = 0; this.bunifuButton1.Cursor = System.Windows.Forms.Cursors.Hand; this.bunifuButton1.DialogResult = System.Windows.Forms.DialogResult.None; this.bunifuButton1.DisabledBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(161)))), ((int)(((byte)(161)))), ((int)(((byte)(161))))); this.bunifuButton1.DisabledFillColor = System.Drawing.Color.Gray; this.bunifuButton1.DisabledForecolor = System.Drawing.Color.White; this.bunifuButton1.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; this.bunifuButton1.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F); this.bunifuButton1.ForeColor = System.Drawing.Color.White; this.bunifuButton1.IconLeftCursor = System.Windows.Forms.Cursors.Hand; this.bunifuButton1.IconPadding = 10; this.bunifuButton1.IconRightCursor = System.Windows.Forms.Cursors.Hand; this.bunifuButton1.IdleBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.bunifuButton1.IdleBorderRadius = 1; this.bunifuButton1.IdleBorderThickness = 1; this.bunifuButton1.IdleFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.bunifuButton1.IdleIconLeftImage = null; this.bunifuButton1.IdleIconRightImage = null; this.bunifuButton1.IndicateFocus = true; this.bunifuButton1.Location = new System.Drawing.Point(58, 401); this.bunifuButton1.Name = "bunifuButton1"; stateProperties7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(181)))), ((int)(((byte)(255))))); stateProperties7.BorderRadius = 1; stateProperties7.BorderThickness = 1; stateProperties7.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(181)))), ((int)(((byte)(255))))); stateProperties7.ForeColor = System.Drawing.Color.White; stateProperties7.IconLeftImage = null; stateProperties7.IconRightImage = null; this.bunifuButton1.onHoverState = stateProperties7; stateProperties8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(96)))), ((int)(((byte)(144))))); stateProperties8.BorderRadius = 1; stateProperties8.BorderThickness = 1; stateProperties8.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(96)))), ((int)(((byte)(144))))); stateProperties8.ForeColor = System.Drawing.Color.White; stateProperties8.IconLeftImage = null; stateProperties8.IconRightImage = null; this.bunifuButton1.OnPressedState = stateProperties8; this.bunifuButton1.Size = new System.Drawing.Size(210, 45); this.bunifuButton1.TabIndex = 2; this.bunifuButton1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.bunifuButton1.TextMarginLeft = 0; this.bunifuButton1.Click += new System.EventHandler(this.bunifuButton1_Click); // // bunifuGradientPanel1 // this.bunifuGradientPanel1.BackColor = System.Drawing.Color.White; this.bunifuGradientPanel1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bunifuGradientPanel1.BackgroundImage"))); this.bunifuGradientPanel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.bunifuGradientPanel1.Dock = System.Windows.Forms.DockStyle.Top; this.bunifuGradientPanel1.GradientBottomLeft = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.bunifuGradientPanel1.GradientBottomRight = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.bunifuGradientPanel1.GradientTopLeft = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.bunifuGradientPanel1.GradientTopRight = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(255))))); this.bunifuGradientPanel1.Location = new System.Drawing.Point(0, 0); this.bunifuGradientPanel1.Name = "bunifuGradientPanel1"; this.bunifuGradientPanel1.Quality = 10; this.bunifuGradientPanel1.Size = new System.Drawing.Size(328, 17); this.bunifuGradientPanel1.TabIndex = 0; // // Form1 // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(328, 568); this.Controls.Add(this.panel1); this.Controls.Add(this.TextBox4); this.Controls.Add(this.TextBox3); this.Controls.Add(this.label6); this.Controls.Add(this.label5); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.TextBox2); this.Controls.Add(this.TextBox1); this.Controls.Add(this.label2); this.Controls.Add(this.bunifuButton2); this.Controls.Add(this.bunifuButton1); this.Controls.Add(this.label1); this.Controls.Add(this.bunifuGradientPanel1); this.Font = new System.Drawing.Font("cwTeX 圓體", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Bunifu.Framework.UI.BunifuElipse bunifuElipse1; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoginForm_main)); this.btnLogin = new System.Windows.Forms.Button(); this.panel1 = new System.Windows.Forms.Panel(); this.btnReturn = new System.Windows.Forms.PictureBox(); this.label1 = new System.Windows.Forms.Label(); this.txtLogUser = new Bunifu.Framework.UI.BunifuMaterialTextbox(); this.pictureBox4 = new System.Windows.Forms.PictureBox(); this.txtLogPass = new Bunifu.Framework.UI.BunifuMaterialTextbox(); this.pictureBox3 = new System.Windows.Forms.PictureBox(); this.lbSignUp = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); bunifuElipse1 = new Bunifu.Framework.UI.BunifuElipse(this.components); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnReturn)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); this.SuspendLayout(); // // bunifuElipse1 // bunifuElipse1.ElipseRadius = 7; bunifuElipse1.TargetControl = this.btnLogin; // // btnLogin // this.btnLogin.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(8)))), ((int)(((byte)(54))))); this.btnLogin.FlatAppearance.BorderSize = 0; this.btnLogin.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnLogin.Font = new System.Drawing.Font("Century Gothic", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnLogin.ForeColor = System.Drawing.Color.Honeydew; this.btnLogin.Location = new System.Drawing.Point(333, 455); this.btnLogin.Margin = new System.Windows.Forms.Padding(4); this.btnLogin.Name = "btnLogin"; this.btnLogin.Size = new System.Drawing.Size(113, 49); this.btnLogin.TabIndex = 39; this.btnLogin.Text = "Login"; this.btnLogin.UseVisualStyleBackColor = false; this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click_1); // // panel1 // this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(8)))), ((int)(((byte)(54))))); this.panel1.Controls.Add(this.btnReturn); this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(463, 229); this.panel1.TabIndex = 0; // // btnReturn // this.btnReturn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.btnReturn.Image = ((System.Drawing.Image)(resources.GetObject("btnReturn.Image"))); this.btnReturn.Location = new System.Drawing.Point(0, 0); this.btnReturn.Name = "btnReturn"; this.btnReturn.Size = new System.Drawing.Size(32, 32); this.btnReturn.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.btnReturn.TabIndex = 8; this.btnReturn.TabStop = false; this.btnReturn.Click += new System.EventHandler(this.btnReturn_Click); // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Monotype Corsiva", 48F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.label1.Location = new System.Drawing.Point(12, 44); this.label1.Name = "label1"; this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); this.label1.Size = new System.Drawing.Size(213, 97); this.label1.TabIndex = 1; this.label1.Text = "Login"; // // txtLogUser // this.txtLogUser.Cursor = System.Windows.Forms.Cursors.IBeam; this.txtLogUser.Font = new System.Drawing.Font("Century Gothic", 9.75F); this.txtLogUser.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.txtLogUser.HintForeColor = System.Drawing.Color.Empty; this.txtLogUser.HintText = ""; this.txtLogUser.isPassword = false; this.txtLogUser.LineFocusedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(8)))), ((int)(((byte)(54))))); this.txtLogUser.LineIdleColor = System.Drawing.Color.Gray; this.txtLogUser.LineMouseHoverColor = System.Drawing.Color.MediumVioletRed; this.txtLogUser.LineThickness = 3; this.txtLogUser.Location = new System.Drawing.Point(78, 290); this.txtLogUser.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); this.txtLogUser.Name = "txtLogUser"; this.txtLogUser.Size = new System.Drawing.Size(370, 43); this.txtLogUser.TabIndex = 33; this.txtLogUser.TextAlign = System.Windows.Forms.HorizontalAlignment.Left; this.txtLogUser.TextChanged += new System.EventHandler(this.txtLogUser_TextChanged); // // pictureBox4 // this.pictureBox4.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox4.Image"))); this.pictureBox4.Location = new System.Drawing.Point(6, 275); this.pictureBox4.Margin = new System.Windows.Forms.Padding(4); this.pictureBox4.Name = "pictureBox4"; this.pictureBox4.Size = new System.Drawing.Size(50, 50); this.pictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.pictureBox4.TabIndex = 32; this.pictureBox4.TabStop = false; // // txtLogPass // this.txtLogPass.Cursor = System.Windows.Forms.Cursors.IBeam; this.txtLogPass.Font = new System.Drawing.Font("Century Gothic", 9.75F); this.txtLogPass.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.txtLogPass.HintForeColor = System.Drawing.Color.Empty; this.txtLogPass.HintText = ""; this.txtLogPass.isPassword = true; this.txtLogPass.LineFocusedColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(8)))), ((int)(((byte)(54))))); this.txtLogPass.LineIdleColor = System.Drawing.Color.Gray; this.txtLogPass.LineMouseHoverColor = System.Drawing.Color.MediumVioletRed; this.txtLogPass.LineThickness = 3; this.txtLogPass.Location = new System.Drawing.Point(79, 394); this.txtLogPass.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); this.txtLogPass.Name = "txtLogPass"; this.txtLogPass.Size = new System.Drawing.Size(370, 43); this.txtLogPass.TabIndex = 35; this.txtLogPass.TextAlign = System.Windows.Forms.HorizontalAlignment.Left; this.txtLogPass.OnValueChanged += new System.EventHandler(this.txtLogPass_OnValueChanged); // // pictureBox3 // this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image"))); this.pictureBox3.Location = new System.Drawing.Point(6, 381); this.pictureBox3.Margin = new System.Windows.Forms.Padding(4); this.pictureBox3.Name = "pictureBox3"; this.pictureBox3.Size = new System.Drawing.Size(50, 50); this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.pictureBox3.TabIndex = 34; this.pictureBox3.TabStop = false; // // lbSignUp // this.lbSignUp.AutoSize = true; this.lbSignUp.Font = new System.Drawing.Font("Century Gothic", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbSignUp.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(176)))), ((int)(((byte)(8)))), ((int)(((byte)(54))))); this.lbSignUp.Location = new System.Drawing.Point(372, 520); this.lbSignUp.Name = "lbSignUp"; this.lbSignUp.Size = new System.Drawing.Size(71, 21); this.lbSignUp.TabIndex = 38; this.lbSignUp.Text = "Sign Up"; this.lbSignUp.Click += new System.EventHandler(this.lbSignUp_Click); // // label4 // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Century Gothic", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.Location = new System.Drawing.Point(127, 520); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(222, 21); this.label4.TabIndex = 37; this.label4.Text = "Don\'t have an account? "; // // LoginForm_main // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(243)))), ((int)(((byte)(242))))); this.ClientSize = new System.Drawing.Size(463, 575); this.Controls.Add(this.btnLogin); this.Controls.Add(this.lbSignUp); this.Controls.Add(this.label4); this.Controls.Add(this.txtLogPass); this.Controls.Add(this.pictureBox3); this.Controls.Add(this.txtLogUser); this.Controls.Add(this.pictureBox4); this.Controls.Add(this.panel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "LoginForm_main"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "LoginForm_main"; this.Load += new System.EventHandler(this.LoginForm_main_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnReturn)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { components = new System.ComponentModel.Container(); var resources = new System.ComponentModel.ComponentResourceManager(typeof(MessageBoxConfirmDelete)); var BorderEdges7 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderEdges(); var StateProperties25 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties26 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var BorderEdges8 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderEdges(); var StateProperties27 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties28 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties29 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties30 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties31 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); var StateProperties32 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); mainMessageLabel = new TextBox(); ButtonPanel = new Panel(); _noBunifuButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _noBunifuButton.Click += new EventHandler(yesBunifuButton_Click); _yesBunifuButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _yesBunifuButton.Click += new EventHandler(Button_Abort_Click); ImageList1 = new ImageList(components); Label4 = new Label(); _confirmationBunifuTextBox = new BunifuTextBox(); _confirmationBunifuTextBox.TextChanged += new EventHandler(confirmationBunifuTextBox_TextChanged); confirmationPanel = new Panel(); titleLabel = new Label(); PictureBox1 = new PictureBox(); BunifuElipse1 = new Bunifu.Framework.UI.BunifuElipse(components); ButtonPanel.SuspendLayout(); confirmationPanel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)PictureBox1).BeginInit(); SuspendLayout(); // // mainMessageLabel // mainMessageLabel.BackColor = Color.White; mainMessageLabel.BorderStyle = BorderStyle.None; mainMessageLabel.Font = new Font("Segoe UI", 11.78182f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); mainMessageLabel.Location = new Point(21, 123); mainMessageLabel.Multiline = true; mainMessageLabel.Name = "mainMessageLabel"; mainMessageLabel.ReadOnly = true; mainMessageLabel.Size = new Size(443, 192); mainMessageLabel.TabIndex = 23; // // ButtonPanel // ButtonPanel.BackColor = Color.White; ButtonPanel.Controls.Add(_noBunifuButton); ButtonPanel.Controls.Add(_yesBunifuButton); ButtonPanel.Location = new Point(135, 398); ButtonPanel.Name = "ButtonPanel"; ButtonPanel.Size = new Size(222, 49); ButtonPanel.TabIndex = 18; // // noBunifuButton // _noBunifuButton.AllowToggling = false; _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 = "NO"; _noBunifuButton.ButtonTextMarginLeft = 0; _noBunifuButton.ColorContrastOnClick = 45; _noBunifuButton.ColorContrastOnHover = 45; _noBunifuButton.Cursor = Cursors.Hand; BorderEdges7.BottomLeft = true; BorderEdges7.BottomRight = true; BorderEdges7.TopLeft = true; BorderEdges7.TopRight = true; _noBunifuButton.CustomizableEdges = BorderEdges7; _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(8, 5); _noBunifuButton.Name = "_noBunifuButton"; StateProperties25.BorderColor = Color.DarkGray; StateProperties25.BorderRadius = 3; StateProperties25.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties25.BorderThickness = 1; StateProperties25.FillColor = Color.DarkGray; StateProperties25.ForeColor = Color.White; StateProperties25.IconLeftImage = null; StateProperties25.IconRightImage = null; _noBunifuButton.onHoverState = StateProperties25; StateProperties26.BorderColor = Color.IndianRed; StateProperties26.BorderRadius = 3; StateProperties26.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties26.BorderThickness = 1; StateProperties26.FillColor = Color.IndianRed; StateProperties26.ForeColor = Color.White; StateProperties26.IconLeftImage = null; StateProperties26.IconRightImage = null; _noBunifuButton.OnPressedState = StateProperties26; _noBunifuButton.Size = new Size(82, 37); _noBunifuButton.TabIndex = 63; _noBunifuButton.TextAlign = ContentAlignment.MiddleCenter; _noBunifuButton.TextMarginLeft = 0; _noBunifuButton.UseDefaultRadiusAndThickness = true; // // yesBunifuButton // _yesBunifuButton.AllowToggling = false; _yesBunifuButton.AnimationSpeed = 200; _yesBunifuButton.AutoGenerateColors = false; _yesBunifuButton.BackColor = Color.Transparent; _yesBunifuButton.BackColor1 = Color.IndianRed; _yesBunifuButton.BackgroundImage = (Image)resources.GetObject("yesBunifuButton.BackgroundImage"); _yesBunifuButton.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _yesBunifuButton.ButtonText = "YES"; _yesBunifuButton.ButtonTextMarginLeft = 0; _yesBunifuButton.ColorContrastOnClick = 45; _yesBunifuButton.ColorContrastOnHover = 45; _yesBunifuButton.Cursor = Cursors.Hand; BorderEdges8.BottomLeft = true; BorderEdges8.BottomRight = true; BorderEdges8.TopLeft = true; BorderEdges8.TopRight = true; _yesBunifuButton.CustomizableEdges = BorderEdges8; _yesBunifuButton.DialogResult = DialogResult.None; _yesBunifuButton.DisabledBorderColor = Color.Empty; _yesBunifuButton.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _yesBunifuButton.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _yesBunifuButton.Enabled = false; _yesBunifuButton.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _yesBunifuButton.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _yesBunifuButton.ForeColor = Color.White; _yesBunifuButton.IconLeftCursor = Cursors.Hand; _yesBunifuButton.IconMarginLeft = 11; _yesBunifuButton.IconPadding = 10; _yesBunifuButton.IconRightCursor = Cursors.Hand; _yesBunifuButton.IdleBorderColor = Color.IndianRed; _yesBunifuButton.IdleBorderRadius = 3; _yesBunifuButton.IdleBorderThickness = 1; _yesBunifuButton.IdleFillColor = Color.IndianRed; _yesBunifuButton.IdleIconLeftImage = null; _yesBunifuButton.IdleIconRightImage = null; _yesBunifuButton.IndicateFocus = true; _yesBunifuButton.Location = new Point(102, 5); _yesBunifuButton.Name = "_yesBunifuButton"; StateProperties27.BorderColor = Color.LightCoral; StateProperties27.BorderRadius = 3; StateProperties27.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties27.BorderThickness = 1; StateProperties27.FillColor = Color.LightCoral; StateProperties27.ForeColor = Color.White; StateProperties27.IconLeftImage = null; StateProperties27.IconRightImage = null; _yesBunifuButton.onHoverState = StateProperties27; StateProperties28.BorderColor = Color.IndianRed; StateProperties28.BorderRadius = 3; StateProperties28.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties28.BorderThickness = 1; StateProperties28.FillColor = Color.IndianRed; StateProperties28.ForeColor = Color.White; StateProperties28.IconLeftImage = null; StateProperties28.IconRightImage = null; _yesBunifuButton.OnPressedState = StateProperties28; _yesBunifuButton.Size = new Size(105, 37); _yesBunifuButton.TabIndex = 62; _yesBunifuButton.TextAlign = ContentAlignment.MiddleCenter; _yesBunifuButton.TextMarginLeft = 0; _yesBunifuButton.UseDefaultRadiusAndThickness = true; // // ImageList1 // ImageList1.ImageStream = (ImageListStreamer)resources.GetObject("ImageList1.ImageStream"); ImageList1.TransparentColor = Color.Transparent; ImageList1.Images.SetKeyName(0, "caution.png"); ImageList1.Images.SetKeyName(1, "icon-available.jpg"); // // Label4 // Label4.BackColor = Color.White; 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.ImageAlign = ContentAlignment.MiddleLeft; Label4.Location = new Point(3, -2); Label4.Name = "Label4"; Label4.Size = new Size(425, 31); Label4.TabIndex = 14; Label4.Text = "Please type in the container number to confirm"; Label4.TextAlign = ContentAlignment.MiddleLeft; // // confirmationBunifuTextBox // _confirmationBunifuTextBox.AcceptsReturn = false; _confirmationBunifuTextBox.AcceptsTab = false; _confirmationBunifuTextBox.AnimationSpeed = 200; _confirmationBunifuTextBox.AutoCompleteMode = AutoCompleteMode.None; _confirmationBunifuTextBox.AutoCompleteSource = AutoCompleteSource.None; _confirmationBunifuTextBox.BackColor = Color.Transparent; _confirmationBunifuTextBox.BackgroundImage = (Image)resources.GetObject("confirmationBunifuTextBox.BackgroundImage"); _confirmationBunifuTextBox.BorderColorActive = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _confirmationBunifuTextBox.BorderColorDisabled = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161)), Conversions.ToInteger(Conversions.ToByte(161))); _confirmationBunifuTextBox.BorderColorHover = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _confirmationBunifuTextBox.BorderColorIdle = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _confirmationBunifuTextBox.BorderRadius = 10; _confirmationBunifuTextBox.BorderThickness = 1; _confirmationBunifuTextBox.CharacterCasing = CharacterCasing.Upper; _confirmationBunifuTextBox.Cursor = Cursors.IBeam; _confirmationBunifuTextBox.DefaultFont = new Font("Segoe UI Semibold", 9.75f); _confirmationBunifuTextBox.DefaultText = ""; _confirmationBunifuTextBox.FillColor = Color.White; _confirmationBunifuTextBox.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _confirmationBunifuTextBox.HideSelection = true; _confirmationBunifuTextBox.IconLeft = null; _confirmationBunifuTextBox.IconLeftCursor = Cursors.IBeam; _confirmationBunifuTextBox.IconPadding = 10; _confirmationBunifuTextBox.IconRight = null; _confirmationBunifuTextBox.IconRightCursor = Cursors.IBeam; _confirmationBunifuTextBox.Lines = new string[0]; _confirmationBunifuTextBox.Location = new Point(7, 29); _confirmationBunifuTextBox.MaxLength = 32767; _confirmationBunifuTextBox.MinimumSize = new Size(100, 35); _confirmationBunifuTextBox.Modified = false; _confirmationBunifuTextBox.Multiline = false; _confirmationBunifuTextBox.Name = "_confirmationBunifuTextBox"; StateProperties29.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties29.FillColor = Color.Empty; StateProperties29.ForeColor = Color.Empty; StateProperties29.PlaceholderForeColor = Color.Empty; _confirmationBunifuTextBox.OnActiveState = StateProperties29; StateProperties30.BorderColor = Color.Empty; StateProperties30.FillColor = Color.White; StateProperties30.ForeColor = Color.Empty; StateProperties30.PlaceholderForeColor = Color.Silver; _confirmationBunifuTextBox.OnDisabledState = StateProperties30; StateProperties31.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties31.FillColor = Color.Empty; StateProperties31.ForeColor = Color.Empty; StateProperties31.PlaceholderForeColor = Color.Empty; _confirmationBunifuTextBox.OnHoverState = StateProperties31; StateProperties32.BorderColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties32.FillColor = Color.White; StateProperties32.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); StateProperties32.PlaceholderForeColor = Color.Empty; _confirmationBunifuTextBox.OnIdleState = StateProperties32; _confirmationBunifuTextBox.PasswordChar = '\0'; _confirmationBunifuTextBox.PlaceholderForeColor = Color.Silver; _confirmationBunifuTextBox.PlaceholderText = ""; _confirmationBunifuTextBox.ReadOnly = false; _confirmationBunifuTextBox.ScrollBars = ScrollBars.None; _confirmationBunifuTextBox.SelectedText = ""; _confirmationBunifuTextBox.SelectionLength = 0; _confirmationBunifuTextBox.SelectionStart = 0; _confirmationBunifuTextBox.ShortcutsEnabled = true; _confirmationBunifuTextBox.Size = new Size(436, 38); _confirmationBunifuTextBox.Style = _Style.Bunifu; _confirmationBunifuTextBox.TabIndex = 13; _confirmationBunifuTextBox.TextAlign = HorizontalAlignment.Left; _confirmationBunifuTextBox.TextMarginBottom = 0; _confirmationBunifuTextBox.TextMarginLeft = 5; _confirmationBunifuTextBox.TextMarginTop = 0; _confirmationBunifuTextBox.TextPlaceholder = ""; _confirmationBunifuTextBox.UseSystemPasswordChar = false; _confirmationBunifuTextBox.WordWrap = true; // // confirmationPanel // confirmationPanel.Controls.Add(Label4); confirmationPanel.Controls.Add(_confirmationBunifuTextBox); confirmationPanel.Location = new Point(21, 321); confirmationPanel.Name = "confirmationPanel"; confirmationPanel.Size = new Size(445, 71); confirmationPanel.TabIndex = 22; // // titleLabel // titleLabel.BackColor = Color.White; titleLabel.Font = new Font("Segoe UI Semibold", 11.78182f, 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.ImageAlign = ContentAlignment.MiddleLeft; titleLabel.Location = new Point(9, 83); titleLabel.Name = "titleLabel"; titleLabel.Size = new Size(455, 40); titleLabel.TabIndex = 172; titleLabel.Text = "Are you absolutely sure?"; titleLabel.TextAlign = ContentAlignment.MiddleLeft; // // PictureBox1 // PictureBox1.Image = My.Resources.Resources.warning; PictureBox1.Location = new Point(193, 5); PictureBox1.Name = "PictureBox1"; PictureBox1.Size = new Size(87, 78); PictureBox1.SizeMode = PictureBoxSizeMode.Zoom; PictureBox1.TabIndex = 173; PictureBox1.TabStop = false; // // BunifuElipse1 // BunifuElipse1.ElipseRadius = 30; BunifuElipse1.TargetControl = this; // // MessageBoxConfirmDelete // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(478, 465); Controls.Add(PictureBox1); Controls.Add(titleLabel); Controls.Add(mainMessageLabel); Controls.Add(ButtonPanel); Controls.Add(confirmationPanel); FormBorderStyle = FormBorderStyle.None; Name = "MessageBoxConfirmDelete"; Text = "MessageBoxConfirmDelete"; ButtonPanel.ResumeLayout(false); confirmationPanel.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)PictureBox1).EndInit(); ResumeLayout(false); PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Bunifu.Framework.UI.BunifuElipse bunifuElipse1; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UserControlForm)); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); this.userPicturBox = new Mbb.Windows.Forms.PicturBox(); this.panel100 = new Mbb.Windows.Forms.Panel(); this.updateButton = new Mbb.Windows.Forms.Button(); this.activeCheckBox = new Mbb.Windows.Forms.CheckBox(); this.administratorCheckBox = new Mbb.Windows.Forms.CheckBox(); this.panel3 = new Mbb.Windows.Forms.Panel(); this.usernameLabel = new Mbb.Windows.Forms.Label(); this.panel2 = new Mbb.Windows.Forms.Panel(); this.fullNameLabel = new Mbb.Windows.Forms.Label(); this.panel200 = new Mbb.Windows.Forms.Panel(); this.userDataGridView = new Mbb.Windows.Forms.DataGridView(); this.userBindingSource = new System.Windows.Forms.BindingSource(this.components); this.panel1 = new Mbb.Windows.Forms.Panel(); this.userListLabel = new Mbb.Windows.Forms.Label(); this.isAdministratorDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.isActiveDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.usernameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.fullNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.emailDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.passwordDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.userPictureDataGridViewImageColumn = new System.Windows.Forms.DataGridViewImageColumn(); this.registrationTimeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panel4 = new Mbb.Windows.Forms.Panel(); bunifuElipse1 = new Bunifu.Framework.UI.BunifuElipse(this.components); ((System.ComponentModel.ISupportInitialize)(this.userPicturBox)).BeginInit(); this.panel100.SuspendLayout(); this.panel200.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.userDataGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.userBindingSource)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // bunifuElipse1 // bunifuElipse1.ElipseRadius = 150; bunifuElipse1.TargetControl = this.userPicturBox; // // userPicturBox // this.userPicturBox.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.userPicturBox.Image = ((System.Drawing.Image)(resources.GetObject("userPicturBox.Image"))); this.userPicturBox.Location = new System.Drawing.Point(132, 12); this.userPicturBox.Name = "userPicturBox"; this.userPicturBox.Size = new System.Drawing.Size(120, 120); this.userPicturBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.userPicturBox.TabIndex = 5; this.userPicturBox.TabStop = false; // // panel100 // this.panel100.Controls.Add(this.userPicturBox); this.panel100.Controls.Add(this.updateButton); this.panel100.Controls.Add(this.activeCheckBox); this.panel100.Controls.Add(this.administratorCheckBox); this.panel100.Controls.Add(this.panel3); this.panel100.Controls.Add(this.usernameLabel); this.panel100.Controls.Add(this.panel2); this.panel100.Controls.Add(this.fullNameLabel); this.panel100.Dock = System.Windows.Forms.DockStyle.Right; this.panel100.Location = new System.Drawing.Point(420, 0); this.panel100.Name = "panel100"; this.panel100.Size = new System.Drawing.Size(380, 450); this.panel100.TabIndex = 0; // // updateButton // this.updateButton.BackColor = System.Drawing.Color.SlateGray; this.updateButton.Dock = System.Windows.Forms.DockStyle.Bottom; this.updateButton.FlatAppearance.BorderSize = 0; this.updateButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.updateButton.ForeColor = System.Drawing.Color.White; this.updateButton.Location = new System.Drawing.Point(0, 398); this.updateButton.Name = "updateButton"; this.updateButton.Size = new System.Drawing.Size(380, 52); this.updateButton.TabIndex = 9; this.updateButton.Text = "به روز رسانی"; this.updateButton.UseVisualStyleBackColor = false; this.updateButton.Click += new System.EventHandler(this.UpdateButton_Click); // // activeCheckBox // this.activeCheckBox.AutoSize = true; this.activeCheckBox.ForeColor = System.Drawing.Color.White; this.activeCheckBox.Location = new System.Drawing.Point(268, 275); this.activeCheckBox.Name = "activeCheckBox"; this.activeCheckBox.Size = new System.Drawing.Size(59, 23); this.activeCheckBox.TabIndex = 7; this.activeCheckBox.Text = "فعالیت"; this.activeCheckBox.UseVisualStyleBackColor = true; // // administratorCheckBox // this.administratorCheckBox.AutoSize = true; this.administratorCheckBox.ForeColor = System.Drawing.Color.White; this.administratorCheckBox.Location = new System.Drawing.Point(264, 246); this.administratorCheckBox.Name = "administratorCheckBox"; this.administratorCheckBox.Size = new System.Drawing.Size(63, 23); this.administratorCheckBox.TabIndex = 6; this.administratorCheckBox.Text = "مدیریت"; this.administratorCheckBox.UseVisualStyleBackColor = true; // // panel3 // this.panel3.BackColor = System.Drawing.Color.White; this.panel3.Location = new System.Drawing.Point(61, 228); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(266, 1); this.panel3.TabIndex = 3; // // usernameLabel // this.usernameLabel.Font = new System.Drawing.Font("IRANSans", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.usernameLabel.ForeColor = System.Drawing.Color.DimGray; this.usernameLabel.Location = new System.Drawing.Point(57, 202); this.usernameLabel.Name = "usernameLabel"; this.usernameLabel.Size = new System.Drawing.Size(270, 23); this.usernameLabel.TabIndex = 2; this.usernameLabel.Text = "شناسه کاربری"; // // panel2 // this.panel2.BackColor = System.Drawing.Color.White; this.panel2.Location = new System.Drawing.Point(61, 179); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(266, 1); this.panel2.TabIndex = 1; // // fullNameLabel // this.fullNameLabel.Font = new System.Drawing.Font("IRANSans", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.fullNameLabel.ForeColor = System.Drawing.Color.DimGray; this.fullNameLabel.Location = new System.Drawing.Point(57, 153); this.fullNameLabel.Name = "fullNameLabel"; this.fullNameLabel.Size = new System.Drawing.Size(270, 23); this.fullNameLabel.TabIndex = 0; this.fullNameLabel.Text = "نام و نام خانوادگی"; // // panel200 // this.panel200.Controls.Add(this.userDataGridView); this.panel200.Controls.Add(this.panel1); this.panel200.Dock = System.Windows.Forms.DockStyle.Left; this.panel200.Location = new System.Drawing.Point(0, 0); this.panel200.Name = "panel200"; this.panel200.Size = new System.Drawing.Size(380, 450); this.panel200.TabIndex = 1; // // userDataGridView // this.userDataGridView.AllowUserToAddRows = false; this.userDataGridView.AllowUserToDeleteRows = false; this.userDataGridView.AutoGenerateColumns = false; this.userDataGridView.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(11)))), ((int)(((byte)(39)))), ((int)(((byte)(75))))); this.userDataGridView.BorderStyle = System.Windows.Forms.BorderStyle.None; this.userDataGridView.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; this.userDataGridView.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(11)))), ((int)(((byte)(39)))), ((int)(((byte)(115))))); dataGridViewCellStyle1.Font = new System.Drawing.Font("IRANSans", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); dataGridViewCellStyle1.ForeColor = System.Drawing.Color.White; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.userDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.userDataGridView.ColumnHeadersHeight = 30; this.userDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.userDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.isAdministratorDataGridViewCheckBoxColumn, this.isActiveDataGridViewCheckBoxColumn, this.usernameDataGridViewTextBoxColumn, this.fullNameDataGridViewTextBoxColumn, this.emailDataGridViewTextBoxColumn, this.passwordDataGridViewTextBoxColumn, this.userPictureDataGridViewImageColumn, this.registrationTimeDataGridViewTextBoxColumn }); this.userDataGridView.DataSource = this.userBindingSource; dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.ScrollBar; dataGridViewCellStyle2.Font = new System.Drawing.Font("IRANSans", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.userDataGridView.DefaultCellStyle = dataGridViewCellStyle2; this.userDataGridView.Dock = System.Windows.Forms.DockStyle.Fill; this.userDataGridView.EnableHeadersVisualStyles = false; this.userDataGridView.Location = new System.Drawing.Point(0, 54); this.userDataGridView.Name = "userDataGridView"; this.userDataGridView.ReadOnly = true; this.userDataGridView.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(13)))), ((int)(((byte)(44)))), ((int)(((byte)(84))))); dataGridViewCellStyle3.Font = new System.Drawing.Font("IRANSans", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); dataGridViewCellStyle3.ForeColor = System.Drawing.Color.White; dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.userDataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; this.userDataGridView.RowHeadersVisible = false; this.userDataGridView.RowHeadersWidth = 30; this.userDataGridView.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(13)))), ((int)(((byte)(44)))), ((int)(((byte)(84))))); dataGridViewCellStyle4.ForeColor = System.Drawing.Color.White; this.userDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle4; this.userDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.userDataGridView.Size = new System.Drawing.Size(380, 396); this.userDataGridView.TabIndex = 1; this.userDataGridView.CellMouseDoubleClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.UserDataGridView_CellMouseDoubleClick); // // userBindingSource // this.userBindingSource.DataSource = typeof(Models.User); // // panel1 // this.panel1.Controls.Add(this.userListLabel); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(380, 54); this.panel1.TabIndex = 0; // // userListLabel // this.userListLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.userListLabel.AutoSize = true; this.userListLabel.Font = new System.Drawing.Font("IRANSans", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.userListLabel.ForeColor = System.Drawing.SystemColors.ActiveCaption; this.userListLabel.Location = new System.Drawing.Point(134, 10); this.userListLabel.Name = "userListLabel"; this.userListLabel.Size = new System.Drawing.Size(121, 34); this.userListLabel.TabIndex = 0; this.userListLabel.Text = "لیست کاربران"; // // isAdministratorDataGridViewCheckBoxColumn // this.isAdministratorDataGridViewCheckBoxColumn.DataPropertyName = "IsAdministrator"; this.isAdministratorDataGridViewCheckBoxColumn.HeaderText = "مدیریت"; this.isAdministratorDataGridViewCheckBoxColumn.Name = "isAdministratorDataGridViewCheckBoxColumn"; this.isAdministratorDataGridViewCheckBoxColumn.ReadOnly = true; this.isAdministratorDataGridViewCheckBoxColumn.Width = 75; // // isActiveDataGridViewCheckBoxColumn // this.isActiveDataGridViewCheckBoxColumn.DataPropertyName = "IsActive"; this.isActiveDataGridViewCheckBoxColumn.HeaderText = "فعالیت"; this.isActiveDataGridViewCheckBoxColumn.Name = "isActiveDataGridViewCheckBoxColumn"; this.isActiveDataGridViewCheckBoxColumn.ReadOnly = true; this.isActiveDataGridViewCheckBoxColumn.Width = 75; // // usernameDataGridViewTextBoxColumn // this.usernameDataGridViewTextBoxColumn.DataPropertyName = "Username"; this.usernameDataGridViewTextBoxColumn.HeaderText = "شناسه کاربری"; this.usernameDataGridViewTextBoxColumn.MaxInputLength = 25; this.usernameDataGridViewTextBoxColumn.Name = "usernameDataGridViewTextBoxColumn"; this.usernameDataGridViewTextBoxColumn.ReadOnly = true; this.usernameDataGridViewTextBoxColumn.Width = 105; // // fullNameDataGridViewTextBoxColumn // this.fullNameDataGridViewTextBoxColumn.DataPropertyName = "FullName"; this.fullNameDataGridViewTextBoxColumn.HeaderText = "نام و نام خانوادگی"; this.fullNameDataGridViewTextBoxColumn.MaxInputLength = 55; this.fullNameDataGridViewTextBoxColumn.Name = "fullNameDataGridViewTextBoxColumn"; this.fullNameDataGridViewTextBoxColumn.ReadOnly = true; this.fullNameDataGridViewTextBoxColumn.Width = 125; // // emailDataGridViewTextBoxColumn // this.emailDataGridViewTextBoxColumn.DataPropertyName = "Email"; this.emailDataGridViewTextBoxColumn.HeaderText = "Email"; this.emailDataGridViewTextBoxColumn.MaxInputLength = 60; this.emailDataGridViewTextBoxColumn.Name = "emailDataGridViewTextBoxColumn"; this.emailDataGridViewTextBoxColumn.ReadOnly = true; this.emailDataGridViewTextBoxColumn.Visible = false; // // passwordDataGridViewTextBoxColumn // this.passwordDataGridViewTextBoxColumn.DataPropertyName = "Password"; this.passwordDataGridViewTextBoxColumn.HeaderText = "Password"; this.passwordDataGridViewTextBoxColumn.MaxInputLength = 40; this.passwordDataGridViewTextBoxColumn.Name = "passwordDataGridViewTextBoxColumn"; this.passwordDataGridViewTextBoxColumn.ReadOnly = true; this.passwordDataGridViewTextBoxColumn.Visible = false; // // userPictureDataGridViewImageColumn // this.userPictureDataGridViewImageColumn.DataPropertyName = "UserPicture"; this.userPictureDataGridViewImageColumn.HeaderText = "UserPicture"; this.userPictureDataGridViewImageColumn.Name = "userPictureDataGridViewImageColumn"; this.userPictureDataGridViewImageColumn.ReadOnly = true; this.userPictureDataGridViewImageColumn.Visible = false; // // registrationTimeDataGridViewTextBoxColumn // this.registrationTimeDataGridViewTextBoxColumn.DataPropertyName = "RegistrationTime"; this.registrationTimeDataGridViewTextBoxColumn.HeaderText = "RegistrationTime"; this.registrationTimeDataGridViewTextBoxColumn.MaxInputLength = 20; this.registrationTimeDataGridViewTextBoxColumn.Name = "registrationTimeDataGridViewTextBoxColumn"; this.registrationTimeDataGridViewTextBoxColumn.ReadOnly = true; this.registrationTimeDataGridViewTextBoxColumn.Visible = false; // // panel4 // this.panel4.BackColor = System.Drawing.Color.DarkCyan; this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; this.panel4.Location = new System.Drawing.Point(380, 0); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(40, 450); this.panel4.TabIndex = 2; // // UserControlForm // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 19F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15))))); this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.panel4); this.Controls.Add(this.panel200); this.Controls.Add(this.panel100); this.Font = new System.Drawing.Font("IRANSans", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.Name = "UserControlForm"; this.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.Text = "UserControlForm"; this.Load += new System.EventHandler(this.UserControlForm_Load); ((System.ComponentModel.ISupportInitialize)(this.userPicturBox)).EndInit(); this.panel100.ResumeLayout(false); this.panel100.PerformLayout(); this.panel200.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.userDataGridView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.userBindingSource)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Send_Picture)); this.bunifuElipse1 = new Bunifu.Framework.UI.BunifuElipse(this.components); this.txt_Admissionid = new Bunifu.Framework.UI.BunifuMaterialTextbox(); this.btn_ٍSelectpicture = new Bunifu.Framework.UI.BunifuThinButton2(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.btn_sendpicture = new Bunifu.Framework.UI.BunifuThinButton2(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.panel1 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // bunifuElipse1 // this.bunifuElipse1.ElipseRadius = 0; this.bunifuElipse1.TargetControl = this; // // txt_Admissionid // this.txt_Admissionid.Anchor = System.Windows.Forms.AnchorStyles.Top; this.txt_Admissionid.Cursor = System.Windows.Forms.Cursors.IBeam; this.txt_Admissionid.Font = new System.Drawing.Font("Century Gothic", 13.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txt_Admissionid.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.txt_Admissionid.HintForeColor = System.Drawing.Color.Empty; this.txt_Admissionid.HintText = "رقم دخولية المريض"; this.txt_Admissionid.isPassword = false; this.txt_Admissionid.LineFocusedColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.txt_Admissionid.LineIdleColor = System.Drawing.Color.Gray; this.txt_Admissionid.LineMouseHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.txt_Admissionid.LineThickness = 4; this.txt_Admissionid.Location = new System.Drawing.Point(539, 19); this.txt_Admissionid.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); this.txt_Admissionid.Name = "txt_Admissionid"; this.txt_Admissionid.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txt_Admissionid.Size = new System.Drawing.Size(220, 60); this.txt_Admissionid.TabIndex = 31; this.txt_Admissionid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.txt_Admissionid.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_Admissionid_KeyPress); // // btn_ٍSelectpicture // this.btn_ٍSelectpicture.ActiveBorderThickness = 1; this.btn_ٍSelectpicture.ActiveCornerRadius = 20; this.btn_ٍSelectpicture.ActiveFillColor = System.Drawing.Color.Silver; this.btn_ٍSelectpicture.ActiveForecolor = System.Drawing.Color.White; this.btn_ٍSelectpicture.ActiveLineColor = System.Drawing.Color.White; this.btn_ٍSelectpicture.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btn_ٍSelectpicture.BackColor = System.Drawing.SystemColors.Control; this.btn_ٍSelectpicture.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btn_ٍSelectpicture.BackgroundImage"))); this.btn_ٍSelectpicture.ButtonText = "اختيار الصورة"; this.btn_ٍSelectpicture.Cursor = System.Windows.Forms.Cursors.Hand; this.btn_ٍSelectpicture.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); this.btn_ٍSelectpicture.ForeColor = System.Drawing.Color.Black; this.btn_ٍSelectpicture.IdleBorderThickness = 1; this.btn_ٍSelectpicture.IdleCornerRadius = 20; this.btn_ٍSelectpicture.IdleFillColor = System.Drawing.Color.White; this.btn_ٍSelectpicture.IdleForecolor = System.Drawing.Color.Black; this.btn_ٍSelectpicture.IdleLineColor = System.Drawing.Color.Black; this.btn_ٍSelectpicture.Location = new System.Drawing.Point(291, 17); this.btn_ٍSelectpicture.Margin = new System.Windows.Forms.Padding(5); this.btn_ٍSelectpicture.Name = "btn_ٍSelectpicture"; this.btn_ٍSelectpicture.Size = new System.Drawing.Size(220, 66); this.btn_ٍSelectpicture.TabIndex = 30; this.btn_ٍSelectpicture.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.btn_ٍSelectpicture.Click += new System.EventHandler(this.btn_ٍSelectpicture_Click); // // pictureBox1 // this.pictureBox1.BackColor = System.Drawing.SystemColors.ActiveBorder; this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.pictureBox1.Location = new System.Drawing.Point(0, 100); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(800, 350); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox1.TabIndex = 32; this.pictureBox1.TabStop = false; this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click); // // btn_sendpicture // this.btn_sendpicture.ActiveBorderThickness = 1; this.btn_sendpicture.ActiveCornerRadius = 20; this.btn_sendpicture.ActiveFillColor = System.Drawing.Color.Silver; this.btn_sendpicture.ActiveForecolor = System.Drawing.Color.White; this.btn_sendpicture.ActiveLineColor = System.Drawing.Color.White; this.btn_sendpicture.Anchor = System.Windows.Forms.AnchorStyles.Top; this.btn_sendpicture.BackColor = System.Drawing.SystemColors.Control; this.btn_sendpicture.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btn_sendpicture.BackgroundImage"))); this.btn_sendpicture.ButtonText = "إرسال النتيجة"; this.btn_sendpicture.Cursor = System.Windows.Forms.Cursors.Hand; this.btn_sendpicture.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); this.btn_sendpicture.ForeColor = System.Drawing.Color.Black; this.btn_sendpicture.IdleBorderThickness = 1; this.btn_sendpicture.IdleCornerRadius = 20; this.btn_sendpicture.IdleFillColor = System.Drawing.Color.White; this.btn_sendpicture.IdleForecolor = System.Drawing.Color.Black; this.btn_sendpicture.IdleLineColor = System.Drawing.Color.Black; this.btn_sendpicture.Location = new System.Drawing.Point(40, 17); this.btn_sendpicture.Margin = new System.Windows.Forms.Padding(5); this.btn_sendpicture.Name = "btn_sendpicture"; this.btn_sendpicture.Size = new System.Drawing.Size(220, 66); this.btn_sendpicture.TabIndex = 33; this.btn_sendpicture.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.btn_sendpicture.Click += new System.EventHandler(this.btn_sendpicture_Click); // // openFileDialog1 // this.openFileDialog1.FileName = "openFileDialog1"; // // panel1 // this.panel1.Controls.Add(this.btn_sendpicture); this.panel1.Controls.Add(this.btn_ٍSelectpicture); this.panel1.Controls.Add(this.txt_Admissionid); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(800, 100); this.panel1.TabIndex = 34; // // Send_Picture // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.panel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "Send_Picture"; this.Text = "Sen_Picture"; ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.panel1.ResumeLayout(false); this.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() { 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() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frm_msg)); this.bunifuElipse1 = new Bunifu.Framework.UI.BunifuElipse(this.components); this.bunifuDragControl1 = new Bunifu.Framework.UI.BunifuDragControl(this.components); this.btn_cancel = new DevExpress.XtraEditors.SimpleButton(); this.btn_ok = new DevExpress.XtraEditors.SimpleButton(); this.lb_msgtxt = new DevExpress.XtraEditors.LabelControl(); this.msg_icon = new DevExpress.XtraEditors.PictureEdit(); this.timer1 = new System.Windows.Forms.Timer(this.components); ((System.ComponentModel.ISupportInitialize)(this.msg_icon.Properties)).BeginInit(); this.SuspendLayout(); // // bunifuElipse1 // this.bunifuElipse1.ElipseRadius = 5; this.bunifuElipse1.TargetControl = this; // // bunifuDragControl1 // this.bunifuDragControl1.Fixed = true; this.bunifuDragControl1.Horizontal = true; this.bunifuDragControl1.TargetControl = this; this.bunifuDragControl1.Vertical = true; // // btn_cancel // this.btn_cancel.AllowFocus = false; this.btn_cancel.Appearance.BackColor = System.Drawing.Color.Transparent; this.btn_cancel.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_cancel.Appearance.ForeColor = System.Drawing.Color.White; this.btn_cancel.Appearance.Options.UseBackColor = true; this.btn_cancel.Appearance.Options.UseFont = true; this.btn_cancel.Appearance.Options.UseForeColor = true; this.btn_cancel.AppearanceHovered.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(191)))), ((int)(((byte)(0))))); this.btn_cancel.AppearanceHovered.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_cancel.AppearanceHovered.ForeColor = System.Drawing.Color.White; this.btn_cancel.AppearanceHovered.Options.UseBackColor = true; this.btn_cancel.AppearanceHovered.Options.UseFont = true; this.btn_cancel.AppearanceHovered.Options.UseForeColor = true; this.btn_cancel.AppearancePressed.BorderColor = System.Drawing.Color.Transparent; this.btn_cancel.AppearancePressed.Options.UseBorderColor = true; this.btn_cancel.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.btn_cancel.Cursor = System.Windows.Forms.Cursors.Hand; this.btn_cancel.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btn_cancel.ImageOptions.Image"))); this.btn_cancel.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btn_cancel.Location = new System.Drawing.Point(104, 41); this.btn_cancel.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Flat; this.btn_cancel.LookAndFeel.UseDefaultLookAndFeel = false; this.btn_cancel.Name = "btn_cancel"; this.btn_cancel.ShowFocusRectangle = DevExpress.Utils.DefaultBoolean.False; this.btn_cancel.Size = new System.Drawing.Size(38, 23); this.btn_cancel.TabIndex = 2; this.btn_cancel.Text = "الغاء"; this.btn_cancel.Click += new System.EventHandler(this.btn_cancel_Click); // // btn_ok // this.btn_ok.Appearance.BackColor = System.Drawing.Color.Transparent; this.btn_ok.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_ok.Appearance.ForeColor = System.Drawing.Color.White; this.btn_ok.Appearance.Options.UseBackColor = true; this.btn_ok.Appearance.Options.UseFont = true; this.btn_ok.Appearance.Options.UseForeColor = true; this.btn_ok.AppearanceHovered.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(191)))), ((int)(((byte)(0))))); this.btn_ok.AppearanceHovered.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_ok.AppearanceHovered.ForeColor = System.Drawing.Color.White; this.btn_ok.AppearanceHovered.Options.UseBackColor = true; this.btn_ok.AppearanceHovered.Options.UseFont = true; this.btn_ok.AppearanceHovered.Options.UseForeColor = true; this.btn_ok.AppearancePressed.BorderColor = System.Drawing.Color.Transparent; this.btn_ok.AppearancePressed.Options.UseBorderColor = true; this.btn_ok.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.btn_ok.Cursor = System.Windows.Forms.Cursors.Hand; this.btn_ok.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btn_ok.ImageOptions.Image"))); this.btn_ok.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btn_ok.Location = new System.Drawing.Point(143, 41); this.btn_ok.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Flat; this.btn_ok.LookAndFeel.UseDefaultLookAndFeel = false; this.btn_ok.Name = "btn_ok"; this.btn_ok.ShowFocusRectangle = DevExpress.Utils.DefaultBoolean.False; this.btn_ok.Size = new System.Drawing.Size(35, 23); this.btn_ok.TabIndex = 0; this.btn_ok.ToolTip = "موافق"; this.btn_ok.Click += new System.EventHandler(this.btn_ok_Click); // // lb_msgtxt // this.lb_msgtxt.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(37)))), ((int)(((byte)(45))))); this.lb_msgtxt.Appearance.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.lb_msgtxt.Appearance.ForeColor = System.Drawing.Color.White; this.lb_msgtxt.Appearance.Options.UseBackColor = true; this.lb_msgtxt.Appearance.Options.UseFont = true; this.lb_msgtxt.Appearance.Options.UseForeColor = true; this.lb_msgtxt.Appearance.Options.UseTextOptions = true; this.lb_msgtxt.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.lb_msgtxt.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.lb_msgtxt.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; this.lb_msgtxt.Location = new System.Drawing.Point(3, 9); this.lb_msgtxt.LookAndFeel.UseDefaultLookAndFeel = false; this.lb_msgtxt.Name = "lb_msgtxt"; this.lb_msgtxt.Size = new System.Drawing.Size(281, 24); this.lb_msgtxt.TabIndex = 10; this.lb_msgtxt.Text = "أدخل نص الرسالة"; this.lb_msgtxt.Click += new System.EventHandler(this.lb_msgtxt_Click_1); // // msg_icon // this.msg_icon.Location = new System.Drawing.Point(22, 42); this.msg_icon.Name = "msg_icon"; this.msg_icon.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto; this.msg_icon.Size = new System.Drawing.Size(37, 24); this.msg_icon.TabIndex = 11; this.msg_icon.Visible = false; // // timer1 // this.timer1.Interval = 600; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // frm_msg // this.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(37)))), ((int)(((byte)(45))))); this.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(11)))), ((int)(((byte)(98)))), ((int)(((byte)(164))))); this.Appearance.Options.UseBackColor = true; this.Appearance.Options.UseForeColor = true; this.ClientSize = new System.Drawing.Size(289, 74); this.Controls.Add(this.msg_icon); this.Controls.Add(this.btn_cancel); this.Controls.Add(this.lb_msgtxt); this.Controls.Add(this.btn_ok); this.FormBorderEffect = DevExpress.XtraEditors.FormBorderEffect.None; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.HelpButton = true; this.LookAndFeel.SkinName = "Office 2010 Silver"; this.LookAndFeel.UseDefaultLookAndFeel = false; this.Name = "frm_msg"; this.Opacity = 0.92D; this.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Load += new System.EventHandler(this.frm_msg_Load_1); ((System.ComponentModel.ISupportInitialize)(this.msg_icon.Properties)).EndInit(); this.ResumeLayout(false); }
private void iniciarDescarga(String carpeta, String web, String destino, int codigo, FlowLayoutPanel panel, String abrir, String ext) { WebClient oCliente = new WebClient(); Uri url = new Uri(web + carpeta + ext); string archivo = Path.GetFileName(url.AbsolutePath); string abrirdireccion = abrir + carpeta + "/index.php"; string axu; if (ext == ".zip") { axu = codigo + ext; rutaDirectorio = destino + codigo + ext; } else { rutaDirectorio = destino + archivo + ext; axu = archivo; } ServicePointManager.DefaultConnectionLimit = 10; ProgressBar pbr = new ProgressBar(); pbr.Name = "pg" + axu; pbr.Visible = true; pbr.Location = new Point(2, 40); pbr.Size = new Size(420, 10); Label titulo = new Label(); titulo.Text = carpeta; titulo.Font = new Font("Arial", 8, FontStyle.Bold); titulo.Location = new Point(5, 13); titulo.Size = new Size(420, 20); titulo.BackColor = Color.Transparent; Label estado = new Label(); estado.Name = "st" + axu; estado.Text = "Descargando"; estado.Location = new Point(186, 53); estado.Font = new Font("Arial", 8, FontStyle.Bold); estado.BackColor = Color.Transparent; Label porcentaje = new Label(); porcentaje.Name = "pr" + axu; porcentaje.Size = new Size(40, 40); porcentaje.Font = new Font("Arial", 8, FontStyle.Bold); porcentaje.Text = "0%"; porcentaje.Location = new Point(208, 70); porcentaje.BackColor = Color.Transparent; Bunifu.Framework.UI.BunifuCards pan = new Bunifu.Framework.UI.BunifuCards(); pan.Name = "pn" + axu; pan.color = Color.DodgerBlue; pan.BackColor = Color.FromArgb(30, 30, 46); pan.AutoSize = true; pan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); pan.ForeColor = Color.White; Button btn = new Button(); btn.Name = "btn" + axu; btn.Text = "Ver"; btn.Click += new EventHandler((sender, e) => verdescarga_Click(sender, e, abrirdireccion)); btn.Location = new Point(180, 90); btn.Hide(); Bunifu.Framework.UI.BunifuElipse style = new Bunifu.Framework.UI.BunifuElipse(); style.ElipseRadius = 100; pan.Controls.Add(style.TargetControl); pan.Controls.Add(btn); pan.Controls.Add(titulo); pan.Controls.Add(porcentaje); pan.Controls.Add(estado); pan.Controls.Add(pbr); panel.Controls.Add(pan); carpeta = ""; oCliente.DownloadProgressChanged += new DownloadProgressChangedEventHandler((sender, e) => mostrarProgreso(sender, e, panel)); oCliente.DownloadFileCompleted += new AsyncCompletedEventHandler((sender, e) => finalizarDescarga(sender, e, panel, destino, ext)); oCliente.DownloadFileAsync(url, rutaDirectorio, axu); }