public KineticControlBase(KineticControlScrollType scrollType) { InitializeComponent(); ContentRectangle = ClientRectangle; _ScrollTimer.Tick += OnScrollTick; _ScrollToTimer.Tick += OnScrollToTick; _scrollType = scrollType; SCROLL_THRESHOLD = UISettings.CalcPix(SCROLL_THRESHOLD); SCROLL_BEGIN_THRESHOLD = UISettings.CalcPix(SCROLL_BEGIN_THRESHOLD); _delegate = WnProc; _wndprocReal = Win32.SetWindowLong(Handle, Win32.GWL_WNDPROC, Marshal.GetFunctionPointerForDelegate(_delegate)); }
public TransitionControl() { _delegate = WnProc; _wndprocReal = Win32.SetWindowLong(Handle, Win32.GWL_WNDPROC, Marshal.GetFunctionPointerForDelegate(_delegate)); }
public KineticControlBase(KineticControlScrollType scrollType) { InitializeComponent(); ContentRectangle = ClientRectangle; _ScrollTimer.Tick += OnScrollTick; _ScrollToTimer.Tick += OnScrollToTick; _scrollType =scrollType; SCROLL_THRESHOLD = UISettings.CalcPix(SCROLL_THRESHOLD); SCROLL_BEGIN_THRESHOLD = UISettings.CalcPix(SCROLL_BEGIN_THRESHOLD); _delegate = WnProc; _wndprocReal = Win32.SetWindowLong(Handle, Win32.GWL_WNDPROC, Marshal.GetFunctionPointerForDelegate(_delegate)); }