private void GoMainMenu_Click_Posture(object sender, RoutedEventArgs e) { focusedPosture = postureReport.answerQuestion.Text; MainCanvas.Children.Remove(postureReport); postureReport = null; doTimelineReflection(); }
void doPostureReflection() { postureReport = new PostureReport(); MainCanvas.Children.Add(postureReport); Canvas.SetLeft(postureReport, 20); Canvas.SetTop(postureReport, 20); postureReport.GoMainMenu.Click += GoMainMenu_Click_Posture; }