Community
Showing results for 
Search instead for 
Do you mean 
Reply

Replacing Act logo with company logo

Copper Contributor
Posts: 48
Country: United_Kingdom

Re: Replacing Act logo with company logo

@twolfram Thanks very much, I'll check your plgin out on Monday Smiley Happy

Copper Contributor
Posts: 42
Country: Germany

Re: Replacing Act logo with company logo

Well, as I'm reading my post again I might be mistaken:

The purpose of the addon is NOT to change the logo, it has many functions and they replaced the logo with their company's one.

Copper Contributor
Posts: 48
Country: United_Kingdom

Re: Replacing Act logo with company logo

That's a shame, you had my hopes up!

Highlighted
Copper Super Contributor
Posts: 52
Country: United_Kingdom

Re: Replacing Act logo with company logo

[ Edited ]

**THIS IS NOT THE CODE YOU ARE LOOKING FOR**

 

public Control FindControlRecursive(Control container, string name)
{
    if (container.Name == name)
        return container;

foreach (Control ctrl in container.Controls) { Control foundCtrl = FindControlRecursive(ctrl, name); if (foundCtrl != null) return foundCtrl; } return null; } private void setcustomMainLogo(ActApplication ActApp, int width, int height, Image i, PictureBoxSizeMode mode) { PictureBox pb = FindControlRecursive(ActApp, "logoPictureBox") as PictureBox; pb.Width = width; pb.Height = height; pb.Image = i; pb.SizeMode = mode; }

Usage

 

setcustomMainLogo(oApp, 190, 45, Resource1.MyNewPic, PictureBoxSizeMode.Zoom);

100% not supported by the SDK.

 

Copper Contributor
Posts: 48
Country: United_Kingdom

Re: Replacing Act logo with company logo

@rkain - I have only just seen your reply.

 

That's really not excellent, i'll ensure I don't check it out Smiley Happy