Example #1
0
File: Form1.cs Project: sxfgvh/wc
        private void MainForm_Load(object sender, EventArgs e)
        {
            CountObject countobject = new CountObject("New");
            countobjects.Add(countobject);
            CountItem ci = new CountItem("Item 1");
            countitems.Add(ci);
            ci = new CountItem("Item 2");
            countitems.Add(ci);
            CountItemLine cil = new CountItemLine(ci);
            countobjects[0].itemlist.Add(cil);

            //listView1.Items.Add(countobjects[0]);
            //dgvObjects.Rows.Add();
            fillobjects();
            fillitems();
        }
Example #2
0
 public CountItemLine(CountItem countitem)
 {
     this.countitem = countitem;
 }