Paperless Conference System Development Record 20210320

Paperless Conference System Development Record 20210320

In the past week, I mainly completed the introductory learning of c#, the introductory learning of wpf, and the development of the part of the client interface that has nothing to do with business logic.

Interface display

Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

Part of the requirements details, problems encountered and solutions

  • The interface must have a rollback function. For example, the role of the host can complete the following path: meeting voting list -> voting content details page -> view the voting result page after initiating a vote -> select the voting details page, this process should support rollback , When switching to other functions, such as file browsing and then switching back to the selection function, the previous page status should be retained

  • The solution is to maintain a mapping dictionary of <function name, stack>, each stack maintains a sequence of page objects corresponding to the function, and maintains a reference to the current stack

  • When the check box is enlarged, only the font is enlarged, the box will not be enlarged

  • The solution is to use a custom ControlTemplate, when drawing the check box, the drawing coordinates are about five times larger

  • To achieve sidebar navigation, the foreground color and font of the selected button become red, and there is a red sidebar mark, the rest of the buttons are gray, there is no sidebar, and the wpf framework does not support setting pictures for the pressed and default states.

  • The solution is to use the radio button as the prototype of the navigation bar, rewrite the control template, turn the round selection box into a square sidebar, and fill the background of the icon with white and the foreground to be transparent, so you can use one The picture shows two colors, the picture is loaded into the border, the background color of the border will be displayed as the foreground color of the picture, and the color change requirement is completed through the data binding of the element

Current problem

  • Part of the sidebar image is missing due to the Padding setting problem
  • There is a problem with the image conversion in the sidebar, which causes colors to appear in extra places
  • The background color of the interface button is too dark, but the value is consistent with the interface prototype icon made by XD

Follow-up

  • Fix existing problems
  • A small amount of optimized typography
  • Complete data binding
  • Complete security related functions
  • Realize business-related interfaces, including pdf view, mp4 view, etc.

Guess you like

Origin blog.csdn.net/weixin_55713817/article/details/115034569