예제 #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);
        }
예제 #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);
 }
예제 #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);
        }
예제 #4
0
 /// <summary>
 /// Sends the specified items.
 /// </summary>
 /// <param name="items">The items.</param>
 public void Send(MarbleBase[] items)
 {
     MarbleController.AddMarbleItem(items);
 }