Ejemplo n.º 1
0
        public static void Get_Groupe_Identification(C1TopicBar tpbar)
        {
            XmlNodeList myChildNode = Groupe_Codes_Id_Xml.GetElementsByTagName("titre");

            foreach (XmlNode unNode in myChildNode)
            {
                C1.Win.C1Command.C1TopicPage c1TopicPage1 = new C1.Win.C1Command.C1TopicPage();
                c1TopicPage1.Text = unNode.InnerText;
                c1TopicPage1.Tag  = unNode.Attributes["id"].InnerText;
                c1TopicPage1.Collapse();
                tpbar.Pages.Add(c1TopicPage1);
            }
        }
Ejemplo n.º 2
0
        public static void Get_Groupe_Observation(C1TopicBar tpbar)
        {
            XmlNodeList myChildNode = Famille_Codes_Xml.GetElementsByTagName("code");

            foreach (XmlNode unNode in myChildNode)
            {
                C1.Win.C1Command.C1TopicPage c1TopicPage1 = new C1.Win.C1Command.C1TopicPage();
                c1TopicPage1.Text = unNode.InnerText + " - " + unNode.Attributes["name"].InnerText;
                c1TopicPage1.Tag  = unNode.Attributes["name"].InnerText;
                c1TopicPage1.Collapse();
                tpbar.Pages.Add(c1TopicPage1);
            }
        }