all groups > dotnet windows forms designtime > april 2005 >
You're in the

dotnet windows forms designtime

group:

Serialization Interception


Serialization Interception Mark G via .NET 247
4/3/2005 6:37:04 AM
dotnet windows forms designtime:
Hi All,

I'd like to modify the standard output of the generated code.
Let's say, I'm changing a TextBox's text property to "SomeValue", and I'd like to get something like this in InitializeComponents():

myTextbox.text = GetTextualValue("SomeValue");

and not:
myTextbox.text = "SomeValue";


Thanks,

--------------------------------
From: Mark G

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

Re: Serialization Interception Gabriel Lozano-Morán
4/4/2005 10:58:23 AM
Maybe this article can help you get started:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/custcodegen.asp?frame=true

Gabriel Lozano-Morán

[quoted text, click to view]

AddThis Social Bookmark Button