Beispiel #1
0
        private void btnAddroute_Click(object sender, EventArgs e)
        {
            ShowRouteForm srf = new ShowRouteForm(new Route((string)null), this);

            Hide();
            srf.ShowDialog();
        }
Beispiel #2
0
 private void btnEditroutes_Click(object sender, EventArgs e)
 {
     if (lbRoutes.SelectedItem != null)
     {
         ShowRouteForm srf = new ShowRouteForm((Route)lbRoutes.SelectedItem, this);
         Hide();
         srf.ShowDialog();
     }
 }