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

C#

 
AnswerRe: what is meant by Interface in C#? Pin
Gareth H24-Apr-08 6:57
Gareth H24-Apr-08 6:57 
QuestionMultiple Inheritance is possible in C# are not? Pin
A@YZ24-Apr-08 6:26
A@YZ24-Apr-08 6:26 
AnswerRe: Multiple Inheritance is possible in C# are not? Pin
Gareth H24-Apr-08 6:45
Gareth H24-Apr-08 6:45 
AnswerRe: Multiple Inheritance is possible in C# are not? Pin
Guffa24-Apr-08 9:13
Guffa24-Apr-08 9:13 
QuestionMultiple Inheritance is possible in C# are not? Pin
A@YZ24-Apr-08 6:25
A@YZ24-Apr-08 6:25 
GeneralRe: double post - see above Pin
Gareth H24-Apr-08 6:47
Gareth H24-Apr-08 6:47 
GeneralRe: Multiple Inheritance is possible in C# are not? Pin
Anthony Mushrow24-Apr-08 6:49
professionalAnthony Mushrow24-Apr-08 6:49 
QuestionAdd a button to FlowLayoutPanel at a specified location Pin
TurboNext24-Apr-08 6:10
TurboNext24-Apr-08 6:10 
Hello all,

I have a problem adding a button to a flowlayoutpanel control at a specific location in flowlayoutpanel. When I try to add a 'Button', it automatically adds at the starting location(left top)of 'flowlayoutpanel'. Even if I specify the location for the 'Button' it doesn't work.

Button btnPanelLoc = new Button();
btnPanelLoc.Text = "Loc2";
flowLayoutPanel1.Controls.Add(btnPanelLoc);
Point p = new Point();
p.X = flowLayoutPanel1.Left + 75;
p.Y = 400;
btnPanelLoc.Location = p;

This didn't help. Also I tried this option which didn't work either.

Button btnPanelLoc = new Button();
btnPanelLoc.Text = "Loc1";
flowLayoutPanel1.Controls.Add(btnPanelLoc);
btnPanelLoc.Left = flowLayoutPanel1.Width - 150;
btnPanelLoc.Top = flowLayoutPanel1.Height - 150;

Both ways it adds the button to the beginning of flowlayoutpanel instead of adding the 'Button' at a specific location.

Any Help greatly appreciated.

Thanks,
Enrique.
GeneralRe: Add a button to FlowLayoutPanel at a specified location Pin
Anthony Mushrow24-Apr-08 6:48
professionalAnthony Mushrow24-Apr-08 6:48 
QuestionHow can I show different value when mouse over custom textbox? Pin
tantja24-Apr-08 4:28
tantja24-Apr-08 4:28 
AnswerRe: How can I show different value when mouse over custom textbox? Pin
Anthony Mushrow24-Apr-08 5:25
professionalAnthony Mushrow24-Apr-08 5:25 
GeneralShell.Run Pin
mihai12324-Apr-08 4:00
mihai12324-Apr-08 4:00 
QuestionRe: Shell.Run Pin
carbon_golem24-Apr-08 4:32
carbon_golem24-Apr-08 4:32 
GeneralRe: Shell.Run Pin
mihai12324-Apr-08 7:32
mihai12324-Apr-08 7:32 
GeneralRe: Shell.Run Pin
Thomas Stockwell25-Apr-08 14:12
professionalThomas Stockwell25-Apr-08 14:12 
Generalurgent.. help plzz Pin
hhani24-Apr-08 3:50
hhani24-Apr-08 3:50 
GeneralRe: urgent.. help plzz Pin
J4amieC24-Apr-08 3:53
J4amieC24-Apr-08 3:53 
GeneralRe: urgent.. help plzz Pin
Colin Angus Mackay24-Apr-08 7:52
Colin Angus Mackay24-Apr-08 7:52 
QuestionNumericUpDown Mouse Wheel Pin
cooltoad12324-Apr-08 2:46
cooltoad12324-Apr-08 2:46 
GeneralRe: NumericUpDown Mouse Wheel [modified] Pin
Anthony Mushrow24-Apr-08 3:13
professionalAnthony Mushrow24-Apr-08 3:13 
GeneralRe: NumericUpDown Mouse Wheel Pin
cooltoad12324-Apr-08 4:04
cooltoad12324-Apr-08 4:04 
AnswerRe: NumericUpDown Mouse Wheel Pin
bscaer23-Apr-09 10:36
bscaer23-Apr-09 10:36 
Questionform or buttons in rtf [modified] Pin
panoskatws24-Apr-08 2:09
panoskatws24-Apr-08 2:09 
GeneralRe: form or buttons in rtf Pin
Christian Graus24-Apr-08 2:30
protectorChristian Graus24-Apr-08 2:30 
GeneralRe: form or buttons in rtf Pin
Duncan Edwards Jones24-Apr-08 5:57
professionalDuncan Edwards Jones24-Apr-08 5:57 

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.