/// <summary> /// перевірка чи пароль з іменем відповідають умовам /// </summary> /// <param name="email">ім'я користувача</param> /// <param name="password">пароль</param> /// <returns></returns> /// <param name="ErName">текст для помилки</param> /// <param name="ErPassword">текст для помилки</param> /// <returns></returns> static public bool Spelling(string email, string password, BunifuCustomLabel ErName, BunifuCustomLabel ErPassword) { bool spell = true; // перевірка чи не початкові дані if ((email == "Email") && (password == "Password")) { return(false); } if (email.Length < 2) // перевірка імені { ErName.Show(); // попередження spell = false; } else { ErName.Hide(); } if (password.Length < 6) // перевірка паролю { ErPassword.Show(); // попередження spell = false; } else { ErPassword.Hide(); } return(spell); }
/// Tengo que hacerlo en el evento que cambia de Matricula "RowEnter - Matricula" /// Otra opcion es hacer una consulta capturando el ID al momento que cambia de matricula private void asignarValores(BunifuCustomLabel lblCantidadCuota, BunifuCustomLabel lblEstadoCuota) { lblCantidadCuota.Text = valorCelda(gvDetalleMatricula, ""); lblEstadoCuota.Visible = false; // Calcular saldo total - saldo pendiente }
public SearchComponent() { InitializeComponent(); this.labelEx = LabelExample; this.labelEx2 = labelExample2; }
private void DisplaySchedule(DateTime date) { BunifuCustomLabel targer_S1 = null; BunifuCustomLabel target_S2 = null; switch (date.DayOfWeek) { case (DayOfWeek.Monday): targer_S1 = bunifuCustomLabel_Mon_S1; target_S2 = bunifuCustomLabel_Mon_S2; break; case (DayOfWeek.Tuesday): targer_S1 = bunifuCustomLabel_Tue_S1; target_S2 = bunifuCustomLabel_Tue_S2; break; case (DayOfWeek.Wednesday): targer_S1 = bunifuCustomLabel_Wed_S1; target_S2 = bunifuCustomLabel_Wed_S2; break; case (DayOfWeek.Thursday): targer_S1 = bunifuCustomLabel_Thu_S1; target_S2 = bunifuCustomLabel_Thu_S2; break; case (DayOfWeek.Friday): targer_S1 = bunifuCustomLabel_Fri_S1; target_S2 = bunifuCustomLabel_Fri_S2; break; case (DayOfWeek.Saturday): targer_S1 = bunifuCustomLabel_Sat_S1; target_S2 = bunifuCustomLabel_Sat_S2; break; case (DayOfWeek.Sunday): targer_S1 = bunifuCustomLabel_Sun_S1; target_S2 = bunifuCustomLabel_Sun_S2; break; } if (savedSchedule.GetSchedule(date) == null) { DailySchedule schedule = manager.GetSchedule(date); savedSchedule.AddSchedule(schedule); FormatDataInLabel(schedule.GetWorkingShift(1), targer_S1); FormatDataInLabel(schedule.GetWorkingShift(2), target_S2); } else { FormatDataInLabel(savedSchedule.GetSchedule(date).GetWorkingShift(1), targer_S1); FormatDataInLabel(savedSchedule.GetSchedule(date).GetWorkingShift(2), target_S2); } }
private BunifuCustomLabel addCapaciteValueLabel(int i) { BunifuCustomLabel label = new BunifuCustomLabel(); label.Name = "buLabel_Value_Capacite_" + i.ToString(); label.Text = MesAtelier[i].Capacite.ToString(); label.Location = new Point(287, 71); label.AutoSize = true; return(label); }
private BunifuCustomLabel addDateFin(int i) { BunifuCustomLabel date = new BunifuCustomLabel(); date.Name = "buLabel_Value_DateFin_" + i.ToString(); date.Text = MesAtelier[i].HoraireFin.ToString(); date.Location = new Point(349, 123); date.AutoSize = true; return(date); }
private BunifuCustomLabel addCapaciteLabel(int i) { BunifuCustomLabel label = new BunifuCustomLabel(); label.Name = "buLabel_Capacite_" + i.ToString(); label.Text = "Capacité"; label.Location = new Point(104, 71); label.AutoSize = true; return(label); }
private BunifuCustomLabel addTitreLabel(int i) { BunifuCustomLabel label = new BunifuCustomLabel(); label.Name = "buLabel_Libelle_" + i.ToString(); label.Text = MesAtelier[i].Libelle.ToString(); label.Location = new Point(206, 14); label.AutoSize = true; return(label); }
private BunifuCustomLabel generateLocationLabel(int i) { BunifuCustomLabel label = new BunifuCustomLabel(); label.Name = "bLabel_Location_" + i.ToString(); label.Text = "Localisation"; label.Location = new Point(3, 45); label.AutoSize = true; return(label); }
//Generate a label with the area of the stands private BunifuCustomLabel generatAreaValueLabel(int i) { BunifuCustomLabel label = new BunifuCustomLabel(); label.Name = "bLabel_Area_Value" + i.ToString(); label.Text = standsList[i].Area.ToString() + " M²"; label.Location = new Point(92, 26); label.AutoSize = true; return(label); }
private BunifuCustomLabel generateAreaLabel(int i) { BunifuCustomLabel label = new BunifuCustomLabel(); label.Name = "bLabel_Area_" + i.ToString(); label.Text = "Surface"; label.Location = new Point(3, 26); label.AutoSize = true; return(label); }
//Generate a label of the owner of the stand if it's booked private BunifuCustomLabel generatePartnerLabel(int i) { BunifuCustomLabel label = new BunifuCustomLabel(); label.Name = "bLabel_Partner_" + i.ToString(); label.Text = standsList[i].Partenaire.Nom; label.Location = new Point(3, 145); label.AutoSize = true; return(label); }
private BunifuCustomLabel addLabelAu(int i) { BunifuCustomLabel label = new BunifuCustomLabel(); label.Name = "buLabelD_" + i.ToString(); label.Text = "au"; label.Location = new Point(4, 91); label.AutoSize = true; return(label); }
/// <summary> /// Пілтвердження паролю /// </summary> /// <param name="password">пароль</param> /// <param name="passwordConfirm">підтвердження</param> /// <param name="Confirmation">Lable з підтвердженням при помилковому паролі</param> /// <returns></returns> static public bool ConfirmPassword(string password, string passwordConfirm, BunifuCustomLabel Confirmation) { if (password != passwordConfirm)// чи співдалають паролі { Confirmation.Show(); return(false); } Confirmation.Hide(); return(true); }
private BunifuCustomLabel generateLocationValueLabel(int i) { BunifuCustomLabel label = new BunifuCustomLabel(); label.Name = "bLabel_Location_Value_" + i.ToString(); label.Text = standsList[i].NumAllee.ToString() + " " + standsList[i].NumOrdre.ToString(); label.Location = new Point(92, 43); label.AutoSize = true; label.ForeColor = System.Drawing.Color.Red; return(label); }
private BunifuCustomLabel addLabelOption() { BunifuCustomLabel lblResult = new BunifuCustomLabel(); lblResult.BackColor = System.Drawing.Color.Transparent; lblResult.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblResult.Location = new System.Drawing.Point(98, 1); lblResult.Size = new System.Drawing.Size(330, 80); lblResult.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; lblContents.Add(lblResult); return(lblResult); }
private void btnHome_Click(object sender, EventArgs e) { pnlMaster = master.Controls.Find("pnlMain", true).FirstOrDefault() as Panel; pnlTop = master.Controls.Find("pnlTop", true).FirstOrDefault() as Panel; BunifuCustomLabel label = master.Controls.Find("lblHeader", true).FirstOrDefault() as BunifuCustomLabel; label.Text = "Çocuklar İçin Makine Öğrenmesi"; label.Location = new Point((pnlTop.Width - label.Width) / 2, 12); pnlMaster.Controls.Clear(); Games games = new Games(); games.master = master; pnlMaster.Controls.Add(games); }
private void setContentPanel(string content, Panel panel, BunifuCustomLabel label) { if (string.IsNullOrEmpty(content)) { panel.Visible = false; } else { if (panel.Visible == false) { panel.Visible = true; } label.Text = content; } }
private void GameMain_Load(object sender, EventArgs e) { pnlMaster = master.Controls.Find("pnlMain", true).FirstOrDefault() as Panel; pnlTop = master.Controls.Find("pnlTop", true).FirstOrDefault() as Panel; BunifuCustomLabel lblHeader = master.Controls.Find("lblHeader", true).FirstOrDefault() as BunifuCustomLabel; lblHeader.Text = _game.Name + " - Çocuklar İçin Makine Öğrenmesi"; lblHeader.Location = new Point((pnlTop.Width - lblHeader.Width) / 2, 12); pbMain.Image = _game.Image; pbMain.Location = new Point((pnlMaster.Width - pbMain.Width) / 2, 71); lblGameName.Text = _game.Name; lblGameName.Location = new Point((pnlMaster.Width - lblGameName.Width) / 2, 400); lblGameDescription.Text = _game.Description; lblGameDescription.Location = new Point((pnlMaster.Width - lblGameDescription.Width) / 2, 457); }
private BunifuCustomLabel addLabelQs(string text) { BunifuCustomLabel lblQs = new BunifuCustomLabel(); lblQs.Font = new System.Drawing.Font("Century Gothic", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); lblQs.Location = new System.Drawing.Point(98, 14); lblQs.Size = new System.Drawing.Size(328, 96); lblQs.Text = text; lblQs.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; while (lblQs.Height < System.Windows.Forms.TextRenderer.MeasureText(lblQs.Text, new Font(lblQs.Font.FontFamily, lblQs.Font.Size, lblQs.Font.Style)).Height) { lblQs.Font = new Font(lblQs.Font.FontFamily, lblQs.Font.Size - 0.5f, lblQs.Font.Style); } return(lblQs); }
private void FormatDataInLabel(WorkingShift workingShift, BunifuCustomLabel target) { string printData = ""; if (workingShift == null) { target.Text = "(No data)"; return; } foreach (Staff staff in workingShift.WorkingStaff.Values) { printData += staff.FullName + " (" + staff.CurrentPosition + ")" + Environment.NewLine; } target.Text = printData; }
static public bool CheckEmail(string email, BunifuCustomLabel ErrorEmail) { if (email == "Email") { ErrorEmail.Show(); return(false); } else { ErrorEmail.Hide(); if (new EmailAddressAttribute().IsValid(email)) { return(true); } } return(true); }
public FlowLayoutPanel GenerateTextForNiveau(NiveauEntitie item) { FontFamily fontFTitle = new FontFamily("Microsoft Sans Serif"); Font font = new Font( fontFTitle, 12, FontStyle.Bold, GraphicsUnit.Point); FontFamily fontFItem = new FontFamily("Microsoft Sans Serif"); Font fontItem = new Font( fontFItem, 9, FontStyle.Regular, GraphicsUnit.Point); BunifuCustomLabel nom = new BunifuCustomLabel(); nom.Text = " Nom : " + item.nom; nom.Font = font; BunifuCustomLabel batiment = new BunifuCustomLabel(); batiment.Text = " Batiment : " + item.specialite; batiment.Font = fontItem; BunifuCustomLabel nbrePrise = new BunifuCustomLabel(); nbrePrise.Text = " Nombre d'ue : " + item.nbre_ue; nbrePrise.Font = fontItem; BunifuCustomLabel nbre_ue = new BunifuCustomLabel(); nbrePrise.Text = " Nombre d'enseignant : " + item.nombre_ensegnant; nbrePrise.Font = fontItem; FlowLayoutPanel flowLayout = new FlowLayoutPanel(); flowLayout.Controls.Add(nom); flowLayout.Controls.Add(batiment); flowLayout.Controls.Add(nbrePrise); return(flowLayout); }
Label createRemoveSign() { BunifuCustomLabel remove = new BunifuCustomLabel(); //remove.BackColor = System.Drawing.Color.OrangeRed; remove.Cursor = System.Windows.Forms.Cursors.Hand; remove.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); remove.ForeColor = System.Drawing.Color.OrangeRed; remove.Location = new System.Drawing.Point(659, 0); remove.Name = "remove" + numberOfItems; remove.Size = new System.Drawing.Size(29, 15); remove.Text = "-"; remove.Anchor = AnchorStyles.None; remove.Tag = numberOfItems; remove.AutoSize = false; remove.TextAlign = System.Drawing.ContentAlignment.TopCenter; remove.Click += (s, args) => removeThisItem(int.Parse(remove.Tag.ToString())); return(remove); }
private BunifuCustomLabel CreateLabel(string propertyName) { BunifuCustomLabel lbl = new BunifuCustomLabel { Name = "lbl_" + propertyName, Text = propertyName.Replace("_", " "), AutoSize = true, Dock = System.Windows.Forms.DockStyle.Bottom, Font = new System.Drawing.Font("Century Gothic", 9F), ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(53)))), ((int)(((byte)(65))))), Location = new System.Drawing.Point(0, 57), Margin = new System.Windows.Forms.Padding(0), Size = new System.Drawing.Size(208, 20), TabIndex = 0, TextAlign = System.Drawing.ContentAlignment.BottomLeft }; return(lbl); }
private void Add_check_modulos() { BunifuCheckbox check; BunifuCustomLabel label; var index = 0; foreach (string item in Enum.GetNames(typeof(GlobalS.Modulos))) { index++; check = new BunifuCheckbox(); check.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(26)))), ((int)(((byte)(74))))); check.CheckedOnColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(26)))), ((int)(((byte)(74))))); check.Size = new Size(20, 20); check.Name = "ck" + index; label = new BunifuCustomLabel(); label.Size = new Size(160, 20); label.Text = item; label.Font = new System.Drawing.Font("Century Gothic", 12, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.panelmodulos.Controls.AddRange(new Control[] { check, label }); } }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoLAccManager.Form1)); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle = 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(); BGForm = new System.Windows.Forms.Panel(); btnCopy = new Bunifu.Framework.UI.BunifuFlatButton(); btnAbout = new Bunifu.Framework.UI.BunifuFlatButton(); panel2 = new System.Windows.Forms.Panel(); btnLogin = new Bunifu.Framework.UI.BunifuFlatButton(); panel3 = new System.Windows.Forms.Panel(); panel1 = new System.Windows.Forms.Panel(); btnAddAcc = new Bunifu.Framework.UI.BunifuFlatButton(); AccountGrid = new Bunifu.Framework.UI.BunifuCustomDataGrid(); Username = new System.Windows.Forms.DataGridViewTextBoxColumn(); Password = new System.Windows.Forms.DataGridViewTextBoxColumn(); IGN = new System.Windows.Forms.DataGridViewTextBoxColumn(); Rank = new System.Windows.Forms.DataGridViewTextBoxColumn(); HeaderBG = new System.Windows.Forms.Panel(); bunifuImageButton2 = new Bunifu.Framework.UI.BunifuImageButton(); bunifuImageButton1 = new Bunifu.Framework.UI.BunifuImageButton(); bunifuCustomLabel1 = new Bunifu.Framework.UI.BunifuCustomLabel(); BGForm.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)AccountGrid).BeginInit(); HeaderBG.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)bunifuImageButton2).BeginInit(); ((System.ComponentModel.ISupportInitialize)bunifuImageButton1).BeginInit(); SuspendLayout(); BGForm.BackColor = System.Drawing.Color.FromArgb(40, 46, 72); BGForm.BackgroundImage = (System.Drawing.Image)resources.GetObject("BGForm.BackgroundImage"); BGForm.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; BGForm.Controls.Add(btnCopy); BGForm.Controls.Add(btnAbout); BGForm.Controls.Add(panel2); BGForm.Controls.Add(btnLogin); BGForm.Controls.Add(panel3); BGForm.Controls.Add(panel1); BGForm.Controls.Add(btnAddAcc); BGForm.Controls.Add(AccountGrid); BGForm.Controls.Add(HeaderBG); BGForm.Location = new System.Drawing.Point(-6, -7); BGForm.Name = "BGForm"; BGForm.Size = new System.Drawing.Size(635, 525); BGForm.TabIndex = 0; BGForm.Paint += new System.Windows.Forms.PaintEventHandler(panel1_Paint); btnCopy.Activecolor = System.Drawing.Color.FromArgb(35, 40, 60); btnCopy.BackColor = System.Drawing.Color.FromArgb(35, 40, 60); btnCopy.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; btnCopy.BorderRadius = 0; btnCopy.ButtonText = "Copy selected account login"; btnCopy.Cursor = System.Windows.Forms.Cursors.Hand; btnCopy.DisabledColor = System.Drawing.Color.FromArgb(35, 40, 60); btnCopy.Font = new System.Drawing.Font("Arial Rounded MT Bold", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); btnCopy.Iconcolor = System.Drawing.Color.Transparent; btnCopy.Iconimage = null; btnCopy.Iconimage_right = null; btnCopy.Iconimage_right_Selected = null; btnCopy.Iconimage_Selected = null; btnCopy.IconMarginLeft = 0; btnCopy.IconMarginRight = 0; btnCopy.IconRightVisible = true; btnCopy.IconRightZoom = 0.0; btnCopy.IconVisible = true; btnCopy.IconZoom = 90.0; btnCopy.IsTab = false; btnCopy.Location = new System.Drawing.Point(221, 52); btnCopy.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); btnCopy.Name = "btnCopy"; btnCopy.Normalcolor = System.Drawing.Color.FromArgb(35, 40, 60); btnCopy.OnHovercolor = System.Drawing.Color.FromArgb(63, 71, 105); btnCopy.OnHoverTextColor = System.Drawing.Color.White; btnCopy.selected = false; btnCopy.Size = new System.Drawing.Size(157, 38); btnCopy.TabIndex = 10; btnCopy.Text = "Copy selected account login"; btnCopy.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; btnCopy.Textcolor = System.Drawing.Color.White; btnCopy.TextFont = new System.Drawing.Font("Arial Rounded MT Bold", 9.75f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); btnCopy.Click += new System.EventHandler(btnCopy_Click); btnAbout.Activecolor = System.Drawing.Color.FromArgb(35, 40, 60); btnAbout.BackColor = System.Drawing.Color.FromArgb(35, 40, 60); btnAbout.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; btnAbout.BorderRadius = 0; btnAbout.ButtonText = "About"; btnAbout.Cursor = System.Windows.Forms.Cursors.Hand; btnAbout.DisabledColor = System.Drawing.Color.FromArgb(35, 40, 60); btnAbout.Font = new System.Drawing.Font("Arial Rounded MT Bold", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); btnAbout.Iconcolor = System.Drawing.Color.Transparent; btnAbout.Iconimage = null; btnAbout.Iconimage_right = null; btnAbout.Iconimage_right_Selected = null; btnAbout.Iconimage_Selected = null; btnAbout.IconMarginLeft = 0; btnAbout.IconMarginRight = 0; btnAbout.IconRightVisible = true; btnAbout.IconRightZoom = 0.0; btnAbout.IconVisible = true; btnAbout.IconZoom = 90.0; btnAbout.IsTab = false; btnAbout.Location = new System.Drawing.Point(416, 455); btnAbout.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); btnAbout.Name = "btnAbout"; btnAbout.Normalcolor = System.Drawing.Color.FromArgb(35, 40, 60); btnAbout.OnHovercolor = System.Drawing.Color.FromArgb(63, 71, 105); btnAbout.OnHoverTextColor = System.Drawing.Color.White; btnAbout.selected = false; btnAbout.Size = new System.Drawing.Size(174, 54); btnAbout.TabIndex = 9; btnAbout.Text = "About"; btnAbout.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; btnAbout.Textcolor = System.Drawing.Color.White; btnAbout.TextFont = new System.Drawing.Font("Arial Rounded MT Bold", 9.75f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); btnAbout.Click += new System.EventHandler(btnAbout_Click); panel2.BackColor = System.Drawing.Color.FromArgb(35, 40, 60); panel2.Location = new System.Drawing.Point(622, 9); panel2.Name = "panel2"; panel2.Size = new System.Drawing.Size(10, 512); panel2.TabIndex = 6; btnLogin.Activecolor = System.Drawing.Color.FromArgb(35, 40, 60); btnLogin.BackColor = System.Drawing.Color.FromArgb(35, 40, 60); btnLogin.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; btnLogin.BorderRadius = 0; btnLogin.ButtonText = "Login to selected account"; btnLogin.Cursor = System.Windows.Forms.Cursors.Hand; btnLogin.DisabledColor = System.Drawing.Color.FromArgb(35, 40, 60); btnLogin.Font = new System.Drawing.Font("Arial Rounded MT Bold", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); btnLogin.Iconcolor = System.Drawing.Color.Transparent; btnLogin.Iconimage = null; btnLogin.Iconimage_right = null; btnLogin.Iconimage_right_Selected = null; btnLogin.Iconimage_Selected = null; btnLogin.IconMarginLeft = 0; btnLogin.IconMarginRight = 0; btnLogin.IconRightVisible = true; btnLogin.IconRightZoom = 0.0; btnLogin.IconVisible = true; btnLogin.IconZoom = 90.0; btnLogin.IsTab = false; btnLogin.Location = new System.Drawing.Point(55, 52); btnLogin.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); btnLogin.Name = "btnLogin"; btnLogin.Normalcolor = System.Drawing.Color.FromArgb(35, 40, 60); btnLogin.OnHovercolor = System.Drawing.Color.FromArgb(63, 71, 105); btnLogin.OnHoverTextColor = System.Drawing.Color.White; btnLogin.selected = false; btnLogin.Size = new System.Drawing.Size(167, 38); btnLogin.TabIndex = 7; btnLogin.Text = "Login to selected account"; btnLogin.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; btnLogin.Textcolor = System.Drawing.Color.White; btnLogin.TextFont = new System.Drawing.Font("Arial Rounded MT Bold", 9.75f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); btnLogin.Click += new System.EventHandler(btnLogin_Click); panel3.BackColor = System.Drawing.Color.FromArgb(35, 40, 60); panel3.Location = new System.Drawing.Point(1, 38); panel3.Name = "panel3"; panel3.Size = new System.Drawing.Size(10, 495); panel3.TabIndex = 6; panel3.Paint += new System.Windows.Forms.PaintEventHandler(panel3_Paint); panel1.BackColor = System.Drawing.Color.FromArgb(35, 40, 60); panel1.Location = new System.Drawing.Point(-9, 515); panel1.Name = "panel1"; panel1.Size = new System.Drawing.Size(858, 10); panel1.TabIndex = 5; panel1.Paint += new System.Windows.Forms.PaintEventHandler(panel1_Paint_1); btnAddAcc.Activecolor = System.Drawing.Color.FromArgb(35, 40, 60); btnAddAcc.BackColor = System.Drawing.Color.FromArgb(35, 40, 60); btnAddAcc.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; btnAddAcc.BorderRadius = 0; btnAddAcc.ButtonText = "Add account"; btnAddAcc.Cursor = System.Windows.Forms.Cursors.Hand; btnAddAcc.DisabledColor = System.Drawing.Color.FromArgb(35, 40, 60); btnAddAcc.Font = new System.Drawing.Font("Arial Rounded MT Bold", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); btnAddAcc.Iconcolor = System.Drawing.Color.Transparent; btnAddAcc.Iconimage = null; btnAddAcc.Iconimage_right = null; btnAddAcc.Iconimage_right_Selected = null; btnAddAcc.Iconimage_Selected = null; btnAddAcc.IconMarginLeft = 0; btnAddAcc.IconMarginRight = 0; btnAddAcc.IconRightVisible = true; btnAddAcc.IconRightZoom = 0.0; btnAddAcc.IconVisible = true; btnAddAcc.IconZoom = 90.0; btnAddAcc.IsTab = false; btnAddAcc.Location = new System.Drawing.Point(416, 395); btnAddAcc.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); btnAddAcc.Name = "btnAddAcc"; btnAddAcc.Normalcolor = System.Drawing.Color.FromArgb(35, 40, 60); btnAddAcc.OnHovercolor = System.Drawing.Color.FromArgb(63, 71, 105); btnAddAcc.OnHoverTextColor = System.Drawing.Color.White; btnAddAcc.selected = false; btnAddAcc.Size = new System.Drawing.Size(174, 54); btnAddAcc.TabIndex = 4; btnAddAcc.Text = "Add account"; btnAddAcc.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; btnAddAcc.Textcolor = System.Drawing.Color.White; btnAddAcc.TextFont = new System.Drawing.Font("Arial Rounded MT Bold", 9.75f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); btnAddAcc.Click += new System.EventHandler(bunifuFlatButton1_Click); AccountGrid.AllowUserToAddRows = false; AccountGrid.AllowUserToDeleteRows = false; AccountGrid.AllowUserToOrderColumns = true; dataGridViewCellStyle.BackColor = System.Drawing.Color.FromArgb(35, 40, 60); AccountGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle; AccountGrid.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right; AccountGrid.BackgroundColor = System.Drawing.Color.FromArgb(40, 46, 72); AccountGrid.BorderStyle = System.Windows.Forms.BorderStyle.None; AccountGrid.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleVertical; AccountGrid.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(35, 40, 60); dataGridViewCellStyle2.Font = new System.Drawing.Font("Arial Rounded MT Bold", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); dataGridViewCellStyle2.ForeColor = System.Drawing.Color.FromArgb(227, 227, 227); dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(35, 40, 60); dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.FromArgb(227, 227, 227); dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; AccountGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; AccountGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; AccountGrid.Columns.AddRange(Username, Password, IGN, Rank); dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(56, 64, 99); dataGridViewCellStyle3.Font = new System.Drawing.Font("Arial Rounded MT Bold", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(56, 64, 99); dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False; AccountGrid.DefaultCellStyle = dataGridViewCellStyle3; AccountGrid.DoubleBuffered = true; AccountGrid.EnableHeadersVisualStyles = false; AccountGrid.GridColor = System.Drawing.Color.FromArgb(47, 54, 82); AccountGrid.HeaderBgColor = System.Drawing.Color.FromArgb(35, 40, 60); AccountGrid.HeaderForeColor = System.Drawing.Color.FromArgb(227, 227, 227); AccountGrid.Location = new System.Drawing.Point(55, 89); AccountGrid.Name = "AccountGrid"; AccountGrid.ReadOnly = true; AccountGrid.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(67, 76, 115); dataGridViewCellStyle4.Font = new System.Drawing.Font("Arial Rounded MT Bold", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(67, 76, 115); dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; AccountGrid.RowHeadersDefaultCellStyle = dataGridViewCellStyle4; AccountGrid.Size = new System.Drawing.Size(323, 420); AccountGrid.TabIndex = 3; AccountGrid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(bunifuCustomDataGrid1_CellContentClick); Username.DataPropertyName = "AccountUser"; Username.HeaderText = "Username"; Username.Name = "Username"; Username.ReadOnly = true; Username.Visible = false; Username.Width = 140; Password.DataPropertyName = "AccountPass"; Password.HeaderText = "Password"; Password.Name = "Password"; Password.ReadOnly = true; Password.Visible = false; Password.Width = 140; IGN.DataPropertyName = "AccountIGN"; IGN.HeaderText = "IGN"; IGN.Name = "IGN"; IGN.ReadOnly = true; IGN.Width = 140; Rank.DataPropertyName = "AccountRank"; Rank.HeaderText = "Rank"; Rank.Name = "Rank"; Rank.ReadOnly = true; Rank.Width = 140; HeaderBG.BackColor = System.Drawing.Color.FromArgb(35, 40, 60); HeaderBG.Controls.Add(bunifuImageButton2); HeaderBG.Controls.Add(bunifuImageButton1); HeaderBG.Controls.Add(bunifuCustomLabel1); HeaderBG.Location = new System.Drawing.Point(3, 6); HeaderBG.Name = "HeaderBG"; HeaderBG.Size = new System.Drawing.Size(629, 40); HeaderBG.TabIndex = 0; HeaderBG.Paint += new System.Windows.Forms.PaintEventHandler(panel2_Paint); bunifuImageButton2.BackColor = System.Drawing.Color.Transparent; bunifuImageButton2.Cursor = System.Windows.Forms.Cursors.Hand; bunifuImageButton2.Image = (System.Drawing.Image)resources.GetObject("bunifuImageButton2.Image"); bunifuImageButton2.ImageActive = null; bunifuImageButton2.Location = new System.Drawing.Point(565, 10); bunifuImageButton2.Name = "bunifuImageButton2"; bunifuImageButton2.Size = new System.Drawing.Size(22, 22); bunifuImageButton2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; bunifuImageButton2.TabIndex = 2; bunifuImageButton2.TabStop = false; bunifuImageButton2.Zoom = 10; bunifuImageButton2.Click += new System.EventHandler(bunifuImageButton2_Click); bunifuImageButton1.BackColor = System.Drawing.Color.Transparent; bunifuImageButton1.Cursor = System.Windows.Forms.Cursors.Hand; bunifuImageButton1.Image = (System.Drawing.Image)resources.GetObject("bunifuImageButton1.Image"); bunifuImageButton1.ImageActive = null; bunifuImageButton1.Location = new System.Drawing.Point(593, 10); bunifuImageButton1.Name = "bunifuImageButton1"; bunifuImageButton1.Size = new System.Drawing.Size(22, 22); bunifuImageButton1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; bunifuImageButton1.TabIndex = 1; bunifuImageButton1.TabStop = false; bunifuImageButton1.Zoom = 10; bunifuImageButton1.Click += new System.EventHandler(bunifuImageButton1_Click); bunifuCustomLabel1.AutoSize = true; bunifuCustomLabel1.BackColor = System.Drawing.Color.Transparent; bunifuCustomLabel1.Font = new System.Drawing.Font("Arial Rounded MT Bold", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); bunifuCustomLabel1.ForeColor = System.Drawing.Color.FromArgb(227, 227, 227); bunifuCustomLabel1.Location = new System.Drawing.Point(18, 10); bunifuCustomLabel1.Name = "bunifuCustomLabel1"; bunifuCustomLabel1.Size = new System.Drawing.Size(184, 18); bunifuCustomLabel1.TabIndex = 1; bunifuCustomLabel1.Text = "LoL Account Manager"; bunifuCustomLabel1.Click += new System.EventHandler(bunifuCustomLabel1_Click); base.AutoScaleDimensions = new System.Drawing.SizeF(7f, 12f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new System.Drawing.Size(620, 514); base.Controls.Add(BGForm); Font = new System.Drawing.Font("Arial Rounded MT Bold", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; base.Icon = (System.Drawing.Icon)resources.GetObject("$this.Icon"); base.Name = "Form1"; RightToLeft = System.Windows.Forms.RightToLeft.No; Text = "LoL Account Manager"; base.Load += new System.EventHandler(Form1_Load); BGForm.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)AccountGrid).EndInit(); HeaderBG.ResumeLayout(false); HeaderBG.PerformLayout(); ((System.ComponentModel.ISupportInitialize)bunifuImageButton2).EndInit(); ((System.ComponentModel.ISupportInitialize)bunifuImageButton1).EndInit(); ResumeLayout(false); }
public void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(CrypterFrmTab1)); bunifuCustomLabel1 = new BunifuCustomLabel(); bunifuCustomLabel2 = new BunifuCustomLabel(); bunifuCustomLabel3 = new BunifuCustomLabel(); bunifuCustomLabel4 = new BunifuCustomLabel(); bunifuCustomLabel5 = new BunifuCustomLabel(); bunifuCustomLabel6 = new BunifuCustomLabel(); bunifuCustomLabel7 = new BunifuCustomLabel(); bunifuCustomLabel8 = new BunifuCustomLabel(); bunifuCustomLabel9 = new BunifuCustomLabel(); pictureBox1 = new PictureBox(); bunifuFlatButton2 = new BunifuFlatButton(); bunifuTextbox2 = new BunifuTextbox(); bunifuFlatButton1 = new BunifuFlatButton(); bunifuTextbox1 = new BunifuTextbox(); ((ISupportInitialize)pictureBox1).BeginInit(); base.SuspendLayout(); bunifuCustomLabel1.AutoSize = true; bunifuCustomLabel1.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel1.Location = new Point(41, 101); bunifuCustomLabel1.Name = "bunifuCustomLabel1"; bunifuCustomLabel1.Size = new Size(123, 16); bunifuCustomLabel1.TabIndex = 15; bunifuCustomLabel1.Text = "Runtime File Type :"; bunifuCustomLabel2.AutoSize = true; bunifuCustomLabel2.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel2.Location = new Point(170, 101); bunifuCustomLabel2.Name = "bunifuCustomLabel2"; bunifuCustomLabel2.Size = new Size(31, 16); bunifuCustomLabel2.TabIndex = 16; bunifuCustomLabel2.Text = "N/A"; bunifuCustomLabel3.AutoSize = true; bunifuCustomLabel3.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel3.Location = new Point(112, 132); bunifuCustomLabel3.Name = "bunifuCustomLabel3"; bunifuCustomLabel3.Size = new Size(31, 16); bunifuCustomLabel3.TabIndex = 18; bunifuCustomLabel3.Text = "N/A"; bunifuCustomLabel4.AutoSize = true; bunifuCustomLabel4.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel4.Location = new Point(41, 132); bunifuCustomLabel4.Name = "bunifuCustomLabel4"; bunifuCustomLabel4.Size = new Size(65, 16); bunifuCustomLabel4.TabIndex = 17; bunifuCustomLabel4.Text = "File Size :"; bunifuCustomLabel5.AutoSize = true; bunifuCustomLabel5.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel5.Location = new Point(27, 20); bunifuCustomLabel5.Name = "bunifuCustomLabel5"; bunifuCustomLabel5.Size = new Size(108, 16); bunifuCustomLabel5.TabIndex = 21; bunifuCustomLabel5.Text = "Select Your File :"; bunifuCustomLabel6.AutoSize = true; bunifuCustomLabel6.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel6.Location = new Point(30, 173); bunifuCustomLabel6.Name = "bunifuCustomLabel6"; bunifuCustomLabel6.Size = new Size(111, 16); bunifuCustomLabel6.TabIndex = 22; bunifuCustomLabel6.Text = "Select Your Icon :"; bunifuCustomLabel7.AutoSize = true; bunifuCustomLabel7.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel7.Location = new Point(125, 271); bunifuCustomLabel7.Name = "bunifuCustomLabel7"; bunifuCustomLabel7.Size = new Size(31, 16); bunifuCustomLabel7.TabIndex = 24; bunifuCustomLabel7.Text = "N/A"; bunifuCustomLabel8.AutoSize = true; bunifuCustomLabel8.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel8.Location = new Point(54, 271); bunifuCustomLabel8.Name = "bunifuCustomLabel8"; bunifuCustomLabel8.Size = new Size(68, 16); bunifuCustomLabel8.TabIndex = 23; bunifuCustomLabel8.Text = "Icon Size :"; bunifuCustomLabel9.AutoSize = true; bunifuCustomLabel9.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel9.Location = new Point(54, 326); bunifuCustomLabel9.Name = "bunifuCustomLabel9"; bunifuCustomLabel9.Size = new Size(62, 16); bunifuCustomLabel9.TabIndex = 29; bunifuCustomLabel9.Text = "Preview :"; pictureBox1.BorderStyle = BorderStyle.FixedSingle; pictureBox1.Location = new Point(123, 309); pictureBox1.Name = "pictureBox1"; pictureBox1.Size = new Size(50, 50); pictureBox1.TabIndex = 28; pictureBox1.TabStop = false; bunifuFlatButton2.Activecolor = Color.FromArgb(23, 27, 35); bunifuFlatButton2.BackColor = Color.FromArgb(23, 27, 35); bunifuFlatButton2.BackgroundImageLayout = ImageLayout.Stretch; bunifuFlatButton2.BorderRadius = 0; bunifuFlatButton2.ButtonText = "..."; bunifuFlatButton2.Cursor = Cursors.Hand; bunifuFlatButton2.Iconcolor = Color.Transparent; // bunifuFlatButton2.Iconimage = Resources._null; bunifuFlatButton2.Iconimage_right = null; bunifuFlatButton2.Iconimage_right_Selected = null; bunifuFlatButton2.Iconimage_Selected = null; bunifuFlatButton2.IconZoom = 90.0; bunifuFlatButton2.IsTab = false; bunifuFlatButton2.Location = new Point(591, 205); bunifuFlatButton2.Name = "bunifuFlatButton2"; bunifuFlatButton2.Normalcolor = Color.FromArgb(23, 27, 35); bunifuFlatButton2.OnHovercolor = Color.FromArgb(23, 27, 35); bunifuFlatButton2.OnHoverTextColor = Color.White; bunifuFlatButton2.selected = false; bunifuFlatButton2.Size = new Size(87, 29); bunifuFlatButton2.TabIndex = 20; bunifuFlatButton2.Textcolor = Color.White; bunifuFlatButton2.TextFont = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuFlatButton2.Click += bunifuFlatButton2_Click; bunifuTextbox2.AllowDrop = true; bunifuTextbox2.BackColor = Color.White; // bunifuTextbox2.BackgroundImage = (Image)componentResourceManager.GetObject("bunifuTextbox2.BackgroundImage"); bunifuTextbox2.BackgroundImageLayout = ImageLayout.Stretch; bunifuTextbox2.BorderStyle = BorderStyle.FixedSingle; bunifuTextbox2.ForeColor = Color.Black; // bunifuTextbox2.Icon = (Image)componentResourceManager.GetObject("bunifuTextbox2.Icon"); bunifuTextbox2.Location = new Point(33, 205); bunifuTextbox2.Name = "bunifuTextbox2"; bunifuTextbox2.Size = new Size(523, 29); bunifuTextbox2.TabIndex = 19; bunifuTextbox2.text = ""; bunifuFlatButton1.Activecolor = Color.FromArgb(23, 27, 35); bunifuFlatButton1.BackColor = Color.FromArgb(23, 27, 35); bunifuFlatButton1.BackgroundImageLayout = ImageLayout.Stretch; bunifuFlatButton1.BorderRadius = 0; bunifuFlatButton1.ButtonText = "..."; bunifuFlatButton1.Cursor = Cursors.Hand; bunifuFlatButton1.Iconcolor = Color.Transparent; // bunifuFlatButton1.Iconimage = Resources._null; bunifuFlatButton1.Iconimage_right = null; bunifuFlatButton1.Iconimage_right_Selected = null; bunifuFlatButton1.Iconimage_Selected = null; bunifuFlatButton1.IconZoom = 90.0; bunifuFlatButton1.IsTab = false; bunifuFlatButton1.Location = new Point(588, 54); bunifuFlatButton1.Name = "bunifuFlatButton1"; bunifuFlatButton1.Normalcolor = Color.FromArgb(23, 27, 35); bunifuFlatButton1.OnHovercolor = Color.FromArgb(23, 27, 35); bunifuFlatButton1.OnHoverTextColor = Color.White; bunifuFlatButton1.selected = false; bunifuFlatButton1.Size = new Size(87, 29); bunifuFlatButton1.TabIndex = 14; bunifuFlatButton1.Textcolor = Color.White; bunifuFlatButton1.TextFont = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuFlatButton1.Click += bunifuFlatButton1_Click; bunifuTextbox1.AllowDrop = true; bunifuTextbox1.BackColor = Color.White; // bunifuTextbox1.BackgroundImage = (Image)componentResourceManager.GetObject("bunifuTextbox1.BackgroundImage"); bunifuTextbox1.BackgroundImageLayout = ImageLayout.Stretch; bunifuTextbox1.BorderStyle = BorderStyle.FixedSingle; bunifuTextbox1.ForeColor = Color.Black; // bunifuTextbox1.Icon = (Image)componentResourceManager.GetObject("bunifuTextbox1.Icon"); bunifuTextbox1.Location = new Point(30, 54); bunifuTextbox1.Name = "bunifuTextbox1"; bunifuTextbox1.Size = new Size(523, 29); bunifuTextbox1.TabIndex = 13; bunifuTextbox1.text = ""; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; AutoScroll = true; BackColor = Color.White; base.ClientSize = new Size(710, 370); base.Controls.Add(bunifuCustomLabel9); base.Controls.Add(pictureBox1); base.Controls.Add(bunifuCustomLabel7); base.Controls.Add(bunifuCustomLabel8); base.Controls.Add(bunifuCustomLabel6); base.Controls.Add(bunifuCustomLabel5); base.Controls.Add(bunifuFlatButton2); base.Controls.Add(bunifuTextbox2); base.Controls.Add(bunifuCustomLabel3); base.Controls.Add(bunifuCustomLabel4); base.Controls.Add(bunifuCustomLabel2); base.Controls.Add(bunifuCustomLabel1); base.Controls.Add(bunifuFlatButton1); base.Controls.Add(bunifuTextbox1); base.FormBorderStyle = FormBorderStyle.None; base.Name = "CrypterFrmTab1"; Text = "CrypterFrmTab1"; base.Load += CrypterFrmTab1_Load; ((ISupportInitialize)pictureBox1).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { components = new Container(); bunifuElipse1 = new BunifuElipse(components); bunifuCustomLabel1 = new BunifuCustomLabel(); bunifuCustomLabel2 = new BunifuCustomLabel(); btnRegister = new BunifuFlatButton(); btnLogin = new BunifuFlatButton(); bunifuCustomTextbox2 = new BunifuCustomTextbox(); bunifuCustomTextbox1 = new BunifuCustomTextbox(); label1 = new Label(); pictureBox2 = new PictureBox(); bunifuCustomLabel3 = new BunifuCustomLabel(); bunifuDragControl1 = new BunifuDragControl(components); ((ISupportInitialize)pictureBox2).BeginInit(); base.SuspendLayout(); bunifuElipse1.ElipseRadius = 5; bunifuElipse1.TargetControl = this; bunifuCustomLabel1.AutoSize = true; bunifuCustomLabel1.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel1.Location = new Point(12, 99); bunifuCustomLabel1.Name = "bunifuCustomLabel1"; bunifuCustomLabel1.Size = new Size(77, 16); bunifuCustomLabel1.TabIndex = 3; bunifuCustomLabel1.Text = "Username :"******"Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel2.Location = new Point(12, 150); bunifuCustomLabel2.Name = "bunifuCustomLabel2"; bunifuCustomLabel2.Size = new Size(74, 16); bunifuCustomLabel2.TabIndex = 4; bunifuCustomLabel2.Text = "Password :"******"Register"; btnRegister.Cursor = Cursors.Hand; btnRegister.Iconcolor = Color.Transparent; btnRegister.Iconimage = Resources._null; btnRegister.Iconimage_right = null; btnRegister.Iconimage_right_Selected = null; btnRegister.Iconimage_Selected = null; btnRegister.IconZoom = 130.0; btnRegister.IsTab = false; btnRegister.Location = new Point(175, 195); btnRegister.Name = "btnRegister"; btnRegister.Normalcolor = Color.FromArgb(23, 27, 35); btnRegister.OnHovercolor = Color.FromArgb(23, 27, 35); btnRegister.OnHoverTextColor = Color.White; btnRegister.selected = false; btnRegister.Size = new Size(154, 29); btnRegister.TabIndex = 73; btnRegister.Textcolor = Color.White; btnRegister.TextFont = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); btnRegister.Click += btnRegister_Click; btnLogin.Activecolor = Color.FromArgb(23, 27, 35); btnLogin.BackColor = Color.FromArgb(23, 27, 35); btnLogin.BackgroundImageLayout = ImageLayout.Stretch; btnLogin.BorderRadius = 0; btnLogin.ButtonText = "Login"; btnLogin.Cursor = Cursors.Hand; btnLogin.Iconcolor = Color.Transparent; btnLogin.Iconimage = Resources._null; btnLogin.Iconimage_right = null; btnLogin.Iconimage_right_Selected = null; btnLogin.Iconimage_Selected = null; btnLogin.IconZoom = 170.0; btnLogin.IsTab = false; btnLogin.Location = new Point(12, 195); btnLogin.Name = "btnLogin"; btnLogin.Normalcolor = Color.FromArgb(23, 27, 35); btnLogin.OnHovercolor = Color.FromArgb(23, 27, 35); btnLogin.OnHoverTextColor = Color.White; btnLogin.selected = false; btnLogin.Size = new Size(154, 29); btnLogin.TabIndex = 74; btnLogin.Textcolor = Color.White; btnLogin.TextFont = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); btnLogin.Click += btnLogin_Click; bunifuCustomTextbox2.AllowDrop = true; bunifuCustomTextbox2.BorderColor = Color.SeaGreen; bunifuCustomTextbox2.BorderStyle = BorderStyle.FixedSingle; bunifuCustomTextbox2.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomTextbox2.Location = new Point(95, 146); bunifuCustomTextbox2.Multiline = true; bunifuCustomTextbox2.Name = "bunifuCustomTextbox2"; bunifuCustomTextbox2.Size = new Size(234, 29); bunifuCustomTextbox2.TabIndex = 75; bunifuCustomTextbox2.TextAlign = HorizontalAlignment.Center; bunifuCustomTextbox2.UseSystemPasswordChar = true; bunifuCustomTextbox1.AllowDrop = true; bunifuCustomTextbox1.BorderColor = Color.SeaGreen; bunifuCustomTextbox1.BorderStyle = BorderStyle.FixedSingle; bunifuCustomTextbox1.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomTextbox1.Location = new Point(95, 97); bunifuCustomTextbox1.Multiline = true; bunifuCustomTextbox1.Name = "bunifuCustomTextbox1"; bunifuCustomTextbox1.Size = new Size(234, 29); bunifuCustomTextbox1.TabIndex = 76; bunifuCustomTextbox1.TextAlign = HorizontalAlignment.Center; label1.AutoSize = true; label1.BackColor = Color.FromArgb(229, 74, 78); label1.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0); label1.ForeColor = Color.White; label1.Location = new Point(314, 10); label1.Name = "label1"; label1.Size = new Size(15, 13); label1.TabIndex = 77; label1.Text = "X"; label1.Click += label1_Click; pictureBox2.BackColor = Color.FromArgb(229, 74, 78); pictureBox2.Location = new Point(311, 7); pictureBox2.Name = "pictureBox2"; pictureBox2.Size = new Size(20, 20); pictureBox2.SizeMode = PictureBoxSizeMode.StretchImage; pictureBox2.TabIndex = 78; pictureBox2.TabStop = false; bunifuCustomLabel3.AutoSize = true; bunifuCustomLabel3.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel3.Location = new Point(12, 10); bunifuCustomLabel3.Name = "bunifuCustomLabel3"; bunifuCustomLabel3.Size = new Size(118, 16); bunifuCustomLabel3.TabIndex = 79; bunifuCustomLabel3.Text = "Static Crypt - Login"; bunifuDragControl1.Fixed = true; bunifuDragControl1.Horizontal = true; bunifuDragControl1.TargetControl = this; bunifuDragControl1.Vertical = true; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; base.ClientSize = new Size(344, 243); base.Controls.Add(bunifuCustomLabel3); base.Controls.Add(label1); base.Controls.Add(pictureBox2); base.Controls.Add(bunifuCustomTextbox1); base.Controls.Add(bunifuCustomTextbox2); base.Controls.Add(btnLogin); base.Controls.Add(btnRegister); base.Controls.Add(bunifuCustomLabel2); base.Controls.Add(bunifuCustomLabel1); base.FormBorderStyle = FormBorderStyle.None; base.Name = "Login"; base.StartPosition = FormStartPosition.CenterScreen; Text = "Login"; ((ISupportInitialize)pictureBox2).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { bunifuCustomLabel3 = new BunifuCustomLabel(); bunifuCustomLabel1 = new BunifuCustomLabel(); bunifuCustomLabel2 = new BunifuCustomLabel(); bunifuCustomLabel4 = new BunifuCustomLabel(); bunifuCustomLabel5 = new BunifuCustomLabel(); bunifuCustomLabel6 = new BunifuCustomLabel(); bunifuCustomLabel7 = new BunifuCustomLabel(); bunifuCustomLabel8 = new BunifuCustomLabel(); bunifuCustomLabel10 = new BunifuCustomLabel(); bunifuCustomLabel9 = new BunifuCustomLabel(); base.SuspendLayout(); bunifuCustomLabel3.AutoSize = true; bunifuCustomLabel3.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel3.Location = new Point(22, 22); bunifuCustomLabel3.Name = "bunifuCustomLabel3"; bunifuCustomLabel3.Size = new Size(218, 16); bunifuCustomLabel3.TabIndex = 77; bunifuCustomLabel3.Text = "● No crypting services free or paid ."; bunifuCustomLabel1.AutoSize = true; bunifuCustomLabel1.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel1.Location = new Point(22, 57); bunifuCustomLabel1.Name = "bunifuCustomLabel1"; bunifuCustomLabel1.Size = new Size(473, 16); bunifuCustomLabel1.TabIndex = 78; bunifuCustomLabel1.Text = "● Scan only on the inbuilt scanner. Scan on a site that distributes is not allowed."; bunifuCustomLabel2.AutoSize = true; bunifuCustomLabel2.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel2.Location = new Point(22, 91); bunifuCustomLabel2.Name = "bunifuCustomLabel2"; bunifuCustomLabel2.Size = new Size(269, 16); bunifuCustomLabel2.TabIndex = 79; bunifuCustomLabel2.Text = "● All sales are final, a refund is not possible ."; bunifuCustomLabel4.AutoSize = true; bunifuCustomLabel4.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel4.Location = new Point(22, 125); bunifuCustomLabel4.Name = "bunifuCustomLabel4"; bunifuCustomLabel4.Size = new Size(551, 16); bunifuCustomLabel4.TabIndex = 80; bunifuCustomLabel4.Text = "● I am no responsible for any actions from my customes using my software and their outputs ."; bunifuCustomLabel5.AutoSize = true; bunifuCustomLabel5.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel5.Location = new Point(22, 161); bunifuCustomLabel5.Name = "bunifuCustomLabel5"; bunifuCustomLabel5.Size = new Size(541, 16); bunifuCustomLabel5.TabIndex = 81; bunifuCustomLabel5.Text = "● Illegal activities is not allowed. Before doing anything read about the laws of your country."; bunifuCustomLabel6.AutoSize = true; bunifuCustomLabel6.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel6.Location = new Point(22, 195); bunifuCustomLabel6.Name = "bunifuCustomLabel6"; bunifuCustomLabel6.Size = new Size(680, 16); bunifuCustomLabel6.TabIndex = 82; bunifuCustomLabel6.Text = "● Chargebacking or using stolen money is not allowed and all information related to you will be sent to the platform."; bunifuCustomLabel7.AutoSize = true; bunifuCustomLabel7.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel7.Location = new Point(22, 235); bunifuCustomLabel7.Name = "bunifuCustomLabel7"; bunifuCustomLabel7.Size = new Size(404, 16); bunifuCustomLabel7.TabIndex = 83; bunifuCustomLabel7.Text = "● The terms of service of this product can change at any given time."; bunifuCustomLabel8.AutoSize = true; bunifuCustomLabel8.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel8.Location = new Point(22, 275); bunifuCustomLabel8.Name = "bunifuCustomLabel8"; bunifuCustomLabel8.Size = new Size(443, 16); bunifuCustomLabel8.TabIndex = 84; bunifuCustomLabel8.Text = "● No product trashing on the sale thread, the suport is on Skype or E-mail."; bunifuCustomLabel10.AutoSize = true; bunifuCustomLabel10.Font = new Font("Microsoft Sans Serif", 12f, FontStyle.Bold, GraphicsUnit.Point, 0); bunifuCustomLabel10.ForeColor = Color.Red; bunifuCustomLabel10.Location = new Point(93, 375); bunifuCustomLabel10.Name = "bunifuCustomLabel10"; bunifuCustomLabel10.Size = new Size(530, 20); bunifuCustomLabel10.TabIndex = 86; bunifuCustomLabel10.Text = "If you violate this your account will be banned without any refund."; bunifuCustomLabel9.AutoSize = true; bunifuCustomLabel9.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); bunifuCustomLabel9.Location = new Point(22, 312); bunifuCustomLabel9.Name = "bunifuCustomLabel9"; bunifuCustomLabel9.Size = new Size(310, 16); bunifuCustomLabel9.TabIndex = 87; bunifuCustomLabel9.Text = "● You are not allowed to share/reverse my product."; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; base.ClientSize = new Size(710, 426); base.Controls.Add(bunifuCustomLabel9); base.Controls.Add(bunifuCustomLabel10); base.Controls.Add(bunifuCustomLabel8); base.Controls.Add(bunifuCustomLabel7); base.Controls.Add(bunifuCustomLabel6); base.Controls.Add(bunifuCustomLabel5); base.Controls.Add(bunifuCustomLabel4); base.Controls.Add(bunifuCustomLabel2); base.Controls.Add(bunifuCustomLabel1); base.Controls.Add(bunifuCustomLabel3); base.FormBorderStyle = FormBorderStyle.None; base.Name = "CodeStoreFrm"; Text = "CodeStoreFrm"; base.ResumeLayout(false); base.PerformLayout(); }