private void btnPreview_Click(object sender, EventArgs e) { A_DPic_AddPicLayer ADPIC = new A_DPic_AddPicLayer(FileID, IMG, frmMain); ADPIC.Show(); this.Close(); }
private void btnNext_Click(object sender, EventArgs e) { if (strMineBgImage != string.Empty) { List <string> stationidlist = new List <string>(); for (int i = 0; i < lsbSelectStation.Items.Count; i++) { stationidlist.Add(lsbSelectStation.Values[lsbSelectStation.Items.IndexOf(lsbSelectStation.Items[i])]); } if (dpicbll.UpdateFileStation_Wizard(strMineBgImage, stationidlist)) { //底图和分站的相应配置信息保存完成后,进入第四步, 配置分站在底图上的安装位置 A_DPic_AddPicLayer adpicadd = new A_DPic_AddPicLayer(strMineBgImage, picShow.Image, frmMain); adpicadd.Show(); this.Close(); } else { MessageBox.Show("更新读卡分站配置失败...", "提示", MessageBoxButtons.OK); return; } } else { MessageBox.Show("底图尚未选择...", "提示", MessageBoxButtons.OK); return; } }
private void btnNext_Click(object sender, EventArgs e) { if (strMineBgImage!= string.Empty) { List<string> stationidlist = new List<string>(); for (int i = 0; i < lsbSelectStation.Items.Count; i++) { stationidlist.Add(lsbSelectStation.Values[lsbSelectStation.Items.IndexOf(lsbSelectStation.Items[i])]); } if (dpicbll.UpdateFileStation_Wizard(strMineBgImage, stationidlist)) { //底图和分站的相应配置信息保存完成后,进入第四步, 配置分站在底图上的安装位置 A_DPic_AddPicLayer adpicadd = new A_DPic_AddPicLayer(strMineBgImage, picShow.Image,frmMain); adpicadd.Show(); this.Close(); } else { MessageBox.Show("更新读卡分站配置失败...", "提示", MessageBoxButtons.OK); return; } } else { MessageBox.Show("底图尚未选择...", "提示", MessageBoxButtons.OK); return; } }