Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
GeneralRe: Email In C# Pin
kibromg7-Jul-09 5:57
kibromg7-Jul-09 5:57 
GeneralRe: Email In C# Pin
Eddy Vluggen7-Jul-09 6:02
professionalEddy Vluggen7-Jul-09 6:02 
GeneralRe: Email In C# PinPopular
EliottA7-Jul-09 7:00
EliottA7-Jul-09 7:00 
GeneralRe: Email In C# Pin
Luc Pattyn7-Jul-09 8:39
sitebuilderLuc Pattyn7-Jul-09 8:39 
GeneralRe: Email In C# Pin
EliottA7-Jul-09 9:32
EliottA7-Jul-09 9:32 
GeneralRe: Email In C# Pin
Luc Pattyn7-Jul-09 12:06
sitebuilderLuc Pattyn7-Jul-09 12:06 
GeneralRe: Email In C# Pin
kibromg7-Jul-09 23:20
kibromg7-Jul-09 23:20 
QuestionTransparent Pictureboxes Pin
Jordanwb7-Jul-09 5:40
Jordanwb7-Jul-09 5:40 
I have a class called "Card" (as in a deck of cards), which extends the PictureBox class. Now the picturebox is the size of the image (150X215). When you mouse over the card it "hovers" (its Y location decreases 20 pixels) and is supposed to show part of the card underneath it. However this does not happen. See this picture: http://img199.imageshack.us/i/cardsj.jpg/[^]

I've done this in the OnLoad event of the Card class:

this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);
this.BackColor = Color.Transparent;

But it doesn't work (as you can see in the picture). I found this article: http://www.codeproject.com/combobox/TransListBox.asp[^]

But how do I do this in C#?

BTW the images are transparent png's.
AnswerRe: Transparent Pictureboxes Pin
Christian Graus7-Jul-09 5:43
protectorChristian Graus7-Jul-09 5:43 
GeneralRe: Transparent Pictureboxes Pin
Jordanwb7-Jul-09 5:49
Jordanwb7-Jul-09 5:49 
GeneralRe: Transparent Pictureboxes Pin
Christian Graus7-Jul-09 5:52
protectorChristian Graus7-Jul-09 5:52 
GeneralRe: Transparent Pictureboxes Pin
Luc Pattyn7-Jul-09 8:41
sitebuilderLuc Pattyn7-Jul-09 8:41 
Questionweb automation Pin
T_Teef7-Jul-09 5:11
T_Teef7-Jul-09 5:11 
AnswerRe: web automation Pin
DoctorMick7-Jul-09 5:33
DoctorMick7-Jul-09 5:33 
QuestionRead Outlook Message from msg file Pin
sajan_f7-Jul-09 4:15
sajan_f7-Jul-09 4:15 
AnswerUrgent request Pin
Not Active7-Jul-09 4:32
mentorNot Active7-Jul-09 4:32 
QuestionDataReader data writing to Excel sheet - cells in different row Pin
Krishna Aditya7-Jul-09 3:13
Krishna Aditya7-Jul-09 3:13 
QuestionSerial Data Pin
Tauseef A7-Jul-09 2:39
Tauseef A7-Jul-09 2:39 
QuestionRe: Serial Data Pin
musefan7-Jul-09 2:43
musefan7-Jul-09 2:43 
AnswerRe: Serial Data Pin
Dave Kreskowiak7-Jul-09 3:47
mveDave Kreskowiak7-Jul-09 3:47 
QuestionOracle commit Pin
swpr7-Jul-09 2:24
swpr7-Jul-09 2:24 
AnswerRe: Oracle commit Pin
Christian Graus7-Jul-09 2:27
protectorChristian Graus7-Jul-09 2:27 
QuestionRe: Oracle commit Pin
musefan7-Jul-09 2:40
musefan7-Jul-09 2:40 
AnswerRe: Oracle commit Pin
Pete O'Hanlon7-Jul-09 2:50
mvePete O'Hanlon7-Jul-09 2:50 
QuestionOnPaint Pin
satsumatable7-Jul-09 2:20
satsumatable7-Jul-09 2:20 

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.