BioCore  5.0.0
A Windows .NET microscopy library and application for viewing, editing, and annotating images.
Loading...
Searching...
No Matches
ImageWindow.cs
Go to the documentation of this file.
1namespace BioCore
2{
3 public partial class ImageWindow : Form
4 {
5 /* Creating a new window with the image. */
6 public ImageWindow(BioImage im)
7 {
8 InitializeComponent();
9 ImageView iv = new ImageView(im);
10 iv.Dock = DockStyle.Fill;
11 this.Controls.Add(iv);
12 this.Text = System.IO.Path.GetFileName(im.ID);
13 this.Size = new Size(im.SizeX, im.SizeY);
14 this.Show();
15 }
16 }
17}
System.Drawing.Size Size
ImageView control for image stacks, pyramidal and whole-slide-images.
ImageWindow(BioImage im)
Definition ImageWindow.cs:6