zoukankan      html  css  js  c++  java
  • 黄聪:C#类似MSN的右下角弹出窗体

    this.Location = new System.Drawing.Point(Screen.PrimaryScreen.Bounds.Width - this.Width, Screen.PrimaryScreen.Bounds.Height - 100);
    for (int = 0< Screen.PrimaryScreen.Bounds.Height; i++
    )
    {
        
    this
    .Show();
        
    for (int = 0< 1000000j++
    ;
        
    this.Location = new System.Drawing.Point(this.Location.X, Screen.PrimaryScreen.Bounds.Height -
     i);
        
    this
    .Show();
        
    if (i == this.Height + 30
    )
        {
            
    for (int = 0< this.Height; k++
    )
            {
                
    for (int = 0< 10000000j++
    ;
                
    this.Location = new System.Drawing.Point(this.Location.X, this.Location.Y +
     k);
            }
            
    this
    .Close();
            
    break
    ;
        }
    }


    直接放在Form_Load里



  • 相关阅读:
    codeforces 980A Links and Pearls
    zoj 3640 Help Me Escape
    sgu 495 Kids and Prizes
    poj 3071 Football
    hdu 3853 LOOPS
    hdu 4035 Maze
    hdu 4405 Aeroplane chess
    poj 2096 Collecting Bugs
    scu 4444 Travel
    zoj 3870 Team Formation
  • 原文地址:https://www.cnblogs.com/huangcong/p/1697078.html
Copyright © 2011-2022 走看看