Click here to Skip to main content
15,909,651 members
Home / Discussions / C#
   

C#

 
QuestionUsing ErrorProvider with an AutoSize panel Pin
Jon Hulatt20-Aug-07 4:27
Jon Hulatt20-Aug-07 4:27 
QuestionLooking for a control Pin
mjmcinto20-Aug-07 3:41
mjmcinto20-Aug-07 3:41 
AnswerRe: Looking for a control Pin
Talal Sultan20-Aug-07 3:45
Talal Sultan20-Aug-07 3:45 
AnswerRe: Looking for a control Pin
Justin Perez20-Aug-07 3:46
Justin Perez20-Aug-07 3:46 
AnswerRe: Looking for a control Pin
Eduard Keilholz20-Aug-07 3:52
Eduard Keilholz20-Aug-07 3:52 
QuestionIs it possible to write such a methode? Pin
MarkPhB20-Aug-07 3:26
MarkPhB20-Aug-07 3:26 
AnswerRe: Is it possible to write such a methode? Pin
Luc Pattyn20-Aug-07 3:40
sitebuilderLuc Pattyn20-Aug-07 3:40 
AnswerRe: Is it possible to write such a methode? Pin
Talal Sultan20-Aug-07 3:42
Talal Sultan20-Aug-07 3:42 
I don't think you can write that in C#. Attributes are a special case I suppose.

Why would you need such a method anyway? Confused | :confused:


MarkPhB wrote:
where aVar, bVar and cVar are properties of the class.


Do you mean properties as in get-set or just fields. In the first case, you could just use the properties as they were designed to be used: myClass.aVar = 10, etc...It's a good practice in this case to capitalize the first letter of the property name. In the second case, you could encapsulate the field in a property get-set and use it as described in the first case.



-- If this is a post that has been helpful to you, please vote for it. Thank you!

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook

AnswerRe: Is it possible to write such a methode? Pin
Scott Dorman20-Aug-07 4:09
professionalScott Dorman20-Aug-07 4:09 
AnswerRe: Is it possible to write such a methode? Pin
Eduard Keilholz20-Aug-07 4:18
Eduard Keilholz20-Aug-07 4:18 
AnswerRe: Is it possible to write such a methode? Pin
Rudolf Jan21-Aug-07 0:52
Rudolf Jan21-Aug-07 0:52 
QuestionListBox reordering.. Pin
Dio2220-Aug-07 3:23
Dio2220-Aug-07 3:23 
AnswerRe: ListBox reordering.. Pin
Luc Pattyn20-Aug-07 3:43
sitebuilderLuc Pattyn20-Aug-07 3:43 
GeneralRe: ListBox reordering.. Pin
Dio2220-Aug-07 4:06
Dio2220-Aug-07 4:06 
QuestionException handling..???? Pin
Ron.S20-Aug-07 2:57
Ron.S20-Aug-07 2:57 
AnswerRe: Exception handling..???? Pin
originSH20-Aug-07 3:00
originSH20-Aug-07 3:00 
GeneralRe: Exception handling..???? Pin
Scott Dorman20-Aug-07 4:14
professionalScott Dorman20-Aug-07 4:14 
GeneralRe: Exception handling..???? Pin
originSH20-Aug-07 4:51
originSH20-Aug-07 4:51 
GeneralRe: Exception handling..???? Pin
Scott Dorman20-Aug-07 5:40
professionalScott Dorman20-Aug-07 5:40 
AnswerRe: Exception handling..???? Pin
Talal Sultan20-Aug-07 3:02
Talal Sultan20-Aug-07 3:02 
AnswerRe: Exception handling..???? Pin
Eduard Keilholz20-Aug-07 3:06
Eduard Keilholz20-Aug-07 3:06 
AnswerRe: Exception handling..???? Pin
Rudolf Jan21-Aug-07 0:55
Rudolf Jan21-Aug-07 0:55 
QuestionIMPORT AN EXEL FILE in windows application Pin
nish8520-Aug-07 2:55
nish8520-Aug-07 2:55 
GeneralRe: IMPORT AN EXEL FILE in windows application Pin
Eduard Keilholz20-Aug-07 3:02
Eduard Keilholz20-Aug-07 3:02 
AnswerRe: IMPORT AN EXEL FILE in windows application Pin
Justin Perez20-Aug-07 3:14
Justin Perez20-Aug-07 3:14 

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.