PgMenu.xaml 8.3 KB
Newer Older
1
<Page x:Class="FLY.Thick.BlowingScan.UI.Client.PgMenu"
潘栩锋's avatar
潘栩锋 committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="768" d:DesignWidth="1388" 
      Background="White"
	Title="Page_Menu">
    <Page.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/Dictionary_MyStyle.xaml"/>
                <ResourceDictionary Source="pack://application:,,,/ThickTcpUiInWindow;component/Converter/Dictionary_MyConv.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Page.Resources>
    <Grid >
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="540*" />
        </Grid.RowDefinitions>
        
        <StackPanel Orientation="Horizontal">
            <Button Style="{StaticResource ButtonStyle_back}" Command="BrowseBack"/>
        </StackPanel>
        <StackPanel Orientation="Horizontal" FlowDirection="RightToLeft">
            <StackPanel Orientation="Vertical" VerticalAlignment="Center">
                <Button Style="{StaticResource ButtonStyle_empty}" Background="{x:Null}" Click="button_version_Click" VerticalAlignment="Center">
                    <TextBlock Text="吹膜扫描测厚仪 v2.0.2 20180806" FontSize="24" FontWeight="Bold" Margin="5" />
                </Button>
                <Button Style="{StaticResource ButtonStyle_empty}" Background="{x:Null}" Click="button_instruction_Click" VerticalAlignment="Center">
                    <TextBlock Text="说明书" FontSize="24" FontWeight="Bold" Margin="5" />
                </Button>
            </StackPanel>

        </StackPanel>
        <ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Disabled" HorizontalScrollBarVisibility="Auto">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="100" />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>

                    <RowDefinition />
                    <RowDefinition Height="100" />
                </Grid.RowDefinitions>
                <WrapPanel Orientation="Vertical" Grid.Column="1">
                    <WrapPanel.Resources>
                        <Style TargetType="Button" BasedOn="{StaticResource ResourceKey=ButtonStyle_empty}">
                            <Setter Property="Background" Value="#FF0083D7"/>
                            <Setter Property="Width" Value="225"/>
                            <Setter Property="Height" Value="140"/>
                            <Setter Property="Margin" Value="5"/>
                        </Style>
                    </WrapPanel.Resources>
                    <Button Click="button_custom_Click">
                        <Grid>
                            <Image Source="/ThickTcpUiInWindow;component/Images/bg_wheel.jpg" Stretch="UniformToFill" />

                            <TextBlock FontWeight="Bold" FontFamily="YouYuan" VerticalAlignment="Center" Foreground="White" FontSize="40"  Text="客户配置" Background="#C00083D7" Padding="10"/>
                        </Grid>
                    </Button>

                    <Button Click="button_initparam_Click" >
                        <TextBlock FontWeight="Bold" FontFamily="YouYuan" VerticalAlignment="Center">
                            <Run Foreground="White" FontSize="40"  Text="系统参数"/>
                        </TextBlock>
                    </Button>
                    <Button Click="button_blowing_Click" >
                        <Grid>
                            <Image Source="/ThickTcpUiInWindow;component/Images/bg_blowing.jpg" Stretch="UniformToFill" />

                            <TextBlock FontWeight="Bold" FontFamily="YouYuan" VerticalAlignment="Center" Foreground="White" FontSize="40"  Text="吹膜测厚" Background="#C00083D7" Padding="10"/>
                        </Grid>
                    </Button>

                    <Button Click="button_curve_Click" >
                        <TextBlock FontWeight="Bold" FontFamily="YouYuan" VerticalAlignment="Center">
                            <Run Foreground="White" FontSize="40"  Text="AD曲线"/>
                        </TextBlock>
                    </Button>
                    <Button Click="button_curve2_Click" Background="Purple">
                        <TextBlock FontWeight="Bold" FontFamily="YouYuan" VerticalAlignment="Center" >
                            <Run Foreground="White" FontSize="40"  Text="AD曲线"/>
                            <Run Foreground="White" FontSize="20"  Text="修正"/>
                        </TextBlock>
                    </Button>
                    <Button Click="button_bordersearch_Click" >
                        <TextBlock FontWeight="Bold" FontFamily="YouYuan" VerticalAlignment="Center">
                    <Run Foreground="White" FontSize="40"  Text="边界查找"/>
                        </TextBlock>
                    </Button>

                    <Button Click="button_getsample_Click" >
                        <Grid>
                            <Image Source="/ThickTcpUiInWindow;component/Images/bg_sample.jpg" Stretch="UniformToFill" />

                            <TextBlock FontWeight="Bold" FontFamily="YouYuan" VerticalAlignment="Center" Foreground="White" FontSize="40"  Text="样品标定" Background="#C00083D7" Padding="10"/>
                        </Grid>
                    </Button>

                    <Button Click="button_gageinfo_Click" >
                        <TextBlock FontWeight="Bold" FontFamily="YouYuan" VerticalAlignment="Center">
                            <Run Foreground="White" FontSize="40"  Text="机架信息"/>
                        </TextBlock>
                    </Button>
                    <Button Click="button_scancorr_Click" >
                        <TextBlock FontWeight="Bold" FontFamily="YouYuan" VerticalAlignment="Center">
                    <Run Foreground="White" FontSize="40"  Text="机架修正"/>
                        </TextBlock>
                    </Button>

                    <Button Click="button_warning_Click" Background="Red" >
                        <Grid>
                            <TextBlock FontWeight="Bold" FontFamily="YouYuan" VerticalAlignment="Center" Foreground="White" FontSize="40"  Text="报警管理" Padding="10"/>
                        </Grid>
                    </Button>
120 121 122 123 124
                    <Button Click="button_scanwarning_Click" Background="DarkRed" >
                        <Grid>
                            <TextBlock FontWeight="Bold" FontFamily="YouYuan" VerticalAlignment="Center" Foreground="White" FontSize="40"  Text="厚度报警" Padding="10"/>
                        </Grid>
                    </Button>
潘栩锋's avatar
潘栩锋 committed
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
                    <Button Click="button_grid_Click" >
                        <TextBlock FontWeight="Bold" FontFamily="YouYuan" VerticalAlignment="Center" >
                            <Run Foreground="White" FontSize="40"  Text="机架调试"/>
                        </TextBlock>
                    </Button>

                    <Button Click="button_flyad_Click">
                        <Grid>
                            <Image Source="/ThickTcpUiInWindow;component/Images/bg_chip.jpg" Stretch="UniformToFill" />
                            <TextBlock FontWeight="Bold" FontFamily="YouYuan" VerticalAlignment="Center" Foreground="White" FontSize="40"  Text="控制器" Background="#C00083D7" Padding="10"/>
                        </Grid>
                    </Button>
                    <Button Click="button_passwork_Click">
                        <Grid>
                            <Image Source="/ThickTcpUiInWindow;component/Images/timg.jpg" Stretch="UniformToFill" />
                            <TextBlock FontWeight="Bold" FontFamily="YouYuan" VerticalAlignment="Center" Foreground="White" FontSize="40"  Text="密码管理" Background="#C00083D7" Padding="10"/>
                        </Grid>
                    </Button>
                </WrapPanel>
            </Grid>
        </ScrollViewer>


    </Grid>
</Page>