Пример #1
0
        private void btnPreview_Click(object sender, EventArgs e)
        {
            A_DPic_ChooseStation adpic_choose = new A_DPic_ChooseStation(ImageName,picShow.Image,frmMain);
            adpic_choose.Show();
            this.Close();

        }
Пример #2
0
        private void btnPreview_Click(object sender, EventArgs e)
        {
            A_DPic_ChooseStation adpic_choose = new A_DPic_ChooseStation(ImageName, picShow.Image, frmMain);

            adpic_choose.Show();
            this.Close();
        }
Пример #3
0
        private void btnNext_Click(object sender, EventArgs e)
        {
            bool IsNodeChecked = false;

            for (int i = 0; i < trvDpic.Nodes.Count; i++)
            {
                if (trvDpic.Nodes[i].Checked)
                {
                    IsNodeChecked = true;
                }
            }

            if (!IsNodeChecked)
            {
                MessageBox.Show("请选中一张煤矿底图,并在前面打上勾", "提示");
                return;
            }


            A_DPic_ChooseStation AdpicC = new A_DPic_ChooseStation(picBackimg.Tag.ToString(), picBackimg.Image, frmMain);

            AdpicC.Show();
            this.Close();
        }
Пример #4
0
        private void btnNext_Click(object sender, EventArgs e)
        {
            bool IsNodeChecked = false;

            for (int i = 0; i < trvDpic.Nodes.Count; i++)
            {
                if (trvDpic.Nodes[i].Checked)
                {
                    IsNodeChecked = true;
                }
            }

            if (!IsNodeChecked)
            {
                MessageBox.Show("请选中一张煤矿底图,并在前面打上勾", "提示");
                return;
            }


            A_DPic_ChooseStation AdpicC = new A_DPic_ChooseStation(picBackimg.Tag.ToString(), picBackimg.Image, frmMain);
            AdpicC.Show();
            this.Close();

        }