예제 #1
0
 private void PasteClickEventHandler(object sender, System.EventArgs args)
 {
     if (ClipBoardAttributes != null)
     {
         ClipBoardAttributes.CopyTo(offsetListBox.SelectedItem as ItemAttributes);
         itemAttributeEditor.ItemAttributes = null;
         itemAttributeEditor.ItemAttributes = offsetListBox.SelectedItem as ItemAttributes;
         itemAttributeEditor.UpdateView();
         itemAttributeEditor_DataChanged(itemAttributeEditor, System.EventArgs.Empty);
         itemAttributeEditor.PerformLayout();
     }
 }