Example #1
0
 public U8_VoucherItem(U8_VoucherItem m_U8_VoucherItem)
 {
     this.g_strField01 = m_U8_VoucherItem.Field01;
     this.g_strField02 = m_U8_VoucherItem.Field02;
     this.g_strField03 = m_U8_VoucherItem.Field03;
     this.g_strField04 = m_U8_VoucherItem.Field04;
     this.g_strField05 = m_U8_VoucherItem.Field05;
     this.g_strField06 = m_U8_VoucherItem.Field06;
     this.g_strField07 = m_U8_VoucherItem.Field07;
     this.g_strField08 = m_U8_VoucherItem.Field08;
     this.g_strField09 = m_U8_VoucherItem.Field09;
     this.g_strField10 = m_U8_VoucherItem.Field10;
     this.g_strField11 = m_U8_VoucherItem.Field11;
     this.g_strField12 = m_U8_VoucherItem.Field12;
     this.g_strField13 = m_U8_VoucherItem.Field13;
     this.g_strField14 = m_U8_VoucherItem.Field14;
     this.g_strField15 = m_U8_VoucherItem.Field15;
     this.g_strField16 = m_U8_VoucherItem.Field16;
     this.g_strField17 = m_U8_VoucherItem.Field17;
     this.g_strField18 = m_U8_VoucherItem.Field18;
     this.g_strField19 = m_U8_VoucherItem.Field19;
     this.g_strField20 = m_U8_VoucherItem.Field20;
     this.g_strField21 = m_U8_VoucherItem.Field21;
     this.g_strField22 = m_U8_VoucherItem.Field22;
     this.g_strField23 = m_U8_VoucherItem.Field23;
     this.g_strField24 = m_U8_VoucherItem.Field24;
     this.g_strField25 = m_U8_VoucherItem.Field25;
     this.g_strField26 = m_U8_VoucherItem.Field26;
     this.g_strField27 = m_U8_VoucherItem.Field27;
     this.g_strField28 = m_U8_VoucherItem.Field28;
     this.g_strField29 = m_U8_VoucherItem.Field29;
     this.g_strField30 = m_U8_VoucherItem.Field30;
     this.g_strField30 = m_U8_VoucherItem.Field30;
     this.g_strField31 = m_U8_VoucherItem.Field31;
     this.g_strField32 = m_U8_VoucherItem.Field32;
     this.g_strField33 = m_U8_VoucherItem.Field33;
     this.g_strField34 = m_U8_VoucherItem.Field34;
     this.g_strField35 = m_U8_VoucherItem.Field35;
     this.g_strField36 = m_U8_VoucherItem.Field36;
     this.g_strField37 = m_U8_VoucherItem.Field37;
     this.g_strField38 = m_U8_VoucherItem.Field38;
     this.g_strField39 = m_U8_VoucherItem.Field39;
     this.g_strField40 = m_U8_VoucherItem.Field40;
     this.g_strField41 = m_U8_VoucherItem.Field41;
     this.g_strField42 = m_U8_VoucherItem.Field42;
     this.g_strField43 = m_U8_VoucherItem.Field43;
     this.g_strField44 = m_U8_VoucherItem.Field44;
     this.g_strField45 = m_U8_VoucherItem.Field45;
     this.g_strField46 = m_U8_VoucherItem.Field46;
     this.g_strField47 = m_U8_VoucherItem.Field47;
     this.g_strField48 = m_U8_VoucherItem.Field48;
 }
Example #2
0
        public void SaveAs(string m_strFilename)
        {
            StreamWriter writer = new StreamWriter(m_strFilename, false, Encoding.Default);

            writer.WriteLine(this.g_strFirstLine);
            foreach (object obj2 in this.Items)
            {
                U8_VoucherItem item = (U8_VoucherItem)obj2;
                string         text = item.Field01 + "," + item.Field02 + "," + item.Field03 + "," + item.Field04 + "," + item.Field05 + "," + item.Field06 + "," + item.Field07 + "," + item.Field08 + "," + item.Field09 + "," + item.Field10 + "," + item.Field11 + "," + item.Field12 + "," + item.Field13 + "," + item.Field14 + "," + item.Field15 + "," + item.Field16 + "," + item.Field17 + "," + item.Field18 + "," + item.Field19 + "," + item.Field20 + "," + item.Field21 + "," + item.Field22 + "," + item.Field23 + "," + item.Field24 + "," + item.Field25 + "," + item.Field26 + "," + item.Field27 + "," + item.Field28 + "," + item.Field29 + "," + item.Field30 + "," + item.Field31 + "," + item.Field32 + "," + item.Field33 + "," + item.Field34 + "," + item.Field35 + "," + item.Field36 + "," + item.Field37 + "," + item.Field38 + "," + (item.Field39 ? "1" : "0") + "," + (item.Field40 ? "1" : "0") + "," + (item.Field41 ? "1" : "0") + "," + (item.Field42 ? "1" : "0") + "," + (item.Field43 ? "1" : "0") + "," + item.Field44 + "," + (item.Field45 ? "1" : "0") + "," + (item.Field46 ? "1" : "0") + "," + (item.Field47 ? "1" : "0") + "," + (item.Field48 ? "1" : "0");
                writer.WriteLine(text);
            }
            writer.Close();
        }