Пример #1
0
 public ParentContact(Contact contact, Client client, ParentClient parent)
 {
     this.Contact = contact;
     this.parent  = parent;
     this.Client  = client;
     InitializeComponent();
 }
Пример #2
0
 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";
 }
Пример #3
0
 public DetailContact(Contact contact, Client client, ParentClient parent) : base(contact, client, parent)
 {
     InitializeComponent();
     loadContact();
 }