Ejemplo n.º 1
0
 private void cmdProcess_Click(object sender, EventArgs e)
 {
     if (lstWorkstations.SelectedIndex >= 0)
     {
         IStarGateCallBack _Callback =
             ComputerListDic[lstWorkstations.Items[lstWorkstations.SelectedIndex].Value.ToString()];
         ProcessInfo[] ProcessList = _Callback.GetProcess();
         //_service.SendMessage(lstWorkstations.Items[lstWorkstations.SelectedIndex].Value.ToString(),"CCC");
         var xOpen = new frmProcess(ProcessList, _Callback);
         xOpen.ShowDialog();
     }
 }
Ejemplo n.º 2
0
 public ProcessInfo[] GetProcess(IStarGateCallBack iCallback)
 {
     return(iCallback.GetProcess());
 }