Exemple #1
0
        private void lbRunning_DoubleClick(object sender, EventArgs e)
        {
            ThreadWrapper wrapper = lbRunning.SelectedItem as ThreadWrapper;

            wrapper.Stop(true);
            lbRunning.Items.Remove(wrapper);
        }
Exemple #2
0
 void RemoveRunWrapper(ThreadWrapper wrapper, bool isRelease)
 {
     wrapper.Stop(false);
     lbRunning.Items.Remove(wrapper);
 }