示例#1
0
        public TextBoxDisplay()
        {
            InitializeComponent();

            mTextBoxLogic = new TextBoxDisplayLogic(this, TextBox);

            this.RefreshContextMenu(TextBox.ContextMenu);
        }
        public FileSelectionDisplay()
        {
            InitializeComponent();

            mTextBoxLogic = new TextBoxDisplayLogic(this, TextBox);

            this.RefreshContextMenu(TextBox.ContextMenu);
        }
示例#3
0
        public SliderDisplay()
        {
            InitializeComponent();

            mTextBoxLogic          = new TextBoxDisplayLogic(this, TextBox);
            mTextBoxLogic.MinValue = 0;
            mTextBoxLogic.MaxValue = (decimal)this.MaxValue;
        }
示例#4
0
        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
        }