/// <summary>
 /// UPDATE PRODUCT BTN CLICK -MAIN PAGE
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void UpdateProductbtn_Click(object sender, EventArgs e)
 {
     if (SelectProducttxt.Text.Length <= 0)
     {
         SelectProducttxt.Focus();
         return;
     }
     else
     {
         if (productController.GetProductDetailsByProductId(SelectProducttxt.Text).Rows.Count <= 0)
         {
             MessageBox.Show("Invalid Product ID", "Invalid Product Id", MessageBoxButtons.OK, MessageBoxIcon.Error);
             return;
         }
         else
         {
             staticProductModel.SetStaticProductModel(utils.PrepareProductModel(productController.GetProductDetailsByProductId(SelectProducttxt.Text)));
             UpdateProductForm updateProductform = new UpdateProductForm();
             updateProductform.Show();
         }
     }
 }