public void ClickMe(string canvasid, int windowid) { CanvasControlLibrary.CCLLabelProps lp = ccl.getControlPropsByControlNameID("l1") as CanvasControlLibrary.CCLLabelProps; if (Convert.ToInt32(ccl.CurrentSessionObj.Data.GetValue("Count")) == 0) { ccl.CurrentSessionObj.Data.Add("Counter", 1); } else { ccl.CurrentSessionObj.Data.SetValue("Counter", (Convert.ToInt32(ccl.CurrentSessionObj.Data.GetValue("Counter")) + 1).ToString()); } lp.Text = ccl.CurrentSessionObj.Data.GetValue("Counter").ToString(); CanvasControlLibrary.CCLImageProps i1 = ccl.getControlPropsByControlNameID("i1") as CanvasControlLibrary.CCLImageProps; i1.ImageURL = "Bombay.png"; parameters.Add(ccl.InputParams); }