コード例 #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);
     }
 }
コード例 #2
0
 void worker_Error(object sender, Cm11LowLevelDriverError e)
 {
     // Used for tracing
     System.Diagnostics.Debug.WriteLine("Cm11LowLevelDriver: Error: " + e.Message);
 }
コード例 #3
0
 void worker_Error(object sender, Cm11LowLevelDriverError e)
 {
     // Used for tracing
     System.Diagnostics.Debug.WriteLine("Cm11LowLevelDriver: Error: " + e.Message);
 }
コード例 #4
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);

            }