void mGestionEventView_Closed(object sender, EventArgs e) { mGestionEventView = null; }
private void gestion_Click(object sender, RoutedEventArgs e) { if (mGestionEventView == null) { mGestionEventView = new GestionEvenementView(); mGestionEventView.Closed += new EventHandler(mGestionEventView_Closed); } mGestionEventView.Hide(); mGestionEventView.Show(); }