Click here to Skip to main content
15,897,891 members
Home / Discussions / C#
   

C#

 
Questionsplit Pin
TAREQ F ABUZUHRI8-Aug-06 5:54
TAREQ F ABUZUHRI8-Aug-06 5:54 
AnswerRe: split Pin
Dustin Metzgar8-Aug-06 6:13
Dustin Metzgar8-Aug-06 6:13 
QuestionHow to using NETSerial.dll and serial Port for c# Pin
tanapop8-Aug-06 5:51
tanapop8-Aug-06 5:51 
AnswerRe: How to using NETSerial.dll and serial Port for c# Pin
Ed.Poore8-Aug-06 6:54
Ed.Poore8-Aug-06 6:54 
QuestionRetrieving variables from the main form, in a new form. Pin
Subterranean8-Aug-06 5:31
Subterranean8-Aug-06 5:31 
AnswerRe: Retrieving variables from the main form, in a new form. Pin
S. Senthil Kumar8-Aug-06 5:42
S. Senthil Kumar8-Aug-06 5:42 
QuestionCheckBox ... [modified] Pin
mostafa_h8-Aug-06 5:30
mostafa_h8-Aug-06 5:30 
AnswerRe: CheckBox ... Pin
S. Senthil Kumar8-Aug-06 5:40
S. Senthil Kumar8-Aug-06 5:40 
You need to reorder the if conditions so that the AND comes first and use elseif. In the present state, the first two conditions are also true and that's why form1 and form2 get shown.

if(CheckBox1.Checked && CheckBox2.Checked)
  form3.ShowDialog();
else if (CheckBox1.Checked)
  form1.ShowDialog();
else if (CheckBox2.Checked)
  form2.ShowDialog();


This way, only if CheckBox1 and CheckBox2 are checked, form3 is shown.

Regards
Senthil
_____________________________
My Blog | My Articles | My Flickr | WinMacro

GeneralRe: CheckBox ... Pin
mostafa_h8-Aug-06 7:42
mostafa_h8-Aug-06 7:42 
QuestionCombo Box in Datagrid using VB6.0 Pin
Tojan8-Aug-06 5:12
Tojan8-Aug-06 5:12 
AnswerRe: Combo Box in Datagrid using VB6.0 Pin
Drew McGhie8-Aug-06 5:16
Drew McGhie8-Aug-06 5:16 
QuestionLOC Count Pin
Tojan8-Aug-06 5:09
Tojan8-Aug-06 5:09 
QuestionPrint Dialog for Web Forms? Pin
orentuil8-Aug-06 4:45
orentuil8-Aug-06 4:45 
Questionhow to store by ref parameter in object table/array? Pin
Osinnnn8-Aug-06 4:33
Osinnnn8-Aug-06 4:33 
AnswerRe: how to store by ref parameter in object table/array? Pin
S. Senthil Kumar8-Aug-06 5:49
S. Senthil Kumar8-Aug-06 5:49 
GeneralRe: how to store by ref parameter in object table/array? Pin
Osinnnn8-Aug-06 9:21
Osinnnn8-Aug-06 9:21 
QuestionCan you detect if a service is running? Pin
Stick^8-Aug-06 4:17
Stick^8-Aug-06 4:17 
AnswerRe: Can you detect if a service is running? Pin
led mike8-Aug-06 6:07
led mike8-Aug-06 6:07 
AnswerRe: Can you detect if a service is running? Pin
vineas8-Aug-06 6:55
vineas8-Aug-06 6:55 
GeneralRe: Can you detect if a service is running? Pin
Stick^8-Aug-06 16:29
Stick^8-Aug-06 16:29 
Questioncreating hyperlink in Excel to the next Worksheet Pin
AnnnS8-Aug-06 4:14
AnnnS8-Aug-06 4:14 
QuestionHow to put checkbox in datagrid through DataGridColoumnStyle Pin
indiaone8-Aug-06 3:30
indiaone8-Aug-06 3:30 
Questionemail Pin
minniemooo8-Aug-06 3:07
minniemooo8-Aug-06 3:07 
AnswerRe: email Pin
seee sharp8-Aug-06 3:24
seee sharp8-Aug-06 3:24 
GeneralRe: email Pin
minniemooo8-Aug-06 3:41
minniemooo8-Aug-06 3:41 

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.