Reference no: EM13772220
1. Complete the following programming exercise (SIMPLE TEXT EDITOR WITH ONE LARGE RICH TEXT BOX). You will use the OpenFileDialog, StreamReader and StreamWriter objects; the Close, Peek, ReadLine, ShowDialog and WriteLine methods.
Create a simple text editor that has one large rich text box (with its Multiline property set to true). Set the text control to fill the form and set its Anchor property to all four edges so that the control fills the form even when it is resized.
Allow the user to save the contents of the text box in a data file and load a data file into the text box using the Open File dialog box.
Use a StreamWriter and StreamReader or File.WriteAllText and File. ReadAllText.
Make sure you close your project when complete. Make a copy of the project folder, compress it to a single file, and submit it.
2. Complete the following programming exercise (WRITE AN MDI PROJECT THAT IS A SIMPLE TEXT EDITOR). You will use the IsMdiContainer and MdiWindowListItem properties; the LayoutMdi method. Refer back to the previous required assignment from Lesson K08-5 (SIMPLE TEXT EDITOR WITH ONE LARGE RICH TEXT BOX) as a base for this assignment.
Write an MDI application that is a simple text editor. Allow the user to open multiple documents, each in a separate child form. For the text editor, use one big TextBox control with its Multiline property set to true or a RichTextBox control. Set the control's Anchor property to all four edges so the control fills its form.
The main form should have an Open menu item to open previously saved files; the child forms should have a Save menu item to save their text to a file. Use the file handling that you learned and display the name of the file in the form's title bar.
Make sure you close your project when complete. Make a copy of the project folder, compress it to a single file, and submit it.
What is your favorite green product in construction
: What is your favorite green product in (construction)? What are its best features? Its worst? How would you convince people to buy it? What is the price for it in Tennessee State?
|
Critique a human resource article which study these fields
: Critique a human resource article which study these fields: work flows, job analysis, equal opportunity and the legal environment, manging diversity. The critique must contain the following: -A brief introduction of the article A statement of the pro..
|
Liability area for criminal justice professionals
: Based on your research what do you feel would be the one single most high liability area for criminal justice professionals
|
Write an essay about martin luther king junior
: Write an essay about Martin Luther King Junior.
|
Create a simple text editor that has one large rich text box
: Complete the following programming exercise (SIMPLE TEXT EDITOR WITH ONE LARGE RICH TEXT BOX). You will use the OpenFileDialog, StreamReader and StreamWriter objects; the Close, Peek, ReadLine, ShowDialog and WriteLine methods.
|
Critique a human resource article which study staffing
: Critique a human resource article which study Staffing (recruting and selecting employees, managing employee seperations, downsizing, and outplacement) The critique must contain the following: -A brief introduction of the article -A statement of the ..
|
General population perceives storm watches and warnings
: Over the past century, tornado deaths in the U.S. have been declining significantly. Have the number of observed tornadoes gone down as well? Is there any relationship between these two variables? What does this tell us about cause-and-effect rela..
|
Calculate the average of the 5 grades passed and display
: Calculate the average of the 5 grades passed in and display the average with 1 decimal place and also display the letter grade.
|
What do you feel was the intent of the court
: Please explain the plain view doctrine as it would apply to police searches of vehicles. What do you feel was the intent of the court when they created this doctrine
|