Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace PrjExcersicesDec13
- {
- public partial class Form1 : Form
- {
- private object lblSum;
- private object txtNum1;
- private object txtNum2;
- public Form1()
- {
- InitializeComponent();
- }
- private void textBox1_TextChanged(object sender, EventArgs e)
- {
- }
- private void button1_Click(object sender, EventArgs e)
- {
- int a = Convert.ToInt32(textBox1.Text);
- int b = Convert.ToInt32(textBox2.Text);
- textBox3.Text = (a + b).ToString();
- }
- private void textBox3_TextChanged(object sender, EventArgs e)
- {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement