Remove cruft
This commit is contained in:
Родитель
c008ce6347
Коммит
04f0e0708d
|
@ -8,14 +8,11 @@ type Container = Xamarin.UIProvider
|
|||
[<Register(Container.ViewControllerBase.CustomClass)>]
|
||||
type myViewController(handle) =
|
||||
inherit Container.ViewControllerBase(handle)
|
||||
|
||||
let onButton button =
|
||||
printfn "Button pressed"
|
||||
|
||||
|
||||
override x.ViewDidLoad () =
|
||||
base.ViewDidLoad ()
|
||||
// Do any additional setup after loading the view.
|
||||
x.OnButton <- Some(fun _ -> x.View.Window.BackgroundColor <- AppKit.NSColor.Red)
|
||||
x.OnButton <- Some(fun _ -> x.View.Window.BackgroundColor <- NSColor.Red)
|
||||
|
||||
override x.RepresentedObject
|
||||
// Update the view, if already loaded.
|
||||
|
|
Загрузка…
Ссылка в новой задаче