📄 loginmysql.cs
字号:
}
private void InitializeComponent()
{
this.pictureBox1 = new PictureBox();
this.comboBoxServer = new ComboBox();
this.cmbDBlist = new ComboBox();
this.btn_Cancel = new ButtonXP();
this.label4 = new Label();
this.btn_Ok = new ButtonXP();
this.txtUser = new TextBox();
this.groupBox1 = new GroupBox();
this.label2 = new Label();
this.label1 = new Label();
this.txtPass = new TextBox();
this.btn_ConTest = new ButtonXP();
this.label3 = new Label();
this.label5 = new Label();
this.textBox1 = new TextBox();
this.chk_Simple = new CheckBox();
((ISupportInitialize) this.pictureBox1).BeginInit();
base.SuspendLayout();
this.pictureBox1.Image = Codematic.Properties.Resources.loginmysql;
this.pictureBox1.Location = new Point(0, 0);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new Size(0x1a1, 0x3f);
this.pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
this.comboBoxServer.FormattingEnabled = true;
this.comboBoxServer.Location = new Point(0x79, 0x60);
this.comboBoxServer.Name = "comboBoxServer";
this.comboBoxServer.Size = new Size(0xa3, 20);
this.comboBoxServer.TabIndex = 0x21;
this.comboBoxServer.Text = "127.0.0.1";
this.cmbDBlist.DropDownStyle = ComboBoxStyle.DropDownList;
this.cmbDBlist.Enabled = false;
this.cmbDBlist.Location = new Point(0x79, 0xab);
this.cmbDBlist.Name = "cmbDBlist";
this.cmbDBlist.Size = new Size(0xf6, 20);
this.cmbDBlist.TabIndex = 0x1d;
this.btn_Cancel._Image = null;
this.btn_Cancel.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
this.btn_Cancel.BackColor = Color.FromArgb(0, 0xec, 0xe9, 0xd8);
this.btn_Cancel.DefaultScheme = false;
this.btn_Cancel.DialogResult = DialogResult.Cancel;
this.btn_Cancel.Image = null;
this.btn_Cancel.Location = new Point(0x100, 240);
this.btn_Cancel.Name = "btn_Cancel";
this.btn_Cancel.Scheme = ButtonXP.Schemes.Blue;
this.btn_Cancel.Size = new Size(80, 0x1c);
this.btn_Cancel.TabIndex = 0x20;
this.btn_Cancel.Text = "取消(&C):";
this.btn_Cancel.Click += new EventHandler(this.btn_Cancel_Click);
this.label4.AutoSize = true;
this.label4.Location = new Point(0x29, 0xaf);
this.label4.Name = "label4";
this.label4.Size = new Size(0x47, 12);
this.label4.TabIndex = 0x1c;
this.label4.Text = "数据库(&D):";
this.btn_Ok._Image = null;
this.btn_Ok.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
this.btn_Ok.BackColor = Color.FromArgb(0, 0xec, 0xe9, 0xd8);
this.btn_Ok.DefaultScheme = false;
this.btn_Ok.DialogResult = DialogResult.None;
this.btn_Ok.Image = null;
this.btn_Ok.Location = new Point(0x95, 240);
this.btn_Ok.Name = "btn_Ok";
this.btn_Ok.Scheme = ButtonXP.Schemes.Blue;
this.btn_Ok.Size = new Size(80, 0x1c);
this.btn_Ok.TabIndex = 30;
this.btn_Ok.Text = "确定(&O):";
this.btn_Ok.Click += new EventHandler(this.btn_Ok_Click);
this.txtUser.Location = new Point(0x79, 0x79);
this.txtUser.Name = "txtUser";
this.txtUser.Size = new Size(0xf6, 0x15);
this.txtUser.TabIndex = 0x1b;
this.txtUser.Text = "root";
this.groupBox1.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
this.groupBox1.Location = new Point(0x12, 220);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new Size(380, 5);
this.groupBox1.TabIndex = 0x18;
this.groupBox1.TabStop = false;
this.label2.AutoSize = true;
this.label2.Location = new Point(0x29, 0x7d);
this.label2.Name = "label2";
this.label2.Size = new Size(0x47, 12);
this.label2.TabIndex = 0x17;
this.label2.Text = "登录名(&L):";
this.label1.AutoSize = true;
this.label1.Location = new Point(0x11, 100);
this.label1.Name = "label1";
this.label1.Size = new Size(0x5f, 12);
this.label1.TabIndex = 0x16;
this.label1.Text = "服务器名称(&S):";
this.label1.TextAlign = ContentAlignment.MiddleCenter;
this.txtPass.Location = new Point(0x79, 0x92);
this.txtPass.Name = "txtPass";
this.txtPass.PasswordChar = '*';
this.txtPass.Size = new Size(0xf6, 0x15);
this.txtPass.TabIndex = 0x1a;
this.btn_ConTest._Image = null;
this.btn_ConTest.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
this.btn_ConTest.BackColor = Color.FromArgb(0, 0xec, 0xe9, 0xd8);
this.btn_ConTest.DefaultScheme = false;
this.btn_ConTest.DialogResult = DialogResult.None;
this.btn_ConTest.Image = null;
this.btn_ConTest.Location = new Point(0x2a, 240);
this.btn_ConTest.Name = "btn_ConTest";
this.btn_ConTest.Scheme = ButtonXP.Schemes.Blue;
this.btn_ConTest.Size = new Size(80, 0x1c);
this.btn_ConTest.TabIndex = 0x1f;
this.btn_ConTest.Text = "连接/测试";
this.btn_ConTest.Click += new EventHandler(this.btn_ConTest_Click);
this.label3.AutoSize = true;
this.label3.Location = new Point(0x35, 150);
this.label3.Name = "label3";
this.label3.Size = new Size(0x3b, 12);
this.label3.TabIndex = 0x19;
this.label3.Text = "密码(&P):";
this.label5.AutoSize = true;
this.label5.Location = new Point(0x121, 100);
this.label5.Name = "label5";
this.label5.Size = new Size(0x29, 12);
this.label5.TabIndex = 0x22;
this.label5.Text = "端口:";
this.textBox1.Location = new Point(0x147, 0x60);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new Size(40, 0x15);
this.textBox1.TabIndex = 0x23;
this.textBox1.Text = "3306";
this.chk_Simple.AutoSize = true;
this.chk_Simple.Checked = true;
this.chk_Simple.CheckState = CheckState.Checked;
this.chk_Simple.Location = new Point(0x79, 0xc6);
this.chk_Simple.Name = "chk_Simple";
this.chk_Simple.Size = new Size(0x60, 0x10);
this.chk_Simple.TabIndex = 0x24;
this.chk_Simple.Text = "高效连接模式";
this.chk_Simple.UseVisualStyleBackColor = true;
base.AutoScaleDimensions = new SizeF(6f, 12f);
base.AutoScaleMode = AutoScaleMode.Font;
base.ClientSize = new Size(0x1a1, 0x11e);
base.Controls.Add(this.chk_Simple);
base.Controls.Add(this.textBox1);
base.Controls.Add(this.comboBoxServer);
base.Controls.Add(this.cmbDBlist);
base.Controls.Add(this.btn_Cancel);
base.Controls.Add(this.label4);
base.Controls.Add(this.btn_Ok);
base.Controls.Add(this.txtUser);
base.Controls.Add(this.groupBox1);
base.Controls.Add(this.label2);
base.Controls.Add(this.label1);
base.Controls.Add(this.txtPass);
base.Controls.Add(this.btn_ConTest);
base.Controls.Add(this.label3);
base.Controls.Add(this.pictureBox1);
base.Controls.Add(this.label5);
base.FormBorderStyle = FormBorderStyle.FixedSingle;
base.MaximizeBox = false;
base.MinimizeBox = false;
base.Name = "LoginMySQL";
base.ShowIcon = false;
base.StartPosition = FormStartPosition.CenterScreen;
this.Text = "连接到MySQL服务器";
base.Load += new EventHandler(this.LoginMySQL_Load);
((ISupportInitialize) this.pictureBox1).EndInit();
base.ResumeLayout(false);
base.PerformLayout();
}
private void LoginMySQL_Load(object sender, EventArgs e)
{
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -