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

  Determine the relative displacement and total acceleration

Determine the relative displacement and total acceleration as functions of time. Then find the peak values of displacement, velocity and total acceleration for different periods and plot the resulting displacement and acceleration response spectra..

  Write a gui program that is a game to be played by the user.

Write a GUI program that is a game to be played by the user. A new employee is working on a classified mission and the program will randomly pick an expected profit to be guessed by the user. The program must randomly select a number within the ra..

  Define four user-defined exceptions

You will need to define four user-defined exceptions; one for unknown movies, one for unknown member, one for unknown payment method.

  Write program which lets user enter charge account number

Write the program which lets user enter a charge account number. The program must determine if number is valid by checking for it in following list.

  Draw and implement abstract base class

Draw and implement the abstract base class ArithmeticExpression which represent any binary (having two arguments) arithmetic expression.

  Implementing an erp successfully

Don't you think that without these types of governance groups they would be many conflicts between the different business units?

  Write the required lines of code

Write the required lines of code that will create a ServerSocket object with a port number 3421 on which the server program is going to listen for client communications. Write the required lines of code that will create a new socket object

  Create a windows application and design document

create a complete C# Windows application and design documents based on the following specifications and instructions.

  Learn to use some basic commands

In this lab you will learn to use some basic commands of the gedit, nano, and vim editors, with emphasis on vim.

  Correspondence between a grammar and a type

Identity the correspondence between a grammar and a type and identify the correspondence between a grammar and a recursive-descent parser.

  Creating table-find employee attended meeting on given date

The rows of this table record the fact that an employee from a particular project attended a meeting on the given date.

  Write a report of about 900 words that- identifies at least

write a report of about 900 words that- identifies at least 3 users of hr services internal to your organisation and

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