Beispiel #1
0
 private void AddAngleConstraint(object sender, RoutedEventArgs e)
 {
     result = VertexContextResult.AddAngleConstraint;
     try
     {
         angleValue = Int32.Parse(angle.Text);
     }
     catch
     {
         angleValue = -1;
     }
     Close();
 }
Beispiel #2
0
 private void Cancel(object sender, RoutedEventArgs e)
 {
     result = VertexContextResult.Cancel;
     Close();
 }
Beispiel #3
0
 private void DeleteVertex(object sender, RoutedEventArgs e)
 {
     result = VertexContextResult.DeleteVertex;
     Close();
 }
Beispiel #4
0
 private void DeleteConstraints(object sender, RoutedEventArgs e)
 {
     result = VertexContextResult.DeleteConstraints;
     Close();
 }