void Widget_Disconnect(object sender, ConnectEventArgs args)
 {
     Logging.LogMessage ("Disconnecting", LogLevel.Debug);
     _connectionManager.Disconnect (args.Outlets, args.Inlets);
 }
Exemplo n.º 2
0
 void OnInTreeConnect(object sender, ConnectEventArgs e)
 {
     IEnumerable<IConnectable> realOutlet = e.Inlets;
     e.Inlets = e.Outlets;
     e.Outlets = realOutlet;
     ConnectFromDragAndDrop (e);
 }
Exemplo n.º 3
0
 void OnOutTreeConnect(object sender, ConnectEventArgs e)
 {
     ConnectFromDragAndDrop (e);
 }
Exemplo n.º 4
0
 void ConnectFromDragAndDrop(ConnectEventArgs e)
 {
     if (Connect != null) {
         Connect (this, new ConnectEventArgs {
                 Outlets = e.Outlets,
                 Inlets = e.Inlets
                 });
     }
 }