示例#1
0
        public Launch()
        {
            this.DoubleBuffered = true;                         //设置本窗体
            SetStyle(ControlStyles.UserPaint, true);
            SetStyle(ControlStyles.AllPaintingInWmPaint, true); // 禁止擦除背景.
            SetStyle(ControlStyles.DoubleBuffer, true);         // 双缓冲
            InitializeComponent();
            this.Cursor = HammerCursor.HammerUp();
            LaunchUI launchUI = new LaunchUI(this);

            this.Controls.Add(launchUI);
        }
示例#2
0
 public void HammerUp(object sender, MouseEventArgs e)
 {
     this.Cursor = HammerCursor.HammerUp();
 }
示例#3
0
 private void PicTitle_MouseUp(object sender, MouseEventArgs e)
 {
     mouseHold   = false;
     this.Cursor = HammerCursor.HammerUp();
 }