private void Remove_Line_Click(object sender, RoutedEventArgs e) { LatticeData ld = (viewModel.CurrentPathData as LatticeData); if (ld == null) { return; } ld.Remove((Line2D)LatticeLineList.SelectedItem); }
private void Remove_Line_Click(object sender, RoutedEventArgs e) { LatticeData ld = (viewModel.CurrentPathData as LatticeData); if (ld == null) { return; } ld.Remove((Line2D)LatticeLineList.SelectedItem); }