Click here to Skip to main content
15,895,746 members
Home / Discussions / C#
   

C#

 
GeneralRe: Direcroty search Pin
Colin Angus Mackay23-Jul-04 4:54
Colin Angus Mackay23-Jul-04 4:54 
GeneralReturning objects to another class Pin
Paul Kiddie23-Jul-04 1:19
Paul Kiddie23-Jul-04 1:19 
GeneralRe: Returning objects to another class Pin
Heath Stewart23-Jul-04 9:05
protectorHeath Stewart23-Jul-04 9:05 
Generalcapturing the modifications in a datagrid Pin
samithas23-Jul-04 0:29
samithas23-Jul-04 0:29 
GeneralRe: capturing the modifications in a datagrid Pin
Heath Stewart23-Jul-04 8:59
protectorHeath Stewart23-Jul-04 8:59 
GeneralRe: capturing the modifications in a datagrid Pin
samithas23-Jul-04 19:35
samithas23-Jul-04 19:35 
GeneralRe: capturing the modifications in a datagrid Pin
Heath Stewart26-Jul-04 2:25
protectorHeath Stewart26-Jul-04 2:25 
GeneralOnTimedEvent Pin
karanba22-Jul-04 21:48
karanba22-Jul-04 21:48 
Hi All,
I am trying to write an application like, that will do some jobs with the given time interval. Program reads from a text file, which like below...

-------------------------
job1 : 15 minute
job2 : 5 minute
job2 : 25 minute


program place a System.Timers.Timer() for each job, and add ElapsedEventHandler(OnTimedEvent); to do job. The problem is I could not tell the OnTimedEvent code what to do
private static void OnTimedEvent(object source, ElapsedEventArgs e)<br />
{           <br />
    <br />
    System.Windows.Forms.MessageBox.Show(null,"selam","naber"); <br />
}

how to set a parameter to pass this event an make it special for the job.



karanba
GeneralRe: OnTimedEvent Pin
Bill Dean23-Jul-04 8:16
Bill Dean23-Jul-04 8:16 
General.NET framework theories Pin
TalkingBabb0t22-Jul-04 17:17
TalkingBabb0t22-Jul-04 17:17 
GeneralRe: .NET framework theories Pin
Michael P Butler23-Jul-04 5:10
Michael P Butler23-Jul-04 5:10 
GeneralRe: .NET framework theories Pin
TalkingBabb0t23-Jul-04 9:25
TalkingBabb0t23-Jul-04 9:25 
GeneralNavigate from Child to Parent Pin
KKCodePro22-Jul-04 16:31
KKCodePro22-Jul-04 16:31 
GeneralRe: Navigate from Child to Parent Pin
Dave Kreskowiak22-Jul-04 16:54
mveDave Kreskowiak22-Jul-04 16:54 
GeneralRe: Navigate from Child to Parent Pin
KKCodePro22-Jul-04 16:58
KKCodePro22-Jul-04 16:58 
GeneralRe: Navigate from Child to Parent Pin
exhaulted23-Jul-04 0:46
exhaulted23-Jul-04 0:46 
GeneralRe: Navigate from Child to Parent Pin
Dave Kreskowiak23-Jul-04 1:21
mveDave Kreskowiak23-Jul-04 1:21 
QuestionDragging image inside the RichTextBox ? Pin
sachinkalse22-Jul-04 15:59
sachinkalse22-Jul-04 15:59 
Generaliterate over datagrid Pin
kloepper22-Jul-04 15:26
kloepper22-Jul-04 15:26 
GeneralRe: iterate over datagrid Pin
Roman Rodov22-Jul-04 15:40
Roman Rodov22-Jul-04 15:40 
GeneralRe: iterate over datagrid Pin
kloepper22-Jul-04 15:55
kloepper22-Jul-04 15:55 
GeneralRe: iterate over datagrid Pin
Colin Angus Mackay23-Jul-04 0:22
Colin Angus Mackay23-Jul-04 0:22 
GeneralRe: iterate over datagrid Pin
kloepper23-Jul-04 4:28
kloepper23-Jul-04 4:28 
GeneralRe: iterate over datagrid Pin
DougW4822-Jul-04 15:41
DougW4822-Jul-04 15:41 
GeneralRe: iterate over datagrid Pin
kloepper22-Jul-04 16:00
kloepper22-Jul-04 16:00 

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.