private void button1_Click(object sender, EventArgs e)
{
Funcionario Func = new Funcionario(Func.getNome(),
Func.getSexo(),
Func.getDataNascimento(),
Func.getBi(),
Func.getTelefone(),
Func.getMorada(),
Func.getEmail());
}
in this code, im having this error : use of unassigned variable "Func", anyone knows how to put this right?
Thanks