Click here to Skip to main content
15,882,412 members
Home / Discussions / C#
   

C#

 
GeneralRe: 18 Errors Needs to be Fixed Pin
Richard MacCutchan30-Jan-23 23:09
mveRichard MacCutchan30-Jan-23 23:09 
GeneralRe: 18 Errors Needs to be Fixed Pin
Calin Negru1-Feb-23 1:00
Calin Negru1-Feb-23 1:00 
AnswerRe: 18 Errors Needs to be Fixed Pin
OriginalGriff30-Jan-23 22:09
mveOriginalGriff30-Jan-23 22:09 
GeneralRe: 18 Errors Needs to be Fixed Pin
Michael Afolayan30-Jan-23 23:15
Michael Afolayan30-Jan-23 23:15 
GeneralRe: 18 Errors Needs to be Fixed Pin
OriginalGriff31-Jan-23 2:06
mveOriginalGriff31-Jan-23 2:06 
GeneralRe: 18 Errors Needs to be Fixed Pin
CHill601-Feb-23 3:58
mveCHill601-Feb-23 3:58 
QuestionWhat's up with displaying transparent pixel? Closed Pin
mo149229-Jan-23 0:13
mo149229-Jan-23 0:13 
AnswerRe: What's up with displaying transparent pixel? Closed Pin
lmoelleb30-Jan-23 1:52
lmoelleb30-Jan-23 1:52 
I did not try running the code, but my thought is:

When you use a solid color, the updated values can be written straight to memory without any checks.

Once you alpha blend then each pixel will have to be merged with whatever is in the current image. So each pixel goes from a single write to read, calculate, then write.
Sure they could have optimized even further and simply not do anything if the alpha channel is 0, but apparently they did not. But you can do this easily yourself -one you have the CellColor you can check if it has a 0 alpha channel and skip setting up the brush and drawing when this is the case.
QuestionWhy is my AlphaPanel approach to disable the entire GUI so slow? Pin
arnold_w25-Jan-23 4:45
arnold_w25-Jan-23 4:45 
AnswerRe: Why is my AlphaPanel approach to disable the entire GUI so slow? Pin
Gerry Schmitz25-Jan-23 6:09
mveGerry Schmitz25-Jan-23 6:09 
GeneralRe: Why is my AlphaPanel approach to disable the entire GUI so slow? Pin
arnold_w27-Jan-23 0:23
arnold_w27-Jan-23 0:23 
GeneralRe: Why is my AlphaPanel approach to disable the entire GUI so slow? Pin
Gerry Schmitz27-Jan-23 6:24
mveGerry Schmitz27-Jan-23 6:24 
GeneralRe: Why is my AlphaPanel approach to disable the entire GUI so slow? Pin
Member 1590788429-Jan-23 8:05
Member 1590788429-Jan-23 8:05 
QuestionAn appraisal application with c# Pin
Emmanuel Bullem23-Jan-23 22:46
Emmanuel Bullem23-Jan-23 22:46 
AnswerRe: An appraisal application with c# Pin
OriginalGriff23-Jan-23 22:53
mveOriginalGriff23-Jan-23 22:53 
AnswerRe: An appraisal application with c# Pin
Pete O'Hanlon24-Jan-23 2:04
mvePete O'Hanlon24-Jan-23 2:04 
RantRe: An appraisal application with c# Pin
Eddy Vluggen24-Jan-23 13:54
professionalEddy Vluggen24-Jan-23 13:54 
Questionan appraisal application with c# Pin
Emmanuel Bullem23-Jan-23 21:50
Emmanuel Bullem23-Jan-23 21:50 
AnswerRe: an appraisal application with c# Pin
OriginalGriff23-Jan-23 22:53
mveOriginalGriff23-Jan-23 22:53 
QuestionIs possible to use the same background process for all forms? Pin
Member 1405587922-Jan-23 10:29
Member 1405587922-Jan-23 10:29 
AnswerRe: Is possible to use the same background process for all forms? Pin
Dave Kreskowiak22-Jan-23 13:15
mveDave Kreskowiak22-Jan-23 13:15 
AnswerRe: Is possible to use the same background process for all forms? Pin
Gerry Schmitz22-Jan-23 18:34
mveGerry Schmitz22-Jan-23 18:34 
AnswerRe: Is possible to use the same background process for all forms? Pin
OriginalGriff22-Jan-23 18:49
mveOriginalGriff22-Jan-23 18:49 
AnswerRe: Is possible to use the same background process for all forms? Pin
jschell24-Jan-23 10:27
jschell24-Jan-23 10:27 
Question"the horror:" why does C# let me get away with this ? Pin
BillWoodruff15-Jan-23 3:17
professionalBillWoodruff15-Jan-23 3:17 

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.