示例#1
0
 public static void RemoveTool(ViewerTool tool)
 {
     if (_overlayTools.Remove(tool))
     {
         tool.ExitToolHandler();
     }
 }
示例#2
0
 public static void AddTool(ViewerTool tool)
 {
     tool.EnterToolHandler();
     _overlayTools.Add(tool);
 }