How do I implement a custom designer
Here are a couple of articles that discuss custom designers. Shawn Burke, in his article Wrinting Custom Designers for .NET Components at msdn. Brian Pepin, in his article .NET Shape Library: A Sample Designer at gotnetdot.com.
How do I provide Intellisense support to my controls while coding against them and also provide Description support for the properties in the property grid?
You can provide Intellisense support to your type and it’s members by providing xml comments in code as follows: /// <summary> /// Summary description for Form3. /// </summary> public class Form3 : System.Windows.Forms.Form { /// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose( bool disposing ) { } /// <summary> /// Summary of my property /// </summary> public bool MyProperty { get{..} set{..} } } Search for the ‘Tags for Documentation Comments’ topic in MSDN for all the available documentation tags. Then in your project, go to the Project Properties dialog, to the Configuration Properties/Build tab and specify a file for the XML Documentation File property. This will generate a file by that name when you compile your assembly. Place this xml file beside your dll. This will provide Intellisense support for your types in that assembly. To provide Description support for your properties in the property grid in the designer, add the DescriptionAttribute attribute to your properties in code. /// /// Summary of my property /// [Description(‘description of the property’)] public bool MyProperty { get{..} set{..} }
Setting Form.Visible to false does not make my main form start up invisibly. How can I make my main form start up invisibly
This problem is discussed in an article in the .NET docs. Search for ‘Setting a Form to Be Invisible at Its Inception’. The idea is to startup the application in a different module than your main form. Then the application and main form can have independent lifetimes. Sample code is given in the referenced article.
What are the options with using Visual Studio.NET from the command line
Type devenv.exe /? to get a full list of options.
How can I implement a scrollable picture box
See Mike Gold’s article on C# Corner for a detailed discussion.