I have a Form1 which calls Form2. Basing on the "Ok" click on Form2 I need to run some code in Form1. I am notifying the run base class that user pressed ok by the following method in the form2. kanbanmultijob is the instance of class KanbanMultiJob which is behind my form2. So I am struck at a point where how do I retrieve or make use of closedOk() function in Form1 , which typically returns bool value basing on closeOk()?
public void closeOk()
{
if (kanbanMultiJob.checkCloseDialog())
{
super();
}
}