// Token: 0x06000037 RID: 55 RVA: 0x000066A0 File Offset: 0x000048A0 private void flatTextBox1_TextChanged(object sender, EventArgs e) { try { this.tbAddressHistory.Text = ""; ICollection <UserWalletHistory> collection = this.User.WalletHistories; bool flag = !string.IsNullOrWhiteSpace(this.flatTextBox1.Text); if (flag) { collection = (from x in this.User.WalletHistories where x.Address.Contains(this.flatTextBox1.Text) select x).ToList <UserWalletHistory>(); } foreach (UserWalletHistory userWalletHistory in collection) { FlatTextBox flatTextBox = this.tbAddressHistory; flatTextBox.Text = string.Concat(new string[] { flatTextBox.Text, userWalletHistory.HistoryType.ToString(), "-", userWalletHistory.Address, "\r\n" }); } } catch (Exception ex) { MessageBox.Show("Ошибка вывода истории. " + ex.Message); } }
/// <summary> /// Pré-rempli les champs avec les données du locataire /// </summary> /// <param name="flatTextBoxNom">Textbox pour modifier le nom du locataire</param> /// <param name="flatTextBoxPassword">Textbox pour modifier le mot de passe du locataire</param> public async Task RempliChamps(FlatTextBox flatTextBoxNom, FlatTextBox flatTextBoxPassword) { LocataireReadDto locataireCourant = await _repositoryLocataires.LireId(Settings.IdLocataire); // récupère le locataire dans la bdd // modifie les champs flatTextBoxNom.Text = locataireCourant.Nom; flatTextBoxPassword.Text = Cryptage.Uncrypt(locataireCourant.Password); }
private void TextBoxInput_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { FlatTextBox tb = (sender as FlatTextBox); string[] input = tb.Text.Split(';'); for (int i = 0; i < input.Length; i++) { TextBoxConsoleOutput.Append(input[i]); main.ConsoleInput.SendText(input[i]); } tb.Text = string.Empty; } }
public TBSpellControl(FlatTextBox ftb, IMessage iLog) { _ftb = ftb; _iLog = iLog; Visible = false; InitializeComponent(); _origin = ((string.IsNullOrWhiteSpace(_ftb.Text)) ? String.Empty : _ftb.Text); try { _spc = new SpellChecker(); isSCInit = true; } catch (Exception ex) { _iLog.LogError(ex.Message); } }
// Token: 0x06000034 RID: 52 RVA: 0x00006068 File Offset: 0x00004268 private void FormEditUser_Load(object sender, EventArgs e) { this.textBoxBTC.Text = this.User.BalanceBTC.ToString(); this.textBoxRUB.Text = this.User.BalanceRUB.ToString(); this.textBoxLTC.Text = this.User.BalanceLTC.ToString(); this.flatTextBoxBTCAddress.Text = this.User.WalletBTC; this.flatTextBoxRubComment.Text = this.User.Comment; this.flatTextBoxLTCAddress.Text = this.User.WalletLTC; this.flatToggleBan.Checked = this.User.IsBanned; this.flatToggleSapport.Checked = this.User.IsSupport; this.lbCurrency.Text = Main.CURRENCY_BOT_CURRENT.ToString() + ":"; bool isNotFoundAvailable = Settings.Default.IsNotFoundAvailable; if (isNotFoundAvailable) { this.flatLabel8.Visible = true; this.flatNumeric1.Visible = true; this.flatLabel9.Visible = true; this.lbNotFoundStatistics.Visible = true; this.flatNumeric1.Value = this.User.NotFoundAmount; this.lbNotFoundStatistics.Text = this.User.NotFoundStatistic + "%"; } try { foreach (UserWalletHistory userWalletHistory in this.User.WalletHistories) { FlatTextBox flatTextBox = this.tbAddressHistory; flatTextBox.Text = string.Concat(new string[] { flatTextBox.Text, userWalletHistory.HistoryType.ToString(), "-", userWalletHistory.Address, "\r\n" }); } } catch (Exception ex) { MessageBox.Show("Ошибка вывода истории. " + ex.Message); } }
public static void Login(FlatTextBox textBox, string acceptedPasskey, Form currentForm, bool autoLogin) { if (autoLogin == true) { FormMain target = new FormMain(); GoToForm(currentForm, target, true); } else { string enteredText = textBox.Text; if (enteredText == acceptedPasskey) { FormMain target = new FormMain(); GoToForm(currentForm, target, true); } else if (MessageBox.Show("Passkey incorrect. Please try again.", "Error", MessageBoxButtons.OKCancel, MessageBoxIcon.Error) == DialogResult.Cancel) { Environment.Exit(0); } } }
public void SetSizeTextField(FlatTextBox flatTextBoxDescription) { flatTextBoxDescription.SizeTextField = new Size(flatTextBoxDescription.Width - 50, flatTextBoxDescription.Height - 50); }
public static void Load(FlatComboBox comboBoxBarrack1, FlatComboBox comboBoxBarrack2, FlatComboBox comboBoxBarrack3, FlatComboBox comboBoxBarrack4, FlatTextBox textboxGold, FlatTextBox textboxElixir, FlatTextBox textboxDark, FlatTextBox textboxTrophy, FlatCheckBox checkboxGold, FlatCheckBox checkboxElixir, FlatCheckBox checkboxDark, FlatCheckBox checkboxTrophy, FlatCheckBox checkboxAlert, FlatComboBox comboBoxAttackSides, FlatCheckBox checkboxMaxTrophy, FlatTextBox textboxMaxTrophy, FlatComboBox comboBoxAttackMode, FlatNumeric numericDeployTime) { FileIniDataParser parser = new FileIniDataParser(); IniData data = parser.ReadFile("config.ini"); int intBarrack1 = Convert.ToInt32(data["troops"]["barrack1"]); int intBarrack2 = Convert.ToInt32(data["troops"]["barrack2"]); int intBarrack3 = Convert.ToInt32(data["troops"]["barrack3"]); int intBarrack4 = Convert.ToInt32(data["troops"]["barrack4"]); Action action1 = () => comboBoxBarrack1.SelectedIndex = intBarrack1; comboBoxBarrack1.Invoke(action1); Action action2 = () => comboBoxBarrack2.SelectedIndex = intBarrack2; comboBoxBarrack2.Invoke(action2); Action action3 = () => comboBoxBarrack3.SelectedIndex = intBarrack3; comboBoxBarrack3.Invoke(action3); Action action4 = () => comboBoxBarrack4.SelectedIndex = intBarrack4; comboBoxBarrack4.Invoke(action4); int gold = Convert.ToInt32(data["search"]["gold"]); int elixir = Convert.ToInt32(data["search"]["elixir"]); int dark = Convert.ToInt32(data["search"]["dark"]); int trophy = Convert.ToInt32(data["search"]["trophy"]); Action action5 = () => textboxGold.Text = gold.ToString(); textboxGold.Invoke(action5); Action action6 = () => textboxElixir.Text = elixir.ToString(); textboxElixir.Invoke(action6); Action action7 = () => textboxDark.Text = dark.ToString(); textboxDark.Invoke(action7); Action action8 = () => textboxTrophy.Text = trophy.ToString(); textboxTrophy.Invoke(action8); bool bgold = Convert.ToBoolean(data["search"]["bgold"]); bool belixir = Convert.ToBoolean(data["search"]["belixir"]); bool bdark = Convert.ToBoolean(data["search"]["bdark"]); bool btrophy = Convert.ToBoolean(data["search"]["btrophy"]); bool alert = Convert.ToBoolean(data["search"]["alert"]); Action action9 = () => checkboxGold.Checked = bgold; checkboxGold.Invoke(action9); Action action10 = () => checkboxElixir.Checked = belixir; checkboxElixir.Invoke(action10); Action action11 = () => checkboxDark.Checked = bdark; checkboxDark.Invoke(action11); Action action12 = () => checkboxTrophy.Checked = btrophy; checkboxTrophy.Invoke(action12); Action action13 = () => checkboxAlert.Checked = alert; checkboxAlert.Invoke(action13); int attackSides = Convert.ToInt32(data["attack"]["sides"]); Action action14 = () => comboBoxAttackSides.SelectedIndex = attackSides; comboBoxAttackSides.Invoke(action14); bool bmaxtrophy = Convert.ToBoolean(data["attack"]["bmaxtrophy"]); int maxtrophy = Convert.ToInt32(data["attack"]["maxtrophy"]); Action action15 = () => checkboxMaxTrophy.Checked = bmaxtrophy; checkboxMaxTrophy.Invoke(action15); Action action16 = () => textboxMaxTrophy.Text = maxtrophy.ToString(); textboxMaxTrophy.Invoke(action16); int attackMode = Convert.ToInt32(data["attack"]["mode"]); Action action17 = () => comboBoxAttackMode.SelectedIndex = attackMode; comboBoxAttackMode.Invoke(action17); int deployTime = Convert.ToInt32(data["attack"]["deploytime"]); Action action18 = () => numericDeployTime.Value = deployTime; numericDeployTime.Invoke(action18); }
private void CheckAndSave_Click(object sender, EventArgs e) { FlatTextBox ftb = null; try { this.CheckCoCServer_Click(sender, e); this.CheckGameTag_Click(sender, e); if (this._dtsetup == null) { ftb = this.FTBCoCServer1; throw new ArgumentException( string.Format( Properties.Resources.fmtText, Properties.Resources.txtSetupData, Properties.Resources.txtIsEmpty ) ); } if (string.IsNullOrWhiteSpace(this.FTBIrcNick1.Text)) { ftb = this.FTBIrcNick1; throw new ArgumentException( string.Format( Properties.Resources.fmtText, "IRC Nick", Properties.Resources.txtIsEmpty ) ); } if (this.Irc != null) { this.Irc.Nick = this._IRCGetNickName(this.FTBIrcNick1.Text); } if ((string.IsNullOrWhiteSpace(this.FTBGameTag1.Text)) || (this.FTBGameTag1.Text.Length < 5)) { ftb = this.FTBGameTag1; throw new ArgumentException( string.Format( Properties.Resources.fmtText, Properties.Resources.txtCoCGameTag, Properties.Resources.txtIncorrect ) ); } Properties.Settings.Default.IRCServer = Convert.ToString(this._dtsetup.Rows[0]["IRCServer"], CultureInfo.InvariantCulture); Properties.Settings.Default.IRCPort = Convert.ToString(this._dtsetup.Rows[0]["IRCPort"], CultureInfo.InvariantCulture); Properties.Settings.Default.IRCChannel = Convert.ToString(this._dtsetup.Rows[0]["IRCChannel"], CultureInfo.InvariantCulture); Properties.Settings.Default.IRCLanguage = Convert.ToString(this._dtsetup.Rows[0]["IRCLanguage"], CultureInfo.InvariantCulture); Properties.Settings.Default.USRServerVersion = Convert.ToString(this._dtsetup.Rows[0]["ServerVersion"], CultureInfo.InvariantCulture); Properties.Settings.Default.USRNotifyUpdateTime = this._dtsetup.Rows[0].Field <long>("NotifyUpdateTime"); if (this._chatHistory != null) { this._chatHistory.Max = Properties.Settings.Default.IRCChatHistory; } if (!this._CheckTimerNotify()) { throw new ArgumentException( string.Format( Properties.Resources.fmtSettingsError, "Notify Timer", Properties.Resources.txtNotCorrect ) ); } if (Properties.Settings.Default.USRUrl.Count > 0) { Properties.Settings.Default.USRUrl.Clear(); } try { Properties.Settings.Default.USRUrl.Add(Convert.ToString(this._dtsetup.Rows[0]["URLClan"], CultureInfo.InvariantCulture)); Properties.Settings.Default.USRUrl.Add(Convert.ToString(this._dtsetup.Rows[0]["URLNotify"], CultureInfo.InvariantCulture)); Properties.Settings.Default.USRUrl.Add(Convert.ToString(this._dtsetup.Rows[0]["URLInformer"], CultureInfo.InvariantCulture)); Properties.Settings.Default.USRUrl.Add(Convert.ToString(this._dtsetup.Rows[0]["URLIrcLog"], CultureInfo.InvariantCulture)); } catch (Exception ex) { this._winMessageError( string.Format( Properties.Resources.fmtSetupSerCliMismatch, ex.Message ) ); } Properties.Settings.Default.USRInformerId = this.flatNumericInformerId2.Value; Properties.Settings.Default.Save(); this._dtsetup.Clear(); this._dtsetup = null; this._IMGInformerControl.Hide(); this._TabSelector(TabCtrlName.tabPageSetupUser, false); } catch (Exception ex) { this._SetErrorFlatTextBox( ftb, string.Format( Properties.Resources.fmtSettingsError, ex.Message ) ); this._winMessageError(ex.Message); } }
/// <summary> /// /// </summary> /// <param name="tb"></param> /// <param name="text"></param> public static void setTextBoxText(FlatTextBox tb, string text) { tb = (FlatTextBox)getControl(tb); tb.Text = text; }
protected override void InitializeComponent() { form = new SquareForm("Login shit"); form.Height = 599; form.Width = 750; Panel panel = new Panel { Name = "logo", BackgroundImageLayout = ImageLayout.Center, BackgroundImage = Image.FromFile("logo.jpg"), Width = 400, Height = 400 }; form.Controls.Add(panel); FlatPanel panelMain = new FlatPanel("main") { AutoSize = true, AutoSizeMode = AutoSizeMode.GrowOnly, Dock = System.Windows.Forms.DockStyle.None, BackColor = colors.LightGray1, Padding = new Padding(1), Left = panel.Width, }; form.Controls.Add(panelMain); FlatPanel panelLogin = new FlatPanel("main") { AutoSize = true, Dock = System.Windows.Forms.DockStyle.None, BackColor = colors.LighterGray1, Padding = new Padding(20), Location = new Point(1, 1) }; panelMain.Controls.Add(panelLogin); // Don't touch in order to don't mess the center alignment FlatLabelTitle title = new FlatLabelTitle("Sign in", 0, 20); panelLogin.Controls.Add(title); FlatTextBoxAutoFocus _ = new FlatTextBoxAutoFocus("_"); panelLogin.Controls.Add(_); FlatPanel panelTxtName = new FlatPanel("Name") { AutoSize = true, AutoSizeMode = new AutoSizeMode(), Dock = System.Windows.Forms.DockStyle.None, BackColor = colors.White1, Padding = new Padding(4) }; panelTxtName.Location = new Point(20, 70); FlatTextBox txtName = new FlatTextBox("Name", 4, 4); panelTxtName.Controls.Add(txtName); panelLogin.Controls.Add(panelTxtName); FlatPanel panelTxtPassword = new FlatPanel("Password") { AutoSize = true, AutoSizeMode = new AutoSizeMode(), Dock = System.Windows.Forms.DockStyle.None, BackColor = colors.White1, Padding = new Padding(4), }; panelTxtPassword.Location = new Point(20, 110); FlatTextBox txtPassword = new FlatTextBox("Password", 4, 4); panelTxtPassword.Controls.Add(txtPassword); panelLogin.Controls.Add(panelTxtPassword); button = new FlatButton("Log in"); panelLogin.Controls.Add(button); button.Width = panelTxtName.Width; button.Location = new Point(20, button.Parent.Height + 20); button.Click += new System.EventHandler(TryLogin); panelLogin.Height += button.Height + 30; int positionX = centerElement.Horizontal(title.Size.Width, panelLogin.ClientSize.Width); title.Location = new System.Drawing.Point(positionX, title.Location.Y); panelMain.Top = centerElement.Vertical(panelMain.Height, form.ClientSize.Height); panelLogin.Controls.Add( new FlatLabelError("Oops! It looks like you may have forgotten your password.", 0, button.Height + 30) { Dock = DockStyle.Bottom, MaximumSize = new Size(panelLogin.Width - 40, 0), Visible = false } ); }
private void InitializeComponent() { this.formSkin1 = new FlatUI.FormSkin(); this.linkLabel2 = new System.Windows.Forms.LinkLabel(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.flatStickyButton2 = new FlatUI.FlatStickyButton(); this.flatStickyButton1 = new FlatUI.FlatStickyButton(); this.notify = new FlatUI.FlatAlertBox(); this.btn_login = new FlatUI.FlatStickyButton(); this.flatLabel1 = new FlatUI.FlatLabel(); this.txt_email = new FlatUI.FlatTextBox(); this.formSkin1.SuspendLayout(); this.SuspendLayout(); // // formSkin1 // this.formSkin1.BackColor = System.Drawing.Color.White; this.formSkin1.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(70)))), ((int)(((byte)(73))))); this.formSkin1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(53)))), ((int)(((byte)(58)))), ((int)(((byte)(60))))); this.formSkin1.Controls.Add(this.linkLabel2); this.formSkin1.Controls.Add(this.linkLabel1); this.formSkin1.Controls.Add(this.flatStickyButton2); this.formSkin1.Controls.Add(this.flatStickyButton1); this.formSkin1.Controls.Add(this.notify); this.formSkin1.Controls.Add(this.btn_login); this.formSkin1.Controls.Add(this.flatLabel1); this.formSkin1.Controls.Add(this.txt_email); this.formSkin1.Dock = System.Windows.Forms.DockStyle.Fill; this.formSkin1.FlatColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); this.formSkin1.Font = new System.Drawing.Font("Segoe UI", 12F); this.formSkin1.HeaderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); this.formSkin1.HeaderMaximize = false; this.formSkin1.Location = new System.Drawing.Point(0, 0); this.formSkin1.Name = "formSkin1"; this.formSkin1.Size = new System.Drawing.Size(335, 245); this.formSkin1.TabIndex = 0; this.formSkin1.Text = "Đăng nhập tài khoản"; // // linkLabel2 // this.linkLabel2.AutoSize = true; this.linkLabel2.BackColor = System.Drawing.Color.Transparent; this.linkLabel2.LinkColor = System.Drawing.Color.GreenYellow; this.linkLabel2.Location = new System.Drawing.Point(14, 179); this.linkLabel2.Name = "linkLabel2"; this.linkLabel2.Size = new System.Drawing.Size(148, 21); this.linkLabel2.TabIndex = 22; this.linkLabel2.TabStop = true; this.linkLabel2.Text = "Hướng dẫn sử dụng"; this.linkLabel2.Visible = false; this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked); // // linkLabel1 // this.linkLabel1.AutoSize = true; this.linkLabel1.BackColor = System.Drawing.Color.Transparent; this.linkLabel1.LinkColor = System.Drawing.Color.GreenYellow; this.linkLabel1.Location = new System.Drawing.Point(204, 178); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new System.Drawing.Size(125, 21); this.linkLabel1.TabIndex = 20; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "Lấy access token"; this.linkLabel1.Visible = false; this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); // // flatStickyButton2 // this.flatStickyButton2.BackColor = System.Drawing.Color.Transparent; this.flatStickyButton2.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); this.flatStickyButton2.Cursor = System.Windows.Forms.Cursors.Hand; this.flatStickyButton2.Font = new System.Drawing.Font("Segoe UI", 12F); this.flatStickyButton2.Location = new System.Drawing.Point(94, 140); this.flatStickyButton2.Name = "flatStickyButton2"; this.flatStickyButton2.Rounded = false; this.flatStickyButton2.Size = new System.Drawing.Size(68, 31); this.flatStickyButton2.TabIndex = 19; this.flatStickyButton2.Text = "Thoát"; this.flatStickyButton2.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(243)))), ((int)(((byte)(243))))); this.flatStickyButton2.Click += new System.EventHandler(this.flatStickyButton2_Click); // // flatStickyButton1 // this.flatStickyButton1.BackColor = System.Drawing.Color.Transparent; this.flatStickyButton1.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); this.flatStickyButton1.Cursor = System.Windows.Forms.Cursors.Hand; this.flatStickyButton1.Font = new System.Drawing.Font("Segoe UI", 12F); this.flatStickyButton1.Location = new System.Drawing.Point(290, 12); this.flatStickyButton1.Name = "flatStickyButton1"; this.flatStickyButton1.Rounded = false; this.flatStickyButton1.Size = new System.Drawing.Size(22, 18); this.flatStickyButton1.TabIndex = 18; this.flatStickyButton1.Text = "x"; this.flatStickyButton1.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(243)))), ((int)(((byte)(243))))); this.flatStickyButton1.Click += new System.EventHandler(this.flatStickyButton1_Click); // // notify // this.notify.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(70)))), ((int)(((byte)(73))))); this.notify.Cursor = System.Windows.Forms.Cursors.Hand; this.notify.Dock = System.Windows.Forms.DockStyle.Bottom; this.notify.Font = new System.Drawing.Font("Segoe UI", 10F); this.notify.kind = FlatUI.FlatAlertBox._Kind.Success; this.notify.Location = new System.Drawing.Point(0, 203); this.notify.Name = "notify"; this.notify.Size = new System.Drawing.Size(335, 42); this.notify.TabIndex = 17; this.notify.Text = "ATP TOKEN dòng 2"; this.notify.Visible = false; // // btn_login // this.btn_login.BackColor = System.Drawing.Color.Transparent; this.btn_login.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); this.btn_login.Cursor = System.Windows.Forms.Cursors.Hand; this.btn_login.Font = new System.Drawing.Font("Segoe UI", 12F); this.btn_login.Location = new System.Drawing.Point(168, 140); this.btn_login.Name = "btn_login"; this.btn_login.Rounded = false; this.btn_login.Size = new System.Drawing.Size(155, 31); this.btn_login.TabIndex = 16; this.btn_login.Text = "Đăng nhập"; this.btn_login.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(243)))), ((int)(((byte)(243))))); this.btn_login.Click += new System.EventHandler(this.btn_login_Click); // // flatLabel1 // this.flatLabel1.AutoSize = true; this.flatLabel1.BackColor = System.Drawing.Color.Transparent; this.flatLabel1.Font = new System.Drawing.Font("Segoe UI", 8F); this.flatLabel1.ForeColor = System.Drawing.Color.White; this.flatLabel1.Location = new System.Drawing.Point(12, 79); this.flatLabel1.Name = "flatLabel1"; this.flatLabel1.Size = new System.Drawing.Size(63, 13); this.flatLabel1.TabIndex = 13; this.flatLabel1.Text = "ATP TOKEN:"; // // txt_email // this.txt_email.BackColor = System.Drawing.Color.Transparent; this.txt_email.FocusOnHover = false; this.txt_email.Location = new System.Drawing.Point(94, 60); this.txt_email.MaxLength = 32767; this.txt_email.Multiline = true; this.txt_email.Name = "txt_email"; this.txt_email.ReadOnly = false; this.txt_email.Size = new System.Drawing.Size(229, 74); this.txt_email.TabIndex = 12; this.txt_email.TextAlign = System.Windows.Forms.HorizontalAlignment.Left; this.txt_email.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); this.txt_email.UseSystemPasswordChar = false; // // frm_Login // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(335, 245); this.Controls.Add(this.formSkin1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "frm_Login"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "frm_Login"; this.TransparencyKey = System.Drawing.Color.Fuchsia; this.formSkin1.ResumeLayout(false); this.formSkin1.PerformLayout(); this.ResumeLayout(false); }