Click here to Skip to main content
15,897,273 members
Home / Discussions / C#
   

C#

 
AnswerRe: Strange Property Grid Behaviour Pin
Wags5-Nov-09 23:20
professionalWags5-Nov-09 23:20 
Questionproper Async reading operation Pin
Chesnokov Yuriy5-Nov-09 4:25
professionalChesnokov Yuriy5-Nov-09 4:25 
AnswerRe: proper Async reading operation Pin
Jimmanuel5-Nov-09 5:55
Jimmanuel5-Nov-09 5:55 
GeneralRe: proper Async reading operation Pin
Chesnokov Yuriy5-Nov-09 8:28
professionalChesnokov Yuriy5-Nov-09 8:28 
QuestionAssembly redirection in .NET Pin
KarthikonIT5-Nov-09 4:18
KarthikonIT5-Nov-09 4:18 
AnswerRe: Assembly redirection in .NET Pin
Not Active5-Nov-09 5:43
mentorNot Active5-Nov-09 5:43 
QuestionTransparency Pin
stancrm5-Nov-09 3:43
stancrm5-Nov-09 3:43 
AnswerRe: Transparency Pin
The Man from U.N.C.L.E.5-Nov-09 7:38
The Man from U.N.C.L.E.5-Nov-09 7:38 
mdichild forms do not support transparency.

Normally the Paint event of a form does nothing (unless you have handled it), and so you see through to the results of the paintBackground event. In the case of a transparent form this paintBackground event handles painting the stuff underneath your form.

As soon as a form is made an mdiParent the paint event forces painting totally filled with the colour 'AppWorkspace'.

For mdiChildren it is a bit different. They now ignore the TransparencyKey, so the only thing you can do is set the backColor to Transparent, therefore making the MDIParent backColor display in the child. Note this is not transparency but just delegating the backColor to the mdiParent and so not that usefull. If you want to do this you will have to force your form to accept Transparent as a backColor which it does not normally do. To do this add the following two lines to the constructor of the mdiChild form.

C#
this.SetStyle(System.Windows.Forms.ControlStyles.SupportsTransparentBackColor, true);
this.BackColor = System.Drawing.Color.Transparent;


If you have knowledge, let others light their candles at it.
Margaret Fuller (1810 - 1850)
www.JacksonSoft.co.uk

QuestionHelping -- winpcap & winDump libraries for capture and dump IP packets using C# Pin
3bood.ghzawi5-Nov-09 2:21
3bood.ghzawi5-Nov-09 2:21 
Questionsizeof struct with array Pin
Ronenb5-Nov-09 2:03
Ronenb5-Nov-09 2:03 
AnswerRe: sizeof struct with array Pin
Luc Pattyn5-Nov-09 2:23
sitebuilderLuc Pattyn5-Nov-09 2:23 
GeneralRe: sizeof struct with array Pin
Ronenb7-Nov-09 19:16
Ronenb7-Nov-09 19:16 
GeneralRe: sizeof struct with array Pin
Luc Pattyn8-Nov-09 1:07
sitebuilderLuc Pattyn8-Nov-09 1:07 
GeneralRe: sizeof struct with array Pin
Ronenb8-Nov-09 4:36
Ronenb8-Nov-09 4:36 
QuestionSplit Name Field Pin
kruegersck5-Nov-09 1:58
kruegersck5-Nov-09 1:58 
AnswerRe: Split Name Field Pin
musefan5-Nov-09 2:30
musefan5-Nov-09 2:30 
AnswerRe: Split Name Field Pin
Shameel5-Nov-09 2:33
professionalShameel5-Nov-09 2:33 
AnswerRe: Split Name Field Pin
V.5-Nov-09 4:21
professionalV.5-Nov-09 4:21 
AnswerRe: Split Name Field Pin
PIEBALDconsult5-Nov-09 5:34
mvePIEBALDconsult5-Nov-09 5:34 
GeneralRe: Split Name Field Pin
Luc Pattyn5-Nov-09 12:51
sitebuilderLuc Pattyn5-Nov-09 12:51 
QuestionHow to Hide MenuBar/ToolBar while displaying Office Document using Web Browser? Pin
muhammad_umair5-Nov-09 1:22
muhammad_umair5-Nov-09 1:22 
QuestionIs there a better way for updating bound controls when updating the data source manually? Pin
TheFoZ5-Nov-09 0:40
TheFoZ5-Nov-09 0:40 
AnswerRe: Is there a better way for updating bound controls when updating the data source manually? Pin
Gerry Schmitz5-Nov-09 15:34
mveGerry Schmitz5-Nov-09 15:34 
GeneralRe: Is there a better way for updating bound controls when updating the data source manually? Pin
TheFoZ5-Nov-09 22:23
TheFoZ5-Nov-09 22:23 
GeneralRe: Is there a better way for updating bound controls when updating the data source manually? Pin
Gerry Schmitz6-Nov-09 6:57
mveGerry Schmitz6-Nov-09 6: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.