Пример #1
0
        private void btnManualMatch_Click(object sender, EventArgs e)
        {
            try
            {
                if (!geoCoder.IsGazetteerInitialised())
                {
                    MessageBox.Show(
                        "Gazetteer data missing, please read in a gazetteer file.",
                        "Missing");
                    return;
                }

                if (geoCoder.InputData == null)
                {
                    MessageBox.Show(
                        "Input data missing, please read in an input file.",
                        "Missing");
                    return;
                }

                SetColumnNames();
                FormManualMatch formManualMatch = new FormManualMatch(
                    geoCoder,
                    dataGridView1);
                formManualMatch.ShowDialog();
            }
            catch (Exception ex)
            {
                ErrorHandler.Process(
                    "A problem occurred with the Manual Match screen load.",
                    ex);
            }
        }
Пример #2
0
        private void btnManualMatch_Click(object sender, EventArgs e)
        {
            try
            {
                if (!geoCoder.IsGazetteerInitialised())
                {
                    MessageBox.Show(
                        "Gazetteer data missing, please read in a gazetteer file.",
                        "Missing");
                    return;
                }

                if (geoCoder.InputData == null)
                {
                    MessageBox.Show(
                        "Input data missing, please read in an input file.",
                        "Missing");
                    return;
                }

                SetColumnNames();
                FormManualMatch formManualMatch = new FormManualMatch(
                    geoCoder,
                    dataGridView1);
                formManualMatch.ShowDialog();
            }
            catch (Exception ex)
            {
                ErrorHandler.Process(
                    "A problem occurred with the Manual Match screen load.",
                    ex);
            }
        }