Пример #1
0
 /* ----------------------------------------------------------------- */
 ///
 /// Open
 ///
 /// <summary>
 /// Opens a PDF document with the specified file path.
 /// </summary>
 ///
 /// <param name="src">File path.</param>
 ///
 /* ----------------------------------------------------------------- */
 public void Open(string src)
 {
     if (!src.HasValue())
     {
         return;
     }
     if (Bindable.IsOpen())
     {
         this.StartProcess(src.Quote());
     }
     else
     {
         Invoke(() =>
         {
             Bindable.SetMessage(Properties.Resources.MessageLoading, src);
             Bindable.Open(_core.GetOrAdd(src));
         }, "");
     }
 }