From bd730edc6c9033c7ece9f4929899155b25144f39 Mon Sep 17 00:00:00 2001 From: N00MKRAD Date: Sun, 13 Sep 2020 13:46:03 +0200 Subject: [PATCH] Create ModelDropdown.cs --- Code/UI/Controls/ModelDropdown.cs | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Code/UI/Controls/ModelDropdown.cs diff --git a/Code/UI/Controls/ModelDropdown.cs b/Code/UI/Controls/ModelDropdown.cs new file mode 100644 index 0000000..63c7a69 --- /dev/null +++ b/Code/UI/Controls/ModelDropdown.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Cupscale.UI.Controls +{ + class ModelDropdown : ComboBox + { + + + + public ModelDropdown () // Constructor + { + // :thinking: + } + + protected override void OnDropDown(EventArgs e) + { + // if (!IsRunning()) + // return; + base.OnDropDown(e); + UIHelpers.FillModelComboBox(this, false); + } + } +}