C# Class View.UI.ViewSangria.frmCriarSangria

Mostrar archivo Open project: mikemajesty/Caixapadariav2

Public Methods

Method Description
InstanciaCaixaRepositorio ( ) : void
frmCriarSangria ( EnumSangria enumSangria, SangriaViewModel sangria ) : Controller.Repositorio

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CarregarCaixa ( ) : void
DesabilitarTextBox ( TextBox txt, bool desativarOuHabilitar = false ) : void
EsconderOuMostrarGroupBox ( GroupBox gpb, bool mostrarOuEsconder = false ) : void
FecharForm ( ) : void
FocarNoBtn ( Button btn ) : void
FocarNoTxt ( TextBox txt ) : void
InitializeComponent ( ) : void

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

MudarCorDoButton ( ) : void
MudarPosicaoDoButton ( Button btn, Point location ) : void
MudarTamanhoDoForm ( Size size ) : void
MudarTamanhoDoGroupBox ( GroupBox gpb, Size size ) : void
MudarTamanhoDoTextBox ( TextBox txt, Size size ) : void
MudarTextoDoButton ( ) : void
PreencherCampos ( ) : void
PreencherSangria ( ) : Sangria
btnRetirar_Click ( object sender, EventArgs e ) : void
frmSangria_Load ( object sender, EventArgs e ) : void
txtDescricao_KeyPress ( object sender, KeyPressEventArgs e ) : void
txtValorSangria_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

InstanciaCaixaRepositorio() public method

public InstanciaCaixaRepositorio ( ) : void
return void

frmCriarSangria() public method

public frmCriarSangria ( EnumSangria enumSangria, SangriaViewModel sangria ) : Controller.Repositorio
enumSangria EnumSangria
sangria SangriaViewModel
return Controller.Repositorio