Exemplo n.º 1
0
 private void removeToolStripButton_Click(object sender, EventArgs e)
 {
     service.PublicCommand(Constants.CloseDevice);
 }
Exemplo n.º 2
0
 private void ControlViewManager_ControlViewsChanged(object sender, EventArgs <List <IControlView> > e)
 {
     //var service = BundleRuntime.Instance.ServiceManager.GetFirstOrDefaultService<IMessageBusService>();
     //service.Publish<ControlViewsContact>(new ControlViewsContact() { ControlViews = e.Item.ToArray() });
     service.PublicCommand(Constants.ControlViewsChanged);
 }