Exemple #1
0
        private void SaveTestToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var saveFileDialog = new SaveFileDialog();

            saveFileDialog.Filter = "XML files(*.xml)|*.xml";
            if (saveFileDialog.ShowDialog() == DialogResult.OK)
            {
                collection.SaveToFile(saveFileDialog.FileName);
            }
        }