private void Remove_Wheel_click(object sender, RoutedEventArgs e) { WheelStageData sd = (WheelStageData)WheelsDataList.SelectedItem; (viewModel.CurrentPathData as WheelsData).Stages.Remove(sd); ReCalculate(); }
public void Add(double r,double f) { WheelStageData d = new WheelStageData(f,r); d.PropertyChanged += d_PropertyChanged; this.Stages.Add(d); SuggestedMaxTurns = lcmperiods; }
public void Add(double r, double f) { WheelStageData d = new WheelStageData(f, r); d.PropertyChanged += d_PropertyChanged; this.Stages.Add(d); SuggestedMaxTurns = lcmperiods; }