Click here to Skip to main content
15,890,845 members
Home / Discussions / C#
   

C#

 
GeneralRe: Thread Label Updating Pin
OriginalGriff26-Oct-21 22:17
mveOriginalGriff26-Oct-21 22:17 
GeneralRe: Thread Label Updating Pin
Gerry Schmitz28-Oct-21 6:43
mveGerry Schmitz28-Oct-21 6:43 
GeneralRe: Thread Label Updating Pin
OriginalGriff28-Oct-21 20:17
mveOriginalGriff28-Oct-21 20:17 
AnswerRe: Thread Label Updating Pin
BillWoodruff26-Oct-21 16:55
professionalBillWoodruff26-Oct-21 16:55 
Question.NET with problems Pin
Ismael Oliveira 202123-Oct-21 9:48
Ismael Oliveira 202123-Oct-21 9:48 
AnswerRe: .NET with problems Pin
Dave Kreskowiak23-Oct-21 12:15
mveDave Kreskowiak23-Oct-21 12:15 
AnswerRe: .NET with problems Pin
Gerry Schmitz23-Oct-21 16:00
mveGerry Schmitz23-Oct-21 16:00 
AnswerRe: .NET with problems Pin
BillWoodruff23-Oct-21 21:04
professionalBillWoodruff23-Oct-21 21:04 
AnswerRe: .NET with problems Pin
Matthew Dennis26-Oct-21 8:52
sysadminMatthew Dennis26-Oct-21 8:52 
QuestionC# Virtual Camera Pin
Software and Sowftware21-Oct-21 23:32
Software and Sowftware21-Oct-21 23:32 
AnswerRe: C# Virtual Camera Pin
lmoelleb22-Oct-21 2:30
lmoelleb22-Oct-21 2:30 
AnswerRe: C# Virtual Camera Pin
Gerry Schmitz22-Oct-21 7:37
mveGerry Schmitz22-Oct-21 7:37 
QuestionC# & .Net core new features related articles Pin
Mou_kol19-Oct-21 8:14
Mou_kol19-Oct-21 8:14 
AnswerRe: C# & .Net core new features related articles Pin
Richard Andrew x6419-Oct-21 10:48
professionalRichard Andrew x6419-Oct-21 10:48 
AnswerRe: C# & .Net core new features related articles Pin
BillWoodruff20-Oct-21 23:18
professionalBillWoodruff20-Oct-21 23:18 
QuestionSend Whatsapp Messages from C# Windows Forms Application Pin
Zeyad Jalil18-Oct-21 1:13
professionalZeyad Jalil18-Oct-21 1:13 
AnswerRe: Send Whatsapp Messages from C# Windows Forms Application Pin
OriginalGriff18-Oct-21 2:22
mveOriginalGriff18-Oct-21 2:22 
GeneralRe: Send Whatsapp Messages from C# Windows Forms Application Pin
Zeyad Jalil18-Oct-21 2:50
professionalZeyad Jalil18-Oct-21 2:50 
GeneralRe: Send Whatsapp Messages from C# Windows Forms Application Pin
Dave Kreskowiak18-Oct-21 3:54
mveDave Kreskowiak18-Oct-21 3:54 
AnswerRe: Send Whatsapp Messages from C# Windows Forms Application Pin
Bejide Basirat1-Apr-23 16:50
Bejide Basirat1-Apr-23 16:50 
QuestionSql dependency Pin
Nader Rostamkhani17-Oct-21 2:13
Nader Rostamkhani17-Oct-21 2:13 
AnswerRe: Sql dependency Pin
OriginalGriff17-Oct-21 2:44
mveOriginalGriff17-Oct-21 2:44 
QuestionDesigning a shape object class in C# Pin
Stephen Holdorf17-Oct-21 0:48
Stephen Holdorf17-Oct-21 0:48 
AnswerRe: Designing a shape object class in C# Pin
BillWoodruff17-Oct-21 9:02
professionalBillWoodruff17-Oct-21 9:02 
GeneralRe: Designing a shape object class in C# Pin
Pete O'Hanlon17-Oct-21 21:47
mvePete O'Hanlon17-Oct-21 21:47 
Good morning Bill. Thanks for posting this code - it's great to see people sharing code like this. I have a couple of comments that I'd like to address.

The code sample here has a lot of shorthand in it so things like GetGPath have to be interpreted. Is there a reason why this isn't called GetGraphicsPath or just GetPath? On that note, why have you chosen to implement Get methods over property getters? I'm just curious as to your reasoning here.

The Shp properties all feel like they should be in a separate class. Again, it feels to me like these are metadata items, rather than being intrinsic parts of the base interface. I would probably move these out into a separate metadata class and drop the Shp parts of the name.

The Union and Intersection methods also appear to be wrong, unless you are looking to determine whether this shape intersects with more than one shape - the first parameter of these methods is probably going to be the current instance so why pass it in? I would expect to see a method that looks more like this
C#
IShape Union(IShape shape);


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.