NekoManu Posted July 25, 2004 Posted July 25, 2004 In my old Visual Basic 6.0 I used to do something like this: Me.imgAbout.Picture = Screen.ActiveForm.Icon. In C# it doesn't seem to work. What I want to do is display the Icon of a form on the form itself. I looked at something Convertor.ConvertTo, but I don't understand it and I can't find any good examples. Can someone tell how I can get the icon of the form? Second thing is that I want to use a Lstbox/combox with multple columns. I have been thinking about writing my own controls, but I'm not sure how to start. One of the things is that I want this listbox to work with all fonts. Thanks Quote
Administrators PlausiblyDamp Posted July 25, 2004 Administrators Posted July 25, 2004 imgAbout.Image=this.Icon.ToBitmap(); should do the trick Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.