beremiz

Fix exception when canvas becomes null because of window resize, and avoid useless parameter+condition in GetLogicalDC
#State Text Reference;;;;;;;
#Reference Number;Text 1;Text 2;Text 3;Text 4;Text 5;...;Text n