Ejemplo n.º 1
0
        private void LoadRoutes()
        {
            try
            {
                if (string.IsNullOrWhiteSpace(RW.RWPath))
                {
                    return;
                }

                RW.InitRoutes();

                RoutesList.ItemsSource = RW.Routes.OrderBy(x => x.Name);
            }
            catch
            {
                Trace.Assert(false, "Loading routes failed!");
            }
        }
Ejemplo n.º 2
0
        private void LoadRoutes()
        {
            try
            {
                if (string.IsNullOrWhiteSpace(RW.RWPath))
                {
                    return;
                }

                RW.InitRoutes();

                RoutesList.ItemsSource = RW.Routes.OrderBy(x => x.Name);
            }
            catch (Exception e)
            {
                Trace.Assert(false, Localization.Strings.RoutesLoadFail, e.ToString());
            }
        }