Exemplo n.º 1
0
        private void BarButtonRouteForm_ItemClick(object sender, ItemClickEventArgs e)
        {
            RouteForm xform1 = new RouteForm(_FlexSys)
            {
                MdiParent = this
            };

            xform1.Show();
        }
Exemplo n.º 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;
     }
 }
Exemplo n.º 3
0
        public override void Run()
        {
            var form = new RouteForm();

            WorkbenchSingleton.AddChild(form);
        }