public override bool Action(string action) { bool result = base.Action(action); if (result) { if (action == ACTION_START) { using (GoogleDirectionsForm dlg = new GoogleDirectionsForm(this, Core)) { dlg.ShowDialog(); } } } return result; }
public override bool Action(string action) { bool result = base.Action(action); if (result) { if (action == ACTION_START) { using (GoogleDirectionsForm dlg = new GoogleDirectionsForm(this, Core)) { dlg.ShowDialog(); } } } return(result); }