Changing icon in top left corner of forms

Oct 10, 2016 at 8:12 AM
Hello, Oleg!
I have a project with standart UI and InjectClrDialog into installer.
I want to change icon in top left corner of the injecting dialog.
How can I get the icon from MSI?
Oct 19, 2016 at 3:57 AM
Edited Oct 19, 2016 at 3:58 AM
You do it the same way as for any WinForms dialog. Either from form designer at compile time or at runtime:
public CustomDialog(Session session) : base(session)
    this.Icon = //Load your icon either from resources or from the file