Exemplo n.º 1
0
        private void New_Clicked(object sender, RoutedEventArgs e)
        {
            e.Handled = true;

            UserChartEntity userChart = ChartRequest.ToUserChart();

            userChart = Navigator.View(userChart, new ViewOptions
            {
                AllowErrors = AllowErrors.No,
                View        = new UserChart {
                    QueryDescription = Description
                }
            });

            Initialize();
            if (userChart != null)
            {
                CurrentUserChart = userChart;
            }
        }
Exemplo n.º 2
0
 public UserChartEntity FromQueryRequest(ChartRequest request)
 {
     return(request.ToUserChart());
 }