window.Root.Left <- parent.Left + parent.ActualWidth / 2. - window.Root.Width / 2.
window.Root.Top <- parent.Top + parent.ActualHeight / 2. - window.Root.Height / 2.
- let ctrl (name: string): 'a =
- window.Root.FindName(name) :?> 'a
+ let ctrl (name: string): 'a = window.Root.FindName(name) :?> 'a
let butClose: Button = ctrl "butClose"
let butStart: Button = ctrl "butStart"