zeereqop.blogg.se

How to use notepad++ for c++
How to use notepad++ for c++








how to use notepad++ for c++ how to use notepad++ for c++

OpenFile() //calling OpenFile user defined function If (richTextBox1.Modified = true) //checking either richtext box have entered value or notĭialogResult dr = MessageBox.Show( "Do you want to save changes to the opened file", "unsaved document", MessageBoxButtons.YesNo, MessageBoxIcon.Question) Private void openToolStripMenuItem_Click( object sender, EventArgs e) SaveFile() //calling SaveFile user defined fucntion Private void saveToolStripMenuItem_Click( object sender, EventArgs e) SaveFile() //calling user defined function SaveFile functionĮlse if (dr.Equals(DialogResult.No)) //statament that execute when user click on no button of dialog

how to use notepad++ for c++

If (dr.Equals(DialogResult.Yes)) //statement that execute when user click on yes button Private void newToolStripMenuItem_Click( object sender, EventArgs e)ĭialogResult dr = MessageBox.Show( "Do you want to save the file", "save", MessageBoxButtons.YesNo, MessageBoxIcon.Question) Public Form1() //initialization in Constructor Public OpenFileDialog ofd //instance of openfiledialog to open files Public SaveFileDialog sfd //instance of savefiledialog to save files Here we will see the code to develop our own Notepad in C#.










How to use notepad++ for c++