Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ComboBox Items from enum
#2
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);


Messages In This Thread
ComboBox Items from enum - by netdude78 - 06-15-2022, 04:12 PM
RE: ComboBox Items from enum - by Gintaras - 06-15-2022, 04:27 PM
RE: ComboBox Items from enum - by netdude78 - 06-15-2022, 04:43 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)