Example #1
0
        public override void Create()
        {
            NoteItem itm = new NoteItem();

            itm.NoteName = "占位dxf";
            itm.NoteData = new ObservableCollection <string>();
            this.Add(itm);
        }
Example #2
0
        public IParameterItem Clone()
        {
            NoteItem clone = new NoteItem();

            clone.NoteName = this.NoteName;
            clone.NoteData = this.NoteData;

            return(clone);
        }
Example #3
0
        public void Copy(IParameterItem other)
        {
            NoteItem ot = other as NoteItem;

            if (ot == null)
            {
                return;
            }
            else
            {
                this.NoteName = ot.NoteName;
                this.NoteData = ot.NoteData;
            }
        }