Пример #1
0
 public void Next()
 {
     if (Index < Count)
         Index++;
     currentWindow = Windows[Index];
     Fire();
 }
Пример #2
0
 private void controller_WindowChange(PanelBase panel)
 {
     panel2.Controls.Clear();
     panel.Dock = DockStyle.Fill;
     panel2.Controls.Add(panel);
     panel.Work();
 }
Пример #3
0
 public void RegistrationPanel(PanelBase pb)
 {
     Windows.Add(pb);
 }
Пример #4
0
 public void Previous()
 {
     if (Index > 0)
         Index--;
     currentWindow = Windows[Index];
     Fire();
 }
Пример #5
0
 public void Start()
 {
     Index = 0;
     currentWindow = Windows[0];
     Fire();
 }