Q.6: Suppose the following notepad app has the menu clear, bold, and exit. For text writing I have used rich text box. You have to write event handlers that perform the following functionalities for this notepad app. When you click the clear menu it checks the rich text box if it contains any text it will erase that text and make the rich text box empty, if the rich text box is already empty it shows the message in message box that the rich text box is already cleared When you click the bold menu it bolds the selected text, if no text is selected it shows the message in message box that please select any text first. When you click the exit menu it closes the notepad app window. (14) Notapad C Bold Lat

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter3: Using Gui Objects And The Visual Studio Ide
Section: Chapter Questions
Problem 19RQ: If you inadvertently create a Click() method for a control that should not generate a click event,...
icon
Related questions
Question

FOLLOW THE IMAGE (VISUAL DOT NET)

Q.6: Suppose the following notepad app has the menu clear, bold, and exit. For text writing I have used rich text
box. You have to write event handlers that perform the following functionalities for this notepad app.
When you click the clear menu it checks the rich text box if it contains any text it will erase that text
and make the rich text box empty, if the rich text box is already empty it shows the message in
message box that the rich text box is already cleared
When you click the bold menu it bolds the selected text, if no text is selected it shows the message in
message box that please select any text first.
When you click the exit menu it closes the notepad app window. (14)
Notapad
C Bold Lat
Transcribed Image Text:Q.6: Suppose the following notepad app has the menu clear, bold, and exit. For text writing I have used rich text box. You have to write event handlers that perform the following functionalities for this notepad app. When you click the clear menu it checks the rich text box if it contains any text it will erase that text and make the rich text box empty, if the rich text box is already empty it shows the message in message box that the rich text box is already cleared When you click the bold menu it bolds the selected text, if no text is selected it shows the message in message box that please select any text first. When you click the exit menu it closes the notepad app window. (14) Notapad C Bold Lat
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning