Giter Club home page Giter Club logo

informationbox's People

Contributors

dependabot[bot] avatar johannblais avatar jvanderstad avatar magicandre1981 avatar valimaties avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

informationbox's Issues

Callback. more than three buttons

Very good messagebox, but documentation is a bit thin. Can you answer the following please?

Basic constructor ... InfoBox.InformationBox.Show( ... intellisense shows the first parameter signature as "string text, params object[] Parameters ). The description mentions : "The constructor accepts an undefined number of parameters, in an undefined order." How does this basic constructor work? In notice that the enum value for InfoBox.InformationBoxIcon.Information and InfoBox.InformationBoxButtons.YesNo are both 4.

How does the callback feature work - can you provide an example?
Is it possible to have more than three buttons?

Thanks

Show in MDI Form does not center in form

Describe the bug
A clear and concise description of what the bug is.

When the InformationBox is shown in a mdi form the message box is not displaying center to the form. Seems it displaying center in the screen

To Reproduce
Steps to reproduce the behavior:

  1. Create a form in a project and set its IsMdiContainer to true.
  2. Write and display a InformationBox.Show("My message test", this) message.
  3. You will see that InformationBox window is centered to screen, not to its parent.

Expected behavior
Centering to parent even if parent is mdi container.

Screenshots
If applicable, add screenshots to help explain your problem.

Screenshot 2024-05-01 224628

Desktop (please complete the following information):

  • OS: W11 x64
  • Framework: .Net Framework 4.8

Additional context
Add any other context about the problem here.

In other conditions, like modal or non-modal forms, but not-mdi, the window will center correctly. Only in mdi form is displaying centered to screen, not to its parent.

Replace the text of the CheckBox

Could it be possible to replace the text of the (DoNotShowAgain) CheckBox? That will make the CheckBox flexible to be used for other purposes.

Custom buttons not shown by calling the Show() overload with CheckState out parameter

The call below does not show the customButtons: new string[] { buttonTexts.Button1, buttonTexts.Button2, buttonTexts.Button3 }

return InformationBox.Show("How are you?", out checkBoxState, title: caption, icon: InformationBoxIcon.Question,
defaultButton:defaultButton, customButtons: new string[] { buttonTexts.Button1, buttonTexts.Button2, buttonTexts.Button3 },
showDoNotShowAgainCheckBox: InformationBoxCheckBox.Show, doNotShowAgainText: checkBoxText);

Support for 3 custom buttons required

Is your feature request related to a problem? Please describe.
Currently, there is support for 2 custom buttons.
I need 3 custom buttons.

Describe the solution you'd like
The enum value InfoBox.InformationBoxButtons.User1User2User3 is missing for the buttons argument:

InfoBox.InformationBox.Show("Auf welchem Weg wurden die Input-Dateien vom Kunden/Buchhalter bereit gestellt?",
    buttons:=InfoBox.InformationBoxButtons.User1User2User3,
    customButtons:=New String() {"DMS-System", "Standard-E-Mail", "DATEV-E-Mail"},
    icon:=InfoBox.InformationBoxIcon.Question)

VS2019 C# build and every time create folders....

Is your feature request related to a problem? Please describe.
VS2019 C# build and every time create folders in release folder.
fa,de,ar,fr,...

Describe the solution you'd like
no create folder.

Describe alternatives you've considered
no create folder.

Additional context
image

thank you.

.NET 8 support

Is your feature request related to a problem? Please describe.

this week the stable version of .net 8 will be released

Describe the solution you'd like

It would be nice to have net8.0-windows added as targetframework

.NetCore 3.1 support

Can you please add .net core 3.1 support, I get this warning:

warning NU1701: Package 'InformationBox 1.0.0.29' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project.

Option to disable sound

It would be nice if there is an option to disable the system sound when showing the message box.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.