Пример #1
0
        public PerfScope(IVisio.Application vis, PerfSettings new_settings)
        {
            this.app = vis;

            // save the old settings
            this.old_settings = new PerfSettings();
            this.old_settings.Load(this.app);

            // Set the new settings
            new_settings.Apply(this.app);
        }
Пример #2
0
        public PerfScope(IVisio.Application vis, PerfSettings new_settings)
        {
            this._app = vis;

            // save the old settings
            this._old_settings = new PerfSettings();
            this._old_settings.Load(this._app);

            // Set the new settings
            new_settings.Apply(this._app);
        }