Share via

Why the image changes in the taskbar when 2 forms are open?

Claude Larocque 666 Reputation points
2023-12-19T18:42:56.67+00:00

Both forms FrmBilling and FrmJewelleriesVendors have their ShowInTaskbar set to true.

When I open the FrmBilling and look at the taskbar, the form image is display correctly (See Image1)

User's image

Image1

Then I open a second form FrmJewelleriesVendors with the ShowInTaskbar set to true as well

Now when I look on the taskbar I have 2 forms opened but with the same images even if the names are correct. (See Image2)

User's image

Image2

Why is the FrmBilling display the same image then the FrmJewelleryVendors instead of keeping is own image?

Thanks

Claude from Quebec, Canada

Developer technologies | Windows Forms
0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-12-20T06:54:57.5833333+00:00

    Hi @Claude Larocque , Welcome to Microsoft Q&A,

    If a form is parented within another form, the parented form is not displayed in the Windows taskbar.

    Do your two forms have a parent-child relationship? According to the documentation, if it exists, it may not be displayed properly.Form.ShowInTaskbar

    Best Regards,

    Jiale


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.