Guest User

Untitled

a guest
Jul 19th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. namespace FirstApp
  2. {
  3. public partial class MainPage : ContentPage
  4. {
  5. public MainPage()
  6. {
  7. InitializeComponent();
  8. }
  9. private void Calculate
  10. {
  11. Double Num1;
  12. Double Num2;
  13. Answer = (Num1 + Num2).ToString();
  14. }
  15. }
  16. }
  17.  
  18. <FlexLayout>
  19. <Entry Text="{Binding Num1}"></Entry>
  20. <Entry Text="{Binding Num2}"></Entry>
  21. <Button Text="Go" Clicked="Calculate"></Button>
  22. <Label Text="{Binding Answer}"></Label>
  23. </FlexLayout>
Add Comment
Please, Sign In to add comment