Beispiel #1
0
        private void SaveClick(object sender, EventArgs e)
        {
            var saveFileDialog = new SaveFileDialog {
                Filter = Extension
            };

            if (saveFileDialog.ShowDialog() == DialogResult.Cancel)
            {
                return;
            }
            Serializator.Serialize(order, saveFileDialog.FileName);
        }