i create a new form using the code below.
private void CNPictureBox2_DoubleClick(object sender, EventArgs e)
{
RefImgForm RefImgForm = new RefImgForm();
RefImgForm.MainFrm = this;
RefImgForm.Show();
}
I want to send data from the form that i create second form. The problem is that i cannot send data to the new form when creating it. I want to send data when i take some data from user and then send this data by button click event. How can i do that?
Define a new method in second form
and call this from first form on button click