private void skinButton3_Click(object sender, EventArgs e) { if (showImglist.Count != 0) { MessageBox.Show(showImglist.Count.ToString()); newImgList = PictureMerge.transferPicture(showImglist, 1240, 0); pageList = PictureMerge.pageTab(newImgList); //MessageBox.Show(showImglist.Count.ToString()); //haimgList = new List<Image>(showImglist); combine_btn.Visible = true; skinButton2.Visible = true; } }
public PreviewFrom(List <List <Image> > haimgList) { InitializeComponent(); int fHeight = 0; int fWidth = haimgList[0][0].Width; for (int i = 0; i < haimgList.Count; i++) { List <Image> newImgList = PictureMerge.transferPicture(haimgList[i], 578, 0); Image a = PictureMerge.PictureBoxShow2(newImgList); PictureBox p = ControlCom.createPictureBox(0, fHeight, fWidth, 818, a); this.panel1.Controls.Add(p); fHeight += 818; MessageBox.Show(haimgList.Count.ToString()); } }