public ImageAnalysisHandler(WsiComposite wsiComposite)
     : base(wsiComposite)
 {
     wtbThreshold = wsiComposite.Tile.ToolBar.CreateToolButton();
       wtbThreshold.Image = SharpAccessoryIconSet.LoadIcon(SharpAccessoryIcon.Objects_Filled);
       wtbThreshold.ToolTipText = "Perform Image Analysis";
       wtbThreshold.Click += delegate { PerformImageAnalysis(); };
 }
 public BTHandler(WsiComposite wsiComposite)
     : base(wsiComposite)
 {
     input = new ConcurrentQueue<BTContent>();
       ImageBoxNavigator nav = WsiComposite.Tile.WsiBox.WsiNavigation;
       nav.Changed += OnWsiNavigationChanged;
       barrierdScale = nav.Zoom;
       //startInputProcessor();
 }
        public WsiDockSample(WsiComposite composite)
        {
            this.composite = composite;

              tv = new TreeView();
              tv.Parent = composite.Tile.DockAreas.Left;
              tv.BackColor = Color.LightGray;
              tv.Dock = DockStyle.Left;
              tv.Visible = true;
              tv.Width = 150;
              tv.Nodes.Add("Node 1");
              tv.Nodes.Add("Node 2");

              wtbDock = composite.Tile.ToolBar.CreateToolButton();
              wtbDock.Image = TangoIconSet.LoadIcon(TangoIcon.Window_New);
              wtbDock.ToolTipText = "Show dock";
              wtbDock.Click += delegate { ToggleDock(); };
        }