-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
46 lines (43 loc) · 2.6 KB
/
MainWindow.xaml
File metadata and controls
46 lines (43 loc) · 2.6 KB
1
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
<Window x:Class="conjeturadecolltz.MainWindow"
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:wf="http://schemas.microsoft.com/expression/blend/2008"
xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf" d:DataContext="{d:DesignInstance local:MainWindow}"
xmlns:local="clr-namespace:conjeturadecolltz"
mc:Ignorable="d"
Title="bot conjetura de collatz" Height="675" Width="1041">
<Grid Background="Black">
<Grid.RowDefinitions>
<RowDefinition Height="77*"/>
<RowDefinition Height="77*"/>
<RowDefinition Height="64"/>
<RowDefinition Height="13"/>
<RowDefinition Height="77"/>
<RowDefinition Height="77"/>
<RowDefinition Height="77"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition Width="66*"/>
<ColumnDefinition Width="67*"/>
<ColumnDefinition Width="67*"/>
<ColumnDefinition Width="67*"/>
<ColumnDefinition Width="67*"/>
<ColumnDefinition Width="67*"/>
</Grid.ColumnDefinitions>
<Button Grid.Row="0" Grid.Column="0" Foreground="Cyan" FontSize="45" Background="Black" BorderBrush="Black" Grid.ColumnSpan="2" Margin="0,0,29,86" Click="Button_Click_1">=</Button>
<Frame x:Name="a" NavigationUIVisibility="Hidden"></Frame>
<Label Grid.Row="0" Grid.Column="2" Grid.ColumnSpan="5" FontSize="45" Foreground="Cyan" Margin="53,7,71,52">conjetura de collatz</Label>
<Button Grid.Column="2" Grid.Row="6" Grid.ColumnSpan="3" Background="Black" Foreground="Cyan" BorderBrush="Cyan" FontSize="25" Margin="134,1,22,18" Click="Button_Click" BorderThickness="5">inicio</Button>
<lvc:CartesianChart Name="C" Series="{Binding SeriesCollection}" Grid.Column="1" Grid.ColumnSpan="6" Margin="20,98,19,35" Grid.RowSpan="6" RenderTransformOrigin="0.5,0.5" >
<lvc:CartesianChart.AxisX>
<lvc:Axis Title="x" Labels="{Binding BarLabels}" MaxValue="51" MinValue="1"></lvc:Axis>
</lvc:CartesianChart.AxisX>
<lvc:CartesianChart.AxisY>
<lvc:Axis Title="y" Labels="{Binding Formatter}"></lvc:Axis>
</lvc:CartesianChart.AxisY>
</lvc:CartesianChart>
</Grid>
</Window>