|
<UserControl x:Class="Editor.MathToolBar"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
d:DesignHeight="34" d:DesignWidth="600"
Loaded="UserControl_Loaded">
<Canvas Name="mainToolBarPanel" Height="22">
<StackPanel Orientation="Horizontal" Height="{Binding ElementName=mainToolBarPanel, Path=Height}">
<Button x:Name="symbolsButton" Style="{StaticResource ToolbarButtonStyle}" Click="toolBarButton_Click" GotFocus="toolBarButton_GotFocus" MouseEnter="toolBarButton_MouseEnter">
<Image Source="images/mathbuttons/symbols.png"></Image>
</Button>
<Button x:Name="greekCapitalButton" Style="{StaticResource ToolbarButtonStyle}" Click="toolBarButton_Click" GotFocus="toolBarButton_GotFocus" MouseEnter="toolBarButton_MouseEnter">
<Image Source="images/mathbuttons/greekcapital.png"></Image>
</Button>
<Button x:Name="greekSmallButton" Style="{StaticResource ToolbarButtonStyle}" Click="toolBarButton_Click" GotFocus="toolBarButton_GotFocus" MouseEnter="toolBarButton_MouseEnter">
<Image Source="images/mathbuttons/greeksmall.png"></Image>
</Button>
<Button x:Name="arrowsButton" Style="{StaticResource ToolbarButtonStyle}" Click="toolBarButton_Click" GotFocus="toolBarButton_GotFocus" MouseEnter="toolBarButton_MouseEnter">
<Image Source="images/mathbuttons/arrows.png"></Image>
</Button>
<Button x:Name="bracketsButton" Style="{StaticResource ToolbarButtonStyle}" Click="toolBarButton_Click" GotFocus="toolBarButton_GotFocus" MouseEnter="toolBarButton_MouseEnter">
<Image Source="images/mathbuttons/brackets.png"></Image>
</Button>
<Button x:Name="sumsProductsButton" Style="{StaticResource ToolbarButtonStyle}" Click="toolBarButton_Click" GotFocus="toolBarButton_GotFocus" MouseEnter="toolBarButton_MouseEnter">
<Image Source="images/mathbuttons/sumproduct.png"></Image>
</Button>
<Button x:Name="integralsButton" Style="{StaticResource ToolbarButtonStyle}" Click="toolBarButton_Click" GotFocus="toolBarButton_GotFocus" MouseEnter="toolBarButton_MouseEnter">
<Image Source="images/mathbuttons/integrals.png"></Image>
</Button>
<Button x:Name="subAndSuperButton" Style="{StaticResource ToolbarButtonStyle}" Click="toolBarButton_Click" GotFocus="toolBarButton_GotFocus" MouseEnter="toolBarButton_MouseEnter">
<Image Source="images/mathbuttons/subsuper.png"></Image>
</Button>
<Button x:Name="divAndRootsButton" Style="{StaticResource ToolbarButtonStyle}" Click="toolBarButton_Click" GotFocus="toolBarButton_GotFocus" MouseEnter="toolBarButton_MouseEnter">
<Image Source="images/mathbuttons/divroot.png"></Image>
</Button>
</StackPanel>
</Canvas>
</UserControl>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I am a full-stack developer. My skills include JavaScript, C#/.Net, MS Azure cloud etc. I love to work on complex programming tasks requiring deep analysis, planning and use of efficient algorithms and data structures.