コード例 #1
0
 public bool FormIsComplete()
 {
     if (!Txt_Plate.Equals("") && (Type() - 1) == 0)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
コード例 #2
0
        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);
        }