X-Git-Url: http://git.euphorik.ch/?p=master-thesis.git;a=blobdiff_plain;f=Parasitemia%2FParasitemiaUI%2FTypes.fs;fp=Parasitemia%2FParasitemiaUI%2FTypes.fs;h=a98d7b0270d29d0c396ec4731d697a330481b0af;hp=1da2dea3e13ef8341b9a5c518f4c737d2059eb55;hb=8cf2153bd18919de41745534d3dbf134f085e13c;hpb=6250f10c807301a760b8659f9c00ca6dbbd4c7b7 diff --git a/Parasitemia/ParasitemiaUI/Types.fs b/Parasitemia/ParasitemiaUI/Types.fs index 1da2dea..a98d7b0 100644 --- a/Parasitemia/ParasitemiaUI/Types.fs +++ b/Parasitemia/ParasitemiaUI/Types.fs @@ -26,9 +26,8 @@ type PredefinedPPI = ppi : int label : string } - with - override this.ToString () = - sprintf "%s: %d" this.label this.ppi + override this.ToString () = + sprintf "%s: %d" this.label this.ppi type SensorSize = { @@ -36,9 +35,8 @@ type SensorSize = h : float label : string } - with - override this.ToString () = - sprintf "%g mm × %g mm%s" this.w this.h (if this.label = "" then "" else " (" + this.label + ")") + override this.ToString () = + sprintf "%g mm × %g mm%s" this.w this.h (if this.label = "" then "" else " (" + this.label + ")") let defaultPredefinedPPI = [