Click here to Skip to main content
15,924,507 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can I wait for a given seconds without blocking. Pin
Nadia Monalisa1-Nov-06 7:13
Nadia Monalisa1-Nov-06 7:13 
GeneralRe: How can I wait for a given seconds without blocking. Pin
mav.northwind1-Nov-06 18:51
mav.northwind1-Nov-06 18:51 
GeneralRe: How can I wait for a given seconds without blocking. Pin
[Marc]2-Nov-06 1:25
[Marc]2-Nov-06 1:25 
GeneralRe: How can I wait for a given seconds without blocking. Pin
Nadia Monalisa2-Nov-06 5:55
Nadia Monalisa2-Nov-06 5:55 
GeneralRe: How can I wait for a given seconds without blocking. Pin
[Marc]2-Nov-06 11:28
[Marc]2-Nov-06 11:28 
GeneralRe: How can I wait for a given seconds without blocking. Pin
Nadia Monalisa2-Nov-06 11:59
Nadia Monalisa2-Nov-06 11:59 
GeneralRe: How can I wait for a given seconds without blocking. Pin
[Marc]2-Nov-06 12:17
[Marc]2-Nov-06 12:17 
QuestionAccessing data from a class in main form(program) Pin
dkoco1-Nov-06 4:04
dkoco1-Nov-06 4:04 
I have a C#.Net program that once a button is clicked it goes to a public class(called Tal) and gets data in a vector, then exits the class, and goes back to the main form(program). I will do this task over and over. I want to take the data ,do many(over 20) calculations, and go back to the program. How can I get access to the data array(vector) from the main program? I keep getting different errors and have tried so many different ways. Thanks in advance.

Code:
{
Mainfrm

tal.talbars();
}

Public Class tal

// get vector array
Price[] closes = row["SETTLE"] == null ? null : row SETTLE"].PriceVectorValue;
int first_element = elements - 5; // to get 5 back
for (int i = first_element; i < elements; i++)

static void talbars

tal();

So I want to use closes[1-5] in the main program. I get not in namespace error(I put the whole class in the main form, so that shouldnt be an issue). I get name doesnt exist in class also. Any ideas would be greatly appreciated.
AnswerRe: Accessing data from a class in main form(program) Pin
dkoco1-Nov-06 4:50
dkoco1-Nov-06 4:50 
Questionchange size of textbox at runtime Pin
Ajay R Ojha1-Nov-06 3:24
Ajay R Ojha1-Nov-06 3:24 
AnswerRe: change size of textbox at runtime Pin
Colin Angus Mackay1-Nov-06 4:22
Colin Angus Mackay1-Nov-06 4:22 
GeneralRe: change size of textbox at runtime Pin
Ajay R Ojha1-Nov-06 17:31
Ajay R Ojha1-Nov-06 17:31 
AnswerRe: change size of textbox at runtime Pin
Rahithi3-Nov-06 7:37
Rahithi3-Nov-06 7:37 
QuestionForcing single processor mode Pin
Bekjong1-Nov-06 3:02
Bekjong1-Nov-06 3:02 
AnswerRe: Forcing single processor mode Pin
Dan Neely1-Nov-06 3:18
Dan Neely1-Nov-06 3:18 
GeneralRe: Forcing single processor mode Pin
Bekjong1-Nov-06 3:26
Bekjong1-Nov-06 3:26 
GeneralRe: Forcing single processor mode Pin
mav.northwind1-Nov-06 4:11
mav.northwind1-Nov-06 4:11 
GeneralRe: Forcing single processor mode Pin
Bekjong1-Nov-06 4:48
Bekjong1-Nov-06 4:48 
Questionchanging a resolution and size of a file before downloading in .Net Pin
Ramu Sangabathula1-Nov-06 2:51
Ramu Sangabathula1-Nov-06 2:51 
QuestionUnable to show the updated file using app domain Pin
browseme1-Nov-06 2:32
browseme1-Nov-06 2:32 
QuestionList Dates Between 2 Dates Pin
tadhg881-Nov-06 0:58
tadhg881-Nov-06 0:58 
AnswerRe: List Dates Between 2 Dates Pin
Pete O'Hanlon1-Nov-06 1:08
mvePete O'Hanlon1-Nov-06 1:08 
GeneralRe: List Dates Between 2 Dates Pin
tadhg881-Nov-06 1:10
tadhg881-Nov-06 1:10 
GeneralRe: List Dates Between 2 Dates Pin
J4amieC1-Nov-06 1:20
J4amieC1-Nov-06 1:20 
GeneralRe: List Dates Between 2 Dates Pin
tadhg881-Nov-06 1:37
tadhg881-Nov-06 1:37 

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.