public WindowMessage( WindowHandle window, MessageType type, WParam wParam = default, LParam lParam = default, uint time = 0, Point point = default) { Window = window; Type = type; WParam = wParam; LParam = lParam; Time = time; Point = point; }
public Timer(WParam wParam, LParam lParam) { _wParam = wParam; _lParam = lParam; }
protected virtual LResult WindowProcedure(WindowHandle window, MessageType message, WParam wParam, LParam lParam) { switch (message) { case MessageType.Destroy: if (window == MainWindow) { Windows.PostQuitMessage(0); } return(0); } return(Windows.DefaultWindowProcedure(window, message, wParam, lParam)); }