Lots of updates

This commit is contained in:
Matthew Burke
2023-07-26 22:26:54 -04:00
parent 42794b6284
commit 1b65e9bb83
24 changed files with 1305 additions and 28 deletions
@@ -0,0 +1,38 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
namespace PWAPPv2.Source.DataObjects
{
abstract class ComboBoxData
{
protected ComboBox Box;
public ComboBoxData(ComboBox box)
{
Box = box;
}
public void Add(string content)
{
Box.Items.Add(content);
}
public string GetSelectedData()
{
return Box.SelectedItem.ToString();
}
public abstract void Update();
public abstract int GetSelectedIndex(string content);
public abstract int GetSelectedID();
}
}