Пример #1
0
        //private readonly string CityXmlPath = @"Back\Cities.xml"; //城市代码XML
        private void btnOk_Click(object sender, EventArgs e)
        {
            string area = txtCode.Text.Trim();

            Weather.Location = Weather.LoactionPoint = Xy;
            this.Close();
            Weather.BaseShow();
            Weather.Special = false;
            Weather.TimShow(true);
        }