>>>>
>>>>Now I see that what you meant was to create this method (above) in code in the form class and have it call the OnLoad(), right?
>>>
>>>Yep (I updated my message to suggest this but I guess you'd already read it) WIthin the form itself it's probably better to override the OnLoad() method in this way rather then to hook up the Load event which is what you are doing via the property sheet - if you use this approach and look in the Form.Designer.cs file you will see it has generated the hook :
this.Load += new System.EventHandler(this.Form1_Load);
>>
>>Yes, you are right, of course. Now I need to un-hook the method in the .Designer.cs. Do I need to delete the code in the class code and then manually delete it from the .Designer.cs as well? or there is a better way in VS 2005?
>
>I think just clearing the value in the property window should get rid of both the hook in the Form.Designer.cs and the handling stub in the Form.cs. If it doesn't just delete them manually.....
Yes, executing Reset in the property sheet un-hooks the method. And then I manually deleted it from the class code.
Thank you very much!!!
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham