Click here to Skip to main content
15,880,047 members
Home / Discussions / C#
   

C#

 
AnswerRe: Converting string into non-string Form.Object types for passing to methods or updating non-string object.Property with strings Pin
Gerry Schmitz27-Nov-23 15:48
mveGerry Schmitz27-Nov-23 15:48 
GeneralRe: Converting string into non-string Form.Object types for passing to methods or updating non-string object.Property with strings Pin
Eddy Vluggen28-Nov-23 0:42
professionalEddy Vluggen28-Nov-23 0:42 
GeneralRe: Converting string into non-string Form.Object types for passing to methods or updating non-string object.Property with strings Pin
Pete O'Hanlon28-Nov-23 0:48
mvePete O'Hanlon28-Nov-23 0:48 
GeneralRe: Converting string into non-string Form.Object types for passing to methods or updating non-string object.Property with strings Pin
Eddy Vluggen28-Nov-23 1:02
professionalEddy Vluggen28-Nov-23 1:02 
GeneralRe: Converting string into non-string Form.Object types for passing to methods or updating non-string object.Property with strings Pin
Gerry Schmitz28-Nov-23 6:11
mveGerry Schmitz28-Nov-23 6:11 
AnswerRe: Converting string into non-string Form.Object types for passing to methods or updating non-string object.Property with strings Pin
jschell27-Nov-23 6:14
jschell27-Nov-23 6:14 
GeneralRe: Converting string into non-string Form.Object types for passing to methods or updating non-string object.Property with strings Pin
Codice Fictor27-Nov-23 11:12
Codice Fictor27-Nov-23 11:12 
GeneralRe: Converting string into non-string Form.Object types for passing to methods or updating non-string object.Property with strings Pin
Gerry Schmitz27-Nov-23 16:00
mveGerry Schmitz27-Nov-23 16:00 
Button, inherits from ButtonBase, which inherits from Control.

FlatStyle is defined in ButtonBase. At a minimum, you need to "cast" Control to ButtonBase to access that property.

As a side note, ButtonBase is an "abstract" class: you can't actually create ButtonBase except via a class that inherits it (like Button, CheckBox, and RadioButton; or your own "custom" button).


"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

GeneralRe: Converting string into non-string Form.Object types for passing to methods or updating non-string object.Property with strings Pin
Codice Fictor28-Nov-23 18:28
Codice Fictor28-Nov-23 18:28 
GeneralRe: Converting string into non-string Form.Object types for passing to methods or updating non-string object.Property with strings Pin
jschell29-Nov-23 4:56
jschell29-Nov-23 4:56 
GeneralRe: Converting string into non-string Form.Object types for passing to methods or updating non-string object.Property with strings Pin
Gerry Schmitz29-Nov-23 5:25
mveGerry Schmitz29-Nov-23 5:25 
QuestionQuestion Pin
Mo Fouad25-Nov-23 21:35
Mo Fouad25-Nov-23 21:35 
AnswerRe: Question Pin
Richard MacCutchan25-Nov-23 22:11
mveRichard MacCutchan25-Nov-23 22:11 
AnswerRe: Question Pin
Dave Kreskowiak26-Nov-23 4:42
mveDave Kreskowiak26-Nov-23 4:42 
GeneralRe: Question Pin
Richard Andrew x6426-Nov-23 6:28
professionalRichard Andrew x6426-Nov-23 6:28 
AnswerRe: Question Pin
Gerry Schmitz26-Nov-23 9:36
mveGerry Schmitz26-Nov-23 9:36 
GeneralRe: Question Pin
jschell27-Nov-23 6:17
jschell27-Nov-23 6:17 
QuestionC# error i dont know where i going wrong it say identifer expected in line 281 Pin
j k Nov202324-Nov-23 20:45
j k Nov202324-Nov-23 20:45 
AnswerRe: C# error i dont know where i going wrong it say identifer expected in line 281 Pin
Richard MacCutchan24-Nov-23 21:58
mveRichard MacCutchan24-Nov-23 21:58 
GeneralRe: C# error i dont know where i going wrong it say identifer expected in line 281 Pin
j k Nov202324-Nov-23 22:13
j k Nov202324-Nov-23 22:13 
GeneralRe: C# error i dont know where i going wrong it say identifer expected in line 281 Pin
Richard MacCutchan24-Nov-23 23:22
mveRichard MacCutchan24-Nov-23 23:22 
GeneralRe: C# error i dont know where i going wrong it say identifer expected in line 281 Pin
j k Nov202324-Nov-23 23:29
j k Nov202324-Nov-23 23:29 
GeneralRe: C# error i dont know where i going wrong it say identifer expected in line 281 Pin
Richard MacCutchan24-Nov-23 23:44
mveRichard MacCutchan24-Nov-23 23:44 
GeneralRe: C# error i dont know where i going wrong it say identifer expected in line 281 Pin
j k Nov202325-Nov-23 0:11
j k Nov202325-Nov-23 0:11 
GeneralRe: C# error i dont know where i going wrong it say identifer expected in line 281 Pin
Richard MacCutchan25-Nov-23 0:13
mveRichard MacCutchan25-Nov-23 0:13 

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.