Exemplo n.º 1
0
 public MainPage()
 {
     InitializeComponent();
     this.customCommandDescriptors  = new CustomCommandDescriptors(this.viewer);
     this.viewer.CommandDescriptors = this.customCommandDescriptors;
 }
Exemplo n.º 2
0
 public MainWindow()
 {
     InitializeComponent();
     this.customCommandDescriptors = new CustomCommandDescriptors(this.viewer);
     this.viewer.CommandDescriptors = this.customCommandDescriptors;
 }