public void LoadPatience(bool _fin) { if (p_bar != null) { if (!_fin) { object_bar._UpdateBar(1, "Connexion en cours"); } else { object_bar._UpdateBar(p_bar.Maximum - p_bar.Value, "Connexion en cours"); p_bar = null; } } }