コード例 #1
0
ファイル: LayoutEditor.cs プロジェクト: RyanWangTHU/ccv2
 private void nodeGraphPanel_onSelectionCleared(object sender, NodeGraphPanelSelectionEventArgs args)
 {
     this.propertyGrid1.SelectedObject = this.nodeGraphPanel;
 }
コード例 #2
0
ファイル: LayoutEditor.cs プロジェクト: RyanWangTHU/ccv2
 private void nodeGraphPanel_onSelectionChanged(object sender, NodeGraphPanelSelectionEventArgs args)
 {
     if (args.NewSelectionCount == 1)
     {
         this.propertyGrid1.SelectedObject = this.nodeGraphPanel.View.SelectedItems[0];
     }
 }