Message 1 of 4
Question about SaveFileDialog

Not applicable
03-11-2006
09:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I want to invoke the savefiledialog to save a dwg-file,and my code is like this:
Autodesk.AutoCAD.Windows.SaveFileDialog sfd = new Autodesk.AutoCAD.Windows.SaveFileDialog("File save as","Drawing1.dwg","dwg","saving file",Autodesk.AutoCAD.Windows..SaveFileDialog.SaveFileDialogFlags.DefaultIsFolder);
sfd.ShowDialog();
But I found nothing where the file had been saved.Is there anything wrong with the code?Are there some examples about the savefiledialog with C#?
Thanks for your help!
I want to invoke the savefiledialog to save a dwg-file,and my code is like this:
Autodesk.AutoCAD.Windows.SaveFileDialog sfd = new Autodesk.AutoCAD.Windows.SaveFileDialog("File save as","Drawing1.dwg","dwg","saving file",Autodesk.AutoCAD.Windows..SaveFileDialog.SaveFileDialogFlags.DefaultIsFolder);
sfd.ShowDialog();
But I found nothing where the file had been saved.Is there anything wrong with the code?Are there some examples about the savefiledialog with C#?
Thanks for your help!