Ejemplo n.º 1
0
        protected virtual void OnRaiseOpenEvent(OpenEventArgs e)
        {
            EventHandler <OpenEventArgs> handler = OpenEvent;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Ejemplo n.º 2
0
 private void sc_OnRecvOpenEvent(object sender, OpenEventArgs e)
 {
     timer.Stop();
     scConnected     = true;
     ConnectedString = string.Format("Connected to {0}.", e.SimulatorName);
 }