Click here to Skip to main content
15,914,160 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to Format a string in c# Pin
Marcus_212-Mar-12 5:28
Marcus_212-Mar-12 5:28 
GeneralRe: How to Format a string in c# Pin
Arunkumar.Koloth13-Mar-12 4:37
Arunkumar.Koloth13-Mar-12 4:37 
GeneralRe: How to Format a string in c# Pin
Marcus_213-Mar-12 5:43
Marcus_213-Mar-12 5:43 
GeneralRe: How to Format a string in c# Pin
Arunkumar.Koloth14-Mar-12 4:18
Arunkumar.Koloth14-Mar-12 4:18 
Questionweb link manipulation Pin
james bradbery10-Mar-12 18:29
james bradbery10-Mar-12 18:29 
AnswerRe: web link manipulation Pin
ProEnggSoft10-Mar-12 19:28
ProEnggSoft10-Mar-12 19:28 
GeneralRe: web link manipulation Pin
james bradbery10-Mar-12 19:50
james bradbery10-Mar-12 19:50 
GeneralRe: web link manipulation Pin
Richard MacCutchan10-Mar-12 23:54
mveRichard MacCutchan10-Mar-12 23:54 
GeneralRe: web link manipulation Pin
ProEnggSoft11-Mar-12 0:26
ProEnggSoft11-Mar-12 0:26 
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 

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.