Beispiel #1
0
        protected virtual void OnMLineStyleElementRemovedEvent(MLineStyleElement item)
        {
            MLineStyleElementRemovedEventHandler ae = this.MLineStyleElementRemoved;

            if (ae != null)
            {
                ae(this, new MLineStyleElementChangeEventArgs(item));
            }
        }
Beispiel #2
0
 private void MLineStyleElement_LinetypeChanged(MLineStyleElement sender, TableObjectChangedEventArgs <Linetype> e)
 {
     e.NewValue = this.OnMLineStyleElementLinetypeChangedEvent(e.OldValue, e.NewValue);
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of <c>MLineStyleElementChangeEventArgs</c>.
 /// </summary>
 /// <param name="item">The item that is being added or removed from the MLineStyle elements list.</param>
 public MLineStyleElementChangeEventArgs(MLineStyleElement item)
 {
     this.item = item;
 }