登录
首页 » C# » C# wpf textbox 样式实例(水印)源码

C# wpf textbox 样式实例(水印)源码

于 2014-06-06 发布
0 83
下载积分: 1 下载次数: 0

代码说明:

C# wpf textbox 样式实例(水印)源码

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • c# winform 自定义控件类LayeredSkin.dll
    自定义开关按钮,滚动相册,进度条,窗体控件/******************************************************************** * * * * 使本项目源码或本项目生成的DLL前请仔细阅读以下协议内容,如果你同意以下协议才能使用本项目所有的功能, * * 否则如果你违反了以下协议,有可能陷入法律纠纷和赔偿,作者保留追究法律责任的权利。 * * * * 1、你可以在开发的软件产品中使用和修改本项目的源码和DLL,但是请保留所有相关的版权信息。 * * 2、不能将本项目源码与作者的其他项目整合作为一个单独的软件售卖给他人使用。 * * 3、不能传播本项目的源码和DLL,包括上传到网上、拷贝给他人等方式。 * * 4、以上协议暂时定制,由于还不完善,作者保留以后修改协议的权利。 * * * * Copyright (C) 2013-2014 LayeredSkin Corporation All rights reserved. * * 作者: 小红帽  QQ:761716178 * * 请保留以上版权信息,否则作者将保留追究法律责任。 * * * * 创建时间:2014-04-13 * * 说明:QQ.cs * *********************************************************************/using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using LayeredSkin.Forms;namespace test{    public partial class QQ : LayeredForm    {        public QQ()        {            InitializeComponent();        }        private void layeredButton1_Click(object sender, EventArgs e)        {            this.WindowState = FormWindowState.Minimized;        }        private void QQ_Load(object sender, EventArgs e)        {            this.Animation.Effect = new LayeredSkin.Animations.GradualCurtainEffect() { ChangeHeight = 25 };            yezi = new Bitmap(90, 80);//先把叶子画在稍微大一点的画布上,这样叶子旋转的时候才不会被裁掉一部分            using (Graphics g = Graphics.FromImage(yezi))            {                g.DrawImage(Image.FromFile("Images\yezi3.png"), 10, 0);            }            timer1.Start();        }        private void layeredButton2_Click(object sender, EventArgs e)        {            this.Animation.Effect = new LayeredSkin.Animations.GradualCurtainEffect();            this.Animation.Asc = true;            this.Close();        }        private void FormMoveMouseDown(object sender, MouseEventArgs e)        {            LayeredSkin.NativeMethods.MouseToMoveControl(this.Handle);        }        Image Cloud = Image.FromFile("Images\cloud.png");        float cloudX = 0;        Image yezi;        float angle = 10;        bool RotationDirection = true;//是否为顺时针        protected override void OnLayeredPaint(PaintEventArgs e)        {            Graphics g = e.Graphics;            if (cloudX > this.Width - Cloud.Width)            {//云的飘动                cloudX = 0;            }            else            {                cloudX = 0.5f;            }            g.DrawImage(Cloud, cloudX, 0);//把云绘制上去            if (angle > 10)            {//控制旋转方向                RotationDirection = false;            }            if (angle < -10)            {                RotationDirection = true;            }            if (RotationDirection)            {                angle = 1;            }            else            {                angle -= 1;            }            using (Image temp = LayeredSkin.ImageEffects.RotateImage(yezi, angle, new Point(25, 3)))            {                g.DrawImage(temp, 140, 70);//绘制叶子            }            base.OnLayeredPaint(e);        }        private void timer1_Tick(object sender, EventArgs e)        {            LayeredPaint();            GC.Collect();        }        public bool isShow = false;        bool isFirst = true;        private void layeredButton3_Click(object sender, EventArgs e)        {            isShow = false;            if (isFirst)            {                this.Animation.Effect = new LayeredSkin.Animations.ThreeDTurn();                this.Animation.AnimationEnd = Animation_AnimationEnd;            }            isFirst = false;            this.Animation.Asc = false;            this.Animation.Start();        }        //QQConfig config;        void Animation_AnimationEnd(object sender, LayeredSkin.Animations.AnimationEventArgs e)        {            if (!isShow)            {                this.Hide();                QQConfig config = new QQConfig(this);                config.Location = this.Location;                config.Show();            }        }    }}
    2020-12-11下载
    积分:1
  • sha256源代码
    sha256源代码
    2020-12-11下载
    积分:1
  • C入门教程.pdf(共434页)
    【实例简介】基础课程
    2021-06-09 00:32:05下载
    积分:1
  • 批量下载图片
    批量下载图片 首先从文本文件导入要下载的图片网址(每行一个即可),然后点击开始 即可批量下载,图片下载至bin目录下的【路径】文件夹了
    2015-01-20下载
    积分:1
  • C# 微信机器人自动回复 例子源码下载
    实现了 简单的回话和查询天气的功能
    2015-04-18下载
    积分:1
  • C# WinForm打印程序示例
    C# WinForm打印程序示例
    2015-01-08下载
    积分:1
  • c#通讯录项目源码(支持多数据库配置)
    支持 mysql access mssql数据库,可根据喜好使用不同的数据库 友情提示: 打开该解决方案 生成成功后, 将所有的 .sql文件以及 DefaultSchema.xsd 拷贝至Address BookobjDebug 目录 以后,再打开 Address Book.exe 即可自定义配置
    2015-05-23下载
    积分:1
  • NET常用公共类库 源码下载(严重赞)
    包含了各个层面的常用类源码,看完你会感谢作者的。。。
    2015-01-26下载
    积分:1
  • 键盘钩子示例源码下载
    直接运行 HookTest.exe程序,然后按A键或 Ctrl S 就可以试出效果了 注:不过C#键盘钩子屏蔽不了Ctrl Alt Delete 组合健,可能要用修改注册表实现
    2013-12-07下载
    积分:1
  • c# 随机背景 随机字体 随机干扰线 验证码 实例源码
    c# 随机背景 随机字体 随机干扰线 验证码 实例源码
    2014-06-11下载
    积分:1
  • 696518资源总数
  • 105549会员总数
  • 12今日下载