Esempio n. 1
0
        /// <summary>
        /// Raises the <see cref="E:System.Windows.Application.Startup"/> event.
        /// </summary>
        /// <param name="e">A <see cref="T:System.Windows.StartupEventArgs"/> that contains the event data.</param>
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            Task <VisualRxInitResult> info =
                VisualRxSettings.Initialize(
                    LocalProxy.Create());

            info.ContinueWith(inf => Trace.WriteLine(inf));

            UIPluginHelper.SetDispatcher();

            MarbleController.Init(Resources);
        }
Esempio n. 2
0
 /// <summary>
 /// Raises the <see cref="E:System.Windows.Application.Exit"/> event.
 /// </summary>
 /// <param name="e">An <see cref="T:System.Windows.ExitEventArgs"/> that contains the event data.</param>
 protected override void OnExit(ExitEventArgs e)
 {
     MarbleController.CloseHosting();
     base.OnExit(e);
 }
Esempio n. 3
0
        /// <summary>
        /// Raises the <see cref="E:System.Windows.Application.Startup"/> event.
        /// </summary>
        /// <param name="e">A <see cref="T:System.Windows.StartupEventArgs"/> that contains the event data.</param>
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            MarbleController.Init(Resources);
        }
 /// <summary>
 /// Sends the specified items.
 /// </summary>
 /// <param name="items">The items.</param>
 public void Send(MarbleBase[] items)
 {
     MarbleController.AddMarbleItem(items);
 }