• WPF: (2) thread example


    Source project address: https://github.com/Microsoft/…The following is the conversion of the sample into a brief description, and gives the actual operation effect and key code: 1 MultiThreadingWebBrowser private void Browse(object sender, RoutedEventArgs e) { placeHolder.Source = new Uri(newLocation.Text); } private void NewWindowHandler(object sender, RoutedEventArgs e) { var newWindowThread = new Thread(ThreadStartingPoint); newWindowThread.SetApartmentState(ApartmentState.STA); newWindowThread.IsBackground = true; newWindowThread.Start(); […]

  • Wechat applet sharing and forwarding events


    “Sharing and forwarding” function of wechat applet1. On page custom sharing2. “…” in the upper right corner of the page Sharing behavior When the event “onshareappmessage” is not added to the page JS, the upper right corner “…” No forward events will occur.If there is an event, but the event content is not defined, the […]

  • My common idea plug-ins are open to the public, all are boutiques!


    Springboot practical e-commerce project Mall (30K + star) address: https://github.com/macrozheng/mall abstract Summed up the usual work in the 12 idea plug-ins, back-end and front-end have, attached my use skills, after reading the development efficiency bar! Lombok Lombok provides very interesting additional functions for Java projects. Using its annotations can effectively solve those tedious and repetitive […]

  • Android studio is the first app that novices encounter


    scene When you read an Android tutorial, you are happy to run the first HelloWorld, only to find that new projects in Android studio always report errors. It can not compile successfully, the run button is gray, and there is no virtual machine, but a simple hello world can’t run. Note: Blog:https://blog.csdn.net/badao_liumang_qizhi Official accountDomineering procedural […]

  • Custom special navigation bar (aha ha)


    There is a special requirement in the project development, which is shown in the figure below First? See this picture First communication The picture has not been transmitted last time, now feel your own feelings The second death third time reason The designer thinks that Apple’s current way of returning to the left side of […]

  • Learn and collect various [transition / animation] effects of button


    1. Using active state. Active to achieve click effect:activeMove right down when active, usetransformProperty, by the waytransitionProperty, optimize the transition effect. (the appropriate Bezier curve can be obtained by debugging using the console)https://codepen.io/nidusp/pen/yLYNara < label class = “button” > < button > < button > < button > button //Use label to help distinguish between […]

  • (18) C ා WinForm custom control – prompt box – hzhcontrols


    Official website http://www.hzhcontrols.com premise Has been in the industry for 7,8 years, has always wanted to do a set of beautiful custom controls, so there is a series of articles. GitHub:https://github.com/kwwwvagaa/NetWinformControl Code cloud: https://gitee.com/kwwwvagaa/net_ winform_ custom_ control.git If you think the writing is OK, please click a star to support it Welcome to discuss: Penguins […]

  • Simple implementation of cool GUI window based on WPF


    “Blog move”Original address: CSDN original publication time: November 7, 2016 In this paper, we want to realize a cool GUI window based on WPF, and try to realize a really usable and practical GUI window. The effect of this paper is shown in the figure The results are summarized as follows: No title bar, or […]

  • I’m glad that the markdown online editor I developed is getting better and better.


    Let’s sun it first. Of course, from the beginning, I tried to achieve the following four points: I can automatically save the draft content to the server anytime and anywhere; I can edit in markdown format by keyboard shortcut; I can edit in sections (in case the article is long); and most functions can also […]

  • Print to PDF using electron


    Print to PDF using electron The application examples of this series of articles have been published in GitHub: electron API demos zh_ Cn. You can clone or download it to view. Welcome to star In electronbrowser windowThe module haswebContentsProperty, which allows your application to print and print to PDF There is a version of this […]

  • JS password generator


    Password Generato Recently, referring to some password generators on the Internet, a similar password generator has been imitated. The password is mainly composed of “upper case”, “lower case”, “number” and “symbol”. The specific style is shown in the figure below: development process This paper mainly records the JS development process, and the CSS style will […]

  • springcloud vue.js Split microservices distributed flowable workflow Shiro permission


    1. Code generator:[positive and negative two-way] (single table, main table, detail list, tree table, sharp tool for rapid development)Freemaker template technology, 0 code does not need to be written, generating a complete module with page, table building SQL script, processing class, service and other complete modules2(support to connect numerous databases at the same time, and […]