Example #1
0
 private void SaveFile_Click(object sender, RoutedEventArgs e)
 {
     SaveFileClick?.Invoke(sender, e);
 }
Example #2
0
 protected virtual void OnSaveFileClick(EventArgs e)
 {
     SaveFileClick?.Invoke(this, e);
 }
Example #3
0
 private void saveFileMenuBtn_Click(object sender, EventArgs e)
 {
     SaveFileClick?.Invoke(sender, EventArgs.Empty);
 }
Example #4
0
 private void saveToolStripMenuItem_Click(object sender, EventArgs e)
 {
     SaveFileClick?.Invoke(sourceBox.Text);
 }