if connected
Posted: Mon Feb 15, 2016 2:52 am
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
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