using the following code
Expand|Select|Wrap|Line Numbers
- using Microsoft.WindowsCE.Forms;
- ...
- Notification note = new Notification()
- note.Caption = "Foo";
- note.Text = "Bar";
- note.Visible = true;
I really want to launch the notification as a dialog. So, like a dialog box, the application would keep paused on the code until the user closes the notification then continuing and killing the app.
Any ideas? I've been tearing my hair out with this one. I tried making a forms application and then hiding the form, but that just doesn't work as the app always displays the form, even if you use Form.hide() or Form.Visible = false. I have tried importing coredll.dll and using the findWindow() and then trying to close the form with that as well and it didn't work. Surely there must be a way to run it like it was a dialog?
At the minute I have resorted to a dialog box, as this does the job, but I would much rather notify the user with a toast style notification pop up.