How can I make image visible within the groupbox?

  • (2 Pages)
  • +
  • 1
  • 2

20 Replies - 730 Views - Last Post: 05 February 2013 - 07:36 PM Rate Topic: ***-- 1 Votes

#16 Skydiver  Icon User is online

  • Code herder
  • member icon

Reputation: 3179
  • View blog
  • Posts: 9,645
  • Joined: 05-May 12

Re: How can I make image visible within the groupbox?

Posted 05 February 2013 - 09:33 AM

Actually, lower is better. From MSDN:

Quote

When SetChildIndex is called, the Control referred to by the child parameter is moved to the position specified by newIndex and the other Control references in the Control.ControlCollection are reordered to accommodate the move. The control with an index value of zero is at the top of the z-order, and higher numbers are closer to the bottom.

Was This Post Helpful? 0
  • +
  • -

#17 andrewsw  Icon User is offline

  • Fire giant boob nipple gun!
  • member icon

Reputation: 2890
  • View blog
  • Posts: 9,597
  • Joined: 12-December 12

Re: How can I make image visible within the groupbox?

Posted 05 February 2013 - 09:43 AM

@Skydiver Thanks.

I see they're careful to refer to z-order, rather than z-index; would have been helpful, though, if they had followed the z-index stack :whistling:
Was This Post Helpful? 0
  • +
  • -

#18 Kirstine  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 37
  • Joined: 04-February 13

Re: How can I make image visible within the groupbox?

Posted 05 February 2013 - 09:47 AM

A big Thank you for @bgammill and @Skydiver, It really helps me, and note you're not just helping you also taught me basics in C#.
Was This Post Helpful? 0
  • +
  • -

#19 Skydiver  Icon User is online

  • Code herder
  • member icon

Reputation: 3179
  • View blog
  • Posts: 9,645
  • Joined: 05-May 12

Re: How can I make image visible within the groupbox?

Posted 05 February 2013 - 09:54 AM

Let me highly recommend that you abandon learning C# and WinForms, and move over to learning C# and WPF. WinForms will be around for a while, but WPF is the direction that Microsoft seems to be headed for.
Was This Post Helpful? 0
  • +
  • -

#20 bgammill  Icon User is offline

  • New D.I.C Head

Reputation: 12
  • View blog
  • Posts: 39
  • Joined: 11-June 12

Re: How can I make image visible within the groupbox?

Posted 05 February 2013 - 10:19 AM

View PostSkydiver, on 05 February 2013 - 11:54 AM, said:

Let me highly recommend that you abandon learning C# and WinForms, and move over to learning C# and WPF. WinForms will be around for a while, but WPF is the direction that Microsoft seems to be headed for.

Totally agree with this one. WPF has many advantages over WinForms. A little bit of a learning curve though.
Was This Post Helpful? 0
  • +
  • -

#21 Kirstine  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 37
  • Joined: 04-February 13

Re: How can I make image visible within the groupbox?

Posted 05 February 2013 - 07:36 PM

Thankyou bgammill and Skydiver, you really helped me, not just helping you also taught me basic of C#. :)
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2