终端一体化运控平台
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

MainControl.xaml 2.2 KiB

před 2 roky
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <UserControl x:Class="BPASmart.UserManagement.MainControl"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:BPASmart.UserManagement"
  7. xmlns:view="clr-namespace:BPASmart.UserManagement.View"
  8. mc:Ignorable="d"
  9. d:DesignHeight="600" d:DesignWidth="1000">
  10. <Grid >
  11. <Grid.ColumnDefinitions>
  12. <ColumnDefinition Width="200"/>
  13. <ColumnDefinition Width="81*"/>
  14. <ColumnDefinition Width="319*"/>
  15. </Grid.ColumnDefinitions>
  16. <Grid.RowDefinitions>
  17. <RowDefinition Height="40"/>
  18. <RowDefinition Height="*"/>
  19. </Grid.RowDefinitions>
  20. <Border Grid.RowSpan="2" Background="Transparent" BorderBrush="#1E90FF" BorderThickness="0,0,1,0">
  21. <view:UserList/>
  22. </Border>
  23. <Border Grid.RowSpan="2" Grid.Column="1" Grid.ColumnSpan="2">
  24. <Border.Background>
  25. <ImageBrush ImageSource="../Image/背景4.png"/>
  26. </Border.Background>
  27. <Grid>
  28. <Grid.RowDefinitions>
  29. <RowDefinition Height="40"/>
  30. <RowDefinition Height="*"/>
  31. </Grid.RowDefinitions>
  32. <StackPanel Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0">
  33. <Image Source="../Image/图层2.png" Width="100" Height="40"/>
  34. <Button HorizontalAlignment="Right" VerticalAlignment="Center" Margin="10,0" Padding="10,3" FontSize="18"
  35. Content="注册新用户" Style="{DynamicResource ButtonStyle}" Click="NewUser_Click" />
  36. <Image Source="../Image/图层2.png" Width="100"/>
  37. </StackPanel>
  38. <ContentControl Grid.Row="1" x:Name="mainContent" Background="Transparent" >
  39. </ContentControl>
  40. </Grid>
  41. </Border>
  42. </Grid>
  43. </UserControl>