Example #1
0
        private bool IsWCFAlive()
        {
            statusLabel.Text = "Connecting to server...";
            mon = new MonitorWCFService();
            Application.DoEvents();
            bool isAlive = false;
            bool boolSpc = false;

            mon.IsAlive(out isAlive, out boolSpc);
            return(isAlive);
        }
Example #2
0
 //---------------------------------------------------------------------
 //---------------------------------------------------------------------
 //---------------------------------------------------------------------
 public Worker(MonitorWCFService mon, ListView lv)
 {
     this.mon = mon;
     this.lv  = lv;
 }