Skip to content

Commit

Permalink
Alter formListaCliente txtpesquisas.29/01/13 01:03
Browse files Browse the repository at this point in the history
  • Loading branch information
GiovaniAparecido committed Jan 29, 2013
1 parent 55e7c18 commit ad752bb
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 15 deletions.
Binary file modified SystemFunilaria.v11.suo
Binary file not shown.
8 changes: 4 additions & 4 deletions SystemFunilaria/Lista_CLientes.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 21 additions & 11 deletions SystemFunilaria/Lista_CLientes.cs
Expand Up @@ -24,27 +24,37 @@ private void bt_Adicionar_Click(object sender, EventArgs e)
frm.Show();
}

public void txt_CpfCnpj_Enter(object sender, EventArgs e)
private void bt_Remover_Click(object sender, EventArgs e)
{
FuncoesCor.apresentaDeletar();
}

private void txt_Nome_Enter(object sender, EventArgs e)
{
FuncoesCor.changeTextBoxFocusIn(sender);
if (txt_Nome.Text == "Nome do cliente")
txt_Nome.Text = "";
}

private void txt_Nome_Leave(object sender, EventArgs e)
{
FuncoesCor.changeTextBoxFocusOut(sender);
if (txt_Nome.Text == "")
txt_Nome.Text = "Nome do cliente";
}

private void txt_CpfCnpj_Enter(object sender, EventArgs e)
{
FuncoesCor.changeTextBoxFocusIn(sender);
if (txt_CpfCnpj.Text == "CPF/CNPJ")
{
txt_CpfCnpj.Text = "";
}
}

private void txt_CpfCnpj_Leave(object sender, EventArgs e)
{
FuncoesCor.changeTextBoxFocusOut(sender);
if(txt_CpfCnpj.Text == "")
{
if (txt_CpfCnpj.Text == "")
txt_CpfCnpj.Text = "CPF/CNPJ";
}
}

private void bt_Remover_Click(object sender, EventArgs e)
{
FuncoesCor.apresentaDeletar();
}
}
}
Binary file modified SystemFunilaria/bin/Debug/SystemFunilaria.exe
Binary file not shown.
Binary file modified SystemFunilaria/bin/Debug/SystemFunilaria.pdb
Binary file not shown.
Binary file not shown.
Binary file modified SystemFunilaria/obj/Debug/SystemFunilaria.exe
Binary file not shown.
Binary file modified SystemFunilaria/obj/Debug/SystemFunilaria.pdb
Binary file not shown.

0 comments on commit ad752bb

Please sign in to comment.