예제 #1
0
 private void button_Click(object sender, RoutedEventArgs e)
 {
     ModelStorage.ParseFile(Settings.filename);
     Drawer.Draw(canv);
 }
예제 #2
0
 private void Update(Object source, ElapsedEventArgs e)
 {
     ModelStorage.RotateFigure(Settings.rotateAngle, X, Y, Z);
     Dispatcher.BeginInvoke(new ThreadStart(delegate { Drawer.Update(canv); }));
 }