BioImager  5.0.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
PlaySpeed.cs
Go to the documentation of this file.
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;
10
11namespace BioImager
12{
13 public partial class PlaySpeed : Form
14 {
15 public PlaySpeed(bool timeEnabled, bool cEnabled, int zFps, int timeFps, int cFps)
16 {
17 InitializeComponent();
18 if (!timeEnabled)
19 {
20 tPlayspeed.Enabled = false;
21 }
22 if (!cEnabled)
23 {
24 cPlayspeed.Enabled = false;
25 }
26 }
27
28 public int TimePlayspeed
29 {
30 get
31 {
32 return (int)tPlayspeed.Value;
33 }
34 }
35
36 public int ZPlayspeed
37 {
38 get
39 {
40 return (int)zPlayspeed.Value;
41 }
42 }
43
44 public int CPlayspeed
45 {
46 get
47 {
48 return (int)cPlayspeed.Value;
49 }
50 }
51
52 private void PlaySpeed_FormClosing(object sender, FormClosingEventArgs e)
53 {
54 DialogResult = DialogResult.OK;
55 }
56 }
57}
PlaySpeed(bool timeEnabled, bool cEnabled, int zFps, int timeFps, int cFps)
Definition PlaySpeed.cs:15