Changeset 130

Show
Ignore:
Timestamp:
03/05/07 16:26:56 (2 years ago)
Author:
bsmith7
Message:

wpfclient acting funny

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dmp/trunk/client/wpfclient/ControlTemplates.xaml

    r122 r130  
    3838        </ControlTemplate> 
    3939 
     40        <!--ControlTemplate x:Key="ServerAdd" TargetType="{x:Type Button}"> 
     41                <Image Name="Icon" Source="pack://application:,,/resources/ServerAdd_nohover.png"/> 
     42                <ControlTemplate.Triggers> 
     43                        <Trigger Property="UIElement.IsMouseOver" Value="true"> 
     44                                <Setter TargetName="Icon" Property="Image.Source" Value="pack://application:,,/resources/ServerAdd_hover.png"/> 
     45                        </Trigger> 
     46                </ControlTemplate.Triggers> 
     47        </ControlTemplate--> 
     48 
    4049</ResourceDictionary> 
  • dmp/trunk/client/wpfclient/main_window.xaml

    r122 r130  
    3535                <TextBox Width="60" Height="20" Margin="5"  Name="SearchBox" Grid.Row="0" Grid.Column="2"/> 
    3636 
    37                 <StackPanel Grid.Row="1" Grid.Column="0" Margin="5"> 
     37                <!--StackPanel Grid.Row="1" Grid.Column="0" Margin="5"> 
    3838                        <Expander IsExpanded="True"  Header="Servers"> 
    39                                 <StackPanel Name="serverStack"/> 
     39                                <StackPanel Name="serverStack"/>                                
    4040                        </Expander> 
     41                </StackPanel--> 
     42                <StackPanel Name="serverStack" Grid.Row="1" Grid.Column="0" Margin="5"> 
     43                        <TextBlock>QWERTY</TextBlock> 
    4144                </StackPanel> 
    4245                         
  • dmp/trunk/client/wpfclient/wpfclient.csproj

    r122 r130  
    88    <AssemblyName>wpfclient</AssemblyName> 
    99    <WarningLevel>4</WarningLevel> 
    10     <OutputType>exe</OutputType> 
     10    <OutputType>WinExe</OutputType> 
    1111    <ApplicationVersion>1.0.0.*</ApplicationVersion> 
    1212    <!-- Most people will use Publish dialog in Visual Studio to increment this --> 
     13    <StartupObject> 
     14    </StartupObject> 
    1315  </PropertyGroup> 
    1416  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 
     
    6971    <Resource Include="resources\Play_pressed.png" /> 
    7072  </ItemGroup> 
     73  <ItemGroup> 
     74    <Resource Include="resources\Server_red.png" /> 
     75  </ItemGroup> 
     76  <ItemGroup> 
     77    <Resource Include="resources\ServerAdd_hover.png" /> 
     78    <Resource Include="resources\ServerAdd_nohover.png" /> 
     79  </ItemGroup> 
    7180  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> 
    7281  <Import Project="$(MSBuildBinPath)\Microsoft.WinFX.targets" />