Constructor of Window Plugin does not work (1 Viewer)

cashi

Portal Member
November 20, 2007
6
0
Hi,

i´m new to plugin developement and made a Window-Plugin to control my Home-Automation.
I need a method called every time the plugin is viewed on TV but the "normal" constructor never
will be reached !? The code :

namespace MPP_DK2
{

public class MPEibPluginDK2 : GUIWindow, ISetupForm
{
public MPEibPluginDK2()
{
RefreshView();
}

.....
.....

}
}

Is there another way to execute code every time the plugin is used ?

Thanx in advance

cashi
 

cashi

Portal Member
November 20, 2007
6
0
thanx but doesn´t work for me.
Trying arround with your advice, the method

protected override void OnWindowLoaded()

worked for me...
 

Users who are viewing this thread

Top Bottom