188 lines
7.1 KiB
C#
188 lines
7.1 KiB
C#
namespace IBRCAD
|
|
{
|
|
partial class frm_consultaEmpresa : Form
|
|
{
|
|
/// <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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frm_consultaEmpresa));
|
|
btn_imprimir = new Button();
|
|
groupBox1 = new GroupBox();
|
|
rbCPF = new RadioButton();
|
|
rbNome = new RadioButton();
|
|
dgvDados = new DataGridView();
|
|
btLocalizar = new Button();
|
|
txtValor = new TextBox();
|
|
label1 = new Label();
|
|
pb_ = new PictureBox();
|
|
groupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dgvDados).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)pb_).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// btn_imprimir
|
|
//
|
|
btn_imprimir.Location = new Point(430, 64);
|
|
btn_imprimir.Margin = new Padding(2);
|
|
btn_imprimir.Name = "btn_imprimir";
|
|
btn_imprimir.Size = new Size(112, 30);
|
|
btn_imprimir.TabIndex = 20;
|
|
btn_imprimir.Text = "Imprimir";
|
|
btn_imprimir.UseVisualStyleBackColor = true;
|
|
btn_imprimir.Click += btn_imprimir_Click;
|
|
//
|
|
// groupBox1
|
|
//
|
|
groupBox1.Controls.Add(rbCPF);
|
|
groupBox1.Controls.Add(rbNome);
|
|
groupBox1.Location = new Point(7, 7);
|
|
groupBox1.Margin = new Padding(2);
|
|
groupBox1.Name = "groupBox1";
|
|
groupBox1.Padding = new Padding(2);
|
|
groupBox1.Size = new Size(152, 88);
|
|
groupBox1.TabIndex = 19;
|
|
groupBox1.TabStop = false;
|
|
groupBox1.Text = "Consultar pelo:";
|
|
//
|
|
// rbCPF
|
|
//
|
|
rbCPF.AutoSize = true;
|
|
rbCPF.Location = new Point(14, 53);
|
|
rbCPF.Margin = new Padding(2);
|
|
rbCPF.Name = "rbCPF";
|
|
rbCPF.Size = new Size(78, 19);
|
|
rbCPF.TabIndex = 1;
|
|
rbCPF.Text = "CPF/CNPJ";
|
|
rbCPF.UseVisualStyleBackColor = true;
|
|
//
|
|
// rbNome
|
|
//
|
|
rbNome.AutoSize = true;
|
|
rbNome.Checked = true;
|
|
rbNome.Location = new Point(14, 28);
|
|
rbNome.Margin = new Padding(2);
|
|
rbNome.Name = "rbNome";
|
|
rbNome.Size = new Size(58, 19);
|
|
rbNome.TabIndex = 0;
|
|
rbNome.TabStop = true;
|
|
rbNome.Text = "Nome";
|
|
rbNome.UseVisualStyleBackColor = true;
|
|
//
|
|
// dgvDados
|
|
//
|
|
dgvDados.AllowUserToAddRows = false;
|
|
dgvDados.AllowUserToDeleteRows = false;
|
|
dgvDados.BackgroundColor = Color.White;
|
|
dgvDados.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dgvDados.Location = new Point(7, 99);
|
|
dgvDados.Margin = new Padding(2);
|
|
dgvDados.Name = "dgvDados";
|
|
dgvDados.ReadOnly = true;
|
|
dgvDados.RowTemplate.Height = 24;
|
|
dgvDados.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
dgvDados.Size = new Size(653, 387);
|
|
dgvDados.TabIndex = 18;
|
|
dgvDados.CellDoubleClick += dgvDados_CellDoubleClick;
|
|
//
|
|
// btLocalizar
|
|
//
|
|
btLocalizar.Location = new Point(547, 64);
|
|
btLocalizar.Margin = new Padding(2);
|
|
btLocalizar.Name = "btLocalizar";
|
|
btLocalizar.Size = new Size(112, 30);
|
|
btLocalizar.TabIndex = 17;
|
|
btLocalizar.Text = "Localizar";
|
|
btLocalizar.UseVisualStyleBackColor = true;
|
|
btLocalizar.Click += btLocalizar_Click;
|
|
//
|
|
// txtValor
|
|
//
|
|
txtValor.Location = new Point(163, 31);
|
|
txtValor.Margin = new Padding(2);
|
|
txtValor.Name = "txtValor";
|
|
txtValor.Size = new Size(496, 23);
|
|
txtValor.TabIndex = 16;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(161, 13);
|
|
label1.Margin = new Padding(2, 0, 2, 0);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(33, 15);
|
|
label1.TabIndex = 15;
|
|
label1.Text = "Valor";
|
|
//
|
|
// pb_
|
|
//
|
|
pb_.Image = (Image)resources.GetObject("pb_.Image");
|
|
pb_.Location = new Point(634, 1);
|
|
pb_.Name = "pb_";
|
|
pb_.Size = new Size(25, 25);
|
|
pb_.SizeMode = PictureBoxSizeMode.StretchImage;
|
|
pb_.TabIndex = 21;
|
|
pb_.TabStop = false;
|
|
pb_.Click += pb__Click;
|
|
//
|
|
// frm_consultaEmpresa
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
BackColor = Color.White;
|
|
ClientSize = new Size(665, 490);
|
|
Controls.Add(pb_);
|
|
Controls.Add(btn_imprimir);
|
|
Controls.Add(groupBox1);
|
|
Controls.Add(dgvDados);
|
|
Controls.Add(btLocalizar);
|
|
Controls.Add(txtValor);
|
|
Controls.Add(label1);
|
|
FormBorderStyle = FormBorderStyle.None;
|
|
Margin = new Padding(4, 3, 4, 3);
|
|
Name = "frm_consultaEmpresa";
|
|
Text = "Consulta empresas cadastradas no sistema";
|
|
Load += frm_consultaEmpresa_Load;
|
|
groupBox1.ResumeLayout(false);
|
|
groupBox1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)dgvDados).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)pb_).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button btn_imprimir;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.RadioButton rbCPF;
|
|
private System.Windows.Forms.RadioButton rbNome;
|
|
private System.Windows.Forms.DataGridView dgvDados;
|
|
private System.Windows.Forms.Button btLocalizar;
|
|
private System.Windows.Forms.TextBox txtValor;
|
|
private System.Windows.Forms.Label label1;
|
|
private PictureBox pb_;
|
|
}
|
|
} |