Source Code Kaybolmayan Notify icon sorununa kesin çözüm

O

omergztp35

Web Developer
Super Member
Joined
Mar 29, 2022
Messages
168
Reaction score
7
Location
İZMİR
Bazen kullanılan notify icon kaybolmuyor.Buna birden çok çözüm bulabilirsiniz.Benim vereceğim kod bunlardan sadece bir tanesidir ve kesin çözümüdür.

Code:
Private Sub Form1_FormClosed(sender As Object, e As FormClosedEventArgs) Handles MyBase.FormClosed
NotifyIcon1.Visible = False
NotifyIcon1.Dispose()
Application.Exit()
End Sub

Private Sub Form1_FormClosing(sender As Object, e As FormClosingEventArgs) Handles MyBase.FormClosing
NotifyIcon1.Visible = False
NotifyIcon1.Dispose()
Application.Exit()
End Sub

Burada Form1 yerine formunuzun adını yazın.Kodları Formunuza ekleyin.
İyi kullanımlar.
 
O

Osderda

>.....
Admin
Joined
Sep 19, 2019
Messages
2,892
Reaction score
3,919
Location
X399+WF3 Kadıköy, İstanbul
Sen bunu c# ile vb ile karıştırıyor olmayasın?
çünkü c# da ilk defa private sub ile bir fonksiyon oluşturulduğunu görüyorum.
notifyicon vb da nasıl işlediğini bilmiyorum ama c# da yazılımı kapattığında otomatik gidiyor.
 
SPAM IS FORBIDDEN!
  • SPAMMERS ARE BANNED FROM THE FORUM AND CANNOT USE ANY OF THE CHEATS
  • For example: thanks, thx, very good, asdqwe, working, ty and so on!
  • For example: Writing the same message over and over. thanks, thx and so on!
  • Copying and copying someone else's message is prohibited.
  • It is forbidden to send messages to increase the number of comments on threads that you have no knowledge of.
  • Write your own opinion when commenting!
  • If you see spam message, please let us know with the REPORT button!

Tema düzenleyici

Top Bottom