예제 #1
0
 public MainPage()
 {
     InitializeComponent();
     this.customCommandDescriptors  = new CustomCommandDescriptors(this.viewer);
     this.viewer.CommandDescriptors = this.customCommandDescriptors;
 }
예제 #2
0
 public MainWindow()
 {
     InitializeComponent();
     this.customCommandDescriptors = new CustomCommandDescriptors(this.viewer);
     this.viewer.CommandDescriptors = this.customCommandDescriptors;
 }