private void OnUnDocked(DockedStateArgs e) { if (UnDocked != null) UnDocked(this, e); //if (e.m_isInitialStateEvent) //{ // m_battlevEventCount = 0; //} }
void m_spokes_UnDocked(object sender, DockedStateArgs e) { if (e.m_isInitialStateEvent || m_docked != e.m_docked) OnPltEvent(new PltEventArgs(PltEventType.UnDocked)); m_docked = e.m_docked; }
private void OnDocked(DockedStateArgs e) { if (Docked != null) Docked(this, e); }
void m_spokes_UnDocked(object sender, DockedStateArgs e) { DebugPrint(MethodInfo.GetCurrentMethod().Name, "Headset is un-docked"); DoCancelLockIfCheckBoxSet(dockedcheckBox); }
void m_spokes_Docked(object sender, DockedStateArgs e) { DebugPrint(MethodInfo.GetCurrentMethod().Name, "Headset is docked"); if (!e.m_isInitialStateEvent) { DoLockIfCheckBoxSet(dockedcheckBox, "Headset was docked", GetSecondsDelay()); } }
void m_spokes_UnDocked(object sender, DockedStateArgs e) { DebugPrint(MethodInfo.GetCurrentMethod().Name, "@@@ Headset " + (e.m_isInitialStateEvent ? "INITIALLY " : "") + "UnDocked"); }
static void spokes_UnDocked(object sender, DockedStateArgs e) { Console.WriteLine("UnDocked, sending message to Client App via socket..."); if (socket == null) { Console.WriteLine("INFO: No client connected."); return; } socket.sendMsg("UnDocked," + e.m_docked + "," + e.m_isInitialStateEvent); }
void m_spokes_Docked(object sender, DockedStateArgs e) { if (e.m_isInitialStateEvent || m_docked != e.m_docked || !m_haddockingevent) OnPltEvent(new PltEventArgs(PltEventType.Docked)); m_docked = e.m_docked; m_haddockingevent = true; }