public void DeleteMode(bool onDelete) { if (onDelete) { _deleteTool.SetWaiting(); } else { _deleteTool.StopWorking(); } }
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(); }