Resize the Label to a Height of 100 and Width of 600 Pixels. Rename the Text to Label’s “Schedule”. Select Toolbox -> Calendar and drag and drop a Calendar below the Label area. You may change colors on each item in the Properties area, if you like. Using the Format Drop Down Menu, you may change the Background Color form’s Programming the Code-Behind: Double click the Go Button. A form class with methods will be created. In the Button1_Click() method: Add the following code, where the <BR> inserts an HTML break-line: Label1.Text += "<BR />" + TextBox1.Text; Return to View -> Designer. Double click the Calendar. Add the following code: Label1.Text = Calendar1.SelectedDate.ToLongDateString(); To execute the form, select: Build->Build Solution Debug->Start without Debugging (or Start with Debugging) Click on dates in the calendar and look at what displays. Enter text into the TextBox, then press ‘Go’. Enhance your program as follows: When the Go Button is pressed, the TextBox should clear. When the form is entered, read a file into Label1.
Resize the Label to a Height of 100 and Width of 600 Pixels. Rename the Label’s Text to “Schedule”. Select Toolbox -> Calendar and drag and drop a Calendar below the Label area. You may change colors on each item in the Properties area, if you like. Using the Format Drop Down Menu, you may change the form’s Background Color Programming the Code-Behind: Double click the Go Button. A form class with methods will be created. In the Button1_Click() method: Add the following code, where the <BR> inserts an HTML break-line: Label1.Text += "<BR />" + TextBox1.Text; Return to View -> Designer. Double click the Calendar. Add the following code: Label1.Text = Calendar1.SelectedDate.ToLongDateString(); To execute the form, select: Build->Build Solution Debug->Start without Debugging (or Start with Debugging) Click on dates in the calendar and look at what displays. Enter text into the TextBox, then press ‘Go’. Enhance your program as follows: When the Go Button is pressed, the TextBox should clear. When the form is entered, read a file into Label1.
Homework114.docx