Created
August 2, 2018 11:01
-
-
Save giuliohome/d6584961cecfa5ef816ebd4d44de3382 to your computer and use it in GitHub Desktop.
Model with composition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Back2UI() = | |
inherit SimpleViewModelBase() | |
let mutable _msg = "" | |
member this.msg | |
with get() = _msg | |
and set value = | |
_msg <- value | |
this.OnPropertyChanged(<@ this.msg @>) | |
type ActivePassive = Active | Passive | |
type Invoice = { CptyName: string; CptyNum: int; InvoiceNr: string; amount : decimal; curr: string; buysell: ActivePassive; ui: Back2UI} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment