コード例 #1
0
 public void refreshInformationPanel()
 {
     if (selectedPlane is Plane)
     {
         handleAppWindow.getLabelInformacje().Text = ((Plane)selectedPlane).getInformation();
     }
     else
     {
         handleAppWindow.getLabelInformacje().Text = "Wybierz samolot";
     }
 }