Example #1
0
        void m_Connection_StatusChange(object sender, ConnectionStatusChangeEventArgs e)
        {
            var StatusChangeArgs = new ClientInterfaceStatusChangeEventArgs();

            StatusChangeArgs.Status = e.State;

            OnStatusChange(StatusChangeArgs);
        }
Example #2
0
        protected virtual void OnStatusChange(ClientInterfaceStatusChangeEventArgs e)
        {
            var handler = StatusChange;

            if (handler != null)
            {
                handler(this, e);
            }
        }