Exemple #1
0
        private void LinkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            if (x_num == null | y_num == null | !complete)
            {
                Interaction.MsgBox("우선 위치를 지정해 주세요.", Constants.vbInformation);
            }
            else
            {
                try
                {
                    StationList.AirStationData = getNearStation(tm_co[0], tm_co[1]);
                }
                catch (Exception ex)
                {
                    Interaction.MsgBox("측정소를 검색하던 도중 오류가 발생했습니다." + Constants.vbCr + "주소가 유효한지 확인해 주세요.", Constants.vbExclamation);
                    StationList.ShowDialog(this);
                    goto donothing;
                }

                StationList.ShowDialog(this);
            }



donothing:
            ;
        }