Пример #1
0
 private void reconnectAllToolStripMenuItem_Click(object sender, EventArgs e)
 {
     foreach (ListViewItem tempItem in lv_pipeList.Items)
     {
         PipeHttp tempPh = (PipeHttp)tempItem.Tag;
         tempPh.ReConnect();
     }
 }
Пример #2
0
 private void reconnectThisToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (lv_pipeList.SelectedItems != null)
     {
         foreach (ListViewItem tempItem in lv_pipeList.SelectedItems)
         {
             PipeHttp tempPh = (PipeHttp)tempItem.Tag;
             tempPh.ReConnect();
         }
     }
 }