BioCore  5.0.0
A Windows .NET microscopy library and application for viewing, editing, and annotating images.
Loading...
Searching...
No Matches
PlaySpeed.cs
Go to the documentation of this file.
1namespace BioCore
2{
3 public partial class PlaySpeed : Form
4 {
5 /* A constructor. */
6 public PlaySpeed(bool timeEnabled, bool cEnabled, int zFps, int timeFps, int cFps)
7 {
8 InitializeComponent();
9 if (!timeEnabled)
10 {
11 tPlayspeed.Enabled = false;
12 }
13 if (!cEnabled)
14 {
15 cPlayspeed.Enabled = false;
16 }
17 }
18
19 public int TimePlayspeed
20 {
21 get
22 {
23 return (int)tPlayspeed.Value;
24 }
25 }
26
27 public int ZPlayspeed
28 {
29 get
30 {
31 return (int)zPlayspeed.Value;
32 }
33 }
34
35 public int CPlayspeed
36 {
37 get
38 {
39 return (int)cPlayspeed.Value;
40 }
41 }
42
47 private void PlaySpeed_FormClosing(object sender, FormClosingEventArgs e)
48 {
49 DialogResult = DialogResult.OK;
50 }
51 }
52}
PlaySpeed(bool timeEnabled, bool cEnabled, int zFps, int timeFps, int cFps)
Definition PlaySpeed.cs:6