Hi, in my Windows.Form application I have a window that, when needed, appears in the lower right corner of the screen, with a message and all the parameters, time, color etc. (attached)
Is it possible to achieve something like this with Wisej? Mine doesn’t work, I tried to insert it but the class is not recognized.
Thank you
Hi Francesco, you can try to port the Tulep Notification Windows Forms project to Wisej following the guidelines on Migration.
https://docs.wisej.com/migration/winforms-to-wisej-1/winforms-to-wisej
Follow the guide for Old Project format (so basically change references from System.Windows.Forms to Wisej.Web) and change/adapt code for missing methods/properties).
Using this approach i have ported to Wisej some Windows Forms components (eg: the XQBEForm and the XQBEReport of Passero Framework)
For a very simple popup that appears in the lower right corner of the screen and disappears after a few seconds, you could use an Alertbox.
AlertBox.Show("Your Text Here");
AlertBox Documentation:
https://docs.wisej.com/docs/controls/notifications/alertbox
https://docs.wisej.com/api/wisej.web/notifications/alertbox
In your case, you probably want to use the “Form” class. Change your window so that it derives from Form.
You’ll need to set the Location of the Form so that it appears where you want it. In this example, MyCustomWindow is a class derived from Form.
MyCustomWindow form = new MyCustomWindow();
form.Location = new System.Drawing.Point(500, 500);
var result = form.ShowDialog();
Form Documentation: https://docs.wisej.com/docs/controls/containers/form
Hope this helps!
-Julie
Please login first to submit.