示例#1
0
        private void сортироватьToolStripMenuItem_Click(object sender, EventArgs e)
        {
            dataSorted = new DataSorted(data);
            OpenFileDialog openFileDialog2 = new OpenFileDialog();

            if (openFileDialog2.ShowDialog() == DialogResult.OK)
            {
                dataSorted.SaveSortedData(openFileDialog1.FileName);
            }
        }
示例#2
0
        private void BTSortAndSave_Click(object sender, EventArgs e)
        {
            dataSorted = new DataSorted(data);
            OpenFileDialog openFileDialog2 = new OpenFileDialog();

            if (openFileDialog2.ShowDialog() == DialogResult.OK)
            {
                dataSorted.SaveSortedData(openFileDialog2.FileName);
            }
        }