123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <Window x:Class="ROGOZ.Pages.Diagram"
- 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:charts ="clr-namespace:System.Windows.Forms.DataVisualization.Charting;assembly=System.Windows.Forms.DataVisualization"
- xmlns:local="clr-namespace:ROGOZ.Pages"
- mc:Ignorable="d"
- Title="Графики" Height="630" Width="860"
- WindowStyle="None"
- WindowStartupLocation="CenterScreen"
- Loaded="Window_Loaded" Closed="Window_Closed"
- ResizeMode="NoResize"
- MouseDown="Window_MouseDown"
- Background="#c8e0f7" BorderBrush="#02294d" BorderThickness="2"
- >
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="45"/>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="70"/>
- </Grid.RowDefinitions>
- <TextBlock Text="Графики" FontSize="23" FontFamily="Comic Sans Ms"
- Foreground="#02294d" VerticalAlignment="Center"
- HorizontalAlignment="Left"
- TextAlignment="Left" Margin="20 0"/>
- <Button x:Name="btnClose" Style="{DynamicResource PanelButtonX}" Margin="0,5,10,0" Grid.Row="0" Height="35" Width="35" Click="btnClose_Click">
- <Image Source="/Resources/Cross1.png" IsHitTestVisible="False"/>
- </Button>
- <Button x:Name="btnMinimize" Style="{DynamicResource PanelButtonMin}" Margin="0,5,55,0" Grid.Row="0" Height="35" Width="35" Click="btnMinimize_Click">
- <Image Source="/Resources/Minimize1.png" IsHitTestVisible="False"/>
- </Button>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Width="830" Grid.Row="1">
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
- <TextBlock Text="Статус задачи: " FontSize="23" FontFamily="Comic Sans Ms"
- Foreground="#2c6499" VerticalAlignment="Center"
- TextAlignment="Left" Margin="10"/>
- <ComboBox Name="ComboExecutor" FontSize="20" SelectionChanged="UpdateChart" Style="{DynamicResource ComboBoxStyle1}"
- Width="180" Height="35"/>
- </StackPanel>
- <Separator Width="15" Background="Transparent"/>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" >
- <TextBlock Text="Тип диаграммы: " FontSize="23" FontFamily="Comic Sans Ms"
- Foreground="#2c6499" VerticalAlignment="Center"
- TextAlignment="Left" Margin="10"/>
- <ComboBox Name="ComboChartTypes" FontSize="20" SelectionChanged="UpdateChart" Style="{DynamicResource ComboBoxStyle1}"
- Width="215" Height="35"/>
- </StackPanel>
- </StackPanel>
- <WindowsFormsHost Grid.Row="2" Margin="20" >
- <charts:Chart x:Name="ChartPayments">
- <charts:Chart.Legends>
- <charts:Legend/>
- </charts:Chart.Legends>
- </charts:Chart>
- </WindowsFormsHost>
- <Button Style="{StaticResource AuthoButtons}" Grid.Row="3"
- Height="60" Width="280" FontSize="25" HorizontalAlignment="Left"
- Margin="45 0 0 10" Name="btnExcel"
- Click="btnExcel_Click">
- <Grid Width="280">
- <TextBlock Text="Экспорт в Excel" FontSize="25" Style="{StaticResource Text_Style}"/>
- <Image Source="/Resources/Excel.png" Style="{StaticResource ImageStyle}"/>
- </Grid>
- </Button>
- <Button Style="{StaticResource AuthoButtons}" Grid.Row="3"
- Height="60" Width="280" FontSize="25" HorizontalAlignment="Right"
- Margin="0 0 45 10" Name="btnWord"
- Click="btnWord_Click">
- <Grid Width="280">
- <TextBlock Text="Экспорт в Word" FontSize="25" Style="{StaticResource Text_Style}"/>
- <Image Source="/Resources/word.png" Style="{StaticResource ImageStyle}"/>
- </Grid>
- </Button>
- </Grid>
- </Window>
|