コード例 #1
0
 private void MainWindowClosed(object sender, EventArgs e)               //called when the window is about to close
 {
     FileAndSerializationMannagment.SerializeAndSaveToFile(true, false); //saves file when the program is about to close
 }
コード例 #2
0
 private void SaveToClipboardButtonClick(object sender, RoutedEventArgs e)
 {
     FileAndSerializationMannagment.SerializeAndSaveToFile(false, true);//saves data to clipboard
 }