Message 1 of 1
Get the Window Owner for OpenFileDialog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have the following code at my plugin class ( the one that inherits from IExtensionApplication):
SaveFileDialog saveDialog = new SaveFileDialog();
if (saveDialog.ShowDialog(/*System.Windows.Window winObj */) == true)
{
serializer.Write(proj, saveDialog.FileName);
}
In the ShowDialog, I can pass in the owner of the SaveFileDialog, so I want to pass in the AutoCAD Main Window as the owner.
How to do get the AutoCAD Main Window ?
##########
Ngu Soon Hui
##########
I'm the Benevolent Dictator for Life for MiTS Software. Read more here
I also setup Civil WHIZ in order to share what I learnt about Civil 3D
Ngu Soon Hui
##########
I'm the Benevolent Dictator for Life for MiTS Software. Read more here
I also setup Civil WHIZ in order to share what I learnt about Civil 3D