[The Path to commercial software development for graduates] the first time vs. Net integrated development environment

Source: Internet
Author: User
Recently, I began to contact students, college interns and graduates. I would like to talk about some suggestions for these students wandering in the workplace, hoping to help these beginners enter the software development industry, this allows graduates to enter the software development company more smoothly to start their career and make a perfect turn in their life.
---------------------------------------------------------------------------

The first time vs. Net was used to integrate the development environment I have never seen anyone write C # In notepad # Code Development Program . All of them use a development tool to develop C # programs. Among the various development tools, the most commonly used is the Vs. Net integrated development environment officially provided by Microsoft. In this section, I will lead the reader to use the Vs. Net integrated development environment for the first time. Vs. Net integrated development environment (Microsoft Visual Studio) is an application system development tool suite launched by Microsoft. The Vs. net2010 flagship version is used here as an example to describe how to use vs. net. After vs. net2010 is installed, start vs. NET and open a project. The following figure shows the user interface.

This is a complex user interface, which can be divided into several parts. Menu Bar The Vs. Net menu bar contains many menu items that can call most of vs. NET functions. The content of the menu bar may also change as the content of the main workspace varies. Tool bar There are also many functional buttons on the toolbar, listing the most common functions. Toolbox On the left side of the IDE main interface is the toolbox. The most important function is to list available controls. You can double-click the control project in the toolbox or drag the control project to the form to add a control on the form. Main Document Area The main document area is in the middle of the IDE. Several documents are displayed in the main document area by tab, and the types of documents may be different. A winform document is displayed. You can add, modify, and delete controls on them, and move the widget's position and size by dragging the mouse. [Yuan Yongfu copyright] Solution Resource Manager

 

IDE is the solution resource manager in the upper right, as shown in. This is a tree list. The root node is the solution node, and the second node is the C # project. The following are all the members in the C # project. In.. net. The file extension of the solution is ". SLN, even if only one C # project file is opened (the extension is ". csproj ".), The system will also try to find the solution file managed by the project file. If not, create a new solution. Therefore, the root node of the resource manager must be a solution node. A solution can contain several engineering projects, such as a C # winform project, a VB. net asp. Net project, or other projects. Different types of project nodes have different subnodes. For example, for a C # project, the following subnodes are available: Properties node: the program version definition file "assemblyinfo. CS and global resource file resources. resx and application configuration file settings. settings ". Reference node: this node lists other. Net program components referenced by the application. To compile, run, and deploy a program, you must ensure that the referenced assembly exists in the computer. Document node: There are several document nodes under the project node, which can make the Form file, C # Source code File, resource file, or other documents. Sub-directories: Project nodes can contain sub-directory structures. In this way, documents are arranged in multi-level directory structures for ease of management. For example, you can place all source code files belonging to a program module in a separate subdirectory. The subdirectory name is the name of the program module. Attribute Editor The lower-right part of IDE is the property editor. This Attribute Editor lists the attributes of the currently selected objects. This property editor is a very important application design tool. Paul Vientiane between square inch. For example, if you select a button control in the Form Designer, the user interface of the property editor is shown in. Component drop-down list In the Property editor, the top is a component drop-down list. Lists the names and type names of all editable components in the form. When the number of controls in the form is too large or it is difficult to choose between them, you can use this drop-down list to select a component. Tool bar The property editor toolbar is displayed in the drop-down list of components with the following buttons: 1. Sort by category: click this button to sort the content in the attribute list by category. The attributes of the same category are listed together. Common types include "layout", "behavior", "design", "data", "appearance", and "format. 2. Sort by letter: Press this button to sort the content in the attribute list in alphabetical order. 3. Attribute: Press this button to display the attributes of the current component in the attribute list. 4. Event: Press this button to display the events of the current component in the property list. Attribute name list The left half of the Attribute Editor is a list of attribute names, listing all editable attribute names of the current object, some property names have a small plus sign before them to expand this property item to view and edit its sub-property values. Attribute Value List The right half of the Attribute Editor is a list of attribute values, displaying the attribute values of all attributes. You can directly modify the attribute values in the Attribute Value List. At the same time, the system displays attribute values in a rich way and provides multiple ways to edit attribute values. Bold: The default value can be set for the property when the component is designed. If the current property value is equal to the default value, the property value is displayed in a normal font; otherwise, it is displayed in bold. For example, for the backcolor attribute, the default value is "control", and this value is set to "red", which is not equal to the default value. Therefore, the attribute value "red" is displayed in bold ". Custom Value : Some attribute values not only display text, but also draw a data representation in a small box before the attribute values. For example, if the backcolor attribute of the Left graph is set to "red", a small red box is displayed before the color name. Extended Editor : Generally, you can directly enter the attribute value in the attribute value text box. However, the property Editor supports the extended property editor. For example, if the backcolor attribute is selected, a small drop-down button is displayed after the value. Click the drop-down button to display the following color value selection list. You can use this list to select the appropriate color value. You can double-click the desired project or click a place outside the list, the list is closed and the attribute value is modified based on the user's choice.

The property editor also provides a dialog box to expand and edit attribute values. For example, if the font attribute is selected, this attribute item is shown in.

A small button appears next to the property value. Clicking this button will pop up the dialog box shown in.

In this dialog box, you can easily set the attribute value. [Yuan Yongfu copyright] Control Design Action Zone Some controls support some design actions. When such controls are selected, the optional design action panel appears in the property editor. For example, if you select a page label control, a page label Optional design action panel is displayed in the property editor. You can click the tab on the Panel to perform some common design actions.

Attribute description area At the bottom of the property editor is a description area of the current property, showing the description of the current property. For example, when the backcolor attribute is selected, the "background color of the component" is displayed here ". [Yuan Yongfu copyright]

C #Program type

After learning about the Vs. Net user interface, I want to know the C # program type that vs. Net can develop. In the author's system, click "file-create-Project" in the Vs. Net Development Environment menu, as shown in ",
The following "new project" dialog box is displayed.
We can see that C # can be used to develop many types of programs. For beginners, there are two main types of applications: Windows applications, ASP. NET web applications, command line applications, and other types of applications. WindowsApplications Windows applications are the most popular program. The extension name of the program file is exe, such as "hellow.exe ". Windows applications generally have a graphical user interface, that is, a form is displayed. The form contains menus, buttons, and other controls. You can complete a function by operating the controls on the user interface. Vs. Net can develop applications for mobile devices, such as smartphones. in a broad sense, apps for mobile devices are also Windows applications, but these programs run on Mobile Edition Windows. ASP. NET webApplications ASP. NET web applications are B/S programs that use Web browsers as user interfaces. In vs. net, the user interface design of this program is similar to that of Windows applications. Microsoft has been trying to reduce the difference between the development process of Windows applications and ASP. NET web applications when creating the Vs. Net integrated development environment. In addition, the WebService program is also an ASP. NET web application. Command Line Application A command line application is a character user interface program. It generally does not have a complex user interface. It only listens to the command line interface to interact with users. There are not many command line applications, but it supports command line parameters and is suitable for quick calls by professionals, because the input of commands on the keyboard is faster than the mouse operation on the graphic user interface. Other types of applications Use C # No Only Windows applications and ASP. NET web applications can be developed, and many other types of programs can be developed. For example, Windows service programs. [Yuan Yongfu copyright]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.