Click here to Skip to main content
15,889,879 members
Home / Discussions / C#
   

C#

 
GeneralRe: web link manipulation Pin
Richard MacCutchan11-Mar-12 0:31
mveRichard MacCutchan11-Mar-12 0:31 
AnswerRe: web link manipulation Pin
L Viljoen10-Mar-12 21:41
professionalL Viljoen10-Mar-12 21:41 
QuestionReload Form1 when Form2 ShowDialog like? Pin
nhanlaptrinh10-Mar-12 17:14
nhanlaptrinh10-Mar-12 17:14 
AnswerRe: Reload Form1 when Form2 ShowDialog like? Pin
Ravi Bhavnani10-Mar-12 17:36
professionalRavi Bhavnani10-Mar-12 17:36 
GeneralRe: Reload Form1 when Form2 ShowDialog like? Pin
nhanlaptrinh10-Mar-12 17:42
nhanlaptrinh10-Mar-12 17:42 
AnswerRe: Reload Form1 when Form2 ShowDialog like? Pin
Luc Pattyn10-Mar-12 18:07
sitebuilderLuc Pattyn10-Mar-12 18:07 
GeneralRe: Reload Form1 when Form2 ShowDialog like? Pin
OriginalGriff11-Mar-12 0:35
mveOriginalGriff11-Mar-12 0:35 
QuestionNeed Help Getting Info From One Class & Displaying In Program.Cs Pin
Scud0210-Mar-12 11:51
Scud0210-Mar-12 11:51 
need assistance or information on how to take information found in one class and link it into Program.cs.

It is a menu system, basically I want the user to be able to locate a vehicle (option 1) and when they enter option 1, all the relevant vehicle information is pulled from the vehicle class and displayed.

I need the application to display vehicleMake, vehicleModel, vehicleWeight and vehicleRegNo once option 1 is pressed. If anyone out there would be able to assist me and wants to take a look at the code, please reply in this thread and I will show you the code.

I have my vehicle details inside Program.cs

Say for example myDepots[0].AddVehicle(new Vehicle("Ford", "L9000", "200KG", "123"));

This is an example of 1 vehicle which is at the first depot, what I need the menu to do is when the user chooses option 1 (locate a vehicle), the user will enter "Ford" and the application will then look through the code and display:

"This vehicle is the Ford L9000 which has a capacity of 200KG and the regNo is 123."

If you know what I mean? I can post the actual code if someone is able to help, please bare in mind I'm a C# BEGINNER and am not knowledgeable of complex terms, so if someone is able to help and uses complex programming language, expect me to reply and ask for a more simplified version

Thank you

Rafa
AnswerRe: Need Help Getting Info From One Class & Displaying In Program.Cs Pin
RobCroll10-Mar-12 13:56
RobCroll10-Mar-12 13:56 
QuestionSalary Dellema Pin
L Viljoen10-Mar-12 11:29
professionalL Viljoen10-Mar-12 11:29 
AnswerRe: Salary Dellema Pin
Richard Andrew x6410-Mar-12 14:22
professionalRichard Andrew x6410-Mar-12 14:22 
AnswerRe: Salary Dellema Pin
Abhinav S10-Mar-12 18:22
Abhinav S10-Mar-12 18:22 
AnswerRe: Salary Dellema Pin
Richard MacCutchan10-Mar-12 23:48
mveRichard MacCutchan10-Mar-12 23:48 
GeneralRe: Salary Dellema Pin
L Viljoen11-Mar-12 2:06
professionalL Viljoen11-Mar-12 2:06 
GeneralRe: Salary Dellema Pin
Richard MacCutchan11-Mar-12 2:44
mveRichard MacCutchan11-Mar-12 2:44 
GeneralRe: Salary Dellema Pin
L Viljoen11-Mar-12 6:55
professionalL Viljoen11-Mar-12 6:55 
GeneralRe: Salary Dellema Pin
jschell12-Mar-12 8:58
jschell12-Mar-12 8:58 
Questionask button group Pin
Brillian Kharisma10-Mar-12 6:14
Brillian Kharisma10-Mar-12 6:14 
AnswerRe: ask button group Pin
Ravi Bhavnani10-Mar-12 7:14
professionalRavi Bhavnani10-Mar-12 7:14 
Questionlisting information from list of Panel controls Pin
Danzy8310-Mar-12 2:35
Danzy8310-Mar-12 2:35 
AnswerRe: listing information from list of Panel controls Pin
Ravi Bhavnani10-Mar-12 4:34
professionalRavi Bhavnani10-Mar-12 4:34 
GeneralRe: listing information from list of Panel controls Pin
Danzy8310-Mar-12 4:38
Danzy8310-Mar-12 4:38 
AnswerRe: listing information from list of Panel controls Pin
Luc Pattyn10-Mar-12 4:58
sitebuilderLuc Pattyn10-Mar-12 4:58 
GeneralRe: listing information from list of Panel controls Pin
Danzy8310-Mar-12 5:08
Danzy8310-Mar-12 5:08 
AnswerRe: listing information from list of Panel controls Pin
Luc Pattyn10-Mar-12 6:16
sitebuilderLuc Pattyn10-Mar-12 6:16 

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.