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

C#

 
GeneralRe: WPF and C# - Passing Data and accessing Controls between Child Windows Pin
Pete O'Hanlon4-Dec-18 7:06
mvePete O'Hanlon4-Dec-18 7:06 
GeneralRe: WPF and C# - Passing Data and accessing Controls between Child Windows Pin
Gerry Schmitz4-Dec-18 7:16
mveGerry Schmitz4-Dec-18 7:16 
GeneralRe: WPF and C# - Passing Data and accessing Controls between Child Windows Pin
BillWoodruff5-Dec-18 14:49
professionalBillWoodruff5-Dec-18 14:49 
AnswerRe: WPF and C# - Passing Data and accessing Controls between Child Windows Pin
Mycroft Holmes2-Dec-18 10:42
professionalMycroft Holmes2-Dec-18 10:42 
GeneralRe: WPF and C# - Passing Data and accessing Controls between Child Windows Pin
James Wyatt2-Dec-18 20:57
James Wyatt2-Dec-18 20:57 
AnswerRe: WPF and C# - Passing Data and accessing Controls between Child Windows Pin
Gerry Schmitz4-Dec-18 7:58
mveGerry Schmitz4-Dec-18 7:58 
QuestionRdlc reporting page break doesnt work Pin
Member 132642682-Dec-18 3:24
Member 132642682-Dec-18 3:24 
QuestionA problem of great decision Pin
_Q12_2-Dec-18 2:28
_Q12_2-Dec-18 2:28 
This issue I have it for a while, almost 1 year or more. I tried diverse permutations but always got stuck at some point, when the whole idea will not work anymore. And I give up all the time on it.

I have a class with properties, fields and methods in it. I am thinking to add events to it, but im not that great at them yet. When i call this class into form1 I basically change some values inside class, and the "object" that represents it, will add value or change color or change position ,etc.

If i have a game let's say, when the character stays and I want him to look like it's breathing, this property should be inside the class? or outside, letting me choose when to breathe, how much, how long, how fast,etc. It's just an example. I had a lot of similar (and more complex) encounters with this subject and I simply freeze in the middle of it, not knowing how to manage it anymore.
Both ways are good! From outside or from inside class. But... sometime i need maneuverability, sometime is just in the way and i want it 'there' behind some close door(inside class I mean).

What your rules say about this thing? Should I change its values from inside the class? Or from outside?
Thank you.
------
thanks to OriginalGriff i relocated here the question.
q12

AnswerRe: A problem of great decision Pin
Super Lloyd2-Dec-18 17:08
Super Lloyd2-Dec-18 17:08 
AnswerRe: A problem of great decision Pin
Eddy Vluggen3-Dec-18 0:15
professionalEddy Vluggen3-Dec-18 0:15 
AnswerRe: A problem of great decision Pin
Gerry Schmitz4-Dec-18 7:02
mveGerry Schmitz4-Dec-18 7:02 
QuestionC sharp / mysql saving a blob variable into mysql Database Pin
margalla30-Nov-18 2:07
margalla30-Nov-18 2:07 
AnswerRe: C sharp / mysql saving a blob variable into mysql Database Pin
Eddy Vluggen30-Nov-18 2:13
professionalEddy Vluggen30-Nov-18 2:13 
QuestionUsercontrol poser ( rusty Winforms guy ) Pin
pkfox29-Nov-18 4:16
professionalpkfox29-Nov-18 4:16 
AnswerRe: Usercontrol poser ( rusty Winforms guy ) Pin
OriginalGriff29-Nov-18 4:49
mveOriginalGriff29-Nov-18 4:49 
GeneralRe: Usercontrol poser ( rusty Winforms guy ) Pin
pkfox29-Nov-18 5:24
professionalpkfox29-Nov-18 5:24 
GeneralRe: Usercontrol poser ( rusty Winforms guy ) Pin
OriginalGriff29-Nov-18 5:32
mveOriginalGriff29-Nov-18 5:32 
AnswerRe: Usercontrol poser ( rusty Winforms guy ) Pin
BillWoodruff1-Dec-18 16:52
professionalBillWoodruff1-Dec-18 16:52 
GeneralRe: Usercontrol poser ( rusty Winforms guy ) Pin
pkfox1-Dec-18 21:04
professionalpkfox1-Dec-18 21:04 
AnswerRe: Usercontrol poser ( rusty Winforms guy ) Pin
BillWoodruff2-Dec-18 0:43
professionalBillWoodruff2-Dec-18 0:43 
GeneralRe: Usercontrol poser ( rusty Winforms guy ) Pin
pkfox2-Dec-18 3:48
professionalpkfox2-Dec-18 3:48 
GeneralRe: Usercontrol poser ( rusty Winforms guy ) Pin
BillWoodruff2-Dec-18 4:06
professionalBillWoodruff2-Dec-18 4:06 
GeneralRe: Usercontrol poser ( rusty Winforms guy ) Pin
pkfox2-Dec-18 6:03
professionalpkfox2-Dec-18 6:03 
GeneralRe: Usercontrol poser ( rusty Winforms guy ) Pin
BillWoodruff2-Dec-18 6:51
professionalBillWoodruff2-Dec-18 6:51 
GeneralRe: Usercontrol poser ( rusty Winforms guy ) Pin
BillWoodruff2-Dec-18 18:57
professionalBillWoodruff2-Dec-18 18:57 

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.