Click here to Skip to main content
15,917,321 members
Home / Discussions / C#
   

C#

 
GeneralFreeze form when it removing and reloading ctls Pin
Chris#22-Sep-03 5:57
Chris#22-Sep-03 5:57 
GeneralRe: Freeze form when it removing and reloading ctls Pin
Julian Bucknall [MSFT]22-Sep-03 7:03
Julian Bucknall [MSFT]22-Sep-03 7:03 
GeneralMS Word programming in C#. Pin
bimpy22-Sep-03 5:25
bimpy22-Sep-03 5:25 
GeneralC# switch case style Pin
Don Kackman22-Sep-03 5:24
Don Kackman22-Sep-03 5:24 
GeneralRe: C# switch case style Pin
Julian Bucknall [MSFT]22-Sep-03 7:14
Julian Bucknall [MSFT]22-Sep-03 7:14 
GeneralRe: C# switch case style Pin
Don Kackman22-Sep-03 8:39
Don Kackman22-Sep-03 8:39 
GeneralRe: C# switch case style Pin
Julian Bucknall [MSFT]22-Sep-03 10:05
Julian Bucknall [MSFT]22-Sep-03 10:05 
GeneralRe: C# switch case style Pin
Don Kackman22-Sep-03 10:18
Don Kackman22-Sep-03 10:18 
And the light comes on!

It does makes sense now (and also renders my original post completely moot).

Thanks for clearing up the ambiguity for me Julian!

don

To summarize
legal:
switch case( foo )
{
 case 0:
 case 1:
  DoIt();
  break;
}
not-legal:
switch ( foo )
{
 case 0:
  DoOneThing();
 case 1:
  DoAnotherThing();
  break;
} 
also not legal:
switch ( foo )
{
 case 0:
  DoOneThing();
  break;
 default:
  DoAnotherThing();
  // need break here
}

GeneralSmoothing as in MSVisio2002 Pin
Wizard_0122-Sep-03 3:54
Wizard_0122-Sep-03 3:54 
GeneralIE and .NET question Pin
yoaz22-Sep-03 2:34
yoaz22-Sep-03 2:34 
GeneralVisual Studion.Net 2002 closes by itself any time I try loading a C# project Pin
okoji Cyril22-Sep-03 1:20
okoji Cyril22-Sep-03 1:20 
GeneralRe: Visual Studion.Net 2002 closes by itself any time I try loading a C# project Pin
Braulio Dez22-Sep-03 5:06
Braulio Dez22-Sep-03 5:06 
GeneralRe: Visual Studion.Net 2002 closes by itself any time I try loading a C# project Pin
okoji Cyril23-Sep-03 2:02
okoji Cyril23-Sep-03 2:02 
GeneralBooks in C# Pin
nevhile.net22-Sep-03 1:02
nevhile.net22-Sep-03 1:02 
GeneralRe: Books in C# Pin
Azel Low22-Sep-03 3:12
Azel Low22-Sep-03 3:12 
GeneralRe: Books in C# Pin
Braulio Dez22-Sep-03 5:07
Braulio Dez22-Sep-03 5:07 
GeneralRe: Books in C# Pin
phimix22-Sep-03 6:10
phimix22-Sep-03 6:10 
GeneralDowloading a file from a web-site to client using c# Pin
simonzeng22-Sep-03 0:21
simonzeng22-Sep-03 0:21 
Questionhow to parse a dataset Pin
Birdy21-Sep-03 20:51
Birdy21-Sep-03 20:51 
AnswerRe: how to parse a dataset Pin
phimix22-Sep-03 6:13
phimix22-Sep-03 6:13 
GeneralMulti-line ListView control Pin
Member 46249021-Sep-03 20:10
Member 46249021-Sep-03 20:10 
GeneralKeyboard in C# Pin
deanoA21-Sep-03 17:37
deanoA21-Sep-03 17:37 
GeneralRe: Keyboard in C# Pin
Blake Coverett21-Sep-03 19:04
Blake Coverett21-Sep-03 19:04 
GeneralRe: Keyboard in C# Pin
Jim MacDonald22-Sep-03 6:10
Jim MacDonald22-Sep-03 6:10 
Generalsingle applications with multiple forms Pin
jerrycainjr21-Sep-03 14:56
jerrycainjr21-Sep-03 14: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.