Ejemplo n.º 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     DS.Add(n++);
     //listBox1.DataSource = null;
     //listBox1.Items.Clear();
     //listBox1.DataSource = DS;
 }
Ejemplo n.º 2
0
 public HeSoPhucTapKTCN(GiaTriPhanMem gt)
 {
     _gt       = gt;
     HeSoKT.hs = this;
     DS.Add(new HeSoKT(0, 0, 0));
     DS.Add(new HeSoKT(1, 0, 0));
     DS.Add(new HeSoKT(2, 0, 0));
     DS.Add(new HeSoKT(3, 0, 0));
     DS.Add(new HeSoKT(4, 0, 0));
     DS.Add(new HeSoKT(5, 0, 0));
     DS.Add(new HeSoKT(6, 0, 0));
     DS.Add(new HeSoKT(7, 0, 0));
     DS.Add(new HeSoKT(8, 0, 0));
     DS.Add(new HeSoKT(9, 0, 0));
     DS.Add(new HeSoKT(10, 0, 0));
     DS.Add(new HeSoKT(11, 0, 0));
     DS.Add(new HeSoKT(12, 0, 0));
 }