示例#1
0
 private void Render_Loaded(object sender, RoutedEventArgs e)
 {
     model          = DataContext as RenderViewModel;
     timer.Tick    += Timer_Tick;
     timer.Interval = TimeSpan.FromMilliseconds(33);
     timer.Start();
 }
示例#2
0
 private void Render_Loaded(object sender, RoutedEventArgs e)
 {
     model = DataContext as RenderViewModel;
     timer.Tick += Timer_Tick;
     timer.Interval = TimeSpan.FromMilliseconds(33);
     timer.Start();
 }
 static RenderViewModel()
 {
     Instance = new RenderViewModel();
 }
示例#4
0
 static RenderViewModel()
 {
     Instance = new RenderViewModel();
 }