상속: ContainerControl
예제 #1
0
			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);
 }
예제 #4
0
            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);
 }
예제 #6
0
파일: UpDownBase.cs 프로젝트: ForNeVeR/pnet
 internal UpDownButtons(UpDownBase parent) : base()
 {
     SetStyle(ControlStyles.Selectable, false);
     this.parent = parent;
     timer       = new Timer();
     pressed     = ButtonID.None;
     captured    = ButtonID.None;
 }
예제 #7
0
		internal UpDownButtons(UpDownBase parent) : base()
		{
			SetStyle(ControlStyles.Selectable, false);
			this.parent = parent;
			timer = new Timer();
			pressed = ButtonID.None;
			captured = ButtonID.None;
		}
예제 #8
0
			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();
			}
            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();
            }
예제 #10
0
파일: UpDownBase.cs 프로젝트: ForNeVeR/pnet
 internal UpDownEdit(UpDownBase parent) : base()
 {
     this.parent      = parent;
     doubleClickFired = false;
 }
예제 #11
0
		public UpDownBaseProvider (UpDownBase upDownBase) : base (upDownBase)
		{
		}
예제 #12
0
			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;
 }
예제 #16
0
		public UpDownSpinner (UpDownBase owner)
		{
			this.owner = owner;	
		}
예제 #17
0
		internal UpDownEdit(UpDownBase parent) : base()
		{
			this.parent = parent;
			doubleClickFired = false;
		}
 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 DomainUpDownAccessibleObject(DomainUpDown owner) : base(owner)
 {
     _owningDomainUpDown = owner;
 }
예제 #22
0
 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;
 }