private void button8_Click(object sender, EventArgs e)//Ajouter message { FormulaireMessage formMessage = new FormulaireMessage(connectedPersonneDTO); formMessage.Owner = this; formMessage.ShowDialog(); }
private void button2_Click(object sender, EventArgs e) //Ajouter message { FormulaireMessage formRole = new FormulaireMessage(personneDTO); formRole.Owner = this.Owner; formRole.ShowDialog(); }