Παρουσίαση με Ετικέτες

Fix: Visual Studio opens class diagram in XML editor with double click
10 Φεβρουαρίου 13 12:00 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Recently, to save myself sometime after having renamed some interfaces/classes in the ClipFlair project sourcecode, I right-clicked one of the class diagrams (.cd files) in it at Visual Studio’s “Solution Navigator” (this is an enhanced Solution Explorer addon) and using “Open With…” I opened up the diagrams with the XML editor to do a rename-all [...]
Δημοσίευση στην κατηγορία: , , , , , , , ,
VB gotcha: when If function isn’t equivalent to an If-Then-Else block
25 Νοεμβρίου 11 01:07 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Just got bitten by the following: Dim takeN As Integer = If(Integer.TryParse(EdTake.Text, takeN), takeN, itemsCount) I had used that instead of writing in 2 lines: Dim takeN As Integer If not Integer.TryParse(EdTake.Text, takeN) then takeN = itemsCount However, there’s an important difference: “If” is a function, so its arguments are evaluated at call-time. The “If” [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , ,

Search

Go

Ιστορικό Δημοσιεύσεων

Συνδρομές