示例#1
0
文件: Form1.cs 项目: Zergba/AFPA
        private void button1_Click(object sender, EventArgs e)
        {
            ListClient lc = new ListClient(this);

            this.ListWindowListClient.Add(lc);
            lc.Show();
        }
示例#2
0
 public ParentClient(Client client, ListClient parent)
 {
     this.MdiParent = parent.MdiParent;
     this.parent    = parent;
     this.Client    = client;
     InitializeComponent();
     this.initGrid();
 }
示例#3
0
 /// <summary>
 /// constructeur
 /// </summary>
 /// <param name="client"></param>
 /// <param name="parent"></param>
 public DetailClient(Client client, ListClient parent) : base(client, parent)
 {
     InitializeComponent();
     loadClient();
 }
示例#4
0
 /// <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);
 }