public void SetOKButtonText(string text)
 {
     if (!string.IsNullOrWhiteSpace(text))
     {
         IntPtr textPtr = Marshal.StringToHGlobalUni(text);
         FolderBrowseDialogEx.SendMessage(hr, BFFM_SETOKTEXT, 0, textPtr);
         Marshal.FreeHGlobal(textPtr);
     }
 }
 public void SetOKEnabled(bool _enabled)
 {
     if (_enabled)
     {
         FolderBrowseDialogEx.SendMessage(hr, BFFM_ENABLEOK, 0, FolderBrowseDialogEx.BUTTONOK_ENABLE);
     }
     else
     {
         FolderBrowseDialogEx.SendMessage(hr, BFFM_ENABLEOK, 0, FolderBrowseDialogEx.BUTTONOK_DISABLE);
     }
 }