Beispiel #1
0
        private void ShowEditPage()
        {
            AmendmentEditPage amendmentEditPage = new AmendmentEditPage(this.m_AmendmentUI);

            amendmentEditPage.ContentChanged += AmendmentEditPage_ContentChanged;
            this.NavigationService.Navigate(amendmentEditPage);
            this.ContentChanged(this, new EventArgs());
        }
 private void ListViewAmendments_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     if (this.ListViewAmendments.SelectedItem != null)
     {
         AmendmentEditPage amendmentEditPage = new AmendmentEditPage(this.m_AmendmentUI);
         this.NavigationService.Navigate(amendmentEditPage);
     }
 }
 private void ButtonEdit_Click(object sender, RoutedEventArgs e)
 {
     if (this.m_AmendmentUI.SelectedAmendment != null)
     {
         AmendmentEditPage amendmentEditPage = new AmendmentEditPage(this.m_AmendmentUI);
         this.NavigationService.Navigate(amendmentEditPage);
     }
 }
 private void AmendmentPageController_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     if (this.NavigationFrame.Content.GetType() == typeof(AmendmentEditPage))
     {
         AmendmentEditPage amendmentEditPage = (AmendmentEditPage)this.NavigationFrame.Content;
         amendmentEditPage.TextBoxAmendment.GetBindingExpression(TextBox.TextProperty).UpdateSource();
     }
 }
 private void ButtonEdit_Click(object sender, RoutedEventArgs e)
 {
     if (this.m_AmendmentUI.SelectedAmendment != null)
     {
         AmendmentEditPage amendmentEditPage = new AmendmentEditPage(this.m_AmendmentUI);
         this.NavigationService.Navigate(amendmentEditPage);
     }
 }
 private void ListViewAmendments_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     if (this.ListViewAmendments.SelectedItem != null)
     {
         AmendmentEditPage amendmentEditPage = new AmendmentEditPage(this.m_AmendmentUI);
         this.NavigationService.Navigate(amendmentEditPage);
     }
 }