[UWP] Use Compact Overlay Mode to always display on the front end

1. What is and how to use Picture-in-Picture UWP offers a new view mode CompactOverlay after Windows 10 Creators Update, which translates Chinese into a compact overlay?Anyway, most of the time we call it Picture-in-Picture mode. The upper right corner of the above image is the Microsoft Movie and TV application that enters Picture-in-Picture ...

Posted by iimrii on Fri, 17 Jan 2020 12:13:10 -0800

Record. net using ueditor rich text editor

What is UEditor Recently, I used Baidu's rich text editor in the project. There are detailed operation process documents on the official website. Here I just record some events that are often used in projects. In order to facilitate future queries. UEditor is an open source project of Baidu's javascript editor. It supports Php, Asp, Asp.Net a ...

Posted by vcodeinfotec on Thu, 02 Jan 2020 20:27:52 -0800

[UWP] Design a flat status button for tomato clock applications

1. Why do you need to design a status button OnePomodoro There's a button in the app to control the start/stop of the timer. It should have been a button with two states: Started and Stopped. But I've done too many things like StateButton and ProgressButton on WPF and UWP before and I'm tired of this control, so I'm just using two buttons in O ...

Posted by Stephen on Mon, 30 Dec 2019 11:30:31 -0800

Using Topshelf to develop Windows services and record logs

To develop windows service, in addition to creating a new service project in vs (there have been written specific development methods before, you can click See ), you can also use Topshelf. However, using topshelf requires. Netframework version 4.5.2, which is not successful on vs2013. I use vs2017 here. The following are the specific steps: 1, ...

Posted by mnewhart on Tue, 24 Dec 2019 12:33:59 -0800

[UWP] Implement a gradient brush and animate using CompositionLinearGradientBrush

1. What is CompositionBrush CompositionBrush is used to draw when manipulating visualization layers SpriteVisual Brush for area. Make UWP application optional XAML Brush or CompositionBrush Draw UIElement.Many times XAML brushes and synthetic brushes can achieve the same effect, in official documents Use XAML brush vs.CompositionBrush A detail ...

Posted by Jennie on Tue, 24 Dec 2019 11:58:10 -0800

Add verification code when. Net log in

1, ASPX login interface verification code 1. Login verification code picture and input verification code box <asp:TextBox ID="txtValiCode" runat="server" Width="50px"></asp:TextBox> <asp:Image ID="ValiCode" ImageUrl="CreateValiImg.aspx" runat="server" style="position:relative;top:4px;" /> Interface    2,js $(function () { ...

Posted by NoFear on Mon, 23 Dec 2019 07:10:54 -0800

[UWP] occupy title block

1. Preface Every application with ideal UWP will make the idea of title block, especially when Microsoft provides Extend Acrylic to the title block After this function, most of Windows 10's native applications are not obedient, occupying one mu and three Fen of the title bar. This blog will show you how to customize the title block in UWP. 2. ...

Posted by JD-AM on Mon, 23 Dec 2019 02:24:09 -0800

The use of Aplayer.js music player in Asp.Net MVC

1. Foreword: Apter.Js is a lovely and beautiful Js music player. I've learned and made some of it before. Now I use mp3 format to develop it in. Net. Pipe network https://aplayer.js.org/ 2. Start with: Just add a jQuery.js and APlayer.min.js and APlayer.min.css to the project. Look at a simple Chestnut: <link rel="stylesheet" href="~/S ...

Posted by elgordo1960 on Fri, 20 Dec 2019 01:58:59 -0800

ASP.Net MVC OA project notes

1.1.0 create data layer 1.1.1 CZBK.ItcastOA.IDAL refers to CZBK.ItcastOA.Model 1.2.1 add an interface IUserInfoDal to IDAL Interface method for adding, deleting, modifying and querying pages in public interface IUserInfoDal { //check IQueryable<UserInfo> LoadEntities(System.Linq.Expressions.Expression<Func<User ...

Posted by kolanos7 on Mon, 16 Dec 2019 13:23:17 -0800

ASP.Net MVC OA project notes

1.1.1 EF thread unique           EF instances are used in the data layer and data session layer, so only one EF instance (the only object in the thread) can be created in a request, and it is encapsulated as a factory class 1.1.2 to prevent cross reference and circular reference, this factory class should be written in the data layer DAL New cl ...

Posted by king arthur on Mon, 16 Dec 2019 09:08:00 -0800