public static PaintingManager GetInstance(File file, Page page, Tool currentTool) { return _pm ?? (_pm = new PaintingManager(file, page, currentTool)); }
private PaintingManager(File file, Page page, Tool currentTool) { File = file; Page = page; CurrentTool = currentTool; }