473,473 Members | 1,549 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

A form in Code behind

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
2 2008
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: RC | last post by:
I can't quite grasp the concept of creating custom reports depending upon what options a user picks on a Form. For example, the user clicks on a "Print Reports" button and a Form pops up. On the...
5
by: Scott | last post by:
How can I tell a form to submit itself in the code-behind in vs.net? In other words, in javascript I can do blah.submit() - how do I do this in vs.net code-behind?
1
by: john | last post by:
We have an asp.net page that we are mixing our C# code on both the code behind and in the .aspx page. We are using the code behind for a server side control that has post back events. but we are...
4
by: mrmagoo | last post by:
If I create a form and add add a bunch of controls and code, etc to it, I can see that Visual Studio adds all of the requisite "creation" code behind the form. If I wanted to create a 2nd copy...
1
by: BillE | last post by:
Can I inherit from a web form? I would like to reuse procedures in a web form base class code behind by inheriting from it. For example, I would like to have a HandleError function defined in...
5
by: Miro | last post by:
I will try my best to ask this question correctly. I think in the end the code will make more sence of what I am trying to accomplish. I am just not sure of what to search for on the net. I...
9
by: =?Utf-8?B?VGVycnk=?= | last post by:
Hi, Is it possible (w/o generating a gazillion errors) to copy a form in VS 2005 so that it can be modified and reused. In other words, I have a form, alot of which I wish to use in a different...
1
by: mirandacascade | last post by:
1) Module1 has the following delcaration: Public g_frmZZZ as Form Public g_txtForm2 as Variant 2) app has two forms: form1 and form2 3) a command button on form1 opens form2; it also has...
16
by: Steve | last post by:
I am working on a database that has a main menu, many sub-menus and some sub-sub-menus. They are all forms that have numerous command buttons on them to open forms and reports in the database. The...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.