public modify_contact(contact con, carnet_adr page, int pos) { this.page = page; this.pos = pos; InitializeComponent(); contact.Text = con.get_name(); adr.Text = con.get_adr(); tlphn.Text = con.get_num(); mail.Text = con.get_mail(); site.Text = con.get_site(); }
public add_contact(int id, carnet_adr page) { this.id_user = id; this.page = page; InitializeComponent(); }
private void materialButton_Copy4_Click(object sender, RoutedEventArgs e) { carnet_adr ca = new carnet_adr(user.getid_utilis()); frame.Content = ca; }