public surveyImage(Bitmap image) { InitializeComponent(); surveyMainForm testing = new surveyMainForm(); pictureBox1.Image = image; }
private void createSurveyBTN_Click(object sender, EventArgs e) //if Create Survey Form is clicked { surveyMainForm surveyMain = new surveyMainForm(); //open a new survey creation form this.Hide(); surveyMain.Show(); }
private void submitBTN_Click(object sender, EventArgs e) { submit = true; surveyMainForm test = new surveyMainForm(); this.Hide(); //test.Show(); }