On January 11, September 12,.Enhanced infrastructureThe exam summed up the previous 20 days. In all fairness, this question is not difficult, but I still cannot give it out as I wish, this shows that I have not learned the previous knowledge, or I am not knowledgeable about it. The definition of this test in my mind is a perfect and painful failure, which makes me understand a lot, it makes me remember all the time, it makes this failure an alarm for me to learn and remind me all the time!
Private void formateload (Object sender, eventargs e) {string Path = @ "F: \ create folder"; getname (path, tvname. nodes);} private void getname (string path, treenodecollection TNC) {string [] Name = directory. getdirectories (PATH); // obtain the string array for (INT I = 0; I <name. length; I ++) {treenode Tn = TNC. add (path. getfilename (name [I]); // obtain the name of the directory to add it to the node. getname (name [I], TN. nodes); // recursively traverse all subdirectories and add them to the node} Str Ing [] TXT = directory. getfiles (PATH); // obtain the string array of all file paths for (INT I = 0; I <TXT. length; I ++) {treenode NO = TNC. add (path. getfilename (txt [I]); // Add all files to the node No. tag = TXT [I]; // Save the path for the next read} private void tvname_nodemousedoubleclick (Object sender, treenodemouseclickeventargs e) {If (tvname. selectednode. tag! = NULL) {textbox1.text = file. readalltext (tvname. selectednode. Tag. tostring (), encoding. Default );}}
View code
The above code is not the test content
This evening is mainly for exercises, because my winfrom foundation is not very good and I can only repeat it all over again. Now I find that note taking is actually very important. Although it takes a lot of time to take notes, it is easy for me to understand, so in the next few days, I will sort out the notes for the above basic reinforcement, and I will remember and understand them over and over again. The exam is so bad that I will always feel gloomy-remember, learning cannot go up to the next day, but it can only be solid, down-to-earth, slow, stupid, Only diligent!
9-12 basics strengthen test self-feeling ------ painful lessons!