Beispiel #1
0
        protected void OnDelProtocolCmd(P2PManager p2p, CmdManager cmd)
        {
            // Uninitalize Talk Manager
            TalkManager.Uninitialize();

            // Del Protocol Event Handler
            CmdManager.UnknownEvent -= new ProtocolHandler(OnUnknownEvent);

            // Sensitivize Talk Menu
            SetSensitiveTalkMenu(false);
        }
Beispiel #2
0
        private void OnDelProtocolCmds(P2PManager p2pManager)
        {
            if (nyFolder.MainWindow != null)
            {
                // Sensitivize Talk Menu
                SetSensitiveTalkMenu(false);
            }

            // Del Protocol Event Handler
            CmdManager.UnknownEvent -= new ProtocolHandler(OnUnknownEvent);

            // Uninitalize Talk Manager
            TalkManager.Uninitialize();
        }