A form in Code behind

K

kvicky

can anybody tell how to get a form show up in Code behind in C#. If I
type something I want a form to show up so that I can enter some values
and use those values in my code.

Can I do this creating a custome intellisense?

Thanks
 
G

Guest

Kvicky,
Not exactly sure what you mean by this. All forms are created and shown via
codebehind. Forms are classes. Create an instance of it, and call its Show
method.

Peter
 
K

kvicky

Hi Peter ,

What I meant was to have a form pop up on a code behind page in IDE not
after I run the application.

I am trying to create an Add-in here to display a code header, the
functionality of Add-in is working fine. what I want is to have that
Add-in when I type something in the code behind. For example I type
Public void and press space bar I want a form to pop up, so that I can
enter some values in that, like method name, who created it, etc, and
this data can be used later in the Add-in.

Right now I have my Add-in in context menu and Tools menu but I want to
have it when I type something in Code behind not on any mouse click.

I have no idea as to how to get something to show up in code behind
page on the IDE.

Thanks
 

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