Consider the situation where I have two windows forms, say F1 and F2. After using F1, I have now called F2.ShowDialog().
Has anyone considered simply passing the value to the form in the tag attribute.
Form newForm = new form();
newForm.Tag = passValue;
newform.showmodal();
when newform is shown the load (or any other) routine can use the data in tag
public void load()
{
if (this.Tag.length > 0)
{
// do something with the data
}
}