private void button3_Click(object sender, EventArgs e) { if (this.comboBox1.SelectedItem == null) { MessageBox.Show("已经没有可以删除的坐标点了"); return; } BindShareLocation(LocationModel.DelLocation(((LocationModel)this.comboBox1.SelectedItem).Alias)); LocationByPhone.LocationByPhoneForm.BindShareLocation(); }