Exemplo n.º 1
0
        /// <summary>
        /// 标签和透明化
        /// </summary>
        private void TransparentLabel()
        {
            //标签透明代码
            pbx_image.SendToBack();

            PromptText.BackColor = Color.Transparent;
            PromptText.Parent    = pbx_image;
            PromptText.BringToFront();

            Unlock.BackColor = Color.Transparent;
            Unlock.Parent    = pbx_image;
            Unlock.BringToFront();


            bufferGif.BackColor = Color.Transparent;
            bufferGif.Parent    = pbx_image;
            bufferGif.BringToFront();
        }