Write an mdi application that is a simple text editor

Assignment Help Programming Languages
Reference no: EM131299559

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.

Reference no: EM131299559

Questions Cloud

List and describe how health care services could be utilised : List and describe how health care services could be utilised to promote the delivery of culturally sensitive client care. Choose a culture/country from the ones listed and research the following aspects
How well did the strategies work : Identify a fading brand. What suggestions can you offer to revitalize its brand equity? Try to apply the different approaches suggested in this chapter. Which strategies would seem to work best?
Which is equal to the sum of the cash : Calculate thecash ratio, which is equal to the sum of the cash and marketable securities components of current assets divided by the current liabilities.
What is its percentage after tax cost of debt : Today, the debt is selling at $1,130. If the firm's tax bracket is 30%, what is its percentageafter-tax cost of debt? Assume a face value of $1,000.
Write an mdi application that is a simple text editor : Write an MDI application that is a simple text editor. Allow user to open multiple documents, each in separate child form. For text editor, use one big TextBox control with its Multiline property set to true or a RichTextBox control.
Prepare a consolidated statement of comprehensive income : The remaining life of these non-current assets is six years.- Prepare a consolidated statement of comprehensive income for the year ended 31 December 20X0.
Create javafx application named to animate man running laps : Create a JavaFX application named RunningMan.java to animate a man running laps. The man should run from left to right until the edge of the window is reached. The man should then begin running in the opposite direction.
Regulatory dimensions of derivatives and commodity markets : Evaluate the ethical, legal, and regulatory dimensions of derivatives and commodity markets.- Analyze major ethical dilemmas and decisions characteristic in derivatives and commodity markets.
What is the average cost of the firm : a. What is the average cost of the firm? b. What can you say about the marginal cost of the firm?

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd