Exemplo n.º 1
0
        /// <summary>
        /// May or may not block the main thread depending on os. Assume it does
        /// not block and handle all results in the callback.
        /// </summary>
        /// <param name="callback">Called when the dialog is done showing with the results.</param>
        /// <returns></returns>
        public void showModal(ResultCallback callback)
        {
            FileOpenDialogResults results = new FileOpenDialogResults(callback);

            results.showNativeDialogModal(Parent, Message, DefaultDir, DefaultFile, Wildcard, SelectMultiple);
        }
Exemplo n.º 2
0
 public void showModal(FileOpenDialogResults obj, IntPtr parentPtr, String message, String defaultDir, String defaultFile, String wildcard, bool selectMultiple)
 {
     FileOpenDialog_showModal(parentPtr, message, defaultDir, defaultFile, wildcard, selectMultiple, setPathStringCb, resultCb, GCHandle.ToIntPtr(obj.handle));
 }