public Int kmp=0;
private void Button_Click(object sender, EventArgs e)
{
kmp=ur value;
Form2 qu = new Form2 ();
qu.ShowDialog();
}
private void Form2_Load(object sender, EventArgs e)
{
Form1 l = new Form1();
label1.text= l.kmp.toString() ;
}
Or
private void Button_Click(object sender, EventArgs e)
{
Form2 qu = new Form2 (ur value);
qu.ShowDialog();
}
public Form2(int l)
{
InitializeComponent();
label1.text=l.toString();
}