| | |
| | | <UserControl.Resources> |
| | | <ResourceDictionary> |
| | | <ResourceDictionary.MergedDictionaries> |
| | | <ResourceDictionary Source="/WPFProject;component/Style/colors.xaml"/> |
| | | <ResourceDictionary Source="/WPFProject;component/Style/WindowResources.xaml"/> |
| | | <ResourceDictionary Source="/HMI.UI;component/Style/colors.xaml"/> |
| | | <ResourceDictionary Source="/HMI.UI;component/Style/WindowResources.xaml"/> |
| | | </ResourceDictionary.MergedDictionaries> |
| | | </ResourceDictionary> |
| | | </UserControl.Resources> |
| | | |
| | | <StackPanel Background="{StaticResource ChildBorder}" Orientation="Horizontal"> |
| | | <Label BorderBrush="{StaticResource MainBorder}" Foreground="#FFF" BorderThickness="2,0,0,0" VerticalContentAlignment="Center" ToolTip="{Binding Title}" Content="{Binding Title}"/> |
| | | <StackPanel Background="{StaticResource SecondPrimaryColor}" Orientation="Horizontal"> |
| | | <Label BorderBrush="{StaticResource PrimaryColor}" Foreground="#FFF" BorderThickness="2,0,0,0" VerticalContentAlignment="Center" ToolTip="{Binding Title}" Content="{Binding Title}"/> |
| | | <Button Style="{StaticResource ChildWindowButton}" Click="Max_Click" ></Button> |
| | | <Button Style="{StaticResource ChildWindowCloseButton}" Click="CLose_Click"></Button> |
| | | </StackPanel> |