By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,658 Members | 1,519 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,658 IT Pros & Developers. It's quick & easy.

A form in Code behind

P: n/a
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

Jul 26 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"kvicky" wrote:
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

Jul 26 '06 #2

P: n/a
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
Peter Bromberg [ C# MVP ] wrote:
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

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"kvicky" wrote:
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
Jul 26 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.