BioCore  4.0.1
A .NET library & program for annotating, editing various microscopy imaging formats using Bioformats supported images. Including whole slide, pyramidal, and series.
All Classes Namespaces Functions Enumerations Properties
BioCore.TabsView Class Reference
Inheritance diagram for BioCore.TabsView:

Public Member Functions

 TabsView (BioImage arg)
 
 TabsView (string[] arg)
 
void AddTab (BioImage b)
 
void ResizeView ()
 
void OpenInNewProcess (string file)
 
void UpdateViewMode (ImageView.ViewMode v)
 

Public Attributes

Filter filters = null
 

Static Public Attributes

static bool init = false
 
static System.Drawing.Graphics graphics = null
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Properties

ImageView Viewer [get]
 
static BioImage SelectedImage [get]
 
static ImageView SelectedViewer [get]
 
BioImage Image [get, set]
 
ImageView ImageView [get]
 
int TabCount [get]
 

Detailed Description

Definition at line 5 of file TabsView.cs.

Constructor & Destructor Documentation

◆ TabsView() [1/3]

BioCore.TabsView.TabsView ( BioImage  arg)

Definition at line 40 of file TabsView.cs.

◆ TabsView() [2/3]

BioCore.TabsView.TabsView ( )

Definition at line 48 of file TabsView.cs.

◆ TabsView() [3/3]

BioCore.TabsView.TabsView ( string[]  arg)

Definition at line 57 of file TabsView.cs.

Member Function Documentation

◆ AddTab()

void BioCore.TabsView.AddTab ( BioImage  b)

It creates a new tab, adds an image to it, and then resizes the window to fit the image

Parameters
BioImageThis is a class that contains the image data, and some other information about the image.
Returns
A TabPage object.

Definition at line 91 of file TabsView.cs.

◆ Dispose()

override void BioCore.TabsView.Dispose ( bool  disposing)
protected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.

Definition at line 15 of file TabsView.designer.cs.

◆ OpenInNewProcess()

void BioCore.TabsView.OpenInNewProcess ( string  file)

It creates a new process, sets the file name to the current executable, and sets the arguments to the file name

Parameters
fileThe file to open

Definition at line 239 of file TabsView.cs.

◆ ResizeView()

void BioCore.TabsView.ResizeView ( )

If the image is pyramidal, add 42 to the width and 206 to the height. Otherwise, add 20 to the width and 180 to the height

Returns
The size of the image.

Definition at line 179 of file TabsView.cs.

◆ UpdateViewMode()

void BioCore.TabsView.UpdateViewMode ( ImageView.ViewMode  v)

This function is called when the user clicks on the menu item to change the view mode. It updates the menu item to reflect the current view mode.

Parameters
vThe view mode to be updated

Definition at line 510 of file TabsView.cs.

Member Data Documentation

◆ filters

Filter BioCore.TabsView.filters = null

Definition at line 8 of file TabsView.cs.

◆ graphics

System.Drawing.Graphics BioCore.TabsView.graphics = null
static

Definition at line 9 of file TabsView.cs.

◆ init

bool BioCore.TabsView.init = false
static

Definition at line 7 of file TabsView.cs.

Property Documentation

◆ Image

BioImage BioCore.TabsView.Image
getset

Definition at line 201 of file TabsView.cs.

◆ ImageView

ImageView BioCore.TabsView.ImageView
get

Definition at line 218 of file TabsView.cs.

◆ SelectedImage

BioImage BioCore.TabsView.SelectedImage
staticget

Definition at line 24 of file TabsView.cs.

◆ SelectedViewer

ImageView BioCore.TabsView.SelectedViewer
staticget

Definition at line 32 of file TabsView.cs.

◆ TabCount

int BioCore.TabsView.TabCount
get

Definition at line 227 of file TabsView.cs.

◆ Viewer

ImageView BioCore.TabsView.Viewer
get

Definition at line 10 of file TabsView.cs.


The documentation for this class was generated from the following files: