Click here to Skip to main content
16,020,377 members
Home / Discussions / C#
   

C#

 
QuestionDoes iTextsharp DLL need license ? Pin
venu2k821-Jul-09 2:00
venu2k821-Jul-09 2:00 
AnswerRe: Does iTextsharp DLL need license ? Pin
stancrm21-Jul-09 2:15
stancrm21-Jul-09 2:15 
AnswerRe: Does iTextsharp DLL need license ? Pin
0x3c021-Jul-09 2:28
0x3c021-Jul-09 2:28 
GeneralRe: Does iTextsharp DLL need license ? Pin
venu2k821-Jul-09 3:12
venu2k821-Jul-09 3:12 
QuestionAuthentication Code in C# Pin
cdewzrd21-Jul-09 1:49
cdewzrd21-Jul-09 1:49 
AnswerRe: Authentication Code in C# Pin
stancrm21-Jul-09 2:45
stancrm21-Jul-09 2:45 
QuestionWindows Messaging Pin
Blubbo21-Jul-09 1:41
Blubbo21-Jul-09 1:41 
QuestionRealtime update of Label Pin
Dowse21-Jul-09 1:35
Dowse21-Jul-09 1:35 
Hi all

I am trying to display the value of a variable in a label.

Easy enough I hear you say, but the variable can be changed by many different methods and functions, (some in dll's,) none of which trigger any specific event that I would normally use to update the label.

I need the label to show the current value of the variable in 'real time.'

public class MyClass
{
    public DateTime datStart;        
    public DateTime datNext;     <======== This is the one I'm trying to show     
    public int intParam1;          
    public int intParam2;           
   //Extra fields removed for clarity
}

And then in my form code:

MyClass _myVar = new MyClass();


I have a label called lblInformation that I would like to always show the value of _myVar.datNext.ToString()

I've spent many hours trying to find a solution so any help will be very much appreciated.

Thank you
AnswerRe: Realtime update of Label Pin
Luc Pattyn21-Jul-09 1:48
sitebuilderLuc Pattyn21-Jul-09 1:48 
GeneralRe: Realtime update of Label Pin
Dowse21-Jul-09 2:04
Dowse21-Jul-09 2:04 
GeneralRe: Realtime update of Label Pin
Luc Pattyn21-Jul-09 2:26
sitebuilderLuc Pattyn21-Jul-09 2:26 
AnswerRe: Realtime update of Label Pin
Wendelldh21-Jul-09 2:11
Wendelldh21-Jul-09 2:11 
AnswerRe: Realtime update of Label Pin
Nagy Vilmos21-Jul-09 2:13
professionalNagy Vilmos21-Jul-09 2:13 
QuestionCheck Box control in datagrid Pin
spankyleo12321-Jul-09 1:33
spankyleo12321-Jul-09 1:33 
AnswerRe: Check Box control in datagrid Pin
Rutvik Dave21-Jul-09 3:37
professionalRutvik Dave21-Jul-09 3:37 
QuestionMulti Forms Application Pin
vhassan21-Jul-09 1:15
vhassan21-Jul-09 1:15 
AnswerRe: Multi Forms Application Pin
musefan21-Jul-09 3:19
musefan21-Jul-09 3:19 
GeneralRe: Multi Forms Application Pin
vhassan21-Jul-09 17:41
vhassan21-Jul-09 17:41 
QuestionGet current file path hosted by an Excel process Pin
Muneeb Abdul Shakoor21-Jul-09 1:12
Muneeb Abdul Shakoor21-Jul-09 1:12 
QuestionLine Numbers display.... Pin
spalanivel21-Jul-09 0:34
spalanivel21-Jul-09 0:34 
AnswerRe: Line Numbers display.... Pin
Nagy Vilmos21-Jul-09 0:46
professionalNagy Vilmos21-Jul-09 0:46 
QuestionC# MDI Application Pin
sateesh villa20-Jul-09 23:40
sateesh villa20-Jul-09 23:40 
AnswerRe: C# MDI Application Pin
Manas Bhardwaj20-Jul-09 23:45
professionalManas Bhardwaj20-Jul-09 23:45 
GeneralRe: C# MDI Application Pin
sateesh villa21-Jul-09 0:34
sateesh villa21-Jul-09 0:34 
GeneralRe: C# MDI Application Pin
vhassan21-Jul-09 1:00
vhassan21-Jul-09 1: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.