In principal, despre .NET, VB6. C#,VB.NET, ASP.NET Apoi despre programare si multe alte chestii ... de programare.

Subscribe RSS   Mini tools List

vineri, august 11, 2006

alte reguli
Va rog sa folositi acest URL NOU de la
http://serviciipeweb.ro/iafblog/

Better Dot Net projects
http://www.ssw.com.au/ssw/Standards/Rules/RulesToBetterdotNETProjects.aspx

26.Do you Open your Connection in a Try Block?

quote:
Note:Do not use the 'using' keyword in C#. The using keyword is used to declare a scope out of which the connection will be disposed. For the sake of consistancy, we like out VB.NET and C# projects to be as similar as possible. For both languages you should use a Try..Catch..Finally block.   
end quote

VB2005 are si el using(vezi http://msdn2.microsoft.com/en-us/library/htd05whh.aspx sau http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/languageenhancements.asp?frame=true&hidetoc=true) ... si folosirea using e preferabila try catch finally ...din punctul meu de vedere


Rules To Better Windows Forms
http://www.ssw.com.au/ssw/Standards/Rules/RulesToBetterWindowsForms.aspx

26.Do your List Views support multiple selection and copying?
Quote
Make it easier for the user by enabling the "MultiSelection" property of a ListView and providing a right click menu with a "Copy" item that copies to the clipboard.
end quote
Si de asemenea CTRL+C suport

Rules to Better Interfaces
http://www.ssw.com.au/ssw/Standards/Rules/RulesToBetterInterfaces.aspx

33.Do you provide a warning before the program exits?
Mie chiar nu imi place regula asta. Lasa-i sa iasa... salveaza-le ce au facut ...dar nu ii intreba de 10 ori.Utilizatorii chiar vor sa iasa din aplicatie in 99% din cazuri - si pentru 1% nu merita sa tot ii intrebi






0 Comments:

Trimiteți un comentariu

Links to this post:

Creați un link

<< Home

 
Acest blog s-a mutat la http://www.serviciipeweb.ro/iafblog/