Click here to Skip to main content
15,846,144 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 16:48
mveGerry Schmitz27-Nov-23 16: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:42
professionalEddy Vluggen28-Nov-23 1: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 1:48
subeditorPete O'Hanlon28-Nov-23 1: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 2:02
professionalEddy Vluggen28-Nov-23 2: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 7:11
mveGerry Schmitz28-Nov-23 7: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 7:14
jschell27-Nov-23 7: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 12:12
Codice Fictor27-Nov-23 12: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 17:00
mveGerry Schmitz27-Nov-23 17: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 19:28
Codice Fictor28-Nov-23 19: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 5:56
jschell29-Nov-23 5: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 6:25
mveGerry Schmitz29-Nov-23 6:25 
QuestionQuestion Pin
Mo Fouad25-Nov-23 22:35
Mo Fouad25-Nov-23 22:35 
AnswerRe: Question Pin
Richard MacCutchan25-Nov-23 23:11
mveRichard MacCutchan25-Nov-23 23:11 
AnswerRe: Question Pin
Dave Kreskowiak26-Nov-23 5:42
mveDave Kreskowiak26-Nov-23 5:42 
GeneralRe: Question Pin
Richard Andrew x6426-Nov-23 7:28
professionalRichard Andrew x6426-Nov-23 7:28 
AnswerRe: Question Pin
Gerry Schmitz26-Nov-23 10:36
mveGerry Schmitz26-Nov-23 10:36 
GeneralRe: Question Pin
jschell27-Nov-23 7:17
jschell27-Nov-23 7:17 
QuestionC# error i dont know where i going wrong it say identifer expected in line 281 Pin
j k Nov202324-Nov-23 21:45
j k Nov202324-Nov-23 21:45 
AnswerRe: C# error i dont know where i going wrong it say identifer expected in line 281 Pin
Richard MacCutchan24-Nov-23 22:58
mveRichard MacCutchan24-Nov-23 22:58 
GeneralRe: C# error i dont know where i going wrong it say identifer expected in line 281 Pin
j k Nov202324-Nov-23 23:13
j k Nov202324-Nov-23 23:13 
GeneralRe: C# error i dont know where i going wrong it say identifer expected in line 281 Pin
Richard MacCutchan25-Nov-23 0:22
mveRichard MacCutchan25-Nov-23 0:22 
GeneralRe: C# error i dont know where i going wrong it say identifer expected in line 281 Pin
j k Nov202325-Nov-23 0:29
j k Nov202325-Nov-23 0:29 
GeneralRe: C# error i dont know where i going wrong it say identifer expected in line 281 Pin
Richard MacCutchan25-Nov-23 0:44
mveRichard MacCutchan25-Nov-23 0:44 
GeneralRe: C# error i dont know where i going wrong it say identifer expected in line 281 Pin
j k Nov202325-Nov-23 1:11
j k Nov202325-Nov-23 1:11 
GeneralRe: C# error i dont know where i going wrong it say identifer expected in line 281 Pin
Richard MacCutchan25-Nov-23 1:13
mveRichard MacCutchan25-Nov-23 1: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.