Run a Window Form (C#)

F

Fazoule

Hi,

In my Visio AddIn i want to run my Own window pop-up.
For this, i make like all my windows
application..System.Application.run(Form1());
But it's not working...

If i put this line in the "connect" method of the file "connect.cs", my
windows apears, but next, the method "OnConnection" it's dont called !

If i put the line in the "OnConnection" my form don't appear.. (i have a
exeption in the film System.microsoft.Form.dll...)

How i can use my own windows in a Addin ? It's possible ?

Regards,
Franck
 
D

David Parker

Have you tried something like ?:

System.Windows.Form frm = new myForm()
frm.Show()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top