Skip to content

Add an icon to extension does not work #4

@websiteflash

Description

@websiteflash

Hello,
i want to add an icon to my extension, but it does not work. i want to add a custom image, the example code on fiddler-docs/Extend-Fiddler/AddIcon.md is as same as use an existing icon, is there some mistake?

and my code is like this, but also do not work, can you help me?

Image newImage = Image.FromFile(@"E:\svn\connect_proj\trunk\tools\rosin\Rosin\test.jpg");
            FiddlerApplication.UI.imglSessionIcons.Images.Add("Rosin", newImage);
            oPage.ImageKey = "Rosin";

            oPage.Controls.Add(this.oConfigControl);
            this.oConfigControl.Dock = DockStyle.Fill;

            int size = FiddlerApplication.UI.tabsViews.TabPages.Count;
            FiddlerApplication.UI.tabsViews.TabPages.Insert(size, oPage);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions