Why don't you use switch ()
L
LovelyXiaoXinXin
@LovelyXiaoXinXin
Posts
-
VB6/VB.NET Case Is < 0 in c# ??? -
Global Variables ...wtfYou can build a class which is called GlobalVars NameSpace GlobalVars { public class GlobalVars { public static string stringVars; public class GlobalVars() {} } }
-
Topmost windowsNice to meet you here. I hope I will do help you . First Create a class with a namespace test namespace test { public class GlobalVars { public static bool blVisible; public GlobalVars() {} } } In topwindows ,set a Timer Component which watch the test.GlobalVars.blVisi ble , When it is true , Ignore it , when it is false , set Visible to false In the other Window , Set the blVisible to control the Global Variables; I hope it will help you