Date post: | 14-Jul-2015 |
Category: |
Education |
Upload: | moatasim-magdy |
View: | 263 times |
Download: | 2 times |
Example for button
<Button Name="btn0" Width="90" Height="120" Content="0" FontSize="40" Margin="476,602,0,46" />
<Button Name="add" Width="90" Height="120" Content="+" FontSize="40" Margin="700,178,0,470"/>
<Button Name="equal" Width="90" Height="120" Content="=" FontSize="40" Margin="824,602,0,46"/>
First, We have to make functions for:
• Numbers and dot buttons
• Operations button
• Clear button
• Equal button
Steps for implementing function to button
• First we have to add the name of the function for each button in XAML code.
• Ex. For numbers and dot buttons.