示例#1
0
        void GoReport_Click(object sender, RoutedEventArgs e)
        {
            MainCanvas.Children.Remove(reportControl);
            reportControl = null;

            doSelectionFutureReflection();
        }
示例#2
0
        void doTimelineReflection()
        {
            reportControl = new ReportControl();
            MainCanvas.Children.Add(reportControl);
            reportControl.doInit();
            Canvas.SetLeft(reportControl, 20);
            Canvas.SetTop(reportControl, 20);

            reportControl.GoMainMenu.Click += GoReport_Click;
        }