dotnetCampus.UITest.WPF is an interface unit testing framework supporting Chinese use cases
This article is about Amway to develop a WPF UI unit testing framework that supports using Chinese as use case names
selling point
Do you find naming too difficult? Do you find the naming of unit tests more difficult? Yes, this is a big problem in the industry. Many teams do not like to write unit tests because it is too difficult to name t ...
Added by cursed on Sun, 09 Jan 2022 04:55:11 +0200
Introduction to Java basics Chapter 4 process control statements
catalogue
Three structures of program
1. Sequential structure
2. Select structure
if select statement
If else selection statement
3. Circulation structure
whlie loop statement
Do while loop statement
for loop statement
4.Process jump statement
break jump statement
continue jump statement
Three structures of program
1. Sequentia ...
Added by agadgil on Sat, 08 Jan 2022 13:18:33 +0200
WPF common layout
summary
For beginners of WPF, this article is mainly used to record several common WPF layout containers, including grid, dockpanel, wrappanel, StackPanel and uniformgrid;
1.Grid
You can define the number of rows and columns by defining the Row divisions and columndivisions of the Grid, and you can freely set the size of the rows and columns ...
Added by superjoe30 on Wed, 05 Jan 2022 05:58:46 +0200
wpf drag the mouse to draw geometry
Recently, in learning wpf, I simply used the Button control to create a drawing of free lines, lines, rectangles and circles. There are not many learning events, so I just use the control to complete these functions, Class is not used for editing (if class is used, more functions can be realized. For example, select the drawn drawing to edit th ...
Added by jaikob on Tue, 04 Jan 2022 11:08:39 +0200
WPF multi trigger and multi data trigger
WPF multi trigger and multi data triggerWe use triggers to get dynamic styles. So far, they all trigger animation based on a single attribute. WPF also supports multiple triggers: detect multiple attributes and trigger the animation after the conditions of each detected attribute are met.
Multiple triggers can be divided into two types: MultiTr ...
Added by brandon99999 on Sun, 02 Jan 2022 07:20:22 +0200
In depth of Java thread pool: from design idea to source code interpretation
Why do I need a thread pool
We know that the common way to create a thread is new Thread(), and every time new Thread(), a thread will be re created, and the creation and destruction of threads will take time, which will not only consume system resources, but also reduce the stability of the system. In jdk1 There is an executor in the JUC pack ...
Added by LordTyphon on Sun, 02 Jan 2022 01:54:06 +0200
C# writing Windows dynamic desktop software to realize desktop interaction function
Dreamscene 2 version 1.3 has been released and now supports mouse and desktop interaction. This function will not affect performance and basically does not occupy CPU. This function gives me a deeper understanding of Windows message mechanism. In this blog, I will introduce the implementation in detail.
Welcome to Star and Fork https://github. ...
Added by johne281 on Fri, 31 Dec 2021 02:05:03 +0200
Reflection --- the soul of frame design
1, What is reflection?
① Frame: it is a semi-finished product! Benefits: improve our development efficiency and make our code more concise
② Reflection: when allowed, the process of extracting members from a class into other classes is called reflection
II. Method of obtaining reflection Class
① Obtained by the full path string of the cla ...
Added by stiduck on Sat, 25 Dec 2021 21:44:44 +0200
Open source C# WPF Control Library - newbeecoder UI User Guide
introductionIn the past, winform software was often used. The system comes with some simple controls. The style and appearance are relatively single, and the extended functions and styles are not very complete. However, when developing with wpf, there are few similar open source components, and slightly better ones are charged.Newbeecoder.UI op ...
Added by rlgriffo on Thu, 23 Dec 2021 00:34:48 +0200
CSP-J 2021 problem solving Report
Review the preliminaries well. I pressed the line
Fooling around with the cover
1. Divide candy
Generally speaking, T1 is not too difficult. In fact, it is not very difficult
I was so stupid that I didn't think of it until half an hour later
Cough, look at the data range of 10 ^ 9109, it's not done with violence.
If there are n children ...
Added by Kaizard on Sat, 18 Dec 2021 05:53:34 +0200