C# Class View.UI.ViewProduto.frmCadastrarProduto

Mostrar archivo Open project: mikemajesty/Caixapadariav2

Public Methods

Method Description
frmCadastrarProduto ( Produto produto, EnumTipoOperacao tipoOperacao ) : Controller.Repositorio

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

ProcessCmdKey ( Message &msg, Keys keyData ) : bool

Private Methods

Method Description
AparecerGruopBox ( GroupBox gpb ) : void
AvisarUsuarioComCamposEmBranco ( ) : void
CalcularPorcentagem ( ) : void
CarregarCategoria ( ) : void
CarregarCategoriaComSelecao ( ) : void
CarregarComboBoxDeAcordoComTipoDeCadastro ( ) : void
CarregarTextoDePermissao ( ) : void
CarregarTipoDeCadastro ( ) : void
ComboBoxCheckado ( ) : void
DefinirMaxLenghtDoTxtEstoque ( int tamanho ) : void
DeixarTxtComoNaoObrigatorio ( ) : void
DeixarTxtComoObrigatorio ( TextBox txtList ) : void
DesabilitarCampos ( ) : void
DesabilitarCheckBox ( ) : void
DesabilitarGroupBox ( GroupBox groupBox ) : void
DesabilitarGroupBoxDadosDoPeso ( GroupBox gpb ) : void
DesabilitarGroupBoxDeTipoDeCadastro ( ) : void
EsconderButton ( Button btn ) : void
EsconderCheckBox ( ) : void
EsconderGruopBox ( GroupBox gpb ) : void
EsconderLabel ( Label lbl ) : void
EsconderPtb ( PictureBox ptb ) : void
EsconderTextBox ( TextBox txt ) : void
FecharForm ( ) : void
FocarNoBotao ( Button btn ) : void
FocarNoCbb ( ComboBox cbb ) : void
FocarNoTxt ( TextBox txt ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

InstanciarCategoriaRepositorio ( ) : void
InstanciarProdutoRepositorio ( ) : void
InstanciarTipoCadastroRepositorio ( ) : void
LimparCheckBox ( ) : void
LimparTodosOsTxt ( ) : void
LimparTxt ( List txtList ) : void
ListaTxtPeso ( ) : TextBox[]
ListaTxtUnidade ( ) : TextBox[]
ListaTxtUnidadeSemEstoque ( ) : TextBox[]
MensagemDeAviso ( string texto ) : void
MostrarCheck ( ) : void
MostrarItensDoCbb ( ComboBox cbb ) : void
MudarAnchorDoBotao ( AnchorStyles anchorStyles ) : void
MudarCorDoBotao ( Color color ) : void
MudarPosicaoDaLabel ( Point posicao, Label lbl ) : void
MudarPosicaoDoBotao ( Point point ) : void
MudarPosicaoDoGroupBoxTipoCadastro ( Point point ) : void
MudarPosicaoDoPictureBox ( PictureBox ptb, Point location ) : void
MudarPosicaoDoTextBox ( Point posicao, TextBox txt ) : void
MudarTamanhoDoComboBoxCategoria ( Size size ) : void
MudarTamanhoDoform ( Size size ) : void
MudarTamanhoDotxt ( TextBox txt, Size size ) : void
MudarTamanhoDotxtDescricao ( Size size ) : void
MudarTextoDaLabel ( Label lbl, string texto ) : void
MudarTextoDoBotao ( string texto ) : void
MudarTextoDoComboBox ( GroupBox gpb, string texto ) : void
MudarTextoDoForm ( string texto ) : void
PopulaTxt ( ) : void
PopulartxtPadrao ( ) : void
PopulatxtUnidade ( ) : void
PosSalvamento ( ) : void
PreenchimentoDoProdutoPadrao ( Produto produto ) : void
PreenchimentoDoProdutoPorUnidade ( Produto produto ) : void
PupularProduto ( ) : Produto
TodosOsTxt ( ) : TextBox[]
VerificarTxtNulos ( ) : int
btnAdicionarCategoria_Click ( object sender, EventArgs e ) : void
btnCadastrar_Click ( object sender, EventArgs e ) : void
cbbCategoria_KeyPress ( object sender, KeyPressEventArgs e ) : void
cbbCategoria_SelectedIndexChanged ( object sender, EventArgs e ) : void
cbbTipoCadastro_SelectedIndexChanged ( object sender, EventArgs e ) : void
ckbEstoque_CheckedChanged ( object sender, EventArgs e ) : void
frmCadastrarProduto_Load ( object sender, EventArgs e ) : void
txtCodigo_KeyPress ( object sender, KeyPressEventArgs e ) : void
txtDescricao_KeyPress ( object sender, KeyPressEventArgs e ) : void
txtEstoque_KeyPress ( object sender, KeyPressEventArgs e ) : void
txtNome_KeyPress ( object sender, KeyPressEventArgs e ) : void
txtPrecoCompra_KeyPress ( object sender, KeyPressEventArgs e ) : void
txtPrecoCompra_TextChanged ( object sender, EventArgs e ) : void
txtPrecoVenda_KeyPress ( object sender, KeyPressEventArgs e ) : void
txtPrecoVenda_TextChanged ( object sender, EventArgs e ) : void
txtQtdMaxima_KeyPress ( object sender, KeyPressEventArgs e ) : void
txtQtdMinima_KeyPress ( object sender, KeyPressEventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

ProcessCmdKey() protected method

protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg Message
keyData Keys
return bool

frmCadastrarProduto() public method

public frmCadastrarProduto ( Produto produto, EnumTipoOperacao tipoOperacao ) : Controller.Repositorio
produto Produto
tipoOperacao EnumTipoOperacao
return Controller.Repositorio