Exemplo n.º 1
0
 private void vectorField1_ApplyVectorField(object sender, ApplyVectorFieldArgs e)
 {
     try
     {
         if (e.FieldType == VectorFieldType.None)
         {
             _vectorField = null;
         }
         else
         {
             _vectorField = e;
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString(), this.Title, MessageBoxButton.OK, MessageBoxImage.Error);
     }
 }
Exemplo n.º 2
0
 private void vectorField1_ApplyVectorField(object sender, ApplyVectorFieldArgs e)
 {
     try
     {
         if (e.FieldType == VectorFieldType.None)
         {
             _vectorField = null;
         }
         else
         {
             _vectorField = e;
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString(), this.Title, MessageBoxButton.OK, MessageBoxImage.Error);
     }
 }