66 xmlns : local =" clr-namespace:BooleanExpressionSolver"
77 mc : Ignorable =" d"
88 Title =" MainWindow" Height =" 450" Width =" 800" >
9- <Grid Loaded =" Grid_Loaded" >
10- <Button Content =" START" HorizontalAlignment =" Left" Margin =" 274,11,0,0" VerticalAlignment =" Top" Width =" 144" Height =" 48" Click =" Start_Click" />
11- <DataGrid x : Name =" TruthTable" HorizontalAlignment =" Left" Height =" 348" Margin =" 10,64,0,0" VerticalAlignment =" Top" Width =" 775" SelectionChanged =" TruthTable_SelectionChanged" />
12- <TextBox x : Name =" UserInput" HorizontalAlignment =" Left" Height =" 22" Margin =" 10,37,0,0" TextWrapping =" Wrap" Text =" Expression" VerticalAlignment =" Top" Width =" 259" TextChanged =" UserInput_TextChanged" />
13- <TextBox x : Name =" numberOfTerms" HorizontalAlignment =" Left" Height =" 22" Margin =" 10,10,0,0" TextWrapping =" Wrap" Text =" Number Of Terms" VerticalAlignment =" Top" Width =" 259" TextChanged =" NumberOfTerms_TextChanged" />
149
10+
11+
12+ <Window .Resources>
13+ <Style x : Key =" datag1" TargetType =" DataGrid" >
14+ <Setter Property =" CanUserAddRows" Value =" False" ></Setter >
15+ <Setter Property =" IsReadOnly" Value =" True" ></Setter >
16+ <Setter Property =" CanUserResizeColumns" Value =" False" ></Setter >
17+ <Setter Property =" CanUserResizeRows" Value =" False" ></Setter >
18+ <Setter Property =" CanUserSortColumns" Value =" False" ></Setter >
19+ <Setter Property =" CanUserReorderColumns" Value =" False" ></Setter >
20+
21+ <Setter Property =" GridLinesVisibility" Value =" None" ></Setter >
22+ <Setter Property =" HeadersVisibility" Value =" Column" ></Setter >
23+ <Setter Property =" ColumnHeaderStyle" Value =" {DynamicResource chs1}" ></Setter >
24+ <Setter Property =" RowStyle" Value =" {DynamicResource chs2}" ></Setter >
25+ </Style >
26+
27+ <Style x : Key =" chs1" TargetType =" DataGridColumnHeader" >
28+ <Setter Property =" FrameworkElement.HorizontalAlignment" Value =" Center" />
29+ <Setter Property =" Background" Value =" #232D35" ></Setter >
30+ <Setter Property =" Foreground" Value =" White" ></Setter >
31+ <Setter Property =" FontSize" Value =" 20" ></Setter >
32+ <Setter Property =" FontFamily" Value =" Rounded Elegance" ></Setter >
33+ <Setter Property =" Padding" Value =" 50,0,50,0" ></Setter >
34+ </Style >
35+
36+ <Style x : Key =" chs2" TargetType =" DataGridRow" >
37+ <Setter Property =" Background" Value =" #2A3940" ></Setter >
38+ <Setter Property =" Foreground" Value =" White" ></Setter >
39+ <Setter Property =" FontFamily" Value =" Rounded Elegance" ></Setter >
40+ <Setter Property =" FontSize" Value =" 12" ></Setter >
41+
42+ <Style .Resources>
43+ <SolidColorBrush x : Key =" {x:Static SystemColors.HighlightBrushKey}" Color =" #2F466C" />
44+ <SolidColorBrush x : Key =" {x:Static SystemColors.ControlBrushKey}" Color =" #2F466C" />
45+ </Style .Resources>
46+ </Style >
47+ </Window .Resources>
48+
49+
50+
51+ <Grid Loaded =" Grid_Loaded" Background =" #FF1E292E" >
52+ <Button Content =" START" HorizontalAlignment =" Left" Margin =" 290,10,0,0" VerticalAlignment =" Top" Width =" 144" Height =" 49" Click =" Start_Click" RenderTransformOrigin =" 0.01,0.49" />
53+ <TextBox x : Name =" UserInput" HorizontalAlignment =" Left" Height =" 22" Margin =" 26,37,0,0" TextWrapping =" Wrap" Text =" Expression" VerticalAlignment =" Top" Width =" 259" TextChanged =" UserInput_TextChanged" />
54+ <TextBox x : Name =" numberOfTerms" HorizontalAlignment =" Left" Height =" 22" Margin =" 26,10,0,0" TextWrapping =" Wrap" Text =" Number Of Terms" VerticalAlignment =" Top" Width =" 259" TextChanged =" NumberOfTerms_TextChanged" />
55+ <DataGrid x : Name =" TruthTable" Style =" {DynamicResource datag1}" HorizontalAlignment =" Left" Height =" 334" Margin =" 26,71,0,0" VerticalAlignment =" Top" Width =" 742" SelectionChanged =" TruthTable_SelectionChanged" Background =" #FF232D35" />
1556 </Grid >
1657</Window >
58+
59+
0 commit comments