Click here to Skip to main content
15,903,175 members
Home / Discussions / C#
   

C#

 
GeneralRe: Fuzzy Set Classes (aspx.cs) Pin
sudabeh39-Mar-15 8:55
sudabeh39-Mar-15 8:55 
SuggestionRe: Fuzzy Set Classes (aspx.cs) Pin
ZurdoDev9-Mar-15 8:56
professionalZurdoDev9-Mar-15 8:56 
AnswerRe: Fuzzy Set Classes (aspx.cs) Pin
manchanx9-Mar-15 3:51
professionalmanchanx9-Mar-15 3:51 
GeneralRe: Fuzzy Set Classes (aspx.cs) Pin
sudabeh39-Mar-15 8:56
sudabeh39-Mar-15 8:56 
GeneralRe: Fuzzy Set Classes (aspx.cs) Pin
manchanx9-Mar-15 9:11
professionalmanchanx9-Mar-15 9:11 
AnswerRe: Fuzzy Set Classes (aspx.cs) Pin
Gerry Schmitz9-Mar-15 11:35
mveGerry Schmitz9-Mar-15 11:35 
AnswerRe: Fuzzy Set Classes (aspx.cs) Pin
Gonzoox10-Mar-15 3:11
Gonzoox10-Mar-15 3:11 
QuestionRegex replace exact 5 digit not more than that Pin
shakumar_219-Mar-15 1:41
shakumar_219-Mar-15 1:41 
AnswerRe: Regex replace exact 5 digit not more than that Pin
OriginalGriff9-Mar-15 2:47
mveOriginalGriff9-Mar-15 2:47 
GeneralRe: Regex replace exact 5 digit not more than that Pin
sudabeh39-Mar-15 15:17
sudabeh39-Mar-15 15:17 
GeneralRe: Regex replace exact 5 digit not more than that Pin
Pete O'Hanlon9-Mar-15 20:13
mvePete O'Hanlon9-Mar-15 20:13 
GeneralRe: Regex replace exact 5 digit not more than that Pin
OriginalGriff9-Mar-15 21:21
mveOriginalGriff9-Mar-15 21:21 
Questionconverting c#code into matlab. Pin
Member 114388619-Mar-15 1:12
Member 114388619-Mar-15 1:12 
AnswerRe: converting c#code into matlab. Pin
Eddy Vluggen9-Mar-15 1:26
professionalEddy Vluggen9-Mar-15 1:26 
QuestionCryptarithmetic problem solving Pin
Member 114388619-Mar-15 1:06
Member 114388619-Mar-15 1:06 
AnswerRe: Cryptarithmetic problem solving Pin
Eddy Vluggen9-Mar-15 1:28
professionalEddy Vluggen9-Mar-15 1:28 
AnswerRe: Cryptarithmetic problem solving Pin
Gonzoox9-Mar-15 7:30
Gonzoox9-Mar-15 7:30 
QuestionHow can I send a text box value from one form to another?(C#) Pin
Akbar Fardi9-Mar-15 0:27
Akbar Fardi9-Mar-15 0:27 
AnswerRe: How can I send a text box value from one form to another?(C#) Pin
Richard MacCutchan9-Mar-15 0:55
mveRichard MacCutchan9-Mar-15 0:55 
GeneralRe: How can I send a text box value from one form to another?(C#) Pin
Akbar Fardi9-Mar-15 8:45
Akbar Fardi9-Mar-15 8:45 
GeneralRe: How can I send a text box value from one form to another?(C#) Pin
Richard MacCutchan9-Mar-15 22:09
mveRichard MacCutchan9-Mar-15 22:09 
Questionwebsocket Pin
Member 114846248-Mar-15 23:44
Member 114846248-Mar-15 23:44 
AnswerRe: websocket Pin
Richard MacCutchan9-Mar-15 0:15
mveRichard MacCutchan9-Mar-15 0:15 
QuestionIs it possibe execute 1st-thread method in 2nd async thread? Pin
Monookiev8-Mar-15 4:52
Monookiev8-Mar-15 4:52 
I've got a Timer delegate described method as preparation for a double recursion work and second method with tiny optimized recursion only. I need to execute the recursion in async thread too. But NET.Framework dont do that, only do async preparation method and no recursion method.

C# code
using System.Threading.Timer
...
private void button10_Click(object sender, EventArgs e)
{//Timer
Elem ss = new Elem();//Elem is a structure.
ss.a = "string1";
ss.b = "string2";
TimerCallback timeCB = new TimerCallback(timerex);
System.Threading.Timer t = new System.Threading.Timer(timeCB, ss, 10000, 10000);

}

public static void timerex(object data)
{

string a1 = ((Elem)data).a;
string b1 = ((Elem)data).b;
MessageBox.Show(a1+" "+b1);
timerex2(a1,b1);
}
public static void timerex2(string s1,string s2)
{
MessageBox.Show("Method_in 2 "+s1+s2);
}

How to execute the recursion in async timer thread?
AnswerRe: Is it possibe execute 1st-thread method in 2nd async thread? Pin
OriginalGriff8-Mar-15 5:56
mveOriginalGriff8-Mar-15 5:56 

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.