Exemple #1
0
 public int SetNextUserControl(UserControl uc)
 {
     if (NextUserControls.Count > 0)
     {
         PreviousUserControls.Add(UserControl);
         UserControl = NextUserControls.Last();
         NextUserControls.RemoveAt(NextUserControls.Count - 1);
     }
     return(1);
 }
Exemple #2
0
 public int SetUserControl(UserControl uc)
 {
     PreviousUserControls.Add(UserControl);
     UserControl = uc;
     return(1);
 }