I have this code here:
public ControlCompareDetailDialog(xml.Control control_Sheet1, xml.Control control_Sheet2)
{
control_Sheet1.TYPE = textBox1.Text;
control_Sheet2.TYPE = textBox2.Text;
InitializeComponent();
}
I'm trying to execute it but i get:
Object reference not set to an object instance
Any idea why this happens?