Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
AnswerRe: translation vb to c# ? Pin
Michael Flanakin25-Mar-04 11:14
Michael Flanakin25-Mar-04 11:14 
GeneralRe: translation vb to c# ? Pin
el69os26-Mar-04 1:55
el69os26-Mar-04 1:55 
GeneralRe: translation vb to c# ? Pin
Michael Flanakin26-Mar-04 2:06
Michael Flanakin26-Mar-04 2:06 
AnswerRe: translation vb to c# ? Pin
Jeremy Kimball25-Mar-04 14:04
Jeremy Kimball25-Mar-04 14:04 
GeneralRe: translation vb to c# ? Pin
Michael Flanakin25-Mar-04 18:15
Michael Flanakin25-Mar-04 18:15 
GeneralRe: translation vb to c# ? Pin
Daniel Turini26-Mar-04 0:56
Daniel Turini26-Mar-04 0:56 
GeneralRe: translation vb to c# ? Pin
el69os26-Mar-04 2:01
el69os26-Mar-04 2:01 
AnswerRe: translation vb to c# ? Pin
el69os26-Mar-04 1:57
el69os26-Mar-04 1:57 
this is what i have in c# ...
but it doesn't work ... :s
I think i'd better work with an arraylist ... but don't know exactly how ...

private void Command1_Click()

{
int x = 0;
int var1 = 0;
int var2 = 0;

List1.Clear();

x = Microsoft.VisualBasic.Conversion.Val(Text1.Text);
varX = Microsoft.VisualBasic.Conversion.Int(x / 3) + 1;
var1 = 1;
var2 = 1;
var3 = 1;
while (! (var1 == x))
{
tel = tel + 1;
getal1 = var1;
var2 = var2 + 1;
getal2 = var2;
getal3 = Microsoft.VisualBasic.Conversion.Val(x) -
Microsoft.VisualBasic.Conversion.Val(getal1) -
Microsoft.VisualBasic.Conversion.Val(getal2);

if (getal1 != getal2 & getal1 != getal3 & getal2 != getal3 & getal2 < getal3)

{

List1.AddItem getal1 + " + " + getal2 + " + " + getal3;

}
else
{
var1 = var1 + 1;

var2 = var1;
if (tel == var3 + 1)

{

break;

}
var3 = tel;
}

}

}
}
}
Generalnewer version Pin
el69os26-Mar-04 2:05
el69os26-Mar-04 2:05 
GeneralAbout DirectX9 and C# Pin
cemlouis25-Mar-04 8:59
cemlouis25-Mar-04 8:59 
GeneralRe: About DirectX9 and C# Pin
Heath Stewart25-Mar-04 9:19
protectorHeath Stewart25-Mar-04 9:19 
GeneralRe: About DirectX9 and C# Pin
Jeremy Kimball25-Mar-04 9:40
Jeremy Kimball25-Mar-04 9:40 
GeneralDataset not update Pin
terry_cyf25-Mar-04 8:23
terry_cyf25-Mar-04 8:23 
GeneralHTTPModule to filter .asp pages Pin
AWebDude25-Mar-04 8:23
AWebDude25-Mar-04 8:23 
GeneralRe: HTTPModule to filter .asp pages Pin
Heath Stewart25-Mar-04 9:16
protectorHeath Stewart25-Mar-04 9:16 
GeneralRe: HTTPModule to filter .asp pages Pin
AWebDude25-Mar-04 9:42
AWebDude25-Mar-04 9:42 
GeneralRe: HTTPModule to filter .asp pages Pin
Heath Stewart25-Mar-04 9:46
protectorHeath Stewart25-Mar-04 9:46 
GeneralRe: HTTPModule to filter .asp pages Pin
AWebDude25-Mar-04 9:50
AWebDude25-Mar-04 9:50 
GeneralRe: HTTPModule to filter .asp pages Pin
Heath Stewart25-Mar-04 9:52
protectorHeath Stewart25-Mar-04 9:52 
GeneralRe: HTTPModule to filter .asp pages Pin
AWebDude25-Mar-04 10:13
AWebDude25-Mar-04 10:13 
GeneralRe: HTTPModule to filter .asp pages Pin
AWebDude25-Mar-04 10:35
AWebDude25-Mar-04 10:35 
GeneralRe: HTTPModule to filter .asp pages Pin
Heath Stewart25-Mar-04 10:41
protectorHeath Stewart25-Mar-04 10:41 
GeneralIt Worked !! HTTPModule to filter .asp pages Pin
AWebDude25-Mar-04 13:38
AWebDude25-Mar-04 13:38 
GeneralRe: Resize Control at Design Time Pin
Heath Stewart25-Mar-04 8:18
protectorHeath Stewart25-Mar-04 8:18 
GeneralRe: Resize Control at Design Time Pin
Heath Stewart25-Mar-04 8:36
protectorHeath Stewart25-Mar-04 8:36 

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.