示例#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();
 }