void circleDetector_OnCircle(object sender, CircleEventArgs e) { if (e.Confidence) { Update(new Point3D(), "circle"); flowRouter.ActiveListener = pushDetector; } }
void circleDectector_OnCircle(object sender, CircleEventArgs e) { circleDectector.Reset(); if (debug == true) { _print = true; debug_text = "Circle detected"; } }
/// <summary> /// /// </summary> /// <param name="circle"></param> /// <returns></returns> /// <remarks>This function must be called after the ContactTable and WLConnections are created.</remarks> private bool FireJoinCircleInvitationReceivedEvents(Contact circle) { lock (PendingAcceptionCircleList) { PendingAcceptionCircleList[circle.AddressBookId] = circle; } CircleEventArgs joinArgs = new CircleEventArgs(circle); NSMessageHandler.ContactService.OnJoinCircleInvitationReceived(joinArgs); return true; }
void ContactService_CircleCreated(object sender, CircleEventArgs e) { RefreshCircleList(sender, e); }
void ContactService_JoinCircleInvitationReceived(object sender, CircleEventArgs e) { messenger.ContactService.AcceptCircleInvitation(e.Circle); }
void ContactService_JoinedCircle(object sender, CircleEventArgs e) { RefreshCircleList(sender, e); messenger.ContactService.ExitCircle(e.Circle); //Demostrate how to leave a circle. }
void ContactService_ExitCircle(object sender, CircleEventArgs e) { RefreshCircleList(sender, e); }
void ContactService_TestingCircleAdded(object sender, CircleEventArgs e) { //Circle created, then show you how to block. ////if (!e.Circle.OnBlockedList) ////{ //// messenger.ContactService.BlockCircle(e.Circle); //// e.Circle.ContactBlocked += new EventHandler<EventArgs>(Circle_ContactBlocked); //// Trace.WriteLine("Circle blocked: " + e.Circle.ToString()); ////} ////Trace.WriteLine("Circle created: " + e.Circle.ToString()); }
private void Circles_CircleAdded(object sender, CircleEventArgs e) { OnShapeAdded(e.Entity); }
internal void OnJoinedCircleCompleted(CircleEventArgs e) { Trace.WriteLineIf(Settings.TraceSwitch.TraceVerbose, "Circle invitation accepted: " + e.Circle.ToString()); if (JoinedCircleCompleted != null) JoinedCircleCompleted(this, e); }
internal void OnJoinCircleInvitationReceived(CircleEventArgs e) { if (JoinCircleInvitationReceived != null) JoinCircleInvitationReceived(this, e); }
internal void OnExitCircleCompleted(CircleEventArgs e) { Trace.WriteLineIf(Settings.TraceSwitch.TraceVerbose, "Exit circle completed: " + e.Circle.ToString()); if (ExitCircleCompleted != null) ExitCircleCompleted(this, e); }
internal void OnCreateCircleCompleted(CircleEventArgs e) { if (CreateCircleCompleted != null) CreateCircleCompleted(this, e); }
public CircleDetectedEventArgs(CircleEventArgs e) : this(new PointF(e.CircleCenter.X, e.CircleCenter.Y), e.CircleRadius, e.Confident, e.Value) { }
void circleDetector_Circle(object sender, CircleEventArgs e) { CircleDetected(sender, new CircleDetectedEventArgs(e)); }