符合所指定繫結條件約束之型別 ‘MT4APIGD.MainWindow’ 上建構函式的引動過程擲回例外狀況。

於 System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
於 System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
於 System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
於 System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
於 System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
於 System.Windows.Application.DoStartup()
於 System.Windows.Application.b__1_0(Object unused)
於 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)