BioCore  5.0.0
A Windows .NET microscopy library and application for viewing, editing, and annotating images.
Loading...
Searching...
No Matches
Resolutions.cs
Go to the documentation of this file.
1namespace BioCore
2{
3 public partial class Resolutions : Form
4 {
5 private int res;
6 public int Resolution
7 {
8 get { return res; }
9 }
10
11 /* Adding the items in the list to the combobox. */
12 public Resolutions(List<Resolution> res)
13 {
14 InitializeComponent();
15 foreach (var item in res)
16 {
17 resBox.Items.Add(item);
18 }
19 }
20
26 private void resBox_SelectedIndexChanged(object sender, EventArgs e)
27 {
28 res = resBox.SelectedIndex;
29 }
30
35 private void okBut_Click(object sender, EventArgs e)
36 {
37 this.Close();
38 }
39 }
40}
Resolutions(List< Resolution > res)