Inheritance: ContainerControl
コード例 #1
0
			public UpDownTextBox (UpDownBase owner)
			{
				this.owner = owner;

				SetStyle (ControlStyles.FixedWidth, false);
				SetStyle (ControlStyles.Selectable, false);
			}
コード例 #2
0
            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();
			}
コード例 #9
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();
            }
コード例 #10
0
ファイル: UpDownBase.cs プロジェクト: ForNeVeR/pnet
 internal UpDownEdit(UpDownBase parent) : base()
 {
     this.parent      = parent;
     doubleClickFired = false;
 }
コード例 #11
0
ファイル: UpDownBaseProvider.cs プロジェクト: mono/uia2atk
		public UpDownBaseProvider (UpDownBase upDownBase) : base (upDownBase)
		{
		}
コード例 #12
0
ファイル: UpDownBaseProvider.cs プロジェクト: mono/uia2atk
			public UpDownBaseButtonProvider (UpDownBase upDownBase,
			                                 UpDownBaseButtonOrientation orientation)
				: base (null)
			{
				this.upDownBase = upDownBase;
				this.orientation = orientation;
			}
コード例 #13
0
 internal UpDownButtons(UpDownBase parent)
 {
     base.SetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth | ControlStyles.Opaque, true);
     base.SetStyle(ControlStyles.Selectable, false);
     this.parent = parent;
 }
コード例 #14
0
 public UpDownEditAccessibleObject(UpDownBase.UpDownEdit owner, UpDownBase parent) : base(owner)
 {
     this.parent = parent;
 }
コード例 #15
0
 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;
		}
コード例 #18
0
 internal UpDownButtons(UpDownBase parent)
 {
     base.SetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth | ControlStyles.Opaque, true);
     base.SetStyle(ControlStyles.Selectable, false);
     this.parent = parent;
 }
コード例 #19
0
 public UpDownEditAccessibleObject(UpDownBase.UpDownEdit owner, UpDownBase parent) : base(owner)
 {
     this.parent = parent;
 }
コード例 #20
0
 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;
 }
コード例 #23
0
 /// <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));
 }
コード例 #24
0
 /// <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));
 }
コード例 #25
0
 public UpDownButtonsAccessibleObject(UpDownBase.UpDownButtons owner) : base(owner)
 {
 }
コード例 #26
0
 /// <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;
 }
コード例 #28
0
 public DirectionButtonAccessibleObject(UpDownBase.UpDownButtons.UpDownButtonsAccessibleObject parent, bool up)
 {
     this.parent = parent;
     this.up = up;
 }