Ejemplo n.º 1
0
 public void InsertForm(KioskForm kioskForm, int Index)
 {
     this.FormCollection.ForEach(f =>
     {
         if (f.Key >= Index)
         {
             f.Key += 1;
         }
     });
     this.FormCollection.Insert(Index, new UIElementInfo(kioskForm, this.FormCollection.Count));
 }
Ejemplo n.º 2
0
 public void AddForm(KioskForm kioskForm)
 {
     this.FormCollection.Add(new UIElementInfo(kioskForm, this.FormCollection.Count));
 }
Ejemplo n.º 3
0
 public UIElementInfo(KioskForm form, int index)
 {
     this.kioskForm = form;
     this.Key       = index;
 }