Re: Where does the designer code come from?
- From: "schneider" <eschneider.news.ms@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 17 Jul 2007 09:35:35 -0500
I'm looking for what classes are used in creating the code.
Some X object/s must look at the component and decide what to generate code
for and what to ignore or decide where the code should be or look like.
There is also something that decides to put code into different
methods/regions, and creat comments like below.
I'm looking for info on how all this is done.
Thanks,
Schneider
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent() {
"OD" <webmaster @ e-naxos dot com> wrote in message
news:mn.8b5f7d77adcc4edb.18651@xxxxxxxxxxxxxxxx
Yes, I guess I should have said "What .NET objects are used to generate
the code?" I want to alter the behavior.
The way code is generated mostly depends on the component itself.
For example, attributes such as Description, Browsable, default values,
default event, etc, are used in component source code and help VS to
display properties, to generate default event when you double-click the
component under design, etc.. Changing this attributes will change the
component behavior under design.
But can you be more precise about what you're wanting to do, give a little
sample if possible. I'm not sure to fully understand your goal.
--
OD___
www.e-naxos.com
.
- References:
- Where does the designer code come from?
- From: schneider
- Re: Where does the designer code come from?
- From: schneider
- Where does the designer code come from?
- Prev by Date: Re: Where does the designer code come from?
- Next by Date: Re: hiding code from the winform designer
- Previous by thread: Re: Where does the designer code come from?
- Next by thread: Re: hiding code from the winform designer
- Index(es):