Exemplo n.º 1
0
 protected override void OnAppearing()
 {
     base.OnAppearing();
     options = (MReviewOptions)BindingContext;
     options.CopyProperties(optionsEdit);
     BindingContext = optionsEdit;
 }
Exemplo n.º 2
0
 public ReviewOptionsDlg(Window owner, MReviewOptions options)
 {
     InitializeComponent();
     SourceInitialized += (x, y) => this.HideMinimizeAndMaximizeButtons();
     Owner              = owner;
     this.options       = options;
     options.CopyProperties(optionsEdit);
     DataContext = optionsEdit;
 }