Ejemplo n.º 1
0
        private void exportToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SaveFileDialog sfd = new SaveFileDialog();

            sfd.FileName = "";
            sfd.Filter   = "aip (.aip)|*.aip";

            sfd.InitialDirectory = System.IO.Directory.GetCurrentDirectory();

            if (sfd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                System.IO.File.WriteAllBytes(sfd.FileName, context.Export());
            }
        }