AmJano (18.08.2012)
Thema: [VB] Tray
-
15.02.2012, 10:57 #1
[VB] Tray
Code:Private Sub NotifyIcon1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles NotifyIcon1.Click Me.ShowInTaskbar = True Me.NotifyIcon1.Visible = False Me.WindowState = FormWindowState.Normal End Sub
Code:Private Sub Form1_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Resize If Me.WindowState = FormWindowState.Minimized Then Me.ShowInTaskbar = False Me.WindowState = FormWindowState.Minimized Me.NotifyIcon1.Visible = True End If End Sub End Class
Übersetzt in C#
Code:private void NotifyIcon1_Click(object sender, System.EventArgs e) { this.ShowInTaskbar = true; this.NotifyIcon1.Visible = false; this.WindowState = FormWindowState.Normal; }
Code:Endclass Unknown { } private void Form1_Resize(object sender, System.EventArgs e) { if ((this.WindowState == FormWindowState.Minimized)) { this.ShowInTaskbar = false; this.WindowState = FormWindowState.Minimized; this.NotifyIcon1.Visible = true; } }
Geändert von rVs14 (15.02.2012 um 11:01 Uhr)
-
18.08.2012, 22:49 #2
AW: [VB] Tray
Hallo,
wie würde es gehen wenn ich, also würde gerne mit einem Butten als Tray benutzen durch einmal klicken ?
Mfg
-
18.08.2012, 22:50 #3
AW: [VB] Tray
If Me.WindowState = FormWindowState.Minimized Then
Me.ShowInTaskbar = False
Me.WindowState = FormWindowState.Minimized
Me.NotifyIcon1.Visible = True
End IfGeändert von DnL (18.08.2012 um 22:53 Uhr)
-
The Following User Says Thank You to DnL For This Useful Post:
-
18.08.2012, 23:29 #4
AW: [VB] Tray
Funktioniert nicht ?
Mfg
-
19.08.2012, 00:08 #5
AW: [VB] Tray
Gib mal TV-Daten ich mache es dir.
-
19.08.2012, 00:46 #6
-
19.08.2012, 03:16 #7
- Registriert seit
- 19.01.2012
- Beiträge
- 7
Thanked 2 Times in 2 PostsAW: [VB] Tray
TV-Daten = Teamviewer-Daten
dll und so
-
The Following User Says Thank You to HasemitHut For This Useful Post:
AmJano (19.08.2012)
Ähnliche Themen
-
[HowTo] Messenger unter Windows 7 im Tray (MSN, Skype, ICQ usw)
Von DMW007 im Forum WindowsAntworten: 2Letzter Beitrag: 05.06.2012, 22:17
Diese Seite nutzt Cookies, um das Nutzererlebnis zu verbessern. Klicken Sie hier, um das Cookie-Tracking zu deaktivieren.