public override void OnMainMenuItemClick() { base.OnMainMenuItemClick(); if (Map.Instance != null) { AddonForm form = new AddonForm(); form.ShowDialog(Application.OpenForms[0]); } }
public override void OnMainMenuItemClick() { base.OnMainMenuItemClick(); if( Map.Instance != null ) { AddonForm form = new AddonForm(); form.ShowDialog( Application.OpenForms[ 0 ] ); } }