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

C#

 
GeneralRe: Atomicity in C# Pin
gggustafson17-May-13 6:20
mvagggustafson17-May-13 6:20 
GeneralRe: Atomicity in C# Pin
Matt T Heffron17-May-13 6:48
professionalMatt T Heffron17-May-13 6:48 
AnswerRe: Atomicity in C# Pin
Pete O'Hanlon17-May-13 0:43
mvePete O'Hanlon17-May-13 0:43 
GeneralRe: Atomicity in C# Pin
gggustafson17-May-13 6:34
mvagggustafson17-May-13 6:34 
GeneralRe: Atomicity in C# Pin
PIEBALDconsult17-May-13 6:47
mvePIEBALDconsult17-May-13 6:47 
GeneralRe: Atomicity in C# Pin
gggustafson17-May-13 6:55
mvagggustafson17-May-13 6:55 
QuestionHow do tell if a Forms icon is set to the default Visual Studio Icon or my own icon Pin
MarkB12316-May-13 6:35
MarkB12316-May-13 6:35 
AnswerRe: How do tell if a Forms icon is set to the default Visual Studio Icon or my own icon Pin
Eddy Vluggen16-May-13 7:01
professionalEddy Vluggen16-May-13 7:01 
..correct me if I'm wrong, but you'll need to access the same property to "check" it as you'll need to "set" it. Wouldn't it be more logical to simply set it?

How would you call/invoke the checking method? Where, what event, and how would the signature look?

There's another problem; it's hard for the computer to compare pictures. As far as it's concerned, they're just a collection of bytes. You could generate a hash-value for the default VS-icon, and compare that to the hash-value generated from the current icon. If the hashes differ, then the icons differ.

Still, it'd be easier to have a single base-form, set the icon in there once, and inherit from there.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

GeneralRe: How do tell if a Forms icon is set to the default Visual Studio Icon or my own icon Pin
MarkB12316-May-13 7:21
MarkB12316-May-13 7:21 
GeneralRe: How do tell if a Forms icon is set to the default Visual Studio Icon or my own icon Pin
Eddy Vluggen16-May-13 7:30
professionalEddy Vluggen16-May-13 7:30 
GeneralRe: How do tell if a Forms icon is set to the default Visual Studio Icon or my own icon Pin
MarkB12316-May-13 10:16
MarkB12316-May-13 10:16 
GeneralRe: How do tell if a Forms icon is set to the default Visual Studio Icon or my own icon Pin
Eddy Vluggen16-May-13 11:12
professionalEddy Vluggen16-May-13 11:12 
QuestionFill a datagridview using two data sources Pin
geralson15-May-13 23:28
geralson15-May-13 23:28 
AnswerRe: Fill a datagridview using two data sources Pin
Simon_Whale16-May-13 0:11
Simon_Whale16-May-13 0:11 
AnswerRe: Fill a datagridview using two data sources Pin
Eddy Vluggen16-May-13 3:03
professionalEddy Vluggen16-May-13 3:03 
GeneralRe: Fill a datagridview using two data sources Pin
geralson16-May-13 3:52
geralson16-May-13 3:52 
AnswerRe: Fill a datagridview using two data sources Pin
Eddy Vluggen16-May-13 4:12
professionalEddy Vluggen16-May-13 4:12 
GeneralRe: Fill a datagridview using two data sources Pin
Pete O'Hanlon17-May-13 3:11
mvePete O'Hanlon17-May-13 3:11 
QuestionC# AND DATABASE Pin
DatabaseShah15-May-13 19:59
DatabaseShah15-May-13 19:59 
AnswerRe: C# AND DATABASE PinPopular
Pete O'Hanlon15-May-13 20:36
mvePete O'Hanlon15-May-13 20:36 
AnswerRe: C# AND DATABASE Pin
Abhinav S16-May-13 8:24
Abhinav S16-May-13 8:24 
Questionhow to move picture box depending on a random dice number Pin
salhamaideh15-May-13 14:08
salhamaideh15-May-13 14:08 
AnswerRe: how to move picture box depending on a random dice number Pin
dusty_dex15-May-13 15:21
dusty_dex15-May-13 15:21 
Generalplase help me to correct some codes Pin
Member 1005503115-May-13 9:26
Member 1005503115-May-13 9:26 
GeneralRe: plase help me to correct some codes Pin
dusty_dex15-May-13 9:49
dusty_dex15-May-13 9:49 

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.