public void Next() { if (Index < Count) Index++; currentWindow = Windows[Index]; Fire(); }
private void controller_WindowChange(PanelBase panel) { panel2.Controls.Clear(); panel.Dock = DockStyle.Fill; panel2.Controls.Add(panel); panel.Work(); }
public void RegistrationPanel(PanelBase pb) { Windows.Add(pb); }
public void Previous() { if (Index > 0) Index--; currentWindow = Windows[Index]; Fire(); }
public void Start() { Index = 0; currentWindow = Windows[0]; Fire(); }