BioImager  3.9.1
A .NET microscopy imaging library. Supports various microscopes by using imported libraries & GUI automation. Supported libraries include PriorĀ® & ZeissĀ® & all devices supported by Micromanager 2.0 and python-microscope.
Loading...
Searching...
No Matches
BioImager.StackTools Class Reference
Inheritance diagram for BioImager.StackTools:

Public Member Functions

void UpdateStacks ()
 

Protected Member Functions

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

Properties

BioImage ImageA [get]
 
BioImage ImageB [get]
 

Detailed Description

Definition at line 13 of file StackTools.cs.

Constructor & Destructor Documentation

◆ StackTools()

BioImager.StackTools.StackTools ( )

Definition at line 15 of file StackTools.cs.

16 {
17 InitializeComponent();
19 }

Member Function Documentation

◆ Dispose()

override void BioImager.StackTools.Dispose ( bool  disposing)
protected

Clean up any resources being used.

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

Definition at line 14 of file StackTools.Designer.cs.

15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }

◆ UpdateStacks()

void BioImager.StackTools.UpdateStacks ( )

It clears the contents of two combo boxes, then adds all the images in the Images class to the combo boxes

Returns
The method is returning the number of items in the stackABox.Items collection.

Definition at line 25 of file StackTools.cs.

26 {
27 if (stackABox.Items.Count == Images.images.Count)
28 return;
29 stackABox.Items.Clear();
30 stackBBox.Items.Clear();
31 foreach (BioImage b in Images.images)
32 {
33 stackABox.Items.Add(b);
34 stackBBox.Items.Add(b);
35 }
36 }

Property Documentation

◆ ImageA

BioImage BioImager.StackTools.ImageA
get

Definition at line 37 of file StackTools.cs.

38 {
39 get { return (BioImage)stackABox.SelectedItem; }
40 }

◆ ImageB

BioImage BioImager.StackTools.ImageB
get

Definition at line 41 of file StackTools.cs.

42 {
43 get { return (BioImage)stackBBox.SelectedItem; }
44 }

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