Beispiel #1
0
        // Create a top-level popup window.  Popup windows do not have
        // any borders and grab the mouse and keyboard when they are mapped
        // to the screen.  They are used for menus, drop-down lists, etc.
        public IToolkitWindow CreatePopupWindow
            (int x, int y, int width, int height, IToolkitEventSink sink)
        {
            DrawingWindow window = new DrawingPopupWindow(this, x, y, width, height, sink);

            AddWindow(window, null);
            window.CreateWindow();
            return(window);
        }
	// Create a top-level popup window.  Popup windows do not have
	// any borders and grab the mouse and keyboard when they are mapped
	// to the screen.  They are used for menus, drop-down lists, etc.
	public IToolkitWindow CreatePopupWindow
		(int x, int y, int width, int height, IToolkitEventSink sink)
	{
		DrawingWindow window = new DrawingPopupWindow(this, x, y, width, height, sink);
		AddWindow(window, null);
		window.CreateWindow();
		return window;
	}