DecodeVINNumber() public method

public DecodeVINNumber ( string vin ) : VINCarInfo
vin string
return VINCarInfo
Example #1
0
        private void DecodeVIN()
        {
            lblCarMake.Text = "---";
            lblCarModel.Text = "---";
            lblMakeyear.Text = "---";
            lblPlant.Text = "---";
            lblChassis.Text = "---";
            lblEngineType.Text = "---";

            VINDecoder decoder = new VINDecoder();
            VINCarInfo carinfo = decoder.DecodeVINNumber(textEdit1.Text);
            //lblBody.Text = carinfo.Body;

            lblCarMake.Text = carinfo.Make;
            lblCarModel.Text = carinfo.Model;
            lblMakeyear.Text = carinfo.Makeyear.ToString();
            lblPlant.Text = carinfo.PlantInfo;
            lblChassis.Text = carinfo.Platform;
            lblEngineType.Text = carinfo.EngineType;
        }
Example #2
0
        private void DecodeVIN()
        {
            lblCarMake.Text    = "---";
            lblCarModel.Text   = "---";
            lblMakeyear.Text   = "---";
            lblPlant.Text      = "---";
            lblChassis.Text    = "---";
            lblEngineType.Text = "---";

            VINDecoder decoder = new VINDecoder();
            VINCarInfo carinfo = decoder.DecodeVINNumber(textEdit1.Text);

            //lblBody.Text = carinfo.Body;

            lblCarMake.Text    = carinfo.Make;
            lblCarModel.Text   = carinfo.Model;
            lblMakeyear.Text   = carinfo.Makeyear.ToString();
            lblPlant.Text      = carinfo.PlantInfo;
            lblChassis.Text    = carinfo.Platform;
            lblEngineType.Text = carinfo.EngineType;
        }