using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Outlook2013TodoAddIn { /// /// Class to add combo box items and retrieve them more easily /// public class ComboBoxItem { #region "Properties" /// /// Text /// public string Text { get; set; } /// /// Value /// public object Value { get; set; } #endregion "Properties" #region "Methods" /// /// Default constructor /// /// Text /// Value public ComboBoxItem(string text, object value) { this.Text = text; this.Value = value; } /// /// Override to string to display the text entry /// /// Text property public override string ToString() { return Text; } #endregion "Methods" } }