Пример #1
0
 private void CancelReq_Click(object sender, EventArgs e)
 {
     if (null != m_w)
     {
         m_w.cancelRequest(m_uReqId);
     }
 }
Пример #2
0
 public static void Stop(ulong id)
 {
     lock (_threadLock)
     {
         _api.cancelRequest(id);
         _dict.Remove(id);
     }
 }
Пример #3
0
 private void Form1_FormClosing(object sender, FormClosingEventArgs e)
 {
     w.cancelRequest(0);
 }