Click here to Skip to main content
15,886,422 members
Home / Discussions / C#
   

C#

 
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 
Answercreating and opening a file Pin
tonyjsebastian13-Dec-08 19:11
tonyjsebastian13-Dec-08 19:11 
GeneralRe: creating and opening a file Pin
Guffa3-Dec-08 19:42
Guffa3-Dec-08 19:42 
QuestionInstallation of Crystal reports in selent mode. Pin
ravikumar8183-Dec-08 18:11
ravikumar8183-Dec-08 18:11 
AnswerRe: Installation of Crystal reports in selent mode. Pin
selcuks3-Dec-08 20:31
selcuks3-Dec-08 20:31 
QuestionHow and Why a Super class can keep the reference of its sub class Pin
amit sahu203-Dec-08 18:01
amit sahu203-Dec-08 18:01 
AnswerRe: How and Why a Super class can keep the reference of its sub class Pin
Christian Graus3-Dec-08 18:12
protectorChristian Graus3-Dec-08 18:12 
GeneralRe: How and Why a Super class can keep the reference of its sub class Pin
amit sahu203-Dec-08 18:25
amit sahu203-Dec-08 18:25 
GeneralRe: How and Why a Super class can keep the reference of its sub class Pin
Christian Graus3-Dec-08 18:31
protectorChristian Graus3-Dec-08 18:31 

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.