19 lines
378 B
C#
19 lines
378 B
C#
![]() |
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Windows.Forms;
|
|||
|
|
|||
|
namespace BizHawk.Client.EmuHawk
|
|||
|
{
|
|||
|
public class LuaDropDown : ComboBox
|
|||
|
{
|
|||
|
public LuaDropDown(List<string> items)
|
|||
|
: base()
|
|||
|
{
|
|||
|
Items.AddRange(items.Cast<object>().ToArray());
|
|||
|
SelectedIndex = 0;
|
|||
|
DropDownStyle = ComboBoxStyle.DropDownList;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|