c# - Silverlight Sidebar Gadget global variable -


i'm making sidebar gadget , need set variable combo-box in settings page. need make variable global variable can access other pages (docked, undocked etc.) have tried setup global class , adding global variable web.config page no luck. i'm stuck , out of ideas.

here's global class have tried:

using system; using system.collections.generic; using system.linq; using system.text; using system.collections;  namespace silverlightgadgetdebugger {     class globalclass     {         public static class staticclass         {             public static string mytime             {                 get;                 set;             }         }     }   } 

i unable call global class (which in silverlightgadgetdebugger), , here's web.config file:

<?xml version="1.0"?> <!--  more information on how configure asp.net application, please visit  http://go.microsoft.com/fwlink/?linkid=169433  -->  <configuration>   <system.web>     <compilation debug="true" strict="false" explicit="true"/>   </system.web> <appsettings>     <add key="mytime" value="16:00:00"/> </appsettings> </configuration> 


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -