示例#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();
            }
        }
示例#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();
        }