Tuesday, July 11, 2006

Programming: Some new features in VS.NET 2005

Some new features in VS.NET 2005

1. New project creation categories: divide into web-base and non-web-base project

2. Class diagram view: is provided for the developer easily to take the architecture, design and review jobs.

3. Separation "Main" entry point from form class.

4. New definition class, "partial" : split a class (or a struct, or an interface) over two or more source files. Every source file contains a part of the class, and when the application is compiled, all parts are combined together. Programmer can use this new feature on large projects, spreading a class over separate files allows multiple programmers to work on it simultaneously. This will make team working more effectively and easier to debug. When working with automatically generated source, code can be added to the class without having to re-create the source file.

5. Datagridview: is stronger than DataGrid control in VS.NET 2003, with more usefull features.

6. Some other new UI controls:

* MaskedTextBox This new control can verify user's input without custom validation logic and can be applied to decide whether accept or reject user's input.
* Menustrip This control defines menu system for a form.
* FlowLayoutPanel and TableLayoutPanel In VS.NET 2005 Beta 1, the Panel control become two separate parts of FlowLayoutPanel and TableLayoutPanel . FlowLayoutPanel control can define its contents in flow direction, or you can use TableLayoutPanel control can define its contents in table direction, a grid with rows and columns.
* DataConnector This control will provide data connecting to data source.
* DataNavigator This is a data navigation control which can be put on the form interface.
* SoundPlayer This control can play a sound from a .wav file.
* ActiveDocumentHost This control can host an active document, such as MS Word document, Excel worksheet, Sound, Visual drawing, Media clip, Video clip, MS Photo editor, MS PowerPoint, WordPad etc.
* PropertyGrid This control provides a user interface to browse the properties of an object.
* WebBrowser This control can browse web page or provide integrated HTML-based user assistance.

Source: http://thecodeproject.com/dotnet/vs2005news.asp

No comments: