コード例 #1
0
 /// <summary>
 /// Open a shared document by the associated application of the host
 /// </summary>
 public static void RemoteOpen(string shared)
 {
     if (remoteClient == null || !remoteClient.Connected)
         remoteClient = new BridgeClient();
     if (remoteClient != null && remoteClient.Connected)
     {
         PluginBase.MainForm.StatusStrip.Items[0].Text = "  Opening document in host system...";
         remoteClient.Send("open:" + shared);
     }
     else TraceManager.AddAsync("Unable to connect to host bridge.");
 }
コード例 #2
0
 /// <summary>
 /// Open a shared document by the associated application of the host
 /// </summary>
 static public void RemoteOpen(string shared)
 {
     if (remoteClient == null || !remoteClient.Connected)
     {
         remoteClient = new BridgeClient();
     }
     if (remoteClient != null && remoteClient.Connected)
     {
         PluginBase.MainForm.StatusStrip.Items[0].Text = "  Opening document in host system...";
         remoteClient.Send("open:" + shared);
     }
     else
     {
         TraceManager.AddAsync("Unable to connect to host bridge.");
     }
 }