예제 #1
0
        // Constructor
        public MainPage()
        {
            InitializeComponent();

            Loaded += (sender, e) =>
            {
                var statLightSystem = new NormalStatLightSystem(newRootVisual => this.Content = newRootVisual);
            };
        }
예제 #2
0
파일: App.xaml.cs 프로젝트: snay2/StatLight
 private void Application_Startup(object sender, StartupEventArgs e)
 {
     var statLightSystem = new NormalStatLightSystem(newRootVisual => RootVisual = newRootVisual);
 }