Click to See Complete Forum and Search --> : editing form designer code?


jigen3
February 13th, 2004, 12:01 PM
i was wondering if it were ok to go and edit the code that says


#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.


i modified a few lines and it seemed ok, but when i do other things like set images to my toolbar the code i write disappears. should i be just making my own constructors for every object?

jigen3

pareshgh
February 14th, 2004, 01:44 AM
normally designer, will change/modify/update/delete,
the portions inside Initialize... method
of your form based upon your GUI operations, property settings etc on the screen in Designing mode.

it is advisable not to change, you can do your initialization after the constructor's call to Initialize... method.