コード例 #1
0
 void SendMessage(Command command, MessageData md)
 {
     SendMessage ((Unique.Command)command, md);
 }
コード例 #2
0
        public void Slideshow(string tagname)
        {
            if (IsRunning) {
                var md = new MessageData ();
                md.Text = tagname ?? String.Empty;
                SendMessage (Command.Slideshow, md);

                return;
            }
            HandleSlideshow (tagname);
        }
コード例 #3
0
 public void View(IEnumerable<string> uris)
 {
     if (IsRunning) {
         var md = new MessageData ();
         md.Uris = uris.ToArray ();
         SendMessage (Command.View, md);
         return;
     }
     HandleView (uris.ToArray());
 }
コード例 #4
0
 public void Import(string path)
 {
     if (IsRunning) {
         var md = new MessageData ();
         md.Text = path;
         SendMessage (Command.Import, md);
         return;
     }
     HandleImport (path);
 }