• 大小: 0.32M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-24
  • 语言: C#
  • 标签:

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace RestrictSize
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        int FrmWidth = 70;
        int FrmHeight = 70;
        private void Form1_Resize(object sender EventArgs e)
        {
            if (this.Width <= FrmWidth)
            {
                this.Width = FrmWidth;
            }
            if (this.Height <= FrmHeight)
            {
                this.Height = FrmHeight;
            }
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         926  2009-02-11 11:26  sj\01\RestrictSize\RestrictSize.sln
     文件       14336  2009-02-11 11:31  sj\01\RestrictSize\RestrictSize.suo
     文件         732  2009-02-11 11:29  sj\01\RestrictSize\RestrictSize\Form1.cs
     文件        1471  2009-02-11 11:29  sj\01\RestrictSize\RestrictSize\Form1.Designer.cs
     文件        5814  2009-02-11 11:29  sj\01\RestrictSize\RestrictSize\Form1.resx
     文件         493  2009-02-11 11:26  sj\01\RestrictSize\RestrictSize\Program.cs
     文件        3735  2009-02-11 11:29  sj\01\RestrictSize\RestrictSize\RestrictSize.csproj
     文件        7680  2009-02-11 11:29  sj\01\RestrictSize\RestrictSize\bin\Debug\RestrictSize.exe
     文件       24064  2009-02-11 11:29  sj\01\RestrictSize\RestrictSize\bin\Debug\RestrictSize.pdb
     文件       14328  2009-02-11 11:30  sj\01\RestrictSize\RestrictSize\bin\Debug\RestrictSize.vshost.exe
     文件         490  2007-07-21 01:33  sj\01\RestrictSize\RestrictSize\bin\Debug\RestrictSize.vshost.exe.manifest
     文件        1031  2009-02-11 11:30  sj\01\RestrictSize\RestrictSize\obj\Debug\RestrictSize.csproj.FileListAbsolute.txt
     文件         847  2009-02-11 11:29  sj\01\RestrictSize\RestrictSize\obj\Debug\RestrictSize.csproj.GenerateResource.Cache
     文件        7680  2009-02-11 11:29  sj\01\RestrictSize\RestrictSize\obj\Debug\RestrictSize.exe
     文件         180  2009-02-11 11:29  sj\01\RestrictSize\RestrictSize\obj\Debug\RestrictSize.Form1.resources
     文件       24064  2009-02-11 11:29  sj\01\RestrictSize\RestrictSize\obj\Debug\RestrictSize.pdb
     文件         180  2009-02-11 11:29  sj\01\RestrictSize\RestrictSize\obj\Debug\RestrictSize.Properties.Resources.resources
     文件        1356  2009-02-11 11:26  sj\01\RestrictSize\RestrictSize\Properties\AssemblyInfo.cs
     文件        2874  2009-02-11 11:26  sj\01\RestrictSize\RestrictSize\Properties\Resources.Designer.cs
     文件        5612  2009-02-11 11:26  sj\01\RestrictSize\RestrictSize\Properties\Resources.resx
     文件        1097  2009-02-11 11:26  sj\01\RestrictSize\RestrictSize\Properties\Settings.Designer.cs
     文件         249  2009-02-11 11:26  sj\01\RestrictSize\RestrictSize\Properties\Settings.settings
     文件         911  2009-02-11 11:33  sj\02\Noframe\Noframe.sln
     文件       14336  2009-02-11 11:45  sj\02\Noframe\Noframe.suo
     文件        1118  2009-02-11 11:45  sj\02\Noframe\Noframe\Form1.cs
     文件        6666  2009-02-11 11:45  sj\02\Noframe\Noframe\Form1.Designer.cs
     文件      100033  2009-02-11 11:45  sj\02\Noframe\Noframe\Form1.resx
     文件        3725  2009-02-11 11:41  sj\02\Noframe\Noframe\Noframe.csproj
     文件         488  2009-02-11 11:33  sj\02\Noframe\Noframe\Program.cs
     文件       73216  2009-02-11 11:45  sj\02\Noframe\Noframe\bin\Debug\Noframe.exe
     文件       26112  2009-02-11 11:45  sj\02\Noframe\Noframe\bin\Debug\Noframe.pdb
............此处省略43个文件信息

评论

共有 条评论