Exemple #1
0
    }    // END AddTorrentToolStripMenuItem_Click

    private void ExitMenu_Click(object sender, EventArgs e)
    {
        DllInterface.SetDebugStringOutputCb(null);
        DllInterface.DeInitTorrentManager();
        mAppNotifyIcon.Dispose();
        Application.Exit();
    }    // END ExitMenu_Click
Exemple #2
0
    }    // END OptionsMenuItem_Click

    private void MainForm_FormClosed(object sender, FormClosedEventArgs e)
    {
        lock (mThreadLock)
        {
            DllInterface.SetDebugStringOutputCb(null);
            DllInterface.DeInitTorrentManager();
            mAppNotifyIcon.Dispose();
            //mTorrentWorkerThread.Abort("MK Shutdown Abort.");
        }
    }    // END MainForm_FormClosed