BaseTextInputControl.cs 582 B

123456789101112131415161718192021222324252627
  1. using System.Windows.Controls;
  2. namespace WPG.MBIPropType
  3. {
  4. public abstract class BaseTextInputControl : ITextInputControl
  5. {
  6. private ItemCollection m_Paramters;
  7. protected BaseTextInputControl()
  8. {
  9. ComboBox box = new ComboBox();
  10. this.m_Paramters = box.Items;
  11. this.m_Paramters.Clear();
  12. }
  13. public abstract bool InputControl(string fullText);
  14. public ItemCollection Parmerters
  15. {
  16. get
  17. {
  18. return this.m_Paramters;
  19. }
  20. }
  21. }
  22. }