private void MenuInit_OnClick(object sender, RoutedEventArgs e) { MainViewModel1.Reset(); }
private void ThreeViewToolWindow_OnLoaded(object sender, RoutedEventArgs e) { MainViewModel1.ShowPoints(); }
private void ShowPoints_OnClick(object sender, RoutedEventArgs e) { MainViewModel1.ShowPoints(); }
private void MenuClear_OnClick(object sender, RoutedEventArgs e) { MainViewModel1.Clear(); }
private void MenuTest_OnClick(object sender, RoutedEventArgs e) { MainViewModel1.DrawPoint(0, 0, 0); //ModelVisual3D1.Content = MainViewModel1.Model; }
public MainWindow() { InitializeComponent(); _mainViewModel = new MainViewModel1(); this.DataContext = _mainViewModel; }