def on_number_change(self, sender, event): self.interface.value = Convert.ToString(sender.Value) if self.interface.on_change: self.interface.on_change(self.interface)
def winforms_number_change(self, sender, event): if self.container: self.interface.value = Convert.ToString(sender.Value) if self.interface.on_change: self.interface.on_change(self.interface)