Click here to Skip to main content
15,908,437 members
Home / Discussions / C#
   

C#

 
QuestionListView.LabelEdit not working consistantly Pin
Dan Neely8-Aug-06 7:30
Dan Neely8-Aug-06 7:30 
Questionbase class? Pin
emil.muller8-Aug-06 7:27
emil.muller8-Aug-06 7:27 
AnswerRe: base class? Pin
Patricker8-Aug-06 12:03
Patricker8-Aug-06 12:03 
Questionon run time Pin
TAREQ F ABUZUHRI8-Aug-06 7:15
TAREQ F ABUZUHRI8-Aug-06 7:15 
AnswerRe: on run time Pin
Patricker8-Aug-06 12:10
Patricker8-Aug-06 12:10 
Questionreturn objects to the pool Pin
Ista8-Aug-06 6:47
Ista8-Aug-06 6:47 
GeneralRe: return objects to the pool Pin
Guffa8-Aug-06 7:19
Guffa8-Aug-06 7:19 
AnswerRe: return objects to the pool Pin
Josh Smith8-Aug-06 7:45
Josh Smith8-Aug-06 7:45 
QuestionGDI+: Window region as an Image Pin
Imtiaz Murtaza8-Aug-06 6:11
Imtiaz Murtaza8-Aug-06 6:11 
AnswerRe: GDI+: Window region as an Image Pin
Dustin Metzgar8-Aug-06 6:15
Dustin Metzgar8-Aug-06 6:15 
QuestionMembershipProvider.EncryptPassword Method Pin
seee sharp8-Aug-06 5:57
seee sharp8-Aug-06 5:57 
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 

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.