Beispiel #1
0
 public void SizeChanged()
 {
     ActiveItem.ClearCanvas();
     if (_currentData != null)
     {
         ActiveItem.InitCanvas(_currentData);
     }
 }
Beispiel #2
0
        //清除画布
        public void Clear()
        {
            if (_thread != null)
            {
                if (_thread.IsAlive && _thread.ThreadState == ThreadState.Suspended)
                {
                    _thread.Resume();
                }
                _thread.Abort();
            }
            _currentData = null;
            _currentMode = ModeCategory.Stoped;

            InputDataString = "";
            ActiveItem.ClearCanvas();
            SetButtonsEnable();
            IsSortCategoriesEnabled            = true;
            (GetView() as PUWindow).ResizeMode = ResizeMode.CanResize;
        }