Hello, I am building a basic Image editor. In my app, if the user wants to resize the image a new form pops up and asks the user to input an new width and height for the image.
public partial class Form1 : Form
{
...
private void resizeToolStripMenuItem_Click(object sender, EventArgs e)
{
resize resizeForm = new resize();
resizeForm.ShowDialog();
}
...
}
I am wondering how I can get the values from the resizeForm
and use them to alter the image on the parent form (the Form1
instance).
If this question needs clarification please let me know.
Thanks!