public UpDownTextBox (UpDownBase owner) { this.owner = owner; SetStyle (ControlStyles.FixedWidth, false); SetStyle (ControlStyles.Selectable, false); }
public UpDownTextBox(UpDownBase owner) { this.owner = owner; SetStyle(ControlStyles.FixedWidth, false); SetStyle(ControlStyles.Selectable, false); }
public UpDownEditAccessibleObject(UpDownEdit owner, UpDownBase parent) : base(owner) { _parent = parent.OrThrowIfNull(); _owningUpDownEdit = owner; _textProvider = new TextBoxBaseUiaTextProvider(owner); UseTextProviders(_textProvider, _textProvider); }
internal UpDownEdit(UpDownBase parent) : base() { SetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth, true); SetStyle(ControlStyles.Selectable, false); _parent = parent; }
public UpDownEditAccessibleObject(UpDownEdit owner, UpDownBase parent) : base(owner) { _parent = parent ?? throw new ArgumentNullException(nameof(parent)); _owningUpDownEdit = owner; _textProvider = new TextBoxBaseUiaTextProvider(owner); UseTextProviders(_textProvider, _textProvider); }
internal UpDownButtons(UpDownBase parent) : base() { SetStyle(ControlStyles.Selectable, false); this.parent = parent; timer = new Timer(); pressed = ButtonID.None; captured = ButtonID.None; }
public UpDownSpinner(UpDownBase owner) { this.owner = owner; mouse_pressed = 0; SetStyle(ControlStyles.AllPaintingInWmPaint, true); SetStyle(ControlStyles.DoubleBuffer, true); SetStyle(ControlStyles.Opaque, true); SetStyle(ControlStyles.ResizeRedraw, true); SetStyle(ControlStyles.UserPaint, true); SetStyle(ControlStyles.FixedHeight, true); SetStyle(ControlStyles.Selectable, false); tmrRepeat = new Timer(); tmrRepeat.Enabled = false; tmrRepeat.Interval = 10; tmrRepeat.Tick += new EventHandler(tmrRepeat_Tick); compute_rects(); }
internal UpDownEdit(UpDownBase parent) : base() { this.parent = parent; doubleClickFired = false; }
public UpDownBaseProvider (UpDownBase upDownBase) : base (upDownBase) { }
public UpDownBaseButtonProvider (UpDownBase upDownBase, UpDownBaseButtonOrientation orientation) : base (null) { this.upDownBase = upDownBase; this.orientation = orientation; }
internal UpDownButtons(UpDownBase parent) { base.SetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth | ControlStyles.Opaque, true); base.SetStyle(ControlStyles.Selectable, false); this.parent = parent; }
public UpDownEditAccessibleObject(UpDownBase.UpDownEdit owner, UpDownBase parent) : base(owner) { this.parent = parent; }
internal UpDownEdit(UpDownBase parent) { base.SetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth, true); base.SetStyle(ControlStyles.Selectable, false); this.parent = parent; }
public UpDownSpinner (UpDownBase owner) { this.owner = owner; }
public DomainUpDownAccessibleObject(DomainUpDown owner) : base(owner) { _owningDomainUpDown = owner; }
public UpDownSpinner(UpDownBase owner) { this.owner = owner; }
/// <summary> /// Returns an observable sequence wrapping the BackgroundImageLayoutChanged event on the UpDownBase instance. /// </summary> /// <param name="instance">The UpDownBase instance to observe.</param> /// <returns>An observable sequence wrapping the BackgroundImageLayoutChanged event on the UpDownBase instance.</returns> public static IObservable <EventPattern <EventArgs> > BackgroundImageLayoutChangedObservable(this UpDownBase instance) { return(Observable.FromEventPattern <EventHandler, EventArgs>( handler => instance.BackgroundImageLayoutChanged += handler, handler => instance.BackgroundImageLayoutChanged -= handler)); }
/// <summary> /// Returns an observable sequence wrapping the MouseMove event on the UpDownBase instance. /// </summary> /// <param name="instance">The UpDownBase instance to observe.</param> /// <returns>An observable sequence wrapping the MouseMove event on the UpDownBase instance.</returns> public static IObservable <EventPattern <MouseEventArgs> > MouseMoveObservable(this UpDownBase instance) { return(Observable.FromEventPattern <MouseEventHandler, MouseEventArgs>( handler => instance.MouseMove += handler, handler => instance.MouseMove -= handler)); }
public UpDownButtonsAccessibleObject(UpDownBase.UpDownButtons owner) : base(owner) { }
/// <summary> /// Returns an observable sequence wrapping the AutoSizeChanged event on the UpDownBase instance. /// </summary> /// <param name="instance">The UpDownBase instance to observe.</param> /// <returns>An observable sequence wrapping the AutoSizeChanged event on the UpDownBase instance.</returns> public static IObservable <EventPattern <EventArgs> > AutoSizeChangedObservable(this UpDownBase instance) { return(Observable.FromEventPattern <EventHandler, EventArgs>( handler => instance.AutoSizeChanged += handler, handler => instance.AutoSizeChanged -= handler)); }
public NumericUpDownAccessibleObject(NumericUpDown owner) : base(owner) { _owningNumericUpDown = owner; }
public DirectionButtonAccessibleObject(UpDownBase.UpDownButtons.UpDownButtonsAccessibleObject parent, bool up) { this.parent = parent; this.up = up; }