first two buttons mounted beneath the drop-down list box. I’d suggest that you sort the items alphabetically to
quickly find a given property or event.
The next designer element to be aware of is the Solution Explorer window. While
all Visual
Studio projects support this window, when you are building Windows Forms applications, it is
especially helpful in that you can (1) quickly change the name of the file and related class for any
window and (2) view the file that contains the designer-maintained code (more information on
this tidbit in just a moment). For now, simply right-click the Form1.cs icon and select the Rename
option. Name this initial window to the more fitting MainWindow.cs. Figure 27-7 shows the end result.
Figure 27-7.
The Solution Explorer window allows you to rename your Form
-derived type and the
related files.
Do'stlaringiz bilan baham: