Click here to Skip to main content
15,892,674 members
Home / Discussions / C#
   

C#

 
GeneralRe: Diference between Using Namespace and Namespace.Class.Method in the code.... Pin
User 66583-Dec-08 23:03
User 66583-Dec-08 23:03 
QuestionGNU make Pin
Sinol Jose3-Dec-08 20:09
Sinol Jose3-Dec-08 20:09 
AnswerRe: GNU make Pin
leppie3-Dec-08 20:29
leppie3-Dec-08 20:29 
JokeRe: GNU make Pin
Mbah Dhaim3-Dec-08 20:31
Mbah Dhaim3-Dec-08 20:31 
GeneralRe: GNU make Pin
tonyjsebastian13-Dec-08 22:00
tonyjsebastian13-Dec-08 22:00 
Questionmake file / Make file Pin
tonyjsebastian13-Dec-08 19:50
tonyjsebastian13-Dec-08 19:50 
AnswerRe: make file / Make file Pin
Guffa3-Dec-08 19:56
Guffa3-Dec-08 19:56 
GeneralRe: make file / Make file Pin
tonyjsebastian13-Dec-08 20:01
tonyjsebastian13-Dec-08 20:01 
GeneralRe: make file / Make file Pin
leppie3-Dec-08 20:31
leppie3-Dec-08 20:31 
Questionsearching in sql Pin
rahuladya3-Dec-08 19:31
rahuladya3-Dec-08 19:31 
AnswerRe: searching in sql Pin
dan!sh 3-Dec-08 19:43
professional dan!sh 3-Dec-08 19:43 
GeneralRe: searching in sql Pin
rahuladya3-Dec-08 19:45
rahuladya3-Dec-08 19:45 
Questionhow to implement the Refresh action using C# Pin
tonyjsebastian13-Dec-08 18:56
tonyjsebastian13-Dec-08 18:56 
AnswerRe: how to implement the Refresh action using C# Pin
Christian Graus3-Dec-08 19:06
protectorChristian Graus3-Dec-08 19:06 
GeneralRe: how to implement the Refresh action using C# Pin
tonyjsebastian13-Dec-08 19:13
tonyjsebastian13-Dec-08 19:13 
AnswerRe: how to implement the Refresh action using C# Pin
beatles16923-Dec-08 19:38
beatles16923-Dec-08 19:38 
Hi I think first you should define the meaning of Refresh for you application.(What)
For example, if there is a form that shows a list of customers ,Refresh might be to refill the list .If it's a data entry from you might want to refresh your look up fields that might have been changed by some other users and so on.
Then you should decide when this refresh should happen(When).
There might be a refresh button on the form or a shortcut key or when user opens a drop down.In either of these cases, you want to handle an event to do the Refresh.

For example:
We have a method called RefillCustomers that refill customers list and we want a refresh button that do the refresh.
The simplest way to make it work it's something like this:

handle button clicked event(in form load for example)
refreshButon.Click+=new EventHandler(RefreshButtonClicked);


then we should implement RefreshButtonClicked method:

private void RefreshButtonClicked(object sender,EventArgs e)
{
    RefillCustomers();
}


and then you should implement the RefillCustomers method.
GeneralRe: how to implement the Refresh action using C# Pin
tonyjsebastian13-Dec-08 19:45
tonyjsebastian13-Dec-08 19:45 
QuestionVideo Player Pin
B873-Dec-08 18:39
B873-Dec-08 18:39 
AnswerRe: Video Player Pin
tonyjsebastian13-Dec-08 18:48
tonyjsebastian13-Dec-08 18:48 
AnswerRe: Video Player Pin
Christian Graus3-Dec-08 18:53
protectorChristian Graus3-Dec-08 18:53 
Question[Message Deleted] Pin
tonyjsebastian13-Dec-08 18:29
tonyjsebastian13-Dec-08 18:29 
AnswerRe: creating and opening a file Pin
Christian Graus3-Dec-08 18:31
protectorChristian Graus3-Dec-08 18:31 
AnswerRe: creating and opening a file Pin
CodingYoshi3-Dec-08 18:34
CodingYoshi3-Dec-08 18:34 
AnswerRe: [Message Deleted] Pin
Christian Graus3-Dec-08 18:54
protectorChristian Graus3-Dec-08 18:54 
GeneralRe: [Message Deleted] Pin
CodingYoshi3-Dec-08 19:03
CodingYoshi3-Dec-08 19:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.