public ShellApp(TPadCore core, ITPadAppContainer container, ITPadAppController controller, TPadApplicationDescriptor descriptor) { Core = core; Container = container; Controller = controller; Profile = core.Profile; ShellDescriptor = descriptor; ShellDescriptor.Instance = this; NotificationDialogDescriptor = new TPadApplicationDescriptor() { AppType = typeof(NotificationDialog), AppUUID = Guid.NewGuid(), Icon = Properties.Resources.NotificationDialog }; NotificationDialogDescriptor.Instance = new NotificationDialog(Core, NotificationDialogDescriptor.AppUUID); NotificationDialogDescriptor.Instance.Closed += application_Closed; NotificationDialogDescriptor.Instance.IsTopApp += application_IsTopApp; (NotificationDialogDescriptor.Instance as NotificationDialog).ClickedOK += new EventHandler(notification_ClickedOK); (NotificationDialogDescriptor.Instance as NotificationDialog).ClickedCancel += new EventHandler(notification_ClickedCancel); NotificationDialogDescriptor.Events.Add(TPadEvent.Flipping); Applications = new ObservableCollection<TPadApplicationDescriptor>(); RunningApps = new ObservableCollection<TPadApplicationDescriptor>(); InitializeComponent(); core.GlyphsChanged += core_GlyphsChanged; core.Device.FlippingChanged += new FlippingChangedEventHandler(Device_FlippingChanged); core.Device.DeviceShaked += new EventHandler(Device_DeviceShaked); core.Device.HomePressed += new HomeButtonEventEventHandler(Device_HomePressed); }
public MockApp(TPadProfile profile, ITPadAppContainer container, ITPadAppController controller) { Profile = profile; Container = container; Controller = controller; InitializeComponent(); }
public BrowserApp(TPadCore core, ITPadAppContainer container, ITPadAppController controller, Guid appUUID) { AppUUID = appUUID; Core = core; Container = container; Controller = controller; InitializeComponent(); }
public ITPadApp GetAppInstance(TPadApplicationDescriptor descriptor, ITPadAppContainer container, ITPadAppController controller, TPadCore core, TPadLauncherSettings settings) { InfCaptureApp capture = new InfCaptureApp(core, container, controller, descriptor.AppUUID); capture.Conditions = Conditions; capture.ExperimentalOrder = ExperimentalOrder; capture.Activate(settings.Context); return capture; }
public SurfaceCaptureApp(TPadCore core, ITPadAppContainer container, ITPadAppController controller, Guid appUUID) { Core = core; Container = container; AppUUID = appUUID; InitializeComponent(); }
public RulerApp(TPadCore core, ITPadAppContainer container, ITPadAppController controller, Guid appUUID) { AppUUID = appUUID; Core = core; Container = container; Controller = controller; InitializeComponent(); Distance = GetDistanceBetweenPoints(new Point(measureLine.X1, measureLine.Y1), new Point(measureLine.X2, measureLine.Y2)); }
public InfSeekingApp(TPadCore core, ITPadAppContainer container, ITPadAppController controller, Guid appUUID) { Core = core; Container = container; AppUUID = appUUID; InitializeComponent(); notification = new NotificationDialog(Core, Guid.NewGuid()); notification.ClickedOK += new EventHandler(notification_ClickedOK); notification.ClickedCancel += new EventHandler(notification_ClickedCancel); }
public WhatUpApp(TPadCore core, ITPadAppContainer container, ITPadAppController controller, Guid appUUID) { AppUUID = appUUID; Core = core; Container = container; Controller = controller; TransportComponent.Instance.TransportListeners.Add(this); Messages = new ObservableCollection<WhatUpMessage>(); InitializeComponent(); }
public ActiveReaderApp(TPadCore core, ITPadAppContainer container, ITPadAppController controller, Guid appUUID) { Core = core; AppUUID = appUUID; ActualPage = -1; ActualDocument = null; Container = container; Controller = controller; DbDocuments = new Dictionary<int, ActiveReaderDocument>(); PropertyChanged += new PropertyChangedEventHandler(ActiveReaderApp_PropertyChanged); InitializeComponent(); }
public ITPadApp GetAppInstance(TPadApplicationDescriptor descriptor, ITPadAppContainer container, ITPadAppController controller, TPadCore core, TPadLauncherSettings settings) { InfSeekingApp seeker = new InfSeekingApp(core, container, controller, descriptor.AppUUID); seeker.Activate(settings.Context); return seeker; }
public GraphExplorerApp(TPadCore core, ITPadAppContainer container, ITPadAppController controller, Guid appUUID) { AppUUID = appUUID; InitializeComponent(); }
public ITPadApp GetAppInstance(TPadApplicationDescriptor descriptor, ITPadAppContainer container, ITPadAppController controller, TPadCore core, TPadLauncherSettings settings) { InfProviderApp provider = new InfProviderApp(core, container, controller, descriptor); provider.Activate(settings.Context); return provider; }
public ITPadApp GetAppInstance(TPadApplicationDescriptor descriptor, ITPadAppContainer container, ITPadAppController controller, TPadCore core, TPadLauncherSettings settings) { CalculatorApp calculator = new CalculatorApp(core, container, controller, descriptor.AppUUID); calculator.Activate(settings.Context); return calculator; }
public ITPadApp GetAppInstance(TPadApplicationDescriptor descriptor, ITPadAppContainer container, ITPadAppController controller, TPadCore core, TPadLauncherSettings settings) { GraphExplorerApp graphExplorer = new GraphExplorerApp(core, container, controller, descriptor.AppUUID); return graphExplorer; }
public void CoreStart(ITPadAppContainer appContainer, ITPadAppController appController) { //By default the system works with the simulated sources (camera, board) SimBoard.SimDevice = appController; SimCamera.CameraSource = appController; Camera.Controller = appController; Registration.Container = appContainer; Registration.Controller = appController; ConfigurePeripherals(); logger.Info("Starting Up Services and Monitors"); servicesContainer.StartServices(); monitorsContainer.StartMonitors(); logger.Info("Monitors Started"); }
public ITPadApp GetAppInstance(TPadApplicationDescriptor descriptor, ITPadAppContainer container, ITPadAppController controller, TPadCore core, TPadLauncherSettings settings) { QReaderApp reader = new QReaderApp(core, container, controller, descriptor.AppUUID); reader.Activate(settings.Context); return reader; }
public ITPadApp GetAppInstance(TPadApplicationDescriptor descriptor, ITPadAppContainer container, ITPadAppController controller, TPadCore core, TPadLauncherSettings settings) { PhotoAlbumApp photoAlbum = new PhotoAlbumApp(core, container, controller, descriptor.AppUUID); photoAlbum.Activate(settings.Context); return photoAlbum; }
public ITPadApp GetAppInstance(TPadApplicationDescriptor descriptor, ITPadAppContainer container, ITPadAppController controller, TPadCore core, TPadLauncherSettings settings) { ActiveReaderApp appInstance = new ActiveReaderApp(core, container, controller, descriptor.AppUUID); return appInstance; }