Print Page | Close Window

Fire User Event

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: MarkupLabel Control
Forum Description: Topics Related to Codejock MarkupLabel Control
URL: http://forum.codejock.com/forum_posts.asp?TID=22173
Printed Date: 26 April 2024 at 2:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Fire User Event
Posted By: jimmy
Subject: Fire User Event
Date Posted: 17 January 2014 at 6:14am
Hello,

is there a way to fire a event in software, to show 2 diff pictures.
C++ Sample
OnTimer()
{
  if (val++ & 1)
    DrawBitmap(pic1);
  else
     DrawBitmap(pic2);
}

How can i solve this in XAML / Markup.

???
OnTimer()
{
  if (val++ & 1)
    pMarkupContext->FireEvent("Picture1");
  else
    pMarkupContext->FireEvent("Picture2");
}

Best regards
  Johann





Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net