Esempio n. 1
0
 /// <summary>
 /// This method was used for the open button in the file menu
 /// </summary>
 private void openToolStripMenuItem_Click(object sender, EventArgs e)
 {
     MainRTextBox.LoadFile(OpenFileDialog.FileName); //doesn't work
 }
Esempio n. 2
0
 /// <summary>
 /// This method was used for the save button in the file menu
 /// </summary>
 private void saveToolStripMenuItem_Click(object sender, EventArgs e)
 {
     SaveFileDialog.ShowDialog();
     MainRTextBox.SaveFile(SaveFileDialog.FileName);
 }
Esempio n. 3
0
 /// <summary>
 /// This method was used for the paste button in the edit menu
 /// </summary>
 private void pasteToolStripMenuItem_Click(object sender, EventArgs e)
 {
     MainRTextBox.Paste();
 }
Esempio n. 4
0
 /// <summary>
 /// This method was used for the undo button in the edit menu
 /// </summary>
 private void undoToolStripMenuItem_Click(object sender, EventArgs e)
 {
     MainRTextBox.Undo();
 }
Esempio n. 5
0
 /// <summary>
 /// This method was used for the copy button in the edit menu
 /// </summary>
 private void copyToolStripMenuItem_Click(object sender, EventArgs e)
 {
     MainRTextBox.Copy();
 }