C# WPF simple MVVM pattern example

1, Foreword Using MVVM pattern development in WPF has the following advantages: 1. The structure is clear and clear, and the starting cost is low. A newcomer can quickly locate the position where he needs to change the code. 2. Low coupling, changing WPF control does not affect data structure, and the cost of changing code is low. 3. High reus ...

Added by goa103 on Fri, 17 Dec 2021 18:35:47 +0200

WPF performance optimization - high refresh drawing

Background introduction The author received a request to display the patient's real-time physiological signals (ECG, etc.) on WPF in real time. The team developed the request and finished it soon (the effect picture of Unit test is as follows) However, it was later released to the product and found that the resource consumption is larger than ...

Added by coolphpdude on Thu, 09 Dec 2021 10:06:33 +0200

Use of dynamic data collection ObservableCollection

In the C/S architecture, we often encounter dynamic updating of data. The dynamic operation of data in different forms often can not achieve the effect of real-time updating. To realize this function, c# provides ObservableCollection class, which can provide attribute change notification when adding, deleting items or refreshing lists, Let's su ...

Added by ronjon on Thu, 09 Dec 2021 02:34:35 +0200

Single machine Lianliankan crack

QQ Lianliankan stand-alone version: qqlk.exe Title: 1. Find the exe of the program itself 2. Remove the advertisement in the program 3. Write a QQ plug-in Tools used: OD PEID ImpREC VS2013 Test environment: Virtual machine win7 platform 32-bit 1. Initial interface &n ...

Added by biba028 on Tue, 07 Dec 2021 12:25:49 +0200

HTML-form (easy to understand)

Forms: Forms are mainly used to make dynamic web pages for easy interaction with users Form syntax: <form method=" " action=" " enctype="multipart/form-data"></form> When enctype uses file fields in a form, the enctype encoding property of the form must be set to "multipart/form-data", which means that the form data is ...

Added by pulsedriver on Mon, 06 Dec 2021 20:27:52 +0200

Use of additional attributes

Additional properties 1, Why additional attributes need to be defined: An additional attribute is a dependent attribute. Different from the dependent attribute, the class to which the additional attribute is applied is not the class that defines the additional attribute. A dependency attribute does not belong to an object, but the object nee ...

Added by Fizzgig on Sun, 05 Dec 2021 02:49:03 +0200

VS2019 WPF makes OTA host computer to obtain bin file path

OTA upgrade is to remotely transmit the contents of bin file to MCU through wireless communication to complete the upgrade. Therefore, the upper computer needs to obtain the path of the bin file, read the contents of the bin file, and send the contents in sequence (because the receiving cache of the single chip microcomputer will not be as larg ...

Added by nelson201 on Sun, 26 Sep 2021 08:47:05 +0300