public bool FormIsComplete() { if (!Txt_Plate.Equals("") && (Type() - 1) == 0) { return(true); } else { return(false); } }
public string Plate() { string Nombre; if (!Txt_Plate.Equals("")) { Nombre = Txt_Plate.Text.ToString(); } else { MessageBox.Show(@"Error al ingresar el campo: Nombre."); Nombre = "ERROR"; } return(Nombre); }