Upload
moatasim-magdy
View
263
Download
2
Embed Size (px)
Citation preview
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.