200 lines
7.2 KiB
C#
200 lines
7.2 KiB
C#
namespace IBRCAD
|
|
{
|
|
partial class frm_configDB
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
label1 = new Label();
|
|
txt_ip_server1 = new TextBox();
|
|
txt_nome_banco = new TextBox();
|
|
label2 = new Label();
|
|
txt_nome_usrdb = new TextBox();
|
|
label3 = new Label();
|
|
txt_pwd_db = new TextBox();
|
|
label4 = new Label();
|
|
btn_test_db = new Button();
|
|
btn_clean_data = new Button();
|
|
btn_save_con = new Button();
|
|
btn_new_con = new Button();
|
|
SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Font = new Font("Verdana", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label1.Location = new Point(12, 22);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(104, 18);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "IP Servidor:";
|
|
//
|
|
// txt_ip_server1
|
|
//
|
|
txt_ip_server1.Location = new Point(135, 19);
|
|
txt_ip_server1.Name = "txt_ip_server1";
|
|
txt_ip_server1.Size = new Size(151, 23);
|
|
txt_ip_server1.TabIndex = 1;
|
|
//
|
|
// txt_nome_banco
|
|
//
|
|
txt_nome_banco.Location = new Point(135, 48);
|
|
txt_nome_banco.Name = "txt_nome_banco";
|
|
txt_nome_banco.Size = new Size(151, 23);
|
|
txt_nome_banco.TabIndex = 3;
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Font = new Font("Verdana", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label2.Location = new Point(12, 51);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(117, 18);
|
|
label2.TabIndex = 2;
|
|
label2.Text = "Nome Banco:";
|
|
//
|
|
// txt_nome_usrdb
|
|
//
|
|
txt_nome_usrdb.Location = new Point(136, 80);
|
|
txt_nome_usrdb.Name = "txt_nome_usrdb";
|
|
txt_nome_usrdb.Size = new Size(151, 23);
|
|
txt_nome_usrdb.TabIndex = 5;
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Font = new Font("Verdana", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label3.Location = new Point(12, 85);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(77, 18);
|
|
label3.TabIndex = 4;
|
|
label3.Text = "Usuário:";
|
|
//
|
|
// txt_pwd_db
|
|
//
|
|
txt_pwd_db.Location = new Point(135, 114);
|
|
txt_pwd_db.Name = "txt_pwd_db";
|
|
txt_pwd_db.PasswordChar = '*';
|
|
txt_pwd_db.Size = new Size(151, 23);
|
|
txt_pwd_db.TabIndex = 7;
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Font = new Font("Verdana", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label4.Location = new Point(12, 119);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(65, 18);
|
|
label4.TabIndex = 6;
|
|
label4.Text = "Senha:";
|
|
//
|
|
// btn_test_db
|
|
//
|
|
btn_test_db.Location = new Point(82, 185);
|
|
btn_test_db.Name = "btn_test_db";
|
|
btn_test_db.Size = new Size(102, 23);
|
|
btn_test_db.TabIndex = 8;
|
|
btn_test_db.Text = "Testar Conexão";
|
|
btn_test_db.UseVisualStyleBackColor = true;
|
|
btn_test_db.Click += btn_test_db_Click;
|
|
//
|
|
// btn_clean_data
|
|
//
|
|
btn_clean_data.Location = new Point(190, 185);
|
|
btn_clean_data.Name = "btn_clean_data";
|
|
btn_clean_data.Size = new Size(102, 23);
|
|
btn_clean_data.TabIndex = 9;
|
|
btn_clean_data.Text = "Limpar Dados";
|
|
btn_clean_data.UseVisualStyleBackColor = true;
|
|
btn_clean_data.Click += btn_clean_data_Click;
|
|
//
|
|
// btn_save_con
|
|
//
|
|
btn_save_con.Location = new Point(298, 185);
|
|
btn_save_con.Name = "btn_save_con";
|
|
btn_save_con.Size = new Size(91, 23);
|
|
btn_save_con.TabIndex = 10;
|
|
btn_save_con.Text = "Salvar e Sair";
|
|
btn_save_con.UseVisualStyleBackColor = true;
|
|
btn_save_con.Click += btn_save_con_Click;
|
|
//
|
|
// btn_new_con
|
|
//
|
|
btn_new_con.Location = new Point(11, 185);
|
|
btn_new_con.Name = "btn_new_con";
|
|
btn_new_con.Size = new Size(65, 23);
|
|
btn_new_con.TabIndex = 11;
|
|
btn_new_con.Text = "Novo";
|
|
btn_new_con.UseVisualStyleBackColor = true;
|
|
btn_new_con.Click += btn_new_con_Click;
|
|
//
|
|
// frm_configDB
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
BackColor = Color.White;
|
|
ClientSize = new Size(398, 219);
|
|
Controls.Add(btn_new_con);
|
|
Controls.Add(btn_save_con);
|
|
Controls.Add(btn_clean_data);
|
|
Controls.Add(btn_test_db);
|
|
Controls.Add(txt_pwd_db);
|
|
Controls.Add(label4);
|
|
Controls.Add(txt_nome_usrdb);
|
|
Controls.Add(label3);
|
|
Controls.Add(txt_nome_banco);
|
|
Controls.Add(label2);
|
|
Controls.Add(txt_ip_server1);
|
|
Controls.Add(label1);
|
|
FormBorderStyle = FormBorderStyle.SizableToolWindow;
|
|
MaximizeBox = false;
|
|
MinimizeBox = false;
|
|
Name = "frm_configDB";
|
|
ShowInTaskbar = false;
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "Configuração do Banco de Dados";
|
|
Load += frm_configDB_Load;
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
private TextBox txt_ip_server1;
|
|
private TextBox txt_nome_banco;
|
|
private Label label2;
|
|
private TextBox txt_nome_usrdb;
|
|
private Label label3;
|
|
private TextBox txt_pwd_db;
|
|
private Label label4;
|
|
private Button btn_test_db;
|
|
private Button btn_clean_data;
|
|
private Button btn_save_con;
|
|
private Button btn_new_con;
|
|
}
|
|
} |