BioImager  4.9.0
A .NET microscopy imaging application based on Bio library. Supports various microscopes by using imported libraries & GUI automation. Supports XInput game controllers to move stage, take images, run ImageJ macros on images or Bio C# scripts.
Loading...
Searching...
No Matches
ImageWindow.cs
1using System;
2using System.Collections.Generic;
3using System.ComponentModel;
4using System.Data;
5using System.Drawing;
6using System.Linq;
7using System.Text;
8using System.Threading.Tasks;
9using System.Windows.Forms;
10using BioLib;
11namespace BioImager
12{
13 public partial class ImageWindow : Form
14 {
15 /* Creating a new window with the image. */
16 public ImageWindow(BioImage im)
17 {
18 InitializeComponent();
19 ImageView iv = new ImageView(im);
20 iv.Dock = DockStyle.Fill;
21 this.Controls.Add(iv);
22 this.Text = System.IO.Path.GetFileName(im.ID);
23 this.Size = new Size(im.SizeX, im.SizeY);
24 this.Show();
25 }
26 }
27}