예제 #1
0
 protected virtual void OnLinkCreated(EventArgs e)
 {
     if (LinkCreated != null)
     {
         LinkCreated.Invoke(_richTextBox, e);
     }
 }
예제 #2
0
 public void Connect(InputPort pIn, OutputPort pOut)
 {
     if (pIn.Connection != null)
     {
         Disconnect(pIn);
     }
     pIn.Connection = pOut;
     pOut.AddConnection(pIn);
     LinkCreated?.Invoke(this, new LinkEventArgs(pIn, pOut));
 }
 protected virtual void OnLinkCreated(object sender, LinkCreatedEventArgs args)
 {
     LinkCreated?.Invoke(this, new LinkCreatedEventArgs(args.Link));
 }
 protected virtual void OnLinkCreated(AmqpLink o)
 {
     LinkCreated?.Invoke(o, new LinkCreatedEventArgs(o));
 }
예제 #5
0
 private void _screen_LinkCreated(object sender, LinkEventArgs e)
 {
     LinkCreated?.Invoke(this, e);
 }