C#winform software realizes one-time compilation, is compatible with cross-platform windows, linux, and mac, and is compatible with Visual Studio native interface Form form development.
C#winform software implements one-time compilation, is compatible with cross-platform windows, linux, and mac, and is compatible with Visual Studio native interface Form form development 1. Background: Microsoft’s .net core development tool, currently, the winform interface software is not intended to support running on the Linux system. If you want C# desktop software to run on the Linux system, it is still troublesome to develop. Microsoft only allows C# console software to run on Linux. 2. Solution: One solution I thought of was to customize the System.Windows.Forms component that encapsulates the software, and encapsulate the interface framework GTK that supports windows and Linux into System.Windows.Forms! This plan has two characteristics: 1. Compatible with native C# form controls, the original C# software does not need to be redeveloped, just replace it with this component and recompile 2. You can use Visual Studio for visual development. There is no need to learn the framework, just reference the DLL 3. Component packaging This System.Windows.Forms is the key component to implement the C# interface. All controls of the Form interface are encapsulated in this component. In the .net core environment, this component is under the framework Microsoft.WindowsDesktop.App.WindownsForms. When the output mode of the development project…
Video resources recorded by myself (C/C++, Go, Qt, Linux, etc.)
Continuously updated… C language development practice: http://pan.baidu.com/s/1qXAP4x2 C Language Snake: https://pan.baidu.com/s/1pLRZIuJ C improvement: https://pan.baidu.com/s/1bEaK6E Learning new features of C++11: https://pan.baidu.com/s/1eRHTS1W 20-hour quick introduction to Go language video: https://pan.baidu.com/s/1jJPsThk GUI Programming Qt graphical interface programming 1: https://pan.baidu.com/s/1o8HS0uI Qt graphical interface programming 2: https://pan.baidu.com/s/1o80ynd4 Qt version of Othello (flipping chess): https://pan.baidu.com/s/1nvbWVix Linux related Raw socket: https://pan.baidu.com/s/1kUQ5K1L Configuration file Usage of protobuf: https://pan.baidu.com/s/1pLC1hb1
Golang compiles multi-platform executable programs for Mac, Linux, and Windows
https://blog.csdn.net/luolianxi/article/details/105848036 **************************************************** ************************ 1.MacCompile 64-bit executable programs on Linux and Windows platforms under Mac: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build test.goCGO_ENABLED=0 GOOS =windows GOARCH=amd64 go build test.go 2.LinuxCompile 64-bit executable programs for Mac and Windows platforms under Linux: CGO_ENABLED=0 GOOS=darwin GOARCH= amd64 go build test.goCGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build test.go 3.WindowsCompile 64-bit executable programs for Mac and Linux platforms under Windows:SET CGO_ENABLED=0SET GOOS=darwin3SET GOARCH=amd64go build main.go ****************** SET CGO_ENABLED=0SET GOOS=linuxSET GOARCH=amd64go build main.go GOOS: The target executable program runs the operating system, supporting darwin, freebsd, linux, and windowsGOARCH: The target executable program operating system architecture, including 386, amd64, armModify the attributes in go env Go version >= 1.13 When your GO version is greater than 1.13When the language version of the GO you installed is greater than 1.13, then there is no need to be so troublesome, just use the go env -w command Just do itgo env -w GOPROXY=https://goproxy.io,directgo env -w GOPRIVATE=*.corp.example.comgo env -w GO111MODULE=on Even if you close the terminal and open it again, it is still possible. This command is relatively harmless.
Analyze \r and \n from java, windows, linux
First give the ASCII values of \r and \n In Windows, \r\n means line break: Create a new txt file, enter A and line feed B, and then check the hexadecimal value of the txt. Refer to the picture above. 0D 0A means carriage return and line feed (\r\n). The result is as follows: In Linux, \n means line break: Also create a new txt file in Linux, enter A and line break B, and then check the hexadecimal value of the txt. There is only 0A, which is line break (\n). The result is as follows: The following is opened with Notepad. You can see that there is no line break. Question 1: Why do some files only have \n? Why can I also see line breaks? Because some editing tools have done special processing, if there is only \n, it will be treated as a line break. You can see that after opening the file created in Linux above in Notepad, a miracle happened and there was no line break. But when I changed the editor to view it, a miracle happened again, and I could see line breaks again. Sometimes when I take the log log under…
Analyze \r and \n from java, windows, linux
First give the ASCII values of \r and \n In Windows, \r\n means line break: Create a new txt file, enter A and line feed B, and then check the hexadecimal value of the txt. Refer to the picture above. 0D 0A means carriage return and line feed (\r\n). The result is as follows: In Linux, \n means line break: Also create a new txt file in Linux, enter A and line break B, and then check the hexadecimal value of the txt. There is only 0A, which is line break (\n). The result is as follows: The following is opened with Notepad. You can see that there is no line break. Question 1: Why do some files only have \n? Why can I also see line breaks? Because some editing tools have done special processing, if there is only \n, it will be treated as a line break. You can see that after opening the file created in Linux above in Notepad, a miracle happened and there was no line break. But when I changed the editor to view it, a miracle happened again, and I could see line breaks again. Sometimes when I take the log log under…
Is there any packaging tool that can package a java project into an installation program? Can this installer be installed directly under windows, linux, etc.?
Is there any packaging tool that can package a java project into an installation program? Can this installer be installed directly under different operating system platforms such as windows, linux, unix, etc.? 9 solutions #1 Check InstallAnyWhere. If you create exe files under Windows, there is exe4j. #2 LS is right, JBUILDER’s installation program is made using InstallAnyWhere #3 http://www.open-open.com/47.htm Here are JAVA installation and packaging tools #4 Well, up 1 #5 Attic, upstairs. . Ha ha #6 mark #7 JF + ding #8 Well, there are many tools in this area, just choose what you need. http://www.open-open.com/47.htm #9 In Windows, you can write a .bat yourself: java class name But jdk must be installed in the environment. The native method looks very shallow.
The laboratory building is a good IT learning platform, including JAVA, LINUX, HTML, C, CSS, JS, etc., suitable for beginners
The laboratory building is a good IT learning platform, including JAVA, LINUX, HTML, C, CSS, JS, etc., suitable for beginners, website Click the URL link to open The laboratory building is a good IT learning platform, including JAVA, LINUX, HTML, C, CSS, JS, etc., suitable for beginners
Realize page image shadow effects, jsp, asp, sql, php, mysql, server, apache, iis, tomcat, oracle, java, linux, dns
Achieve shadow effects for page images Adding shadow effects to images can make images more three-dimensional. Here are three production methods: The first way to use image editing software The most commonly used image editing software is Photoshop. The production process is as follows: 1. Select a picture; The result after completion is as follows: The third type of application layer production See the following code: The result after completion is as follows:
JAVA written test question set-J2EE, MVC, design pattern, UML, LINUX
114. What technologies are used to implement each part of MVC? How to implement it? Answer: MVC is the abbreviation of Model – View – Controller. “Model” represents the business logic of the application (implemented through JavaBeans and EJB components), “View” is the presentation surface of the application (generated by JSP pages), and “Controller” provides process control of the application (usually a Servlet) , through this design model, the application logic, processing process and display logic are divided into different components for implementation. These components can be interacted with and reused. 115. What is J2EE? Answer: Je22 is a multi-tiered, distributed, component-base enterprise application model proposed by Sun. In such an application system , can be divided into different components according to functions, and these components can be on different computers and in corresponding tiers. The affiliated layers include client tier components, web layer and components, Business layer and components, and enterprise information system (EIS) layer. 116. WEB SERVICE terminology explanation. Introduction to the JSWDL development package. Explanation of JAXP and JAXM. SOAP, UDDI, WSDL explained. Answer: Web Service Description Language WSDL SOAP stands for Simple Object Access Protocol, which is a lightweight protocol for exchanging XML-encoded information. The purpose…