AmJano (01.09.2012)
Thema: Trayfunktion
-
01.09.2012, 10:36 #11
AW: Trayfunktion
Bisschen besserer Codestyle:
PHP-Code:private void btnMinimize_Click(object sender, EventArgs e)
{
ChangeWindowState();
}
private void nIcon_MouseDoubleClick(object sender, MouseEventArgs e)
{
ChangeWindowState();
}
void ChangeWindowState()
{
this.Visible = !this.Visible;
this.ShowInTaskbar = !this.ShowInTaskbar;
this.nIcon.Visible = !this.nIcon.Visible;
}
-
The Following User Says Thank You to Sky.NET For This Useful Post:
Diese Seite nutzt Cookies, um das Nutzererlebnis zu verbessern. Klicken Sie hier, um das Cookie-Tracking zu deaktivieren.