|
-
Apr 6th, 2013, 01:36 AM
#3
Thread Starter
Frenzied Member
Re: VS2012 Expres Custom and User Control
With your new project, set the size of the control to 782 x 262. Next, set the background color to black, or whatever color you like best. Then, drag a button onto the control and position it at location 2, 2. Set the button's size to 50 x 50. Each additional button's position will be the original button width/height plus two.
In my example, I have set the button's to FlatStyle.Flat with a backcolor of DimGrey, a bordercolor of Silver, and a ForeColor of White. I am also using Tahoma 12pt Bold as my font.
The bottom left and right corners are blank filler panels that I am using to complete the image of a keyboard.
Here are the sizes:
General Button: 50 x 50
Backspace: 102 x 50
Backslash: 76 x 50
Enter/Caps: 102 x 50
Shift: 128 x 50
Space: 362 x 50
Fillers: 206 x 50
Notice I am using the un-shifted values of each key for the button text, such as lower-case letters, numbers, etc. I don't have a need for the tab key, so I have omitted it in my project.
Last edited by circuits2; Apr 6th, 2013 at 01:39 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|