C# 클래스 AerolineaFrba.Validacion

파일 보기 프로젝트 열기: santileira/BHLP

공개 메소드들

메소드 설명
controlIngresoNumeroDecimal ( object sender, KeyPressEventArgs e ) : void
controlIngresoNumeroEntero ( object sender, KeyPressEventArgs e ) : void
esDecimal ( TextBox txtBox, string nombreCampo = "Opcional", System.Boolean mostrarMensaje = false ) : System.Boolean
esMatricula ( System.Windows.Forms.MaskedTextBox txtBox, System.Boolean mostrarMensaje = false ) : System.Boolean
esNumero ( TextBox txtBox, string nombreCampo = "Opcional", System.Boolean mostrarMensaje = false ) : System.Boolean
esSoloTexto ( TextBox txtBox, string nombreCampo = "Opcional", System.Boolean mostrarMensaje = false ) : System.Boolean
esTexto ( TextBox txtBox, string nombreCampo = "Opcional", System.Boolean mostrarMensaje = false ) : System.Boolean
esTextoAlfanumerico ( TextBox txtBox, System.Boolean primeroLetra, string nombreCampo = "Opcional", System.Boolean mostrarMensaje = false ) : System.Boolean
esVacio ( ComboBox cboBox, string nombreCampo = "Opcional", bool mostrarMensaje = false ) : System.Boolean
esVacio ( ListBox txtBox, string nombreCampo = "Opcional", bool mostrarMensaje = false ) : System.Boolean
esVacio ( TextBox txtBox, string nombreCampo = "Opcional", bool mostrarMensaje = false ) : System.Boolean
estaCheckeadoCheck ( CheckBox check ) : System.Boolean
estaEntreLimites ( TextBox txt, decimal limiteInferior, decimal limiteSuperior, System.Boolean numeroDecimal, string nombreCampo ) : System.Boolean
estaSeleccionado ( ComboBox combo, System.Boolean mostrarMensaje = false, String opcional = "opciones" ) : System.Boolean
fechaPosteriorALaDeHoy ( DateTimePicker dateTimePicker1 ) : System.Boolean
filtrosContengaEIgualdad ( TextBox filtro1, TextBox filtro2 ) : System.Boolean
igualdadCiudades ( TextBox txtCiudadDestino, TextBox txtCiudadOrigen ) : bool
listaVacia ( List lista, string nombreCampo = "Opcional", System.Boolean mostrarMensaje = false ) : System.Boolean
numeroCorrecto ( TextBox txtBox, string campo, bool debeSerDecimal ) : System.Boolean
textNombre ( TextBox txtBox, string nombreCampo ) : System.Boolean

비공개 메소드들

메소드 설명
cantidadEnCadena ( string cadena, char caracter ) : int
comaYPuntoCorrectos ( string cadena ) : bool
estaCheckeadoOpt ( RadioButton option ) : bool

메소드 상세

controlIngresoNumeroDecimal() 공개 정적인 메소드

public static controlIngresoNumeroDecimal ( object sender, KeyPressEventArgs e ) : void
sender object
e System.Windows.Forms.KeyPressEventArgs
리턴 void

controlIngresoNumeroEntero() 공개 정적인 메소드

public static controlIngresoNumeroEntero ( object sender, KeyPressEventArgs e ) : void
sender object
e System.Windows.Forms.KeyPressEventArgs
리턴 void

esDecimal() 공개 정적인 메소드

public static esDecimal ( TextBox txtBox, string nombreCampo = "Opcional", System.Boolean mostrarMensaje = false ) : System.Boolean
txtBox System.Windows.Forms.TextBox
nombreCampo string
mostrarMensaje System.Boolean
리턴 System.Boolean

esMatricula() 공개 정적인 메소드

public static esMatricula ( System.Windows.Forms.MaskedTextBox txtBox, System.Boolean mostrarMensaje = false ) : System.Boolean
txtBox System.Windows.Forms.MaskedTextBox
mostrarMensaje System.Boolean
리턴 System.Boolean

esNumero() 공개 정적인 메소드

public static esNumero ( TextBox txtBox, string nombreCampo = "Opcional", System.Boolean mostrarMensaje = false ) : System.Boolean
txtBox System.Windows.Forms.TextBox
nombreCampo string
mostrarMensaje System.Boolean
리턴 System.Boolean

esSoloTexto() 공개 정적인 메소드

public static esSoloTexto ( TextBox txtBox, string nombreCampo = "Opcional", System.Boolean mostrarMensaje = false ) : System.Boolean
txtBox System.Windows.Forms.TextBox
nombreCampo string
mostrarMensaje System.Boolean
리턴 System.Boolean

esTexto() 공개 정적인 메소드

public static esTexto ( TextBox txtBox, string nombreCampo = "Opcional", System.Boolean mostrarMensaje = false ) : System.Boolean
txtBox System.Windows.Forms.TextBox
nombreCampo string
mostrarMensaje System.Boolean
리턴 System.Boolean

esTextoAlfanumerico() 공개 정적인 메소드

public static esTextoAlfanumerico ( TextBox txtBox, System.Boolean primeroLetra, string nombreCampo = "Opcional", System.Boolean mostrarMensaje = false ) : System.Boolean
txtBox System.Windows.Forms.TextBox
primeroLetra System.Boolean
nombreCampo string
mostrarMensaje System.Boolean
리턴 System.Boolean

esVacio() 공개 정적인 메소드

public static esVacio ( ComboBox cboBox, string nombreCampo = "Opcional", bool mostrarMensaje = false ) : System.Boolean
cboBox System.Windows.Forms.ComboBox
nombreCampo string
mostrarMensaje bool
리턴 System.Boolean

esVacio() 공개 정적인 메소드

public static esVacio ( ListBox txtBox, string nombreCampo = "Opcional", bool mostrarMensaje = false ) : System.Boolean
txtBox System.Windows.Forms.ListBox
nombreCampo string
mostrarMensaje bool
리턴 System.Boolean

esVacio() 공개 정적인 메소드

public static esVacio ( TextBox txtBox, string nombreCampo = "Opcional", bool mostrarMensaje = false ) : System.Boolean
txtBox System.Windows.Forms.TextBox
nombreCampo string
mostrarMensaje bool
리턴 System.Boolean

estaCheckeadoCheck() 공개 정적인 메소드

public static estaCheckeadoCheck ( CheckBox check ) : System.Boolean
check System.Windows.Forms.CheckBox
리턴 System.Boolean

estaEntreLimites() 공개 정적인 메소드

public static estaEntreLimites ( TextBox txt, decimal limiteInferior, decimal limiteSuperior, System.Boolean numeroDecimal, string nombreCampo ) : System.Boolean
txt System.Windows.Forms.TextBox
limiteInferior decimal
limiteSuperior decimal
numeroDecimal System.Boolean
nombreCampo string
리턴 System.Boolean

estaSeleccionado() 공개 정적인 메소드

public static estaSeleccionado ( ComboBox combo, System.Boolean mostrarMensaje = false, String opcional = "opciones" ) : System.Boolean
combo System.Windows.Forms.ComboBox
mostrarMensaje System.Boolean
opcional String
리턴 System.Boolean

fechaPosteriorALaDeHoy() 공개 정적인 메소드

public static fechaPosteriorALaDeHoy ( DateTimePicker dateTimePicker1 ) : System.Boolean
dateTimePicker1 System.Windows.Forms.DateTimePicker
리턴 System.Boolean

filtrosContengaEIgualdad() 공개 정적인 메소드

public static filtrosContengaEIgualdad ( TextBox filtro1, TextBox filtro2 ) : System.Boolean
filtro1 System.Windows.Forms.TextBox
filtro2 System.Windows.Forms.TextBox
리턴 System.Boolean

igualdadCiudades() 공개 정적인 메소드

public static igualdadCiudades ( TextBox txtCiudadDestino, TextBox txtCiudadOrigen ) : bool
txtCiudadDestino System.Windows.Forms.TextBox
txtCiudadOrigen System.Windows.Forms.TextBox
리턴 bool

listaVacia() 공개 정적인 메소드

public static listaVacia ( List lista, string nombreCampo = "Opcional", System.Boolean mostrarMensaje = false ) : System.Boolean
lista List
nombreCampo string
mostrarMensaje System.Boolean
리턴 System.Boolean

numeroCorrecto() 공개 정적인 메소드

public static numeroCorrecto ( TextBox txtBox, string campo, bool debeSerDecimal ) : System.Boolean
txtBox System.Windows.Forms.TextBox
campo string
debeSerDecimal bool
리턴 System.Boolean

textNombre() 공개 정적인 메소드

public static textNombre ( TextBox txtBox, string nombreCampo ) : System.Boolean
txtBox System.Windows.Forms.TextBox
nombreCampo string
리턴 System.Boolean