1. Solve the problem of duplication of mask layers when multiple pop-up windows occur. Now multiple pop-up windows will share one mask layer.
2. Solve the problem that when one of the multiple pop-up windows is a modal dialog box, closing the modal dialog box will not cancel the mode mask layer.
3. Solve the problem of clicking the background window to put it on top when there are multiple pop-up windows. Next step
1. Multilingualization, mainly the text of buttons
2. Provide more style customization functions
3. Optimize the storage of PopupService and clear the useless PopupService (that is, no longer manages any pop-up windows) from the cache in a timely manner.
4.BoxPage plus Border
5. The current window pop-up is in the middle of the mask layer. It has been improved to be able to specify the position relative to the mask layer when the window pops up.
6. If there is already another window at the position of the pop-up window, offset the window by a certain amount to ensure that the original window is not completely blocked.
7. The pop-up window can be moved out of the scope of its mask layer when dragged. It is best to control the size of the mask layer and not allow the pop-up window to move at will, so that the movable range of the pop-up window can be controlled within an area. question
1. When loading images in BoxPage, using a relative path will cause the image to be read from the relative path of the class library, resulting in an image reading error. I don’t know how to set it to read the relative path of the currently running project.
2. There are still some similar and identical codes in MessagePage and BoxPage, which cannot be completely abstracted and separated, and optimization design needs to be considered.
3. When the content in the MessagePage is a certain number of English strings without spaces, there will be a problem of the last character wrapping.
4. When using the fade effect, because there is time for the window to disappear, you can click different buttons on the MessagePage multiple times, but the result is based on the last clicked button, and should be corrected so that subsequent button clicks are invalid.
5. Countless unknown problems and bugs...
Test use: run 51aspxDemo/Bin/Debug/TestPage.html directly or open it with VS2008 and then Ctrl+F5 to see the effect
Expand