let mainWindow = Views.MainWindow()
let ctrl (name: string): 'a = mainWindow.Root.FindName(name) :?> 'a
- let state = State.State()
+ let state = State.State(defaultConfig)
let mutable currentScale = 1.
let mutable displayHealthy = false
let warningBelowNumberOfRBC = 1000
then
txtGlobalParasitemia.Inlines.Add(
Documents.Run(
- sprintf " Warning: the number of erytrocytes should be above %d" warningBelowNumberOfRBC,
+ sprintf " Warning: the number of erythrocytes should be above %d" warningBelowNumberOfRBC,
FontWeight = FontWeights.Bold,
Foreground = Brushes.Red))