예제 #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;
 }
예제 #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);
        }