FolderBrowserDialog fdlg = new FolderBrowserDialog(); > //fdlg.ShowNewFolderButton = false; > fdlg.Description = "Select Folder to save the Zip file"; > fdlg.RootFolder = System.Environment.SpecialFolder.MyDocuments; > //fdlg.RootFolder = Environment.SpecialFolder.Desktop; fdlg.ShowDialog(); > DialogResult result = fdlg.ShowDialog(); > > if (result == DialogResult.OK)>
'System.Nullable<bool>' does not contain a definition for 'OK' and no extension method 'OK' accepting a first argument of type 'System.Nullable<bool>' could be found (are you missing a using directive or an assembly reference?)
>if (result == System.Windows.Forms.DialogResult.OK)