Пример #1
0
        private void ManualSaveButton_Click(object sender, RoutedEventArgs e)
        {
            string Filename = "";

            SaveFileDialog saveFileDialog = new SaveFileDialog();

            saveFileDialog.Filter = "XML file (*.xml)|*.xml";

            if (saveFileDialog.ShowDialog() == true)
            {
                Filename = saveFileDialog.FileName;

                GAController.SaveRunGAToFile(Context.GAC.RunManager, Filename);
            }
        }