12-30-2017, 12:55 PM
Hello! It is such a thrill to see the new release before new year!
However, the crush down while assigning a route to an airliner still exists.
2017/12/30: 20:51 System.ArgumentException: “-2”不是属性“Width”的有效值。
在 System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
在 System.Windows.FrameworkElement.set_Width(Double value)
在 TheAirlineProjectV2.GraphicsControls.Controls.TimelineControls.TimelineElement..ctor(Timeline parent, Int32 height, Int32 width, String tooltip, String text, Boolean deleteable) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.GraphicsControls\Controls\TimelineControls\TimelineElement.xaml.cs:行号 40
在 TheAirlineProjectV2.GraphicsControls.Controls.TimelineControls.Timeline.AddElement(TimeSpan start, TimeSpan end, String tooltip, String text, String uid, Boolean deleteable) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.GraphicsControls\Controls\TimelineControls\Timeline.xaml.cs:行号 94
在 TheAirlineProjectV2.GraphicsControls.Controls.TimelineControls.Timeline.AddElement(TimeSpan start, TimeSpan end, String tooltip, String text, String uid, Boolean deleteable) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.GraphicsControls\Controls\TimelineControls\Timeline.xaml.cs:行号 82
在 TheAirlineProjectV2.Modules.Routes.Views.RoutesAirlinersWindow.Times_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.Routes\Views\RoutesAirlinersWindow.xaml.cs:行号 65
在 System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
在 System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
在 TheAirlineProjectV2.Modules.Routes.ViewModels.RoutesAirlinersViewModel.addEntries(TimeTableEntry entry, Route route) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.Routes\ViewModels\RoutesAirlinersViewModel.cs:行号 625
在 TheAirlineProjectV2.Modules.Routes.ViewModels.RoutesAirlinersViewModel.AddEntriesClicked() 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.Routes\ViewModels\RoutesAirlinersViewModel.cs:行号 221
在 Prism.Commands.DelegateCommandBase.<>c__DisplayClass6_0.<.ctor>b__0(Object arg)
在 Prism.Commands.DelegateCommandBase.<Execute>d__15.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Prism.Commands.DelegateCommandBase.<System-Windows-Input-ICommand-Execute>d__13.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
在 System.Windows.Threading.DispatcherOperation.InvokeImpl()
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Windows.Threading.DispatcherOperation.Invoke()
在 System.Windows.Threading.Dispatcher.ProcessQueue()
在 System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
在 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
在 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
在 System.Windows.Application.RunDispatcher(Object ignore)
在 System.Windows.Application.RunInternal(Window window)
在 TheAirlineProjectV2.App.Main()
Thank you so much!
However, the crush down while assigning a route to an airliner still exists.
2017/12/30: 20:51 System.ArgumentException: “-2”不是属性“Width”的有效值。
在 System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
在 System.Windows.FrameworkElement.set_Width(Double value)
在 TheAirlineProjectV2.GraphicsControls.Controls.TimelineControls.TimelineElement..ctor(Timeline parent, Int32 height, Int32 width, String tooltip, String text, Boolean deleteable) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.GraphicsControls\Controls\TimelineControls\TimelineElement.xaml.cs:行号 40
在 TheAirlineProjectV2.GraphicsControls.Controls.TimelineControls.Timeline.AddElement(TimeSpan start, TimeSpan end, String tooltip, String text, String uid, Boolean deleteable) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.GraphicsControls\Controls\TimelineControls\Timeline.xaml.cs:行号 94
在 TheAirlineProjectV2.GraphicsControls.Controls.TimelineControls.Timeline.AddElement(TimeSpan start, TimeSpan end, String tooltip, String text, String uid, Boolean deleteable) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.GraphicsControls\Controls\TimelineControls\Timeline.xaml.cs:行号 82
在 TheAirlineProjectV2.Modules.Routes.Views.RoutesAirlinersWindow.Times_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.Routes\Views\RoutesAirlinersWindow.xaml.cs:行号 65
在 System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
在 System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
在 TheAirlineProjectV2.Modules.Routes.ViewModels.RoutesAirlinersViewModel.addEntries(TimeTableEntry entry, Route route) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.Routes\ViewModels\RoutesAirlinersViewModel.cs:行号 625
在 TheAirlineProjectV2.Modules.Routes.ViewModels.RoutesAirlinersViewModel.AddEntriesClicked() 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.Routes\ViewModels\RoutesAirlinersViewModel.cs:行号 221
在 Prism.Commands.DelegateCommandBase.<>c__DisplayClass6_0.<.ctor>b__0(Object arg)
在 Prism.Commands.DelegateCommandBase.<Execute>d__15.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Prism.Commands.DelegateCommandBase.<System-Windows-Input-ICommand-Execute>d__13.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
在 System.Windows.Threading.DispatcherOperation.InvokeImpl()
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Windows.Threading.DispatcherOperation.Invoke()
在 System.Windows.Threading.Dispatcher.ProcessQueue()
在 System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
在 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
在 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
在 System.Windows.Application.RunDispatcher(Object ignore)
在 System.Windows.Application.RunInternal(Window window)
在 TheAirlineProjectV2.App.Main()
Thank you so much!