Пример #1
0
 public int SetLastUserControl(UserControl uc)
 {
     if (PreviousUserControls.Count > 0)
     {
         NextUserControls.Add(UserControl);
         UserControl = PreviousUserControls.Last();
         PreviousUserControls.RemoveAt(PreviousUserControls.Count - 1);
     }
     return(1);
 }