I often find it very convenient to modify the "Windows Form Designer generated code". But I always wonder about the ominous comment at the top:
So is modifying this code with the code editor considered bad practice? Specifically, I often add objects to the InitializeComponent() method. This makes them magically appear on my form, and I haven't found any other way to do that.
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
So is modifying this code with the code editor considered bad practice? Specifically, I often add objects to the InitializeComponent() method. This makes them magically appear on my form, and I haven't found any other way to do that.