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