Click here to Skip to main content
15,846,726 members
Home / Discussions / C#
   

C#

 
Questionhow can i create a moveable object Pin
ken quirici28-Oct-22 16:24
ken quirici28-Oct-22 16:24 
AnswerRe: how can i create a moveable object Pin
OriginalGriff28-Oct-22 19:50
mveOriginalGriff28-Oct-22 19:50 
AnswerRe: how can i create a moveable object Pin
Gerry Schmitz29-Oct-22 8:05
mveGerry Schmitz29-Oct-22 8:05 
QuestionC++ Pin
Mathooanyane Khoeli28-Oct-22 11:06
Mathooanyane Khoeli28-Oct-22 11:06 
AnswerRe: C++ Pin
Dave Kreskowiak28-Oct-22 12:47
mveDave Kreskowiak28-Oct-22 12:47 
AnswerRe: C++ Pin
OriginalGriff28-Oct-22 19:49
mveOriginalGriff28-Oct-22 19:49 
QuestionC++ Pin
Mathooanyane Khoeli28-Oct-22 11:02
Mathooanyane Khoeli28-Oct-22 11:02 
AnswerRe: C++ Pin
Dave Kreskowiak28-Oct-22 12:46
mveDave Kreskowiak28-Oct-22 12:46 
AnswerRe: C++ Pin
OriginalGriff28-Oct-22 19:47
mveOriginalGriff28-Oct-22 19:47 
QuestionC# vs C++ process standard out redirection differences Pin
Member 1490333523-Oct-22 8:52
Member 1490333523-Oct-22 8:52 
AnswerRe: C# vs C++ process standard out redirection differences Pin
OriginalGriff23-Oct-22 9:16
mveOriginalGriff23-Oct-22 9:16 
QuestionLoading a Data Table form a DataGrid view but still no joy. Pin
Ozzie Mozzie23-Oct-22 0:59
Ozzie Mozzie23-Oct-22 0:59 
AnswerRe: Loading a Data Table form a DataGrid view but still no joy. Pin
OriginalGriff23-Oct-22 1:51
mveOriginalGriff23-Oct-22 1:51 
GeneralRe: Loading a Data Table form a DataGrid view but still no joy. Pin
Ozzie Mozzie23-Oct-22 2:19
Ozzie Mozzie23-Oct-22 2:19 
GeneralRe: Loading a Data Table form a DataGrid view but still no joy. Pin
OriginalGriff23-Oct-22 2:46
mveOriginalGriff23-Oct-22 2:46 
GeneralRe: Loading a Data Table form a DataGrid view but still no joy. Pin
Ozzie Mozzie23-Oct-22 3:05
Ozzie Mozzie23-Oct-22 3:05 
GeneralRe: Loading a Data Table form a DataGrid view but still no joy. Pin
OriginalGriff23-Oct-22 3:37
mveOriginalGriff23-Oct-22 3:37 
GeneralRe: Loading a Data Table form a DataGrid view but still no joy. Pin
Ozzie Mozzie23-Oct-22 15:36
Ozzie Mozzie23-Oct-22 15:36 
GeneralRe: Loading a Data Table form a DataGrid view but still no joy. Pin
Ozzie Mozzie23-Oct-22 17:03
Ozzie Mozzie23-Oct-22 17:03 
GeneralRe: Loading a Data Table form a DataGrid view but still no joy. Pin
OriginalGriff23-Oct-22 22:35
mveOriginalGriff23-Oct-22 22:35 
You're welcome!
Can I suggest that a book might help? There is a lot of stuff in C# that can be really helpful - but if you don't even know it exists, you can't use it! A book will cover the language and most of the framework so you get a good idea what is available even if you can't remember how to use it right at this moment? Big Grin | :-D

For example little bits like declaring a local variable tbin a test:
C#
if (sender is TextBox tb)
   {
   ...
Instead of the older style
C#
TextBox tb = null;
if (sender is TextBox)
   {
   tb = (TextBox) sender;
   ...
Or
C#
TextBox tb = sender as TextBox;
if (tb != null)
   {
   ...

"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

QuestionC# Save DataGrid Only MultiSelected Rows to File Pin
CodaNV22-Oct-22 18:03
CodaNV22-Oct-22 18:03 
AnswerRe: C# Save DataGrid Only MultiSelected Rows to File Pin
Dave Kreskowiak22-Oct-22 18:50
mveDave Kreskowiak22-Oct-22 18:50 
GeneralRe: C# Save DataGrid Only MultiSelected Rows to File Pin
CodaNV22-Oct-22 19:11
CodaNV22-Oct-22 19:11 
GeneralRe: C# Save DataGrid Only MultiSelected Rows to File Pin
Dave Kreskowiak22-Oct-22 19:24
mveDave Kreskowiak22-Oct-22 19:24 
GeneralRe: C# Save DataGrid Only MultiSelected Rows to File Pin
CodaNV22-Oct-22 19:47
CodaNV22-Oct-22 19:47 

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.