I programmed the example plugin from the Wiki. It works. Now I tried to substitute the message box „Nothing to configure, this is just an example“ for my own window to get real setup dialog for my plugin.
I created a new Window named “OptionenDialog” and tried to instantiate it and show it instead of the massage box. Then I get an error message in Visual Studio 2010. The namspacename “OptionenDialog” in not fond.
Example sours code
My sours code
Can anyone help me with to create a setup dialog?
I created a new Window named “OptionenDialog” and tried to instantiate it and show it instead of the massage box. Then I get an error message in Visual Studio 2010. The namspacename “OptionenDialog” in not fond.
Example sours code
Code:
// show the setup dialog
public void ShowPlugin()
{
//MessageBox.Show("Nothing to configure, this is just an example");
}
My sours code
Code:
// show the setup dialog
public void ShowPlugin()
{
OptionenDialog setup = new OptionenDialog();
setup.ShowDialog();
}