/// <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); }
/// <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); }
/// <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); }