示例#1
0
        public void SetEditionMode(EditionMode nm)
        {
            if (nm == mode)
            {
                return;
            }

            mode = nm;
            if (mode != null)
            {
                mode.Refresh();
            }

            DrawingArea.Invalidate();
        }
示例#2
0
        public void SetEditionMode(EditionMode nm)
        {
            if (nm == mode)
                return;

            mode = nm;
            if(mode != null)
                mode.Refresh();

            DrawingArea.Invalidate();
        }