public ParentContact(Contact contact, Client client, ParentClient parent) { this.Contact = contact; this.parent = parent; this.Client = client; InitializeComponent(); }
public AjoutContact(Client client, ParentClient parent) : base(new Contact(client, null, null, null, null, 0), client, parent) { InitializeComponent(); this.tbIdContact.Text = Contact.Id.ToString(); this.tbClient.Text = (this.Client.Name != null) ? this.Client.Name : "sans nom"; }
public DetailContact(Contact contact, Client client, ParentClient parent) : base(contact, client, parent) { InitializeComponent(); loadContact(); }