Example #1
0
 public static GestionAutobus GetInstance()
 {
     if (_instance == null)
     {
         _instance = new GestionAutobus();
     }
     return(_instance);
 }
        private void btnAutobus_Click(object sender, RoutedEventArgs e)
        {
            GestionAutobus gestionAutobus = GestionAutobus.GetInstance();

            OpenInPanel(gestionAutobus);
        }
 private void refresh()
 {
     _ucGestionAutobus = GestionAutobus.GetInstance();
     _ucGestionAutobus.LoadAutobuses();
     this.Close();
 }