Ejemplo n.º 1
0
 public SelectionAdorner(Canvas panel,
                         Point?dragStartPoint,
                         ISelectionPanel designerPanel,
                         ISelectionItem selectionItem) : base(panel)
 {
     _selectionItem  = selectionItem;
     _designerCanvas = panel;
     _designerPanel  = designerPanel;
     _startPoint     = dragStartPoint;
 }
Ejemplo n.º 2
0
 public ExportComponentsView()
 {
     InitializeComponent();
     this.imageList1.Images.Add("class", Properties.Resources.Class);
     this.imageList1.Images.Add("module", Properties.Resources.Module);
     this.imageList1.Images.Add("form", Properties.Resources.Form);
     this.imageList1.Images.Add("document", Properties.Resources.document);
     tw.ImageList             = this.imageList1;
     _panel                   = this.selectionPanel1;
     _panel.SelectionChanged += new EventHandler <Events.SelectionEventArgs>(selectionPanel1_SelectionChanged);
 }