C#Simple Getting Started - Suitable for Beginners

First C#Program using System; namespace HelloWorldApplication // Namespace Declarations { /* Class name is HelloWorld */ class HelloWorld // A class { /* main function */ static void Main(string[] args) { /* My First C#Program */ Console.WriteLine("Hello World!"); Co ...

Posted by roneill on Sat, 30 May 2020 18:44:39 +0200

IOC details of Spring (based on annotation)

concept IOC(Inversion of Control): the so-called inversion of control is that the application itself is not responsible for the creation and maintenance of dependent objects, and the creation and maintenance of dependent objects are in the charge of external containers. In this way, the application of ...

Posted by paulnaj on Sat, 30 May 2020 09:37:49 +0200

Using WindowManager to add View -- the basic principle of floating window

Although there are many types of "windows" in Android system, only two types are often used: one is managed by system process, which is called "system window"; the other is generated by application program, which is used to display UI interface. If you are familiar with window manager service (WMS), everything is very simple ...

Posted by c0le on Sat, 30 May 2020 02:18:58 +0200

Linux command (30)ls command

ls command Function description: Lists a list of files (including subdirectories) in a specified directory, but does not display the contents of the files Usage: ls [OPTION]... [FILE]... option Effect -a Show all files, including hidden files -A Show all files except.And.. -l Show detailed properties of the file -h Converts the f ...

Posted by mcovalt on Thu, 28 May 2020 18:33:58 +0200

Front end small white -- tool part (I) sprite chart CssSprite

This paper mainly introduces the tool CssSprite sprite diagram of the front end. When the number of pictures is large and the collocation is reasonable, it can effectively improve the speed of web pages; in addition, with the help of the characteristics of CSS sprite, pictures can be loaded in advance. Advantages of CssSprite Sprite Red ...

Posted by Restless on Thu, 28 May 2020 17:39:49 +0200

C ා data operation series - 17 Dapper ADO.NET ORM of the same race

0. Preface The previous four articles introduced an excellent framework SqlSugar developed by domestic developers, which gave us a bright feeling in front of our eyes. In this article, we will try another ORM framework, Dapper, which has a relatively high audience rating. Dapper is a lightweight ORM framework, which is characterized by high spe ...

Posted by hip_hop_x on Wed, 27 May 2020 05:53:48 +0200

freemark+dom4j to realize automatic word export

We usually export word through poi. POI is best at the operation of EXCEL. The style control of word operation is too cumbersome. Today we will introduce how to export word templates through FREEMARK. [TOC] Development preparation The implementation of this paper is based on springboot, so all the products used in the project are derived fro ...

Posted by Joshv1288 on Mon, 25 May 2020 04:04:56 +0200

setInterval and setTimeout of Canvas drawing raindrops (2)

Thank you for your guidance. In view of the bad nature of setInterval, modify it, implement setInterval with setTimeout, and put it in the move attribute of Rain prototype. Operation result: the screen is in disorder and the browser is stuck.. as a result of: setTimeout and setInterval should not be written in the fu ...

Posted by Hepp on Sun, 24 May 2020 17:37:06 +0200

prototype of JAVA design pattern

Prototype mode: Prototype mode is also called clone mode Java native cloning mode Cloneable must be implemented to implement clone mode Interface, if not implementedJava.lang.CloneNotSupportedExceptionabnormal clone mode is convenient when the properties of a class are already set and many objects with the same attribute values need to be crea ...

Posted by swell on Sat, 23 May 2020 18:48:08 +0200

UITableView to modify the font size of its own retrieval column

� UITableView can't be modified by using its own retrieval column. How to modify it? Get UITableViewIndex before HeaderView will display -(void)tableView:(UITableView *)tableView willDisplayHeaderView:(UIView *)view forSection:(NSInteger)section { for (UIView *view in [tableView subviews]) { if ([view isKindOfClass:[NSClassFromStr ...

Posted by Roddy87 on Sat, 23 May 2020 17:14:14 +0200