Esempio n. 1
0
        private void Remove_Wheel_click(object sender, RoutedEventArgs e)
        {
            WheelStageData sd = (WheelStageData)WheelsDataList.SelectedItem;

            (viewModel.CurrentPathData as WheelsData).Stages.Remove(sd);
            ReCalculate();
        }
Esempio n. 2
0
 public void Add(double r,double f)
 {
     WheelStageData d = new WheelStageData(f,r);
     d.PropertyChanged += d_PropertyChanged;
     this.Stages.Add(d);
     SuggestedMaxTurns = lcmperiods;
 }
Esempio n. 3
0
        public void Add(double r, double f)
        {
            WheelStageData d = new WheelStageData(f, r);

            d.PropertyChanged += d_PropertyChanged;
            this.Stages.Add(d);
            SuggestedMaxTurns = lcmperiods;
        }