Пример #1
0
 public void DeleteMode(bool onDelete)
 {
     if (onDelete)
     {
         _deleteTool.SetWaiting();
     }
     else
     {
         _deleteTool.StopWorking();
     }
 }
Пример #2
0
        public void Init()
        {
            this.DoubleBuffered = true;
            CommonEventHandler();
            _square        = CanvasUtil.GetPrimeSquare(this.Parent.Width, this.Parent.Height);
            _dSquare       = _square;
            this.BackColor = Color.White;
            InitRightClickMenu();
            InitPanTool();

            _deleteTool = new DeleteTool();
            _deleteTool.StopWorking();
        }