c#自定义消息框,重写MessageBox,消息提示框

上传者: ignativs1 | 上传时间: 2019-11-22 22:27:54 | 文件大小: 468KB | 文件类型: ZIP
Windows自带的消息框比较丑,特别是转到WIN7下更加,项目中用到的消息框非常多,基本上有提示信息、错误信息、询问信息这三种,从美观角度,MessageBox.show()这个方法出来的消息框有点不尽人意,于是自己写了一个,个人觉得舒服些。

文件下载

资源详情

[{"title":"( 73 个子文件 468KB ) c#自定义消息框,重写MessageBox,消息提示框","children":[{"title":"myAlarmSystem","children":[{"title":"myAlarmSystem.suo <span style='color:#111;'> 28.00KB </span>","children":null,"spread":false},{"title":"myAlarmSystem.sln <span style='color:#111;'> 881B </span>","children":null,"spread":false},{"title":"myAlarmSystem","children":[{"title":"myAlarmSystem.csproj <span style='color:#111;'> 6.76KB </span>","children":null,"spread":false},{"title":"myForm","children":[{"title":"frmMain.Designer.cs <span style='color:#111;'> 8.98KB </span>","children":null,"spread":false},{"title":"frmMessageBox.Designer.cs <span style='color:#111;'> 6.84KB </span>","children":null,"spread":false},{"title":"frmSelect.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"frmSelect.cs <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"frmMessageBox.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"frmMessageBox.cs <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"frmMain.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"frmSelect.Designer.cs <span style='color:#111;'> 6.25KB </span>","children":null,"spread":false},{"title":"frmMain.cs <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"Resources","children":[{"title":"number_1.png <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"number_5.png <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"btncheckoff4.png <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"btncheckon4.png <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"number_0.png <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"number_3.png <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"btncheckon3.png <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false},{"title":"btncheckoff2.png <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"question.png <span style='color:#111;'> 3.86KB </span>","children":null,"spread":false},{"title":"number_8.png <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"number_4.png <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"btncheckon5.png <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"btncheckoff5.png <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"number_9.png <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"btncheckoff1.png <span style='color:#111;'> 3.52KB </span>","children":null,"spread":false},{"title":"btncheckoff3.png <span style='color:#111;'> 2.84KB </span>","children":null,"spread":false},{"title":"btncheckon2.png <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false},{"title":"info.png <span style='color:#111;'> 2.89KB </span>","children":null,"spread":false},{"title":"number_6.png <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"number_2.png <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"error.png <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"number_7.png <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"btncheckon1.png <span style='color:#111;'> 3.14KB </span>","children":null,"spread":false}],"spread":false},{"title":"myClass","children":[{"title":"myApp.cs <span style='color:#111;'> 248B </span>","children":null,"spread":false},{"title":"mySqliteAPI.cs <span style='color:#111;'> 9.78KB </span>","children":null,"spread":false},{"title":"myMoveAPI.cs <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false},{"title":"myHelper.cs <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 503B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 11.25KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 11.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"1500.ico <span style='color:#111;'> 167.01KB </span>","children":null,"spread":false},{"title":"myControl","children":[{"title":"myButtonCheck.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"myButtonNumber.Designer.cs <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"myButtonNumber.cs <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"myButtonCheck.cs <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false},{"title":"myButtonCheck.Designer.cs <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false}],"spread":true},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"myAlarmSystem.pdb <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"myAlarmSystem.csproj.GenerateResource.Cache <span style='color:#111;'> 917B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.16KB </span>","children":null,"spread":false},{"title":"myAlarmSystem.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 5.23KB </span>","children":null,"spread":false},{"title":"myAlarmSystem.csproj.FileListAbsolute.txt <span style='color:#111;'> 525B </span>","children":null,"spread":false},{"title":"myAlarmSystem.exe <span style='color:#111;'> 176.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"Release","children":[{"title":"myAlarmSystem.pdb <span style='color:#111;'> 77.50KB </span>","children":null,"spread":false},{"title":"myAlarmSystem.csprojResolveAssemblyReference.cache <span style='color:#111;'> 13.21KB </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"myAlarmSystem.csproj.GenerateResource.Cache <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 7.96KB </span>","children":null,"spread":false},{"title":"myAlarmSystem.myForm.frmSelect.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"myAlarmSystem.myForm.frmMain.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"myAlarmSystem.myForm.frmMessageBox.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"myAlarmSystem.Properties.Resources.resources <span style='color:#111;'> 59.90KB </span>","children":null,"spread":false},{"title":"myAlarmSystem.myControl.myButtonCheck.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 14.95KB </span>","children":null,"spread":false},{"title":"myAlarmSystem.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"myAlarmSystem.exe <span style='color:#111;'> 254.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Release","children":[{"title":"System.Data.SQLite.dll <span style='color:#111;'> 171.00KB </span>","children":null,"spread":false},{"title":"System.Data.SQLite.Linq.dll <span style='color:#111;'> 177.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • lwg140811 :
    可以参考一下,感谢分享
    2020-01-07
  • lluodayu :
    适合初学者,还可以
    2018-10-13
  • 叶半欲缺 :
    参考学习学习
    2018-03-16
  • 枫叶fengdnnn :
    显示消息太长,就显示不出来了
    2017-10-19
  • 幽兰上神 :
    别浪费csdn的分
    2017-05-16

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明