Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages