Click here to Skip to main content
15,889,462 members
Home / Discussions / C#
   

C#

 
GeneralRe: Substring's problem Pin
mav.northwind28-Jan-05 0:01
mav.northwind28-Jan-05 0:01 
GeneralRe: Substring's problem Pin
jzb28-Jan-05 0:15
jzb28-Jan-05 0:15 
GeneralRe: Substring's problem Pin
mav.northwind28-Jan-05 0:27
mav.northwind28-Jan-05 0:27 
GeneralRe: Substring's problem Pin
Colin Angus Mackay28-Jan-05 4:33
Colin Angus Mackay28-Jan-05 4:33 
GeneralRe: Substring's problem Pin
mav.northwind28-Jan-05 4:46
mav.northwind28-Jan-05 4:46 
Generalview the incoming SOAP message Pin
weeteck27-Jan-05 22:56
weeteck27-Jan-05 22:56 
GeneralRe: view the incoming SOAP message Pin
Mazdak28-Jan-05 2:09
Mazdak28-Jan-05 2:09 
QuestionHow to let web form designer auto-generate the special code in InitializeComponent()? Pin
J Wang27-Jan-05 21:23
J Wang27-Jan-05 21:23 
Hi all,
I've written a component inherited from System.ComponentModel.Component, and put it in web form toolbox. When I drag it to web form,the form designer will auto-generate the code to initialize the component in InitializeComponent() method. The code looks like this:

private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.component11 = new ComponentSample.Component1(this.components);
//
// component11
//
this.component11.Name = "Hello";
this.Load += new System.EventHandler(this.Page_Load);

}

However, I wanna replace the code that invoke constructor with the other one and transfer the page object as parameter to it.it will like this:

this.component11 = new ComponentSample.Component1(this.components, this); // constructor has definded in Component1

Could anyone tell me if it's possible to let designer auto-generate the initialize code to invoke the constructor that I definded and transfer the page object to it?If yes, how is it done?
Thank you so much.

QuestionHow to insert data in the middle of a stream? Pin
mav.northwind27-Jan-05 21:21
mav.northwind27-Jan-05 21:21 
AnswerRe: How to insert data in the middle of a stream? Pin
Dave Kreskowiak28-Jan-05 6:45
mveDave Kreskowiak28-Jan-05 6:45 
GeneralRe: How to insert data in the middle of a stream? Pin
mav.northwind28-Jan-05 7:36
mav.northwind28-Jan-05 7:36 
GeneralDLL Injection in C# Pin
Budi Zhu27-Jan-05 21:17
Budi Zhu27-Jan-05 21:17 
GeneralUserControls in windows form Pin
rc_latha27-Jan-05 18:24
rc_latha27-Jan-05 18:24 
GeneralRe: UserControls in windows form Pin
Corinna John27-Jan-05 19:28
Corinna John27-Jan-05 19:28 
GeneralCreating Icon Pin
UdayMGovekar27-Jan-05 18:00
UdayMGovekar27-Jan-05 18:00 
Generalusing gdi+ in mfc..problem Pin
yourbuddy7727-Jan-05 17:55
yourbuddy7727-Jan-05 17:55 
GeneralRe: using gdi+ in mfc..problem Pin
Dave Kreskowiak28-Jan-05 6:34
mveDave Kreskowiak28-Jan-05 6:34 
GeneralSocket question... [C# but not only] Pin
Daniele Mancini27-Jan-05 17:49
Daniele Mancini27-Jan-05 17:49 
GeneralRe: Socket question... [C# but not only] Pin
J4amieC27-Jan-05 22:25
J4amieC27-Jan-05 22:25 
GeneralRe: Socket question... [C# but not only] Pin
Daniele Mancini28-Jan-05 1:08
Daniele Mancini28-Jan-05 1:08 
GeneralRe: Socket question... [C# but not only] Pin
jzb27-Jan-05 23:55
jzb27-Jan-05 23:55 
GeneralRe: Socket question... [C# but not only] Pin
Daniele Mancini28-Jan-05 1:16
Daniele Mancini28-Jan-05 1:16 
GeneralRe: Socket question... [C# but not only] Pin
Member 132576628-Jan-05 16:45
Member 132576628-Jan-05 16:45 
GeneralHELP pls!!!! Pin
Gregg Holter27-Jan-05 15:31
Gregg Holter27-Jan-05 15:31 
GeneralRe: HELP pls!!!! Pin
Yulianto.27-Jan-05 16:08
Yulianto.27-Jan-05 16:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.