06-15-2022, 04:27 PM
C# code:
// script ""
using System.Windows.Controls;
var b = new wpfBuilder("Window").WinSize(400);
b.R.Add("Combo", out ComboBox combo1).Items(typeof(DayOfWeek).GetEnumValues());
b.AddOkCancel();
b.End();
if (!b.ShowDialog()) return;
print.it((DayOfWeek)combo1.SelectedItem);