I wasn't sure how to get the desktop information. What I needed was the keyword "Screen".
This is what I did for future ref:
myapp.MyForm frmDisplay = new MyForm();
Rectangle scrn = new Rectangle();
scrn = Screen.PrimaryScreen.WorkingArea;
frmDisplay.Top = scrn.Height - frmDisplay.Height;
frmDisplay.Left = scrn.Width - frmDisplay.Width;
frmDisplay.Show();
Thanks!!
Ignacio Machin ( .NET/ C# MVP ) wrote:
Hi,
You can calculate the size of the screen and then position the window where
you want.
"deciacco" <a@awrote in message
news:B6******************************@giganews.com ...
>I'm writing a very small notifyicon app and I want a form to pop up on
double click near the icon tray.
Any suggestions?
Thanks.