Hello
Users can initiate interacton with our application via various serial device readers. When the backlight is turned off via its timeout and a user swipes, say, a Mag card, the application reacts, but, unless a touch is made, the screen remains darkened.
I reviewed the BackLight section of the portal. I downloaded and ran the backlibhg_test.exe sample which functions correctly.
Then I found the ADSLibrary.dll which I really appreciate since I have, so far, coded the entire application in C#. I created a small, one-button, application to test out the Backlight functions:
private void button1_Click(object sender, System.EventArgs e)
{
if(button1.Text.Equals("Turn Backlight Off"))
{
button1.Text = "Turn Backlight On";
ADSLibrary.ADSmartIO.BacklightOff();
}
else
{
button1.Text = "Turn Backlight Off";
ADSLibrary.ADSmartIO.BacklightOn();
}
}
I must be missing somethig because, although both function calls return without the program crashing, the display remains on through both.
Suggestions appreciated!
TIA,
Tom Dorgan.