// Earse all children of canvas private void btnClearAll_Click(object sender, RoutedEventArgs e) { PaintCanvas.Children.Clear(); PaintCanvas.Background = System.Windows.Media.Brushes.White; RedoObject.Clear(); isSelectionTool = false; isSelectShape = false; }
private void btnNew_Click(object sender, RoutedEventArgs e) { PaintCanvas.Children.Clear(); PaintCanvas.Background = System.Windows.Media.Brushes.White; RedoObject.Clear(); }