Пример #1
0
 private void btnSaveSelected_Click(object sender, EventArgs e)
 {
     // If Save Selected button is selected, set boolean to false
     WriteDataToFile = false;
     // Write data to file
     ThisDataToFile DataToFile = new ThisDataToFile(WriteDataToFile, Model);
 }
Пример #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     // If Save All button is selected, set boolean to true
     WriteDataToFile = true;
     // Write data to file
     ThisDataToFile DataToFile = new ThisDataToFile(WriteDataToFile, Model);
 }