コード例 #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;
 }