static bool HandleError(NiTE.Status status) { if (status == NiTE.Status.OK) return true; MessageBox.Show("Error: " + status.ToString()); return false; }
static bool HandleError(NiTE.Status status) { if (status == NiTE.Status.OK) return true; MessageBox.Show("Error: " + status.ToString() + Environment.NewLine + OpenNIWrapper.OpenNI.LastError); return false; }
private bool HandleNiteError(NiTE.Status status) { if (status == NiTE.Status.Ok) return true; MessageBox.Show("Error: " + status.ToString() + " - " + OpenNI.LastError, "Error"); return false; }