iX Talk
http://beijerinc.com/support/ix/forum/

if connected
http://beijerinc.com/support/ix/forum/viewtopic.php?f=15&t=2043
Page 1 of 1

Author:  Franswa [ Mon Feb 15, 2016 2:52 am ]
Post subject:  if connected

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

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/