Click here to Skip to main content
15,888,733 members
Home / Discussions / C#
   

C#

 
AnswerRe: Geometry problem with c# .net Pin
avisotorisher30-May-16 17:29
avisotorisher30-May-16 17:29 
QuestionLooking the best GPS tracking Application until now Pin
Dr Kasa29-May-16 0:12
Dr Kasa29-May-16 0:12 
AnswerRe: Looking the best GPS tracking Application until now Pin
Eddy Vluggen29-May-16 0:20
professionalEddy Vluggen29-May-16 0:20 
GeneralRe: Looking the best GPS tracking Application until now Pin
Dr Kasa20-Apr-17 3:34
Dr Kasa20-Apr-17 3:34 
AnswerRe: Looking the best GPS tracking Application until now Pin
PraveenDora31-May-16 6:41
PraveenDora31-May-16 6:41 
GeneralRe: Looking the best GPS tracking Application until now Pin
Dr Kasa20-Apr-17 3:33
Dr Kasa20-Apr-17 3:33 
QuestionSystem.Windows.Forms Issue Pin
jkadjthegamegadhguaet27-May-16 15:44
jkadjthegamegadhguaet27-May-16 15:44 
AnswerRe: System.Windows.Forms Issue Pin
OriginalGriff27-May-16 20:52
mveOriginalGriff27-May-16 20:52 
Um...the question itself doesn't make a lot of sense - or indeed any - but the code you show also makes no sense either.
There is no Forms.WriteLine method, because you can't write directly on a form, and particularly there is no static WriteLine method because unlike a console there can be many Forms in an application.

And encapsulation won't solve that.

A console app is a special type of application which has a very limited user interface: character input and output only. There is one input stream (the keyboard) and one output stream (the console). And there is some clever software behind the scenes which ensures that the output stream is displayed as readable text.
Forms applications aren't like that - they have a much richer user interface made of of Controls like buttons, labels, textboxes, and so on, and there are a number of input methods: keyboard and mouse for starters, but each Control handles it's own input and output. Some may display text (Label and TextBox for example) others may show images without text (a PictureBox perhaps). You can't just "write a line" to a form, you have to decide which control to show it on, and tell it what to display.

So I think you need to go back to your course notes, or your book, and read that chapter again - you don't seem to have grasped that the two application types are very, very different and you can't treat them in the same way!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

AnswerRe: System.Windows.Forms Issue Pin
BillWoodruff28-May-16 2:44
professionalBillWoodruff28-May-16 2:44 
GeneralRe: System.Windows.Forms Issue Pin
jkadjthegamegadhguaet28-May-16 5:08
jkadjthegamegadhguaet28-May-16 5:08 
GeneralRe: System.Windows.Forms Issue Pin
Richard MacCutchan28-May-16 6:02
mveRichard MacCutchan28-May-16 6:02 
QuestionRe: System.Windows.Forms Issue Pin
Eddy Vluggen29-May-16 0:00
professionalEddy Vluggen29-May-16 0:00 
GeneralRe: System.Windows.Forms Issue Pin
CHill6028-May-16 5:49
mveCHill6028-May-16 5:49 
GeneralRe: System.Windows.Forms Issue Pin
Richard MacCutchan28-May-16 6:03
mveRichard MacCutchan28-May-16 6:03 
GeneralRe: System.Windows.Forms Issue Pin
OriginalGriff28-May-16 6:23
mveOriginalGriff28-May-16 6:23 
QuestionGetting response from Outlook and then sending to asp .net application MVC Pin
Member 1248807427-May-16 3:22
Member 1248807427-May-16 3:22 
SuggestionRe: Getting response from Outlook and then sending to asp .net application MVC Pin
Richard Deeming27-May-16 3:56
mveRichard Deeming27-May-16 3:56 
Questionhow can i show google earth in winform c# Pin
Member 1252559627-May-16 2:37
Member 1252559627-May-16 2:37 
AnswerRe: how can i show google earth in winform c# Pin
Eddy Vluggen27-May-16 2:56
professionalEddy Vluggen27-May-16 2:56 
GeneralRe: it is show SetParent but i wanna to show placemark,polygon,etc.. how can i create it?Guide me Sir :(( Pin
Member 1252559627-May-16 3:52
Member 1252559627-May-16 3:52 
GeneralRe: how can i show google earth in winform c# Pin
Eddy Vluggen27-May-16 4:31
professionalEddy Vluggen27-May-16 4:31 
GeneralRe: thank sir! Pin
Member 1252559627-May-16 4:48
Member 1252559627-May-16 4:48 
GeneralRe: thank sir! Pin
Eddy Vluggen27-May-16 6:27
professionalEddy Vluggen27-May-16 6:27 
AnswerRe: how can i show google earth in winform c# Pin
Richard MacCutchan27-May-16 2:58
mveRichard MacCutchan27-May-16 2:58 
GeneralRe: anyway thank sir!i get setparent but need placemark,polygon,etc.. i m just beginner. :-O Pin
Member 1252559627-May-16 3:55
Member 1252559627-May-16 3:55 

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.