Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: if connected
PostPosted: Mon Feb 15, 2016 2:52 am 

Joined: Sun Feb 07, 2016 1:39 pm
Posts: 6

Offline
Hello,
I would to execute a script which say "if i m connected, when I press the button1, tagA take the value 1 to show screen1 else it take the value 0 to show screen0". But I don't know what can I put in my condition.

public partial class s0start
{
static s0start()
{
void Button1_Click(System.Object sender, System.EventArgs e)
{
If (User is connected)
{Globals.Tags.tagA.Value=1;}
else{Globals.Tags.tagA.Value=0;}
}
}
}


thank you for your interest in my message.

Fran├žois


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron