0

Page setup, Find, Replace Dialog boxes are not available in Toolbox (Visual Studio) to develop Notepad in C#

what namespaces i have to using? where & how can i find the above mentioned Dialog boxes?

unusual
  • 1
  • 2

1 Answers1

0

And again OP was asking for on new / save as or dispose functionality.

Link to functionality.

Edited post Edited due to a vague question.

How to create menus

How to do it programmatically and adding the functionality to make those things work is more complicated and will involve more sub systems.

Step by step guide on creating a "notepad" application

Original Post:

All the information you need on default dialogs in winforms

Create your own programmatically (intro)

Or just create your own using forms.

Community
  • 1
  • 1
Gabe
  • 570
  • 1
  • 4
  • 15
  • Ok that is a menu strip which is in visual studio, but you're going to have to program the functionality yourself. Example of how to set it up : http://www.homeandlearn.co.uk/csharp/csharp_s4p1.html – Gabe Jan 31 '16 at 13:58
  • i need functionality c# code for NEW menuItem like...... when we click on NEW..........first it has check whether there is text in the richTextBox or not?...............next if the text is from an old file then save to same location .............if new text then save to saveDialog box...............if no text then directly open new document. – unusual Jan 31 '16 at 14:07
  • Then be more clear in your OP and your responses. What have you tried? Because unless you've actually tried something you're not likely to get help. – Gabe Jan 31 '16 at 14:16
  • but i'll be nice. http://stackoverflow.com/questions/17661849/proper-functioning-of-save-file-in-notepad-program-in-c-sharp the fucntionality is contained with that thread. Read it and use google, took me two seconds to find. And yes its there.. may not be in your face obvious, but it's there. – Gabe Jan 31 '16 at 14:17