Exemplo n.º 1
0
		public WizardStepDictionary Synchronized()
		{
			WizardStepDictionary sync = new WizardStepDictionary();
			sync.innerHash = Hashtable.Synchronized(innerHash);

			return sync;
		}
Exemplo n.º 2
0
		public WizardStepDictionary Clone()
		{
			WizardStepDictionary clone = new WizardStepDictionary();
			clone.innerHash = (Hashtable) innerHash.Clone();
			
			return clone;
		}
Exemplo n.º 3
0
        public BaseWizard()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            // Set initial values
            steps        = new WizardStepDictionary();
            Logo         = BaseWizard.DefaultLogo;
            SideBarLogo  = BaseWizard.DefaultSideBarLogo;
            SideBarImage = BaseWizard.DefaultSideBarImage;
        }
Exemplo n.º 4
0
        public void CopyTo(WizardStepDictionary wsc, int index)
        {
            IEnumerator keys   = Keys.GetEnumerator();
            IEnumerator values = Values.GetEnumerator();

            int count = Count;

            for (int i = 0; i < index; i++)
            {
                keys.MoveNext();
                values.MoveNext();
            }

            for (int i = index; i < count; i++)
            {
                keys.MoveNext();
                values.MoveNext();

                wsc.Add(keys.Current as string, values.Current as BaseStep);
            }
        }
Exemplo n.º 5
0
 internal WizardStepDictionaryEnumerator(WizardStepDictionary enumerable)
 {
     innerEnumerator = enumerable.innerHash.GetEnumerator();
 }
Exemplo n.º 6
0
 public WizardStepDictionary(WizardStepDictionary original)
 {
     innerHash = new Hashtable(original.innerHash);
 }