private void Button1_Click(object sender, EventArgs e)
        {
            MotorPriceDescription mObj = new MotorPriceDescription();

            MotorPriceDescription.StrVehicleModel = textBox1.Text;
            strMotorVehicle = textBox1.Text.Trim();


            string strValue;
            bool   bResult = mObj.checkVehicleModel(out strValue);

            if (bResult == true)
            {
                if (strValue == "Bajaj Company")
                {
                    frmBajajMotors fObj = new frmBajajMotors();
                    fObj.Show();
                }
                else if (strValue == "Hero Motors")
                {
                    frmHeroMotors fObj1 = new frmHeroMotors();
                    fObj1.Show();
                }
            }
            else
            {
                MessageBox.Show("Particular model of vehicle is not existing in Hero Moto corp or Bajaj. Please re- enter properly again");
                textBox1.Clear();
                textBox1.Focus();
            }
        }
        private void FrmHeroMotors_Load(object sender, EventArgs e)
        {
            MotorPriceDescription mObj = new MotorPriceDescription();

            MotorPriceDescription.StrVehicleModel = frmVehicleVerify.strMotorVehicle;
            string strResult = mObj.HeroMotors();

            string[] strSplit = strResult.Split(':');
            textBox1.Text = strSplit[0];
            textBox2.Text = Convert.ToString(Convert.ToSingle(textBox1.Text) * Convert.ToSingle(strSplit[1]));
            textBox3.Text = Convert.ToString(Convert.ToSingle(textBox1.Text) * Convert.ToSingle(strSplit[2]));
            textBox4.Text = (Convert.ToString(Convert.ToSingle(textBox1.Text) + Convert.ToSingle(textBox2.Text) + Convert.ToSingle(textBox3.Text)));
        }