Пример #1
0
        private void butImgsave_Click(object sender, EventArgs e)
        {
            if (lbImgPage.Items.Count <= 0)
            {
                return;
            }
            if (pict1.Image == null)
            {
                return;
            }
            for (int i = 0; i < lbImgPage.Items.Count; i++)
            {
                string str = lbImgPage.Items[i].ToString();
                Himg._DelePageTag(Convert.ToInt32(str));
            }
            string p   = lbImgPage.Items[lbImgPage.Items.Count - 1].ToString();
            Image  bmp = pict1.Image;

            Himg._Insterpage(bmp, Convert.ToInt32(p));
            this.Close();
        }