Page 1 of 1

ErrorEventBox

Posted: Thu Sep 24, 2020 1:19 pm
by PegahYaftian
Hello
I am new to phidget and I want to know what
errorBox = new ErrorEventBox() does?

Re: ErrorEventBox

Posted: Thu Sep 24, 2020 1:38 pm
by mparadis
That line creates a new object of type "ErrorEventBox".

ErrorEventBox is a object used in our C# examples (defined in ErrorEventBox.cs under the Phidget22.ExampleUtils namespace).

When your Phidget throws an error event, this object is invoked to display a window on the screen with the error message history and other important information.