private void SettingsOnComplete(object sender, XMLParsingEventArgs args)
        {
            List <ItemDataClass> itemList = args._ItemDataClass;

            _SettingsData = itemList[0] as SettingsItemData;

            FetchingElementData();
        }
Exemple #2
0
        protected void OnXMLEvent(List <ItemDataClass> itemDataList)
        {
            XMLParsingEventArgs xmlargs = new XMLParsingEventArgs(itemDataList);

            if (xmlEvent != null)
            {
                xmlEvent(this, xmlargs);
            }
        }
        private void ElementOnComplete(object sender, XMLParsingEventArgs args)
        {
            List <ItemDataClass> elementItemData = args._ItemDataClass;

            foreach (ItemDataClass element in elementItemData)
            {
                SimulationItemData simulationData = element as SimulationItemData;
                _SimulationItemData.Add(simulationData);
            }

            searchButton.Enabled = true;
            pictureBox2.Enabled  = false;
            pictureBox2.Visible  = false;
            //AssetsList.Text = "Data Is Ready";
            this.Cursor = Cursors.Default;
        }