Ejemplo n.º 1
0
        private void InitCivil(ResumeData p_resume)
        {
            ResumeDataHome v_home = (ResumeDataHome)p_resume.Items[0];

            for (int i = 0; i < v_home.HomeElement.Length; i++)
            {
                ResumeDataHomeHomeElement v_adr = (ResumeDataHomeHomeElement)v_home.HomeElement.GetValue(i);
                int v_index = Convert.ToInt16(v_adr.index);
                Civil.Add(v_index, new SimpleResumeElement
                {
                    Description    = v_adr.Value.ToString().Replace("\\n", Environment.NewLine),
                    IconForElement = v_adr.icon
                });
            }
        }
Ejemplo n.º 2
0
        private void InitCivil()
        {
            int v_index = 1;

            Civil.Add(v_index++, new SimpleResumeElement
            {
                Description    = "46 rue du lys" + Environment.NewLine + "77150 Lésigny",
                IconForElement = "Mail.png"
            });

            Civil.Add(v_index++, new SimpleResumeElement
            {
                Description    = "+33614492004",
                IconForElement = "GSM.png"
            });

            Civil.Add(v_index++, new SimpleResumeElement
            {
                Description    = "*****@*****.**",
                IconForElement = "Chat.png"
            });
        }