예제 #1
0
        public void Load(CanvasControl canvas)
        {
            _loader.Load(canvas);
            if (_loader.Loaded)
            {
                // Set the saver's file path so that subsequent saves will save to the file that was just loaded.
                _saver.SetActiveFilePath(_loader.LoadedFilePath);

                // Since we have loaded a file, we know that the current drawing now has a file.
                _currentDrawingHasFile = true;
            }
        }