Your main form is not available for the launch form. You must keep it in what is available at the point where you want to use it.
You can do it as follows (along with other ways :)
public class CCurrent
{
public static Boolean Saved = false;
}
make sure you put this class in the namespace available for both forms.
Now in your frmMain form set the value CCurrent.Saved and get access to it in your start form.
source
share