private void button1_Click(object sender, EventArgs e) { ListClient lc = new ListClient(this); this.ListWindowListClient.Add(lc); lc.Show(); }
public ParentClient(Client client, ListClient parent) { this.MdiParent = parent.MdiParent; this.parent = parent; this.Client = client; InitializeComponent(); this.initGrid(); }
/// <summary> /// constructeur /// </summary> /// <param name="client"></param> /// <param name="parent"></param> public DetailClient(Client client, ListClient parent) : base(client, parent) { InitializeComponent(); loadClient(); }
/// <summary> /// constructeur /// </summary> /// <param name="parent"></param> public AjoutClient(Client client, ListClient parent) : base(client, parent) { InitializeComponent(); tbId.Text = Client.CountID.ToString(); this.lbComment.DataSource = new BindingSource(this.Client.CommentList, null); }