Ejemplo n.º 1
0
 public void Attach(SlideView view)
 {
     this.Detach();
     myView = view;
     if (myView != null)
     {
         myView.DataChanged += new EventHandler(this.HandleNewData);
         ViewData            = myView.Data;
         Substrate           = myView.LayerPanel;
     }
 }
Ejemplo n.º 2
0
        public void Detach()
        {
            SlideView view = myView;

            myView = null;
            if (view != null)
            {
                if (view.HasLayer(this))
                {
                    view.RemoveLayer(this);
                }
                view.DataChanged -= new EventHandler(this.HandleNewData);
                ViewData          = null;
                Substrate         = null;
            }
        }
Ejemplo n.º 3
0
 public ImageLayer(SlideView view) : base(view)
 {
 }
Ejemplo n.º 4
0
 public DynamicElementsLayer(SlideView view) : base(view)
 {
 }
Ejemplo n.º 5
0
 public InkLayer(SlideView view) : base(view)
 {
     Initialize();
 }
Ejemplo n.º 6
0
 public ScrolledSlideViewLayer(SlideView view) : base(view)
 {
 }
Ejemplo n.º 7
0
 /// <param name="view">An initial view to attach this layer to (it takes its
 /// data and substrate from the view)</param>
 public SlideViewLayer(SlideView view)
 {
     this.Attach(view);
 }