Esempio n. 1
0
        public void Flow(string path, bool disorder)
        {
            InitRandomPictureBox();
            Image bm = CutPicture.Resize(path, 600, 600);

            CutPicture.BitMapList = new List <Bitmap>();
            for (int y = 0; y < 600; y += sidelength)
            {
                for (int x = 0; x < 600; x += sidelength)
                {
                    Bitmap temp = CutPicture.Cut(bm, x, y, sidelength, sidelength);
                    CutPicture.BitMapList.Add(temp);
                }
            }
            ImporBitMap(disorder);
        }
Esempio n. 2
0
 private void Form_Original_Load(object sender, EventArgs e)
 {
     pic_Original.Image = CutPicture.Resize(picpath, 600, 600);
 }