<Window x:Class="Flyad7_WPF.Window_sync_graph"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Chr="clr-namespace:System.Windows.Forms.DataVisualization.Charting;assembly=System.Windows.Forms.DataVisualization"
Loaded="Window_Loaded"
Unloaded="Window_Unloaded"
Title="Window_sync_graph" Height="317" Width="683">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
<RowDefinition Height="248*" />
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal" Margin="2">
<StackPanel Orientation="Horizontal" Margin="3">
<TextBlock Text="数据量" VerticalAlignment="Center" Margin="3"/>
<TextBox Name="textbox_datalen" Width="80" Height="23" Margin="3"/>
<TextBlock Text="s" VerticalAlignment="Center" Margin="3"/>
</StackPanel>
<Button Content="确定" Width="80" Margin="3" Click="button_ok_Click"/>
</StackPanel>
<WindowsFormsHost Grid.Row="1">
<Chr:Chart x:Name="chart1" />
</WindowsFormsHost>
</Grid>
</Window>
-
潘栩锋 authorede0d1a128