هذا اول برنامج بعملو انا برايي ما في خطأ بس هو يظهر لي خطأ
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication2
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
int x,y,sum=0;
x = Convert.ToInt32(t1.Text);
y = Convert.ToInt32(t2.Text);
sum = x + y;
MessageBox.Show(sum.ToString());
}
private void label1_Click(object sender, EventArgs e)
{
}
}
}وبعد ضغط ctrl+F5

فما هو الخطأ هنا