Ejemplo n.º 1
0
        private void openAddEdit(Route route)
        {
            int idRegion;

            int.TryParse(cbRegion.SelectedValue.ToString(), out idRegion);

            Route_AddEdit routeAE = new Route_AddEdit(route, idRegion);

            if (routeAE.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                loadData();
            }
        }
Ejemplo n.º 2
0
        private void openAddEdit(Route route)
        {
            int idRegion;
            int.TryParse(cbRegion.SelectedValue.ToString(), out idRegion);

            Route_AddEdit routeAE = new Route_AddEdit(route, idRegion);
            if (routeAE.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                loadData();
        }