equal
deleted
inserted
replaced
127 Commands.ReferencesChutier.Search.Executed += new EventHandler<ExecutedEventArgs>(ChutierSearch_Executed); |
127 Commands.ReferencesChutier.Search.Executed += new EventHandler<ExecutedEventArgs>(ChutierSearch_Executed); |
128 Commands.ReferencesChutier.ClickAnnotation.Executed += new EventHandler<ExecutedEventArgs>(ClickAnnotation_Executed); |
128 Commands.ReferencesChutier.ClickAnnotation.Executed += new EventHandler<ExecutedEventArgs>(ClickAnnotation_Executed); |
129 } |
129 } |
130 void RefChutierAdd_Executed(object sender, ExecutedEventArgs e) |
130 void RefChutierAdd_Executed(object sender, ExecutedEventArgs e) |
131 { |
131 { |
132 if(!_annotations.Contains((PolemicElement)e.Parameter)) |
132 if(!Annotations.Contains((PolemicElement)e.Parameter)) |
133 { |
133 { |
134 _annotations.Add((PolemicElement)e.Parameter); |
134 Annotations.Add((PolemicElement)e.Parameter); |
135 } |
135 } |
136 else |
136 else |
137 { |
137 { |
138 MessageBox.Show("Element déjà sauvegardé"); |
138 MessageBox.Show("Element déjà sauvegardé"); |
139 } |
139 } |