Пример #1
0
        private PictureBox addPtcBox()
        {
            PictureBox ptcContent = new PictureBox();

            ptcContent.BackColor = System.Drawing.Color.Transparent;
            animation.SetDecoration(ptcContent, BunifuAnimatorNS.DecorationType.None);
            ptcContent.Location    = new System.Drawing.Point(196, 4);
            ptcContent.Size        = new System.Drawing.Size(172, 91);
            ptcContent.SizeMode    = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            ptcContent.TabStop     = false;
            ptcContent.MouseHover += new System.EventHandler(this.ptcQs_MouseHover);

            ptcContents.Add(ptcContent);

            return(ptcContent);
        }