public void SetDesignerBackButton() { if (frmBuilderMenu == null) { frmBuilderMenu = new FrmDesignerMenu(); frmBuilderMenu.MdiParent = this; frmBuilderMenu.SetParentForm(this); //SetFormProperties(frmBuilderMenu); } previousForm = frmBuilderMenu; }
public void OpenBuilderMenu() { if (frmBuilderMenu == null) { frmBuilderMenu = new FrmDesignerMenu(); frmBuilderMenu.MdiParent = this; frmBuilderMenu.SetParentForm(this); OpenMap(frmBuilderMenu); } else { frmBuilderMenu.Show(); frmBuilderMenu.BringToFront(); } }