CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of SaveFileDialog
C#
try {
    SaveFileDialog saveDialog = new SaveFileDialog
    {
        Filter = "Xml Files (*.xml)|*.xml",
        DefaultExt = ".xml",
    };
    if ((bool)saveDialog.ShowDialog()) {
        using (Stream fileStream = saveDialog.OpenFile()) {
           ...
        }
by Danijel Stulic   September 14, 2009 @ 4:19am
703 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate