예제 #1
0
        private void cv1UpdateList()
        {
            cv1DataCollection coll = m_workingfile.Data as cv1DataCollection;
            int len = coll[0].Fields.Length;

            cv1List.Items.Clear();
            cv1List.Columns.Clear();
            for (int i = 0; i < len; i++)
            {
                cv1List.Columns.Add((i + 1) + "번 필드");
            }
            foreach (cv1DataLine i in coll)
            {
                cv1List.Items.Add(new ListViewItem(i.Fields));
            }
            m_changed = true;
        }
예제 #2
0
 public override void SetData(object Data)
 {
     m_records = Data as cv1DataCollection;
     UpdateRawData();
     ReloadRecords();
 }
예제 #3
0
 public cv1()
     : base()
 {
     m_type    = cvnType.CSV;
     m_records = new cv1DataCollection();
 }