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里



  • 相关阅读:
    [SNOI2019]数论
    [HNOI2019]校园旅行
    [TJOI2019]唱、跳、rap和篮球
    [Ctsc2015]misc
    [IOI2018] meetings 会议
    [ZJOI2019]语言
    51nod1600 Simple KMP
    [APIO2013]道路费用
    [FJOI2018]领导集团问题
    [ZJOI2012]小蓝的好友
  • 原文地址:https://www.cnblogs.com/huangcong/p/1697078.html
Copyright © 2011-2022 走看看