private void LimparFormulario() { try { txtID.Text = string.Format("{0:000000}", ProdutoBll.RetornaNovoID()); } catch (Exception ex) { LogBll.InserirLog(new Log { Login = User.Identity.Name, Mensagem = ex.Message, Operacao = TipoOperacao.Read.ToString(), Tabela = "Produto" }); Msg.Erro(Resource.ContateAdminstrador, this); } ddlFornecedor.SelectedValue = "0"; txtDescricao.Text = string.Empty; txtPrecoQuantidade.Text = string.Empty; txtPrecoUnitario.Text = string.Empty; txtQuantidadeReposicao.Text = string.Empty; cbAtivo.Checked = true; hfTipoOperacao.Value = TipoOperacao.Create.ToString(); }