예제 #1
0
        private void BarButtonRouteForm_ItemClick(object sender, ItemClickEventArgs e)
        {
            RouteForm xform1 = new RouteForm(_FlexSys)
            {
                MdiParent = this
            };

            xform1.Show();
        }
예제 #2
0
 private void toolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (IsRouteSearch)
     {
         if (routeForm != null)
         {
             routeForm.Hide();
         }
         IsRouteSearch = false;
     }
     else
     {
         routeForm = new RouteForm(axMapControl1);
         routeForm.Show();
         IsRouteSearch = true;
     }
 }