c# (9)
c# tips
how to run c# desktop application with full screen
Written by Super UserIf you want to run your software with same width and
height as your monitor's width and height then
implement the following technique in your application-
verbatim string is a string which is interpreted
by the compiler exactly as it is written, meaning
that even if the string spans multiple lines
or keeps escape characters,etc.
It's a very logical requirement to validate user entered email
address before processing anything.in this way you will
never get a invalid email address when you do something
with email address like send email,etc.
the base keyword is used to access base class
members inside derived class.
accessing access database in csharp dot net application
Written by Super Useraccess database file is easy to use than sql server
or MySql server databases.for accessing access db
System.Data.OleDb namespace used.following are
steps are needed to use access db in .net
application.
how to display plain text removing all html tags
Written by Super Userif you having a lot html strings,you may want to
have only plain text removing all html tags.you
can do it using REGEX
how to show tips when windows application starts
Written by Super UserIt's a great idea to show application related tips
when users run your application.you may show tips
about how to use your application efficiently,details
of your application terms,etc.
how to prevent running multiple application instances same time
Written by Super Userif you want to prevent running multiple instance
of the same c# application then check the
following lines.It's sometime necessary to prevent
running multiple instances of the same application.
showing gradient colored background in application form
Written by Super UserIt's nice to show cool gradient color as a
background color of the form in c#.net desktop
application.you can set different colors.