2010-05-10 5 views
0

C# (WPF)에서 응용 프로그램을 개발 중입니다. Windows XP에서 응용 프로그램을 실행할 때 윈도우 7 또는 비스타에서 보는 방법과 같은 창을 표시하려고합니다.
WPF with C#을 사용하고 있습니다. 그것이 가능합니다. 어떻게해야합니까?Windows 7은 C# (WPF)의 양식 스타일을 좋아합니다.

+5

이유 :

이 시작 될 수 있는가? 애플 리케이션이 그렇게 할 때 나는 그것을 싫어. 사용자가 이해할 수있는 예측 가능한 UI (현재 OS가 사용하는 UI)를 고수하십시오. –

+0

예 매트, 너무 싫어. 그러나 클라이언트 요구 사항, 나는 무엇을해야합니까 : :) –

+0

당신은 투명성 등을 원합니까? 그것이 가능하다면, 나는 그것이 많은 일이 될 것이라고 상상한다. – AndrewC

답변

1

나는 그것이 늦었다 고 알고 있습니다. 그러나 나는 다른 사람들을 도울 수있는 뭔가를 게시하고 있습니다.

<Window x:Class="WpfApplication1.MainWindow" 
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
     Title="MainWindow" Height="350" Width="525" AllowsTransparency="True" WindowStyle="None" Background="Transparent" WindowStartupLocation="CenterScreen"> 
    <Grid> 
     <Rectangle Name="rectangle1" Stroke="#111111" Fill="#dd334455" RadiusX="5" RadiusY="5" /> 
     <Border BorderThickness="1" Margin="1" BorderBrush="#ddffffff" CornerRadius="5" /> 
     <Label Content="Window title"> 
      <Label.Effect> 
       <DropShadowEffect ShadowDepth="0" Color="White" BlurRadius="10" /> 
      </Label.Effect> 
     </Label> 
     <Grid Margin="8,25,8,8" Background="White"> 
      <Label Content="Controls here" /> 
     </Grid> 
     <Border Margin="6,23,6,6" BorderThickness="1" BorderBrush="#99ffffff" CornerRadius="1" /> 
     <Border Margin="7,24,7,7" BorderThickness="1" BorderBrush="#333333" CornerRadius="1" /> 
    </Grid> 
</Window> 
+0

좋은 아이디어 !!!!!! –

관련 문제