pub fn run<C: Into<ControlHandle>>(&self, parent: Option<C>) -> bool { 
        use winapi::shared::winerror::S_OK;

        let parent_handle = match parent {
            Some(p) => p.into().hwnd().expect("File dialog parent must be a window control"),
            None => ptr::null_mut()
        };

        unsafe { (&mut *self.handle).Show(parent_handle) == S_OK }
    }
/** 
        Display the dialog. Return true if the dialog was accepted or false if it was cancelled
        If the dialog was accepted, `get_selected_item` or `get_selected_items` can be used to find the selected file(s)
    
        It's important to note that `run` blocks the current thread until the user as chosen a file (similar to `dispatch_thread_events`)

        The parent argument must be a window control otherwise the method will panic.
    */
Display the dialog. Return true if the dialog was accepted or false if it was cancelled
If the dialog was accepted, `get_selected_item` or `get_selected_items` can be used to find the selected file(s)

It's important to note that `run` blocks the current thread until the user as chosen a file (similar to `dispatch_thread_events`)

The parent argument must be a window control otherwise the method will panic.
Display the dialog . Return true if the dialog was accepted or false if it was cancelled If the dialog was accepted ` get_selected_item ` or ` get_selected_items ` can be used to find the selected file ( s ) It ' s important to note that ` run ` blocks the current thread until the user as chosen a file ( similar to ` dispatch_thread_events ` ) The parent argument must be a window control otherwise the method will panic .
pub fn run<C: Into<ControlHandle>>(&self, parent: Option<C>) -> bool { 
        use winapi::shared::winerror::S_OK;
        let parent_handle = match parent {
            Some(p) => p.into().hwnd().expect("File dialog parent must be a window control"),
            None => ptr::null_mut()
        };
        unsafe { (&mut *self.handle).Show(parent_handle) == S_OK }
    }
pub fn run < C : Into < ControlHandle > > ( & self , parent : Option < C > ) -> bool { use winapi :: shared :: winerror :: S_OK ; let parent_handle = match parent { Some ( p ) => p . into ( ) . hwnd ( ) . expect ( " " ) , None => ptr :: null_mut ( ) } ; unsafe { ( & mut * self . handle ) . Show ( parent_handle ) == S_OK } }
Display the dialog.
Display the dialog .
&self
parent
Option<C>