void SendMessage(Command command, MessageData md) { SendMessage ((Unique.Command)command, md); }
public void Slideshow(string tagname) { if (IsRunning) { var md = new MessageData (); md.Text = tagname ?? String.Empty; SendMessage (Command.Slideshow, md); return; } HandleSlideshow (tagname); }
public void View(IEnumerable<string> uris) { if (IsRunning) { var md = new MessageData (); md.Uris = uris.ToArray (); SendMessage (Command.View, md); return; } HandleView (uris.ToArray()); }
public void Import(string path) { if (IsRunning) { var md = new MessageData (); md.Text = path; SendMessage (Command.Import, md); return; } HandleImport (path); }