Esempio 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);
     }
 }
 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);
     }
 }