The online racing simulator
Button Help
(2 posts, started )
Once you get your buttons clickable you'll need to listen for the button click event. In the button click event you'll want to take the appropriate action based on the button ID of the clicked button.
-
(MariusMM) DELETED by MariusMM

private void BTC_ButtonClicked(Packets.IS_BTC BTC)
{
try
{
switch (BTC.ClickID)
{
case 2:
<delete button 2>
<display new button>
break;
case 3:
<delete button 3>
<display new button>
break;
case 4:
<delete button 4>
<display new button>
break;
case 7: // Close button
<delete all buttons>
break;
}
}
}

-
(MariusMM) DELETED by MariusMM

Button Help
(2 posts, started )
FGED GREDG RDFGDR GSFDG