示例#1
0
 public object Convert(BlockEditor editor, object data)
 { 
   throw new NotImplementedException();
 }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.mainWindow = ((SampleCode.BlockEditor)(target));
     
     #line 14 "..\..\BlockEditor.xaml"
     this.mainWindow.Loaded += new System.Windows.RoutedEventHandler(this.LoadedHandler);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 171 "..\..\BlockEditor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.DeleteSelectedNodes_Executed);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 172 "..\..\BlockEditor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CreateNode_Executed);
     
     #line default
     #line hidden
     return;
     case 4:
     this.networkControl = ((NetworkUI.NetworkView)(target));
     return;
     }
     this._contentLoaded = true;
 }