Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }