Ejemplo n.º 1
0
 private void UndoButton_Click(object sender, RoutedEventArgs e)
 {
     if (GanttChartDataGrid.CanUndo())
     {
         GanttChartDataGrid.Undo();
     }
     else
     {
         MessageBox.Show("Currently there is no recorded action in the undo queue; perform an action first.", "Information", MessageBoxButton.OK);
     }
 }