示例#1
0
 public DragContainer()
 {
     InitializeComponent();
     this.DragItem = new List<DragItem>();
     this.ControlCommand = new CustromControlPropertyDTO();
     this.AddResizeControls();
 }
示例#2
0
 public void setCurentSelectDragItemProprty(CustromControlPropertyDTO prorpty)
 {
     DragItem dragItem = this.DragItem.Find(a => a.IsSelect == true && a.ControlCommand.ControlState != ObjectState.Delete);
     if (dragItem != null)
     {
         dragItem.ControlCommand = prorpty;
     }
 }