Skip to content

sachintha00/Message-Box-For-C-Sharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Message-Box

Message box for C# .NET Framework (windows form)

How to use

You must add this dll to your project before using it.

👉First go to the solution explorer on the right side and right click on the references under your project.

👉Then select add references and then click on the browse button, select dll file and click on the ok button.

as follows

ezgif com-gif-maker (1)

👉Then you need to import this code segment

using SMDMessageBox;

as follows

Screenshot_13

Then you can use it like default windows form messagebox using as follows examples

🎈 INFORMATION MESSAGE

SMDMessage.show("Title", "Message", SMDMessageBoxButtons.OK, SMDMessageBoxIcon.Information);

ezgif com-gif-maker (2)

🎈 ERROR MESSAGE

SMDMessage.show("Title", "Message", SMDMessageBoxButtons.OK, SMDMessageBoxIcon.Error);

ezgif com-gif-maker (3)

🎈 WARNING MESSAGE

SMDMessage.show("Title", "Message", SMDMessageBoxButtons.OK, SMDMessageBoxIcon.Warning);

ezgif com-gif-maker (4)

🎈 QUESTION MESSAGE

SMDMessage.show("Title", "Message", SMDMessageBoxButtons.OK, SMDMessageBoxIcon.Question);

ezgif com-gif-maker (5)

Here you can see the Buttons type as in the default C# message box.

Screenshot_14

About

Message box for C# windows form

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published