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

C#

 
AnswerRe: Is the "using" statement really a good idea? Pin
OriginalGriff30-Jul-19 8:06
mveOriginalGriff30-Jul-19 8:06 
GeneralRe: Is the "using" statement really a good idea? Pin
MSBassSinger30-Jul-19 8:19
professionalMSBassSinger30-Jul-19 8:19 
GeneralRe: Is the "using" statement really a good idea? Pin
OriginalGriff30-Jul-19 9:44
mveOriginalGriff30-Jul-19 9:44 
GeneralRe: Is the "using" statement really a good idea? Pin
MSBassSinger30-Jul-19 9:50
professionalMSBassSinger30-Jul-19 9:50 
GeneralRe: Is the "using" statement really a good idea? Pin
Dave Kreskowiak30-Jul-19 13:19
mveDave Kreskowiak30-Jul-19 13:19 
AnswerRe: Is the "using" statement really a good idea? Pin
MSBassSinger30-Jul-19 10:09
professionalMSBassSinger30-Jul-19 10:09 
AnswerRe: Is the "using" statement really a good idea? Pin
Gerry Schmitz31-Jul-19 4:32
mveGerry Schmitz31-Jul-19 4:32 
Questioncapture the screenshot of desktop using C# Pin
Member 1454529529-Jul-19 22:41
Member 1454529529-Jul-19 22:41 
AnswerRe: capture the screenshot of desktop using C# Pin
OriginalGriff29-Jul-19 23:26
mveOriginalGriff29-Jul-19 23:26 
AnswerRe: capture the screenshot of desktop using C# Pin
Afzaal Ahmad Zeeshan30-Jul-19 5:29
professionalAfzaal Ahmad Zeeshan30-Jul-19 5:29 
QuestionCreating a struct dynamically Pin
Member 1452625729-Jul-19 21:48
Member 1452625729-Jul-19 21:48 
AnswerRe: Creating a struct dynamically Pin
OriginalGriff29-Jul-19 22:06
mveOriginalGriff29-Jul-19 22:06 
AnswerRe: Creating a struct dynamically Pin
BillWoodruff31-Jul-19 14:28
professionalBillWoodruff31-Jul-19 14:28 
SuggestionRe: Creating a struct dynamically Pin
Richard Deeming1-Aug-19 1:40
mveRichard Deeming1-Aug-19 1:40 
GeneralRe: Creating a struct dynamically Pin
BillWoodruff1-Aug-19 8:47
professionalBillWoodruff1-Aug-19 8:47 
QuestionError when i try to add my control to form1 Pin
_Q12_29-Jul-19 8:30
_Q12_29-Jul-19 8:30 
AnswerRe: Error when i try to add my control to form1 Pin
Richard Deeming29-Jul-19 9:10
mveRichard Deeming29-Jul-19 9:10 
GeneralRe: Error when i try to add my control to form1 Pin
_Q12_29-Jul-19 10:10
_Q12_29-Jul-19 10:10 
GeneralRe: Error when i try to add my control to form1 Pin
Richard Deeming30-Jul-19 1:52
mveRichard Deeming30-Jul-19 1:52 
GeneralRe: Error when i try to add my control to form1 Pin
_Q12_30-Jul-19 7:58
_Q12_30-Jul-19 7:58 
GeneralRe: Error when i try to add my control to form1 Pin
_Q12_29-Jul-19 10:34
_Q12_29-Jul-19 10:34 
GeneralRe: Error when i try to add my control to form1 Pin
_Q12_29-Jul-19 22:10
_Q12_29-Jul-19 22:10 
AnswerRe: Error when i try to add my control to form1 Pin
Dave Kreskowiak29-Jul-19 9:16
mveDave Kreskowiak29-Jul-19 9:16 
On top of what Richard said, for custom controls where you have images that don't change and are a mandatory part of your control, you should probably move the images to Resources instead of leaving them in files. You can then load the image from your controls Resource and you won't have any problems with managing files on the drive.

Load image from resources area of project in C# - Stack Overflow[^]

QuestionUnauthorizedAccessException Access to the remote share path Pin
Member 1158435626-Jul-19 0:09
Member 1158435626-Jul-19 0:09 
AnswerRe: UnauthorizedAccessException Access to the remote share path Pin
#realJSOP26-Jul-19 0:44
mve#realJSOP26-Jul-19 0:44 

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.