diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-01-31 13:30:15 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-01-31 13:30:15 +0200 |
| commit | 80c023fa734d7788e155d4f311ab16220aa80650 (patch) | |
| tree | dc79c0689e00419c7f447d1b32716df99df8f278 /Software/Visual_Studio/Tango.Integration/Printing/ProcessParametersTable.cs | |
| parent | 2fa92ca3654ebb274482f9bad86231028d357e5a (diff) | |
| download | Tango-80c023fa734d7788e155d4f311ab16220aa80650.tar.gz Tango-80c023fa734d7788e155d4f311ab16220aa80650.zip | |
Job Brush working nicely.
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Printing/ProcessParametersTable.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Integration/Printing/ProcessParametersTable.cs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Printing/ProcessParametersTable.cs b/Software/Visual_Studio/Tango.Integration/Printing/ProcessParametersTable.cs new file mode 100644 index 000000000..1b4dd59cd --- /dev/null +++ b/Software/Visual_Studio/Tango.Integration/Printing/ProcessParametersTable.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.Integration.Observables +{ + public partial class ProcessParametersTable + { + public event EventHandler DyeingSpeedChanged; + + protected override void RaisePropertyChanged(string propName) + { + base.RaisePropertyChanged(propName); + + if (propName == nameof(DyeingSpeed)) + { + OnDyeingSpeedChanged(); + } + } + + protected virtual void OnDyeingSpeedChanged() + { + DyeingSpeedChanged?.Invoke(this, new EventArgs()); + } + } +} |
