u can do it with a public bool inside the form1 class..
Just like the example below
namespace checkBox_test
{
public partial class Form1 : Form
{
public bool chk = false;
public Form1()
{
InitializeComponent();
}
private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
chk = checkBox1.Checked;
}
}
}
namespace checkBox_test
{
public partial class Form2 : Form
{
public Form2()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Form1 frm = new Form1();
if (frm.chk)
MessageBox.Show("checked");
else
MessageBox.Show("non");
}
}
}