daily pastebin goal
40%
SHARE
TWEET

Untitled

a guest Aug 19th, 2018 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Silverlight App object Does not exist' Error
  2. private void Application_Startup(object sender, StartupEventArgs e)
  3. {
  4.     this.RootVisual = new System.Windows.Controls.Frame() { Source = new Uri("/MyAppScreen.xaml", UriKind.Relative) };
  5.  
  6. }
  7. public static string ValueFromHome =
  8. "A Value on Home page";
  9.    
  10. string color = App.Current.Resources["customColor"].ToString();
  11.    
  12. string value = MainResource.ValueFromHome;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top