I am working windows mobile application in compact framework 3.5.I want to close a windows form from another windows form.
I tried like below,
Book newform = (Book)Application.OpenForms["Book"];
newform.Close();
I am getting this error "'System.Windows.Forms.Application' does not contain a definition for 'OpenForms'
".I checked in Application form and this OpenForms
is not available.May i know the equivalent fix of OpenForms
in compact framework or please provide me an alternative solution.
Thanks