Beispiel #1
0
 void PanelButtonClick(object s, string screen)
 {
     if (screen.EndsWith(".pdf"))
     {
         var view = new ViewPlan(screen);
         view.Show(this);
         return;
     }
     screensStack.Push(currentScreen);
     currentScreen = screen;
     panel.LoadButtons(screen, PanelButtonClick);
 }