| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- <UserControl x:Class="Muchinfo.MTPClient.Account.Views.AccountManagerView"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:utilities="clr-namespace:Muchinfo.MTPClient.Account.Utilities"
- xmlns:views="clr-namespace:Muchinfo.MTPClient.Account.Views"
- x:Name="ManagerControl"
- DataContext="{Binding AccountManager,
- Source={StaticResource Locator}}"
- mc:Ignorable="d">
- <UserControl.Resources>
- <utilities:PowerConverter x:Key="powerConverter" />
- </UserControl.Resources>
- <Grid Background="{DynamicResource MuchinfoBrush5}">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition />
- </Grid.RowDefinitions>
- <!--
- Separator Grid.Row="0"
- Margin="8,0"
- Style="{DynamicResource ThinSeparatorStyle}" />
- -->
- <Border x:Name="headerBorder"
- Grid.Row="1"
- Grid.ColumnSpan="3"
- Background="{DynamicResource MuchinfoBrush75}">
- <views:TradeHeaderView x:Name="TradeHeader" Height="36" />
- </Border>
- <Grid x:Name="AccountGrid"
- Grid.Row="2"
- Background="{DynamicResource MuchinfoBrush99}"
- Visibility="{Binding AccountVisibility,
- Mode=TwoWay}">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Border x:Name="OrderContent"
- Grid.Column="1"
- Margin="8,8,8,4"
- Background="{DynamicResource MuchinfoBrush5}"
- BorderBrush="{DynamicResource MuchinfoBrush67}"
- BorderThickness="4"
- CornerRadius="2">
- <ContentControl Content="{Binding OldContent, Mode=TwoWay}" />
- </Border>
- <GridSplitter x:Name="AccountSplitter"
- Grid.Column="1"
- Width="5"
- Margin="8,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Stretch"
- Background="Transparent" />
- </Grid>
- <!--
- <Border Grid.Row="1"
- Grid.RowSpan="2"
- Grid.ColumnSpan="3"
- Background="{DynamicResource MuchinfoBrush1}"
- Visibility="{Binding LockPanelVisibility,
- Mode=TwoWay}"
- d:IsHidden="true">
- <Border HorizontalAlignment="Center"
- VerticalAlignment="Center"
- CornerRadius="5">
- <Border Margin="5" CornerRadius="3">
- <StackPanel Orientation="Vertical">
- <StackPanel Orientation="Horizontal">
- <TextBlock Margin=" 0,0,8,0"
- VerticalAlignment="Center"
- Foreground="{DynamicResource MuchinfoBrush3}"
- Text="请输入解锁密码:" />
- <PasswordBox Width="150"
- Height="24"
- VerticalAlignment="Center"
- BorderBrush="{DynamicResource MuchinfoBrush22}"
- BorderThickness="1"
- KeyUp="Password_OnKeyUp"
- controls:PasswordHelper.Attach="True"
- controls:PasswordHelper.Password="{Binding Password,
- Mode=TwoWay,
- UpdateSourceTrigger=PropertyChanged}" />
- </StackPanel>
- <StackPanel Margin="0,18,0,0" Orientation="Horizontal">
- <Button Width="70"
- Margin="10,0,0,0"
- Command="{Binding OKCommand}"
- Content="确定"
- IsDefault="True"
- Style="{DynamicResource CommonButtonStyle}" />
- <Button Width="70"
- Margin="8,0"
- Command="{Binding ResetCommand}"
- Content="重置"
- Style="{DynamicResource CommonButtonStyle}" />
- <Button Width="70"
- Command="{Binding ExitCommand}"
- Content="退出"
- Style="{DynamicResource CommonButtonStyle}" />
- </StackPanel>
- </StackPanel>
- </Border>
- </Border>
- </Border>
- -->
- </Grid>
- </UserControl>
|