Esempio n. 1
0
 private bool HandleError(OpenNI.Status status)
 {
     if (status == OpenNI.Status.OK)
         return true;
     MessageBox.Show("Error: " + status.ToString() + " - " + OpenNI.LastError, "Error", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
     return false;
 }
Esempio n. 2
0
 static bool HandleError(OpenNI.Status status)
 {
     if (status == OpenNI.Status.OK)
         return true;
     Console.WriteLine("Error: " + status.ToString() + " - " + OpenNI.LastError);
     Console.ReadLine();
     return false;
 }
Esempio n. 3
0
 private bool HandleOpenNIError(OpenNI.Status status)
 {
     if (status == OpenNI.Status.Ok)
         return true;
     MessageBox.Show("Error: " + status.ToString() + " - " + OpenNI.LastError, "Error");
     return false;
 }