3using System.Windows.Forms;
15 public partial class MockDeviceToolbox : UserControl, IToolbox<MockDevice>, IUsableDuringRun<MockDevice>
19 InitializeComponent();
33 checkBox1.DataBindings.Add(
new Binding(
"Checked",
37 DataSourceUpdateMode.OnPropertyChanged));
44 mDev.ShowTheMessage(textBox1.Text);
47 public Icon
NavBarIcon => Properties.Resources.MockNormal;
51 set => lblRunning.Text =
$@"{(value ? "Sequence
" : "No sequence
")} running";
Classes and interfaces that are meant for plugins. The classes and interfaces below this namespace ar...
A fake device. This namespace contains the fake device driver and auxiliary classes for settings,...
A chronos plugin implementation for a fake device. We pretend we are controlling a mixture of coffee ...
bool? SequenceRunning
Informs you if a sequence is running or not, so that you can adjust the GUI accordingly.
void btnShowMessage_Click(object sender, EventArgs e)
MockDevice Device
Gives access to the device. Will be set after the class has been instantiated.
Icon NavBarIcon
Icon that is shown in the tools menu.