void UseCard(RoutedEventArgs e, MsgObject.Action action) { var thumb = (Thumbnail)(e.Source as MenuItem).DataContext; RPCClient_UI.SendMessage(MsgObject.Create(action, Id, thumb.Path)); }
public void SaveCard(string id) { RPCClient_UI.SendMessage(MsgObject.Create(saveMsg, id, folderPath)); }