/// <summary> /// Save_Click /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Save_Click(object sender, RoutedEventArgs e) { OFF.clear_wfacets(); OFF.add_wfacet("product_name", "Petit salé aux lentilles"); OFF.Login = Login.Text; OFF.Code = Product.id; OFF.Pwd = Pwd.Password; MessageBox.Show(OFF.set_product()); }