• 大小: 0.11M
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2021-03-27
  • 语言: 其他
  • 标签: 其他  

资源简介


winform重写的messagebox,比系统自带的稍许好看一点点。

资源截图

代码片段和文件信息

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

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

        private void button1_Click(object sender EventArgs e)
        {
            new frmMessageBox(MessageBoxstyle.info “asdasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasas“).ShowDialog();
        }

        private void button2_Click(object sender EventArgs e)
        {
            new frmMessageBox(MessageBoxstyle.error “sasasasasa“).ShowDialog();
        }

        private void button3_Click(object sender EventArgs e)
        {
             new frmMessageBox(MessageBoxstyle.question “sasasasa

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-05-23 19:52  WindowsFormsApplication2\
     目录           0  2018-05-23 20:49  WindowsFormsApplication2\WindowsFormsApplication2\
     文件         187  2018-05-23 19:52  WindowsFormsApplication2\WindowsFormsApplication2\App.config
     文件        7065  2018-05-23 20:17  WindowsFormsApplication2\WindowsFormsApplication2\Form1.Designer.cs
     文件        2334  2018-05-23 20:17  WindowsFormsApplication2\WindowsFormsApplication2\Form1.cs
     文件        5817  2018-05-23 20:17  WindowsFormsApplication2\WindowsFormsApplication2\Form1.resx
     文件         569  2018-05-23 20:08  WindowsFormsApplication2\WindowsFormsApplication2\Program.cs
     目录           0  2018-05-23 20:08  WindowsFormsApplication2\WindowsFormsApplication2\Properties\
     文件        1372  2018-05-23 19:52  WindowsFormsApplication2\WindowsFormsApplication2\Properties\AssemblyInfo.cs
     文件        3997  2018-05-23 20:08  WindowsFormsApplication2\WindowsFormsApplication2\Properties\Resources.Designer.cs
     文件        6669  2018-05-23 19:57  WindowsFormsApplication2\WindowsFormsApplication2\Properties\Resources.resx
     文件        1111  2018-05-23 19:52  WindowsFormsApplication2\WindowsFormsApplication2\Properties\Settings.Designer.cs
     文件         249  2018-05-23 19:52  WindowsFormsApplication2\WindowsFormsApplication2\Properties\Settings.settings
     文件        4362  2018-05-23 20:24  WindowsFormsApplication2\WindowsFormsApplication2\WindowsFormsApplication2.csproj
     目录           0  2018-05-23 20:09  WindowsFormsApplication2\WindowsFormsApplication2\bin\
     目录           0  2018-05-23 20:48  WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\
     文件       26624  2018-05-23 20:49  WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.exe
     文件         187  2018-05-23 19:52  WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.exe.config
     文件       36352  2018-05-23 20:49  WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.pdb
     文件       24224  2018-05-23 20:54  WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.vshost.exe
     文件         187  2018-05-23 19:52  WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.vshost.exe.config
     文件         490  2017-09-29 21:43  WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.vshost.exe.manifest
     目录           0  2018-05-23 20:59  WindowsFormsApplication2\WindowsFormsApplication2\bin\Release\
     文件        7523  2018-05-23 20:24  WindowsFormsApplication2\WindowsFormsApplication2\frmMessageBox.Designer.cs
     文件        2571  2018-05-23 20:49  WindowsFormsApplication2\WindowsFormsApplication2\frmMessageBox.cs
     文件        5817  2018-05-23 20:24  WindowsFormsApplication2\WindowsFormsApplication2\frmMessageBox.resx
     目录           0  2018-05-23 19:55  WindowsFormsApplication2\WindowsFormsApplication2\image\
     文件        2477  2018-05-23 18:23  WindowsFormsApplication2\WindowsFormsApplication2\image\error.png
     文件        2956  2018-05-23 18:23  WindowsFormsApplication2\WindowsFormsApplication2\image\info.png
     文件        3954  2018-05-23 18:23  WindowsFormsApplication2\WindowsFormsApplication2\image\question.png
     目录           0  2018-05-23 19:52  WindowsFormsApplication2\WindowsFormsApplication2\obj\
............此处省略17个文件信息

评论

共有 条评论