Пример #1
0
 public static PaintingManager GetInstance(File file, Page page, Tool currentTool)
 {
     return _pm ?? (_pm = new PaintingManager(file, page, currentTool));
 }
Пример #2
0
 private PaintingManager(File file, Page page, Tool currentTool)
 {
     File = file;
     Page = page;
     CurrentTool = currentTool;
 }