public TextBoxDisplay() { InitializeComponent(); mTextBoxLogic = new TextBoxDisplayLogic(this, TextBox); this.RefreshContextMenu(TextBox.ContextMenu); }
public FileSelectionDisplay() { InitializeComponent(); mTextBoxLogic = new TextBoxDisplayLogic(this, TextBox); this.RefreshContextMenu(TextBox.ContextMenu); }
public SliderDisplay() { InitializeComponent(); mTextBoxLogic = new TextBoxDisplayLogic(this, TextBox); mTextBoxLogic.MinValue = 0; mTextBoxLogic.MaxValue = (decimal)this.MaxValue; }
public AngleSelectorDisplay() { TypeToPushToInstance = AngleType.Radians; InitializeComponent(); Line.DataContext = this; mTextBoxLogic = new TextBoxDisplayLogic(this, this.TextBox); // do we have to refresh the context menu? We do in the TextBoxDisplay }