Performance oriented Xml and JSON serialization in .NET
Microsoft .NET framework provides multiple out-of-the-box data serializers for data transformations. The most famous one used since .NET 1.0 version is XmlS...
Microsoft .NET framework provides multiple out-of-the-box data serializers for data transformations. The most famous one used since .NET 1.0 version is XmlS...
In creating performance-centric applications one has to be very cautious about how and when objects are created and destroyed. An early creation of an objec...
This does not require a detailed post and just requires a quick solution for the problem- Understanding the problem... Why? When? When you convert a Winform ...
Instantiate a FileInfo object with the full path as constructor arg. Then simply call FileInfo.Extension and you will get just the extension of the file. F...
Choose a textbox over which we will test this experiment: [sourcecode language='csharp'] ColorDialog colorDialog1 = new ColorDialog(); //fontDialog1.ShowColo...
Check out: http://support.microsoft.com/support/kb/articles/q326/2/01.asp It is indeed a good read.
WebBrowser control can be used inside a form to display HTML contents and listen to events such as NavigateComplete or BeforeNavigate Use of ActiveX wrappers...
DataGridView is an enhanced version of DataGrid. Some of the features lacking in DataGrid are: Multiple column types Multiple ways to display data Multiple...
Use the form's WindowState property. To minimize: this.WindowState = System.Windows.Forms.FormWindowState.Minimized; To maximize: this.WindowState = S...
Best way to deploy is by using ClickOnce deployment. This allows user to get regular updates, patches to the product while conforming to the security standar...
Use Singleton pattern on Child Form and change the method of invocation in Parent form. Child form: //Used for singleton pattern static frmChildForm childFor...
An easier way to control properties of multiple controls is to place all the controls into a single GroupBox and then use the GroupBox properties property to...
Good question! Now, this was a question in one of my sessions at Microsoft Community at Cognizant. We need to use User32 API's to do this stuff. It isn't t...
The opacity property enables you to specify a level of transparency for the form and its controls. See the .NET documentation for Form.Opacity for difference...
Oops! Never expected this behavior from such a standard control: Winforms ComboBox. One of the common things our applications require is bind a data source w...