Example #1
0
 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;
 }
Example #2
0
        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);
        }