Skip to content
This repository was archived by the owner on May 27, 2023. It is now read-only.

Commit 91be012

Browse files
committed
Final Edits
Completed final edits on the theme of the boolean algebra solver
1 parent 20dbac7 commit 91be012

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

BooleanExpressionSolver/BooleanExpressionSolver/MainWindow.xaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
66
xmlns:local="clr-namespace:BooleanExpressionSolver"
77
mc:Ignorable="d"
8-
Title="MainWindow" Height="450" Width="800">
8+
Title="Boolean Algebra Solver" Height="450" Width="800">
99

1010

1111

@@ -17,7 +17,7 @@
1717
<Setter Property="CanUserResizeRows" Value="False"></Setter>
1818
<Setter Property="CanUserSortColumns" Value="False"></Setter>
1919
<Setter Property="CanUserReorderColumns" Value="False"></Setter>
20-
20+
2121
<Setter Property="GridLinesVisibility" Value="None"></Setter>
2222
<Setter Property="HeadersVisibility" Value="Column"></Setter>
2323
<Setter Property="ColumnHeaderStyle" Value="{DynamicResource chs1}"></Setter>
@@ -49,10 +49,11 @@
4949

5050

5151
<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"/>
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" Background="#FF1975AA" Foreground="White" BorderBrush="#FF232D35" FontFamily="Corbel Light" FontSize="20"/>
5353
<TextBox x:Name="UserInput" HorizontalAlignment="Left" Height="22" Margin="26,37,0,0" TextWrapping="Wrap" Text="Expression" VerticalAlignment="Top" Width="259" TextChanged="UserInput_TextChanged"/>
5454
<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"/>
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" BorderBrush="#FF232D35"/>
56+
<Button x:Name="Help" Content="HELP" HorizontalAlignment="Left" Margin="624,10,0,0" VerticalAlignment="Top" Width="144" Height="49" Background="#FF1975AA" BorderBrush="#FF1975AA" Foreground="White" FontFamily="Corbel Light" FontSize="20" Click="Help_Click"/>
5657
</Grid>
5758
</Window>
5859

BooleanExpressionSolver/BooleanExpressionSolver/MainWindow.xaml.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,5 +239,10 @@ private void Grid_Loaded(object sender, RoutedEventArgs e)
239239
{
240240

241241
}
242+
243+
private void Help_Click(object sender, RoutedEventArgs e)
244+
{
245+
MessageBox.Show("Welcome To Boolean Algebra Evaluator\nType * For AND\nType + For OR\nType ^ For XOR\nType ' For NOT\nType () For Higher Order Of Operation & Grouping");
246+
}
242247
}
243248
}

0 commit comments

Comments
 (0)