Click here to Skip to main content
16,004,906 members
Home / Discussions / Windows Forms
   

Windows Forms

 
Questioncode for retreving user DSN's Pin
chennu Jul2920-Jul-09 20:50
chennu Jul2920-Jul-09 20:50 
Questiontype initializer for 'Gdip' threw an exception Pin
baldree20-Jul-09 13:46
baldree20-Jul-09 13:46 
Questionhow return Dataadapter and dataset from function in class file for multiple use Pin
hemrk20-Jul-09 6:08
hemrk20-Jul-09 6:08 
AnswerRe: how return Dataadapter and dataset from function in class file for multiple use Pin
DoctorMick20-Jul-09 6:16
DoctorMick20-Jul-09 6:16 
GeneralHelp on how to build sms web portal for my church for e-evengenlism Pin
abbah19-Jul-09 22:51
abbah19-Jul-09 22:51 
GeneralRe: Help on how to build sms web portal for my church for e-evengenlism Pin
Dave Kreskowiak21-Jul-09 4:25
mveDave Kreskowiak21-Jul-09 4:25 
JokeRe: Help on how to build sms web portal for my church for e-evengenlism Pin
Paul Conrad26-Jul-09 11:11
professionalPaul Conrad26-Jul-09 11:11 
Question"extended version" of post to Lounge : Applause ! : shareware version of AlphaForm now on CP, and free [modified] Pin
BillWoodruff19-Jul-09 15:04
professionalBillWoodruff19-Jul-09 15:04 
< this contains the original Lounge post and content of material I deliberately left out of the Lounge post : feeling it was more appropriate here >

Hi,

I'm delighted to see that Jeff Anderson his taken latest version of AlphaForm[^], which was being sold as shareware, and now made it available to us, under the Code Project license, free !

I've created a "stress test" example of using Jeff's code that will move quite smoothly with virtually zero flicker, at run-time on an older system with no graphics card (i.e., using motherboard/CPU integration of all rendering) : PIV single core, 2.93 mhz, XP Pro SP 3, VS Studio 2010 beta, FrameWork 4.0, which I consider excellent since the load on the CPU for calculating the non-rectangular clipping regions must be high.

This example uses a .png bitmap saved in PhotoShop CS 4 as 24-bit .png with transparency, size 800x600, which includes one main content area, and two other content areas which are disconnected from the main content area (i.e., the form has non-overlapping areas of transparency : contains "holes") : inside this form there are two torodial areas cut-out from the main content area through which the underlying WinForm can be shown, and on which controls to be used at runtime can be placed. The source graphics (the complete images, source and the image mask files) I have optimized down to under 500k total using very valuable hints and tips found here[^]. I suspect further optimization is possible (particularly on the mask image, and I am experimenting with that trying to find the optimum level of reduction possible).

You can see the source image I'm using here[^], and the clipping mask image here[^].

These images are based on an excerpt from an image[^] in the public domain shown on Wikipedia, they are not original. The image is from a detail of a bronze frieze dating back probably a least 2000-2200 years ago, at Sarnath in India, showing the teacher born as Siddhartha of the Sakyas, and later known as Gautama the Buddha, giving what has become known as the "turning of the wheel" teaching that is believed, by Buddhists, to have "set in motion" (in a non-singular way [from the Theravadan Buddhist point of view]) the insights and practices that have led to what we now know as Buddhism. I was in Sarnath in October of 1975, and had a wonderful time there, even saw a live deer in the park !

If I reach the point where I feel I have enough mastery of Jeff's code that I can modify a few things, and have something substantial to say about using that modified version, or feel I have something useful to add about how to optimize use of it (or its source graphics files), I'll do a brief write-up, and post a link to it here (the WinForms forum) : hope you might do likewise if you use it and modify it.

So, thanks Jeff !

best, Bill

"Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844

modified on Sunday, July 19, 2009 9:17 PM

Questionhow to programatically raise keyPress event of a user control? Pin
imak19-Jul-09 9:54
imak19-Jul-09 9:54 
AnswerRe: how to programatically raise keyPress event of a user control? Pin
Luc Pattyn19-Jul-09 10:33
sitebuilderLuc Pattyn19-Jul-09 10:33 
GeneralRe: how to programatically raise keyPress event of a user control? Pin
imak19-Jul-09 10:45
imak19-Jul-09 10:45 
GeneralRe: how to programatically raise keyPress event of a user control? Pin
imak20-Jul-09 4:43
imak20-Jul-09 4:43 
QuestionHow to access the form controls in the thread Pin
K V Sekhar17-Jul-09 23:41
K V Sekhar17-Jul-09 23:41 
AnswerRe: How to access the form controls in the thread Pin
Luc Pattyn18-Jul-09 0:02
sitebuilderLuc Pattyn18-Jul-09 0:02 
GeneralRe: How to access the form controls in the thread Pin
K V Sekhar18-Jul-09 1:00
K V Sekhar18-Jul-09 1:00 
GeneralRe: How to access the form controls in the thread Pin
Luc Pattyn18-Jul-09 1:05
sitebuilderLuc Pattyn18-Jul-09 1:05 
QuestionXML DOM Support WINPE 1.6 Pin
AR Reddy16-Jul-09 0:26
AR Reddy16-Jul-09 0:26 
QuestionHelp for widows distributed application Pin
Zeeshan Riaz15-Jul-09 11:34
Zeeshan Riaz15-Jul-09 11:34 
QuestionRegEx not finding matches ... but it should Pin
Adam R Harris14-Jul-09 18:57
Adam R Harris14-Jul-09 18:57 
AnswerRe: RegEx not finding matches ... but it should Pin
Luc Pattyn15-Jul-09 2:22
sitebuilderLuc Pattyn15-Jul-09 2:22 
GeneralRe: RegEx not finding matches ... but it should Pin
Adam R Harris15-Jul-09 7:49
Adam R Harris15-Jul-09 7:49 
GeneralRe: RegEx not finding matches ... but it should Pin
Luc Pattyn15-Jul-09 8:06
sitebuilderLuc Pattyn15-Jul-09 8:06 
QuestionContainer panel in user control (or clickable buttons at design time) Pin
Tomislav Plečko14-Jul-09 8:40
Tomislav Plečko14-Jul-09 8:40 
AnswerRe: Container panel in user control (or clickable buttons at design time) Pin
dan!sh 14-Jul-09 18:19
professional dan!sh 14-Jul-09 18:19 
AnswerRe: Container panel in user control (or clickable buttons at design time) Pin
BillWoodruff14-Jul-09 19:34
professionalBillWoodruff14-Jul-09 19:34 

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.