2010-06-19 5 views
0

Aero.NormalColor.xaml을 리소스 사전에 삽입 할 때마다 프로그램을 실행할 수있는 유일한 방법은 디버그 모드를 사용하는 것입니다. 제거한 경우 디버깅을 사용하거나 사용하지 않고 실행할 수 있습니다. 어떤 이유? 내가 PresentationFramework.Aero true로 로컬 복사 속성을 설정하여 필요Windows XP의 Windows 7 스타일

<Application x:Class="HTA.App" 
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
     StartupUri="MainWindow.xaml"> 
<Application.Resources> 
    <ResourceDictionary> 
     <ResourceDictionary.MergedDictionaries> 
      <ResourceDictionary Source="ResourceDictionary/Miscellaneous.xaml"/> 
      <ResourceDictionary Source="ResourceDictionary/ListControls.xaml"/> 
      <ResourceDictionary Source="/PresentationFramework.Aero;component/themes/Aero.NormalColor.xaml"/> 
     </ResourceDictionary.MergedDictionaries> 
    </ResourceDictionary> 
</Application.Resources> 

답변

0

: 여기 내 App.xaml입니다.