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里



  • 相关阅读:
    HDU 2717 Catch That Cow
    补题列表
    Codeforces 862C 异或!
    HDU 2084
    HDU 2037
    Codeforces 492B
    POJ 2262
    Codeforces 1037A
    HDU 1276
    itertools — Functions creating iterators for efficient looping
  • 原文地址:https://www.cnblogs.com/huangcong/p/1697078.html
Copyright © 2011-2022 走看看