MergeDataPhaseTwo() public method

public MergeDataPhaseTwo ( List a_ElectorateData, string stateFederalRelationFilename, string federalElectionTPPHistoryFilename, string stateResultFilename ) : List
a_ElectorateData List
stateFederalRelationFilename string
federalElectionTPPHistoryFilename string
stateResultFilename string
return List
コード例 #1
0
ファイル: Cartographer.cs プロジェクト: dekz/carto
        private void convertData_Click(object sender, EventArgs e)
        {
            ElectorateImporter g_elecImporter = new ElectorateImporter();
            try { g_elecImporter.ParseXLS(_xlsData); }
            catch { }
            try { g_elecImporter.ParseMID(_midData); }
            catch { }
            try { g_elecImporter.ParseMIF(_mifData); }
            catch { }
            m_Electorates = g_elecImporter.MergeData();
            g_elecImporter.MergeDataPhaseTwo(m_Electorates, "data/Qld_Federal-State Electorate Mapping.xls", "data/Federal Election Results-Qld-2004.xls", "data/Qld_State Results by Electorate-2006.xls"); //!TESTING
            convertPB.Image = (Image)pic.ResourceManager.GetObject("Tick");

               // m_Electorates[0].Name;
            for (int i =0; i < m_Electorates.Count; i++)
                pointBox.Items.Add(m_Electorates[i].Name, CheckState.Checked);
            g_Grabber = new DataGrabber();
            g_Grabber.importData();

            Exporter m_exporter = new Exporter(m_Electorates);
            m_exporter.convertToKml(colourMode);
            MessageBox.Show("Saved KML File from XLS and MID/MIF Data");
        }