Advertisement
Guest User

Untitled

a guest
May 6th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10.  
  11. namespace WindowsFormsApplication3
  12. {
  13. public partial class Form1 : Form
  14. {
  15. public Form1()
  16. {
  17. InitializeComponent();
  18. }
  19.  
  20. private void label1_Click(object sender, EventArgs e)
  21. {
  22. String m3Text = TextBox1.Text;
  23. String collatoralText = TextBox2.Text;
  24. int m3;
  25. int collatoral;
  26. bool a = Int32.Tryparse(m3Text, out m3 &&
  27. Int32.tryparse(collatoralText, out collatoral);
  28. }
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement