Click here to Skip to main content
15,909,645 members
Home / Discussions / C#
   

C#

 
GeneralRe: Question int or Int32 Pin
pbraun15-Aug-07 5:16
pbraun15-Aug-07 5:16 
GeneralRe: Question int or Int32 Pin
Judah Gabriel Himango15-Aug-07 6:28
sponsorJudah Gabriel Himango15-Aug-07 6:28 
Questionc# Pin
lankaudaranga14-Aug-07 6:47
lankaudaranga14-Aug-07 6:47 
AnswerRe: c# Pin
kubben14-Aug-07 6:55
kubben14-Aug-07 6:55 
AnswerRe: c# Pin
Nouman Bhatti14-Aug-07 20:31
Nouman Bhatti14-Aug-07 20:31 
QuestionEqualizer in C# Pin
Sukhjinder_K14-Aug-07 5:46
Sukhjinder_K14-Aug-07 5:46 
QuestionHow I can save data in database from windatagrid? Pin
isiran14-Aug-07 5:12
isiran14-Aug-07 5:12 
QuestionRandom Number from 6 to 86 Pin
Sylenze14-Aug-07 4:39
Sylenze14-Aug-07 4:39 
Hello...
I'm new to C# and i want to train my skills with programming an Application
that looks at 3 progressbars and make the values of them "even", like
if pbar1's value is 34, it becomes 30, but if it is 36, it becomes 40.
I use it to test the Fuzzy logic dot net =x
Now this is the code i need help with:

<br />
<br />
<br />
        private void button2_Click(object sender, EventArgs e)<br />
        {<br />
            if (chkbx1.Checked)<br />
            {<br />
                vbar1.Value = Random;<br />
            }<br />
        }<br />
<br />
<br />



"button2" is my Object for generating random Numbers for those pbars with checked checkboxes...

Now how to get that random Value from 6 to 86? please help =(
AnswerRe: Random Number from 6 to 86 Pin
pmarfleet14-Aug-07 4:48
pmarfleet14-Aug-07 4:48 
GeneralRe: Random Number from 6 to 86 Pin
Sylenze14-Aug-07 4:51
Sylenze14-Aug-07 4:51 
GeneralRe: Random Number from 6 to 86 Pin
pmarfleet14-Aug-07 4:54
pmarfleet14-Aug-07 4:54 
AnswerRe: Random Number from 6 to 86 Pin
Hessam Jalali14-Aug-07 4:56
Hessam Jalali14-Aug-07 4:56 
GeneralRe: Random Number from 6 to 86 Pin
Sylenze14-Aug-07 7:11
Sylenze14-Aug-07 7:11 
GeneralRe: Random Number from 6 to 86 Pin
Sylenze14-Aug-07 7:14
Sylenze14-Aug-07 7:14 
GeneralRe: Random Number from 6 to 86 Pin
Stefan Troschuetz14-Aug-07 7:37
Stefan Troschuetz14-Aug-07 7:37 
GeneralRe: Random Number from 6 to 86 Pin
Sylenze14-Aug-07 8:02
Sylenze14-Aug-07 8:02 
GeneralRe: Random Number from 6 to 86 Pin
Stefan Troschuetz14-Aug-07 8:08
Stefan Troschuetz14-Aug-07 8:08 
GeneralRe: Random Number from 6 to 86 [modified] Pin
Sylenze14-Aug-07 8:10
Sylenze14-Aug-07 8:10 
GeneralRe: Random Number from 6 to 86 Pin
Sylenze14-Aug-07 9:37
Sylenze14-Aug-07 9:37 
Questioncomparision problem Pin
Xmen Real 14-Aug-07 4:20
professional Xmen Real 14-Aug-07 4:20 
AnswerRe: comparision problem Pin
Vasudevan Deepak Kumar14-Aug-07 4:24
Vasudevan Deepak Kumar14-Aug-07 4:24 
GeneralRe: comparision problem Pin
Xmen Real 14-Aug-07 4:32
professional Xmen Real 14-Aug-07 4:32 
AnswerRe: comparision problem Pin
Martin#14-Aug-07 4:24
Martin#14-Aug-07 4:24 
GeneralRe: comparision problem Pin
Xmen Real 14-Aug-07 4:31
professional Xmen Real 14-Aug-07 4:31 
GeneralRe: comparision problem Pin
Martin#14-Aug-07 4:32
Martin#14-Aug-07 4:32 

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.