C#WPF program realizes automatic version update after opening (. net4.0 or above)
##C# WPF program realizes automatic update of open version Due to the needs of the project, it is necessary to automatically detect the version and update the version after the local WPF software is started. Let's share the logic and code of this part of the function realization. It is relatively simple, but it can realize the function. Program ...
Added by itisprasad on Sun, 20 Feb 2022 00:25:45 +0200
Communication mode between vue components (full)
Component communication classification:
Parent child component communicationSibling component communicationGrandson and descendant component communication‘Non relational component communication
8 common communication modes
1. Pass through props
Usage scenario: parent to child Usage: the child component sets and declares the props attr ...
Added by wolfrat on Sun, 20 Feb 2022 00:24:22 +0200
[module usage] use of turtle library and example demonstration
1. turtle Library - concept
1.1 turtle Library - definition of turtle Library
1.1.1 turtle Library - what is a turtle library?
Professional Edition: the turtle library is a third-party module of Python language. It is a simple and easy-to-use programming language developed by Wally Feurzig and Seymour Papert in 1966. Now it has become ...
Added by champbronc2 on Sun, 20 Feb 2022 00:11:36 +0200
From introduction to mastery of JUC
catalogue
1 what is JUC?
1.1 introduction to JUC
1.2 concept of process and thread
1.3 thread status
1.3.1 thread status:
1.3.2 difference between wait and sleep
1.4 concurrency and parallelism
1.4.1 serial mode
1.4.2 parallel mode
1.4.3 concurrency
1.4.4 parallel
1.4.5 user thread and daemon thread
2 LOCK interface
2.1 synchroniz ...
Added by NeoPuma on Sun, 20 Feb 2022 00:08:02 +0200
Opencv Python learning notes: basic operation of images
Get and modify pixel values
For color images, the value of a pixel in opencv represents the values of B, G and R of this pixel.
Get pixel value
import cv2
import numpy as np
# Read picture
img = cv2.imread("../data/image/1.jpeg",cv2.IMREAD_COLOR)
#Get the pixel value (B,G,R) of row 100 and column 100
px = img[100,100]
print(px)
#Get the ...
Added by sb on Sun, 20 Feb 2022 00:03:49 +0200
HarmonyOS application development -- MyNotePad [note] [API V6] Based on TextField and Image pseudo rich text
1. Name
Name the app: MyNotePad and my notebook. The app icon adopts the default icon. Just set the app name. The project has been placed in gitee: MyNotePad
2. Function description
For Hongmeng application development API V6, it may not have rich text components. Read the relevant documents. Some functions of rich text components will n ...
Added by guestabc on Sat, 19 Feb 2022 23:52:37 +0200
Java learning notes - operators, loops, Number & Math class methods
Java operator
Conditional operator (?:)
variable x = (expression) ? value1 if true : value2 if false
Simply put, if expression is true, the value of x is assigned value1, otherwise it is assigned value2
instanceof operator This operator is used to manipulate an object instance to check whether the object is a specific type (class type or i ...
Added by ckk on Sat, 19 Feb 2022 23:44:50 +0200
Fortran notes, Overloading & custom operators & inheriting Module
Reference: Peng Guolun: Fortran 95 programming, 2002, Chapter 11
catalogue
1. overload
2. User defined operator
3. Inherit Module
1. overload
Concept: functions with the same function name but different parameter types and numbers. The program will automatically decide which function to call according to the input parameters.
Implementa ...
Added by runawaykinms on Sat, 19 Feb 2022 23:40:09 +0200
SLAM exercises - point cloud fusion, filtering, smoothing and gridding
Computer vision life learn SLAM learning notes from scratch
The following topics are from computer vision life. Learn SLAM series from scratch
Point cloud fusion
subject
Title: point cloud fusion experiment. Given the RGB + depth images taken by 3 frames (discontinuous) RGB-D camera and the transformation matrix between them (taking t ...
Added by ndorfnz on Sat, 19 Feb 2022 23:36:32 +0200
Principle analysis and application of Python higher order function
Three higher order functions, closures and decorators
The so - called higher - order function is a kind of function that takes function as parameter In addition, the function that returns the function is also a high - order function
3.1 pass function as parameter to another function
3.1.1 introduction of higher-order functions
Functions in ...
Added by cheekydump on Sat, 19 Feb 2022 23:35:28 +0200