public DesignSurface()
 {
     MouseLeftButtonDown += OnMouseLeftButtonDown;
     SelectionChanged += OnSelectionChanged;
     DesignAidsProvider = new DesignAidsProvider(this);
     SelectionHandler = new SelectionHandler(this);
     CommandHandler = new DesignSurfaceCommandHandler(this, this);
 }
Exemple #2
0
 public DesignSurface()
 {
     this.SelectionMode   = SelectionMode.Multiple;
     MouseLeftButtonDown += OnMouseLeftButtonDown;
     SelectionChanged    += OnSelectionChanged;
     DesignAidsProvider   = new DesignAidsProvider(this);
     SelectionHandler     = new SelectionHandler(this);
     CommandHandler       = new DesignSurfaceCommandHandler(this, this);
 }