C# Class View.UI.ViewCetegoria.frmCadastrarCategoria

Mostrar archivo Open project: mikemajesty/Caixapadariav2

Public Methods

Method Description
frmCadastrarCategoria ( Categoria categoria, EnumTipoOperacao tipoOperacao ) : Mike.Utilities.Desktop

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CarregaComponentes ( Categoria categoria, EnumTipoOperacao tipoOperacao ) : void
DesabilitarDruopBox ( ) : void
FocarNoBtn ( ) : void
FocarNotxt ( ) : void
InitializeComponent ( ) : void

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

InstanciarCategoriaRepositorio ( ) : void
LimparTxt ( TextBox txt ) : void
MensagemDeAviso ( string mensagem ) : void
MudarCorDoBotao ( Color color ) : void
MudarTextoDoBotao ( string texto ) : void
MudarTextoDoForm ( string texto ) : void
PosSalvamento ( ) : void
PupularCategoria ( ) : Categoria
PupularTxt ( ) : void
VerificarSeTxtEstaVazio ( ) : bool
btnCadastrar_Click ( object sender, EventArgs e ) : void
frmCadastrarCategoria_Load ( object sender, EventArgs e ) : void
txtCategoria_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

frmCadastrarCategoria() public method

public frmCadastrarCategoria ( Categoria categoria, EnumTipoOperacao tipoOperacao ) : Mike.Utilities.Desktop
categoria Categoria
tipoOperacao EnumTipoOperacao
return Mike.Utilities.Desktop