using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
int result = 0;
int n1 = Convert.ToInt32(textBox1.Text);
int n2 = Convert.ToInt32(textBox2.Text);
result = n1 + n2;
label1.Text = n1.ToString() + "+"+n2.ToString() + "=" + result.ToString();
}
}
}