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 frmProcess(ProcessInfo[] ProcessList, IStarGateCallBack iCallBack)
 {
     InitializeComponent();
     _ProcessList = ProcessList;
     _CallBack    = iCallBack;
 }
Ejemplo n.º 3
0
 public frmAdvance(IStarGateCallBack iCallBack)
 {
     InitializeComponent();
     _iCallBack = iCallBack;
 }
Ejemplo n.º 4
0
 public ProcessInfo[] GetProcess(IStarGateCallBack iCallback)
 {
     return(iCallback.GetProcess());
 }