protected override void OnLoad(EventArgs e) { base.OnLoad(e); this.CreateTabContainer("HeatMapViewer"); this.TabContainer.Enabled = true; this.heatMapDisplay = new HeatMapDisplay { Parent = this.TabContainer, Dock = DockStyle.Fill, SelectorIsVisible = true }; }
protected override void OnLoad(EventArgs e) { base.OnLoad(e); this.CreateTabContainer("Slide Data"); this.TabContainer.Enabled = true; this.heatMapDisplay = new HeatMapDisplay { Parent = this.TabContainer, Dock = DockStyle.Fill, SelectorIsVisible = true }; new Button { Text = "get layers", Parent = this.TabContainer, Dock = DockStyle.Top }.Click += delegate { this.setLayers(); }; new Button { Text = "get annotations", Parent = this.TabContainer, Dock = DockStyle.Top }.Click += delegate { this.setAnnotationLayer(); }; new Button { Text = "get heat maps", Parent = this.TabContainer, Dock = DockStyle.Top }.Click += delegate { this.setHeatMapLayers(); }; new Button { Text = "get all", Parent = this.TabContainer, Dock = DockStyle.Top }.Click += delegate { this.setAllLayers(); }; }