Skip to content

fel88/AutoDialog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoDialog

Library for creating custom dialog boxes for WinForms

Available as NuGet package https://www.nuget.org/packages/AutoDialog

Samples

Min/Max selector:

var d = DialogHelpers.StartDialog();
d.AddNumericField("min", "Minimum", 128, min: 0, max: 255, decimalPlaces: 0);
d.AddNumericField("max", "Maximum", 255, min: 0, max: 255, decimalPlaces: 0);

if (!d.ShowDialog())
    return;

 MessageBox.Show($"Entered values: {d.GetIntegerNumericField("min")}  {d.GetIntegerNumericField("max")}");

image


ComboBox selector:

var d = DialogHelpers.StartDialog();
d.AddOptionsField("color", "Color", new string[] { "Red", "Green", "Blue" }, "Green");

if (!d.ShowDialog())
  return;

MessageBox.Show(d.GetOptionsField("color"));

image

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages