6 Replies - 545 Views - Last Post: 15 July 2009 - 02:19 AM Rate Topic: -----

#1 thursdayniac  Icon User is offline

  • D.I.C Regular

Reputation: 6
  • View blog
  • Posts: 255
  • Joined: 26-April 09

Visual Studio help

Posted 15 July 2009 - 12:31 AM

I didnt know where to post this thread... so mods, feel free to move.

Is it possible to create your own buttons in visual studio (2008)?
Can I make buttons in photoshop and use those instead of the default windows buttons?

Thanks in advance.
Is This A Good Question/Topic? 0
  • +

Replies To: Visual Studio help

#2 paperclipmuffin  Icon User is offline

  • Disassembling...
  • member icon

Reputation: 13
  • View blog
  • Posts: 944
  • Joined: 16-April 09

Re: Visual Studio help

Posted 15 July 2009 - 12:36 AM

Abseloutley. :)

Use a picturebox.

\/If I was helpful, please thank me by clicking the link below. Thanks!\/

This post has been edited by paperclipmuffin: 15 July 2009 - 12:37 AM

Was This Post Helpful? 1
  • +
  • -

#3 thursdayniac  Icon User is offline

  • D.I.C Regular

Reputation: 6
  • View blog
  • Posts: 255
  • Joined: 26-April 09

Re: Visual Studio help

Posted 15 July 2009 - 01:19 AM

View Postpaperclipmuffin, on 14 Jul, 2009 - 11:36 PM, said:

Abseloutley. :)

Use a picturebox.

\/If I was helpful, please thank me by clicking the link below. Thanks!\/


Sweet, thanks!

Also, how do you make a form adjust as you increase or decrease size?
For example, I created my form to be pretty big(I have a 22'' monitor), but when I open my prog
on smaller monitors I cant see the whole form... and when I adjust the size(by dragging the edges) I still cant see
all the buttons. I tried playing around with the properties of the form but I couldnt find anything that auto adjusts.

Thanks
Was This Post Helpful? 0
  • +
  • -

#4 paperclipmuffin  Icon User is offline

  • Disassembling...
  • member icon

Reputation: 13
  • View blog
  • Posts: 944
  • Joined: 16-April 09

Re: Visual Studio help

Posted 15 July 2009 - 01:27 AM

In the form code, create a function:
		private void Form1_Resize(object sender, EventArgs e)
		{

		}


This is the event for resizing the form. Inside, you can scale objects to the new height and width of the form's dimensions. :)
Was This Post Helpful? 0
  • +
  • -

#5 Bocard  Icon User is offline

  • D.I.C Head

Reputation: 15
  • View blog
  • Posts: 223
  • Joined: 24-September 08

Re: Visual Studio help

Posted 15 July 2009 - 01:28 AM

try checking out the Anchor and Dock properties.

the same as paperclipmuffin said..if this was helpful click below :D
Was This Post Helpful? 0
  • +
  • -

#6 paperclipmuffin  Icon User is offline

  • Disassembling...
  • member icon

Reputation: 13
  • View blog
  • Posts: 944
  • Joined: 16-April 09

Re: Visual Studio help

Posted 15 July 2009 - 01:29 AM

I think you might owe me 2 now... :P :P

Or bocard might be right...
Was This Post Helpful? 0
  • +
  • -

#7 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • member icon

Reputation: 180
  • View blog
  • Posts: 4,667
  • Joined: 26-November 04

Re: Visual Studio help

Posted 15 July 2009 - 02:19 AM

You can also use the BackgroundImage property of a Button and replace it with your image.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1