弹出窗右下角显示

image

//窗口加载时
        private void BroadcastRecieveFrom_Load(object sender, EventArgs e)
        {
            //初始化窗口出现位置
            Point p = new Point(Screen.PrimaryScreen.WorkingArea.Width - this.Width, Screen.PrimaryScreen.WorkingArea.Height - this.Height);
            this.PointToScreen(p);
            this.Location = p;
            NativeMethods.AnimateWindow(this.Handle, 130, AW.AW_SLIDE + AW.AW_VER_NEGATIVE);//开始窗体动画
        }

 

 

疯吻IT

posted @ 2015-01-24 22:55  疯吻IT  阅读(260)  评论(0编辑  收藏  举报