Exemple #1
0
 /// <summary>
 /// Oublier un line
 /// </summary>
 /// <param name="cell"></param>
 public void ForgetLine(DesignDimensionLine line)
 {
     line.position = -1;
     lineListChangeHandler.forget(line);
     OnPropertyChanged("lineListChangeHandler.Items");
 }
Exemple #2
0
 /// <summary>
 /// Met à jour un LineItem
 /// </summary>
 /// <param name="cell"></param>
 public void UpdateLine(DesignDimensionLine line)
 {
     lineListChangeHandler.AddUpdated(line);
     OnPropertyChanged("itemListChangeHandler.Items");
 }
Exemple #3
0
 /// <summary>
 /// Retire un line
 /// </summary>
 /// <param name="cell"></param>
 public void RemoveLine(DesignDimensionLine line)
 {
     line.position = -1;
     lineListChangeHandler.AddDeleted(line);
     OnPropertyChanged("lineListChangeHandler.Items");
 }
Exemple #4
0
 /// <summary>
 /// Rajoute un Line
 /// </summary>
 /// <param name="cell"></param>
 public void AddLine(DesignDimensionLine line)
 {
     line.position = lineListChangeHandler.Items.Count + 1;
     lineListChangeHandler.AddNew(line);
     OnPropertyChanged("lineListChangeHandler.Items");
 }