コード例 #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;
        }
コード例 #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;
        }