Beispiel #1
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();
        }
Beispiel #2
0
 public void ReInitSquarePosition()
 {
     _square = CanvasUtil.GetPrimeSquare(this.Parent.Width, this.Parent.Height);
     Invalidate();
 }