Exemplo n.º 1
0
		public override void Exit()
		{
			CheckDisposed();

			m_settings = null;
			m_importWizard = null;
			m_styleSheet = null;

			base.Exit();
		}
Exemplo n.º 2
0
		public override void Initialize()
		{
			CheckDisposed();
			base.Initialize();
			m_importWizard = new ImportWizardWrapper(m_scr, m_styleSheet, Cache);
			MethodInfo createHandle = m_importWizard.ScrMappings.GetType().GetMethod("CreateHandle",
				BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);
			createHandle.Invoke(m_importWizard.ScrMappings, null);
			m_settings = (ScrImportSet)ReflectionHelper.GetField(m_importWizard, "m_settings");
		}