0

I have a NotifyIcon for my app and there are BalloonTip events that tell the user of an updated item within the app.

I am seeing when users are clicking the BalloonTip, it is running a new instance of the app and it appears that the new instance is an older version of the application. Has anyone else seen this happen? is there some sort of sterilization I need to do the the BalloonTip to have it bounce to the current instance of the app?

written in vb, but I can read C# if the answer comes in that form.

This bit is the constructor that builds my balloontips

 For Each i As String In itms
                With FormMain.TussAppToast
                    .BalloonTipTitle = "Balloon Title Text"
                    .BalloonTipText = i
                    .Tag = "openRec"
                    .ShowBalloonTip(5000)
                End With
            Next

And this bit is the click event.

    Private Sub TussAppToast_BalloonTipClicked(sender As Object, e As EventArgs) Handles TussAppToast.BalloonTipClicked
        Select Case sender.tag
            Case "mergeitem"
                NotifyIconContMenuStrip(APNMergeBtn)
            Case "openRec"
                With FormRec
                    .Show()
                    .Location = New System.Drawing.Point(Cursor.Position.X - .Width, Cursor.Position.Y - .Height)
                    .TopMost = True
                End With
                Cursor.Position = New System.Drawing.Point(Cursor.Position.X - 100, Cursor.Position.Y - 100)
            Case Else
                Exit Sub
        End Select
    End Sub

0 Answers0