예제 #1
0
            public UpDownButtonNativeWindow(JMNumericUpDown owner)
                : base()
            {
                _owner           = owner;
                _upDownButton    = owner.UpDownButton;
                _upDownButtonWnd = _upDownButton.Handle;

                if (Environment.OSVersion.Version.Major > 5)
                {
                    if (IsAppThemed())
                    {
                        SetWindowTheme(_upDownButtonWnd, "", "");
                    }
                }

                base.AssignHandle(_upDownButtonWnd);
            }
예제 #2
0
 public void Dispose()
 {
     _owner        = null;
     _upDownButton = null;
     base.ReleaseHandle();
 }