Click here to Skip to main content
15,890,043 members
Home / Discussions / C#
   

C#

 
AnswerRe: Mesh flip Pin
eggie531-Aug-06 23:03
eggie531-Aug-06 23:03 
GeneralRe: Mesh flip Pin
mirano31-Aug-06 23:11
mirano31-Aug-06 23:11 
Question"Unable to start debugging" error Pin
haytham_mohammad31-Aug-06 13:02
haytham_mohammad31-Aug-06 13:02 
AnswerRe: "Unable to start debugging" error Pin
mav.northwind1-Sep-06 20:05
mav.northwind1-Sep-06 20:05 
GeneralRe: "Unable to start debugging" error Pin
haytham_mohammad2-Sep-06 8:40
haytham_mohammad2-Sep-06 8:40 
GeneralRe: "Unable to start debugging" error Pin
mav.northwind2-Sep-06 19:40
mav.northwind2-Sep-06 19:40 
GeneralRe: "Unable to start debugging" error Pin
haytham_mohammad3-Sep-06 13:20
haytham_mohammad3-Sep-06 13:20 
QuestionCosmetics - program change in label location Pin
Glen Harvy31-Aug-06 12:57
Glen Harvy31-Aug-06 12:57 
Hi,

I would like to "remove" a label if it is empty and move all subsequent labels up to replace its position.
I thought the following would work:

if (labelAddress2_22.Text == "")<br />
{<br />
  labelSuburb22.Location.Y = 150;<br />
  labelPostCode22.Location.Y = 150;<br />
  labelState22.Location.Y = 175;<br />
  labelCountry22.Location.Y = 200;<br />
}


but I get a compilation error that the label component is not a variable. I understand this and have looked up the MS help on it but the MS suggestion seems a complicated route to take (or so it seems to me Frown | :( ).

Is there an easier way?

Glen Harvy

AnswerRe: Cosmetics - program change in label location Pin
Judah Gabriel Himango31-Aug-06 14:12
sponsorJudah Gabriel Himango31-Aug-06 14:12 
GeneralRe: Cosmetics - program change in label location [modified] Pin
Glen Harvy31-Aug-06 21:25
Glen Harvy31-Aug-06 21:25 
GeneralRe: Cosmetics - program change in label location Pin
Judah Gabriel Himango1-Sep-06 4:41
sponsorJudah Gabriel Himango1-Sep-06 4:41 
QuestionArrayList from another class, or form!?? Pin
ferdna31-Aug-06 11:45
ferdna31-Aug-06 11:45 
AnswerRe: ArrayList from another class, or form!?? [modified] Pin
ferdna31-Aug-06 11:48
ferdna31-Aug-06 11:48 
AnswerRe: ArrayList from another class, or form!?? Pin
Bhupi Bhai1-Sep-06 2:14
Bhupi Bhai1-Sep-06 2:14 
QuestionClickOnce & MAGE - will not install from webpage Pin
standgale31-Aug-06 11:32
standgale31-Aug-06 11:32 
Questionpls .. Pin
davvid31-Aug-06 9:04
davvid31-Aug-06 9:04 
AnswerRe: pls .. Pin
CWIZO31-Aug-06 22:49
CWIZO31-Aug-06 22:49 
QuestionData bind on Contained Object Properties Pin
8thWonder31-Aug-06 8:13
8thWonder31-Aug-06 8:13 
AnswerRe: Data bind on Contained Object Properties Pin
John Petersen31-Aug-06 23:16
John Petersen31-Aug-06 23:16 
Questionlistening for Dgrams. need to parse IP header? Pin
mmatteson31-Aug-06 8:10
mmatteson31-Aug-06 8:10 
AnswerRe: listening for Dgrams. need to parse IP header? Pin
mmatteson31-Aug-06 8:29
mmatteson31-Aug-06 8:29 
Questionhandle events in C# from a dll ?(writing a wrapper class) Pin
rameshsd31-Aug-06 8:10
rameshsd31-Aug-06 8:10 
AnswerRe: handle events in C# from a dll ?(writing a wrapper class) Pin
Jun Du31-Aug-06 8:51
Jun Du31-Aug-06 8:51 
QuestionArrays: Unknown default value?? Pin
Goalie3531-Aug-06 5:53
Goalie3531-Aug-06 5:53 
AnswerRe: Arrays: Unknown default value?? Pin
Dave Kreskowiak31-Aug-06 6:01
mveDave Kreskowiak31-Aug-06 6:01 

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.