PC Review


Reply
Thread Tools Rate Thread

Calling a form in a user control

 
 
=?Utf-8?B?TW9oYW1tZWQgQWJkZWwtUmF6emFr?=
Guest
Posts: n/a
 
      21st Jun 2006
Hello All,

I have created a windows control using C#, which has some textboxes and a
datagrid, I want to add an event handler to the datagrid, when the user
clicks on a specific row it should open an instance of a form that exist in
the application which will user that control.
The problem is how can I declare the instance of that form (the form
constructor takes 2 parameters) in the control?

Thanks

Regards,

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling web form method from user control Simon Harris Microsoft ASP .NET 5 21st Feb 2005 10:50 PM
Calling methods inside a user control from the container control =?Utf-8?B?TmVpbA==?= Microsoft ASP .NET 1 25th Aug 2004 05:50 PM
Calling a sub in a user control Murphy Microsoft ASP .NET 3 13th Apr 2004 06:09 AM
Calling a form function from a button click on a user defined control placed on the form Scott Schade Microsoft C# .NET 3 20th Feb 2004 01:16 AM
Calling a User Control Patrick De Ridder Microsoft C# .NET 5 30th Aug 2003 06:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:16 PM.