private void afterAction(object sender, ActionDoneEventArgs arg) { var poly = arg.Result as IFieldPolygon; if (poly != null && SelectedField != null) { SelectedField.Polygon = poly; } FieldView.RefreshView(); }
/// <summary> /// OnActionDone /// </summary> /// <param name="e"></param> public static void OnActionDone(ActionDoneEventArgs e) { e.Raise(null, ref ActionDone); }
/// <summary> /// OnActionDone /// </summary> /// <param name="e"></param> public static void OnActionDone(ActionDoneEventArgs e) { e.Raise(null, ref ActionDone); }
void Agent_ActionDone(object sender, ActionDoneEventArgs e) { SendActionDone(e.Action, e.Data); }