P
Peter Holschbach
Hi all,
I've a application where I need to use NotifyIcon in a other way round. My normal windows application sometimes has to collect data. In this case I want to hide all formulares and just show a icon in the system tray.
I've added a NotifyIcon and a button to a form:
private void button1_Click(object sender, EventArgs e)
{
this.Visible = false;
notifyIcon1.Visible = true;
}
click on the button hides the formular (perfect) but it also hides the icon in the system tray (not what I intended :-()
any idea ?
thanx
I've a application where I need to use NotifyIcon in a other way round. My normal windows application sometimes has to collect data. In this case I want to hide all formulares and just show a icon in the system tray.
I've added a NotifyIcon and a button to a form:
private void button1_Click(object sender, EventArgs e)
{
this.Visible = false;
notifyIcon1.Visible = true;
}
click on the button hides the formular (perfect) but it also hides the icon in the system tray (not what I intended :-()
any idea ?
thanx