public HomePage() { this.InitializeComponent(); instance = this; MyFeedbackListView.ItemsSource = feedbacks; CommentFrame.Navigate(typeof(CommentPage), new Feedback()); commentPage = CommentFrame.Content as CommentPage; commentPage.BackButton.Click += BackButton_Click; }
public ChannelFeedbackPage() { this.InitializeComponent(); FBFormControl.SendBtn.Click += SendBtn_Click; FBFormControl.BackBtn.Click += BackBtn_Click; FBFormControl.AddImageBtn.Click += AddImageBtn_Click; FBFormControl.ShowPanel.Completed += ShowPanel_Completed; CommentFrame.Navigate(typeof(CommentPage), new Feedback()); commentPage = CommentFrame.Content as CommentPage; commentPage.BackButton.Click += BackButton_Click; SendFeedbackForm.Completed += SendFeedbackForm_Completed; ShowFeedbackForm.Completed += ShowFeedbackForm_Completed; HideFeedbackForm.Completed += HideFeedbackForm_Completed; }