Example #1
0
 /// <summary>
 /// Raises the Error event
 /// </summary>
 /// <param name="error"></param>
 private void RaiseErrorEvent(Cm11LowLevelDriverError error)
 {
     // If we have any subscribers, raise event.
     if (this.Error != null)
     {
         this.Error(this, error);
     }
 }
 void worker_Error(object sender, Cm11LowLevelDriverError e)
 {
     // Used for tracing
     System.Diagnostics.Debug.WriteLine("Cm11LowLevelDriver: Error: " + e.Message);
 }
Example #3
0
 void worker_Error(object sender, Cm11LowLevelDriverError e)
 {
     // Used for tracing
     System.Diagnostics.Debug.WriteLine("Cm11LowLevelDriver: Error: " + e.Message);
 }
            /// <summary>
            /// Raises the Error event
            /// </summary>
            /// <param name="error"></param>
            private void RaiseErrorEvent(Cm11LowLevelDriverError error)
            {
                // If we have any subscribers, raise event.
                if (this.Error != null)
                    this.Error(this, error);

            }