Click here to Skip to main content
15,919,245 members
Home / Discussions / C#
   

C#

 
QuestionPlaying .mvw file + C# Pin
Ravikumar Patra15-Sep-06 20:08
professionalRavikumar Patra15-Sep-06 20:08 
Question[Message Deleted] Pin
Syed Mujtaba Hassan15-Sep-06 20:03
Syed Mujtaba Hassan15-Sep-06 20:03 
AnswerRe: I am a student of BS(Computer Science) Hons and I have to submit project proposal in a few days. Could somebody help me and share a few project ideas with me so that I could impress my teachers. I shal be realy thankful. Pin
Christian Graus15-Sep-06 21:21
protectorChristian Graus15-Sep-06 21:21 
GeneralRe: Way too long subject Pin
Guffa15-Sep-06 22:18
Guffa15-Sep-06 22:18 
QuestionDatagrid Combo. Pin
deepaks315-Sep-06 19:18
deepaks315-Sep-06 19:18 
AnswerRe: Datagrid Combo. Pin
Rocky#15-Sep-06 22:26
Rocky#15-Sep-06 22:26 
QuestionCreating New Controls Pin
İsmail Durmaz15-Sep-06 15:33
İsmail Durmaz15-Sep-06 15:33 
AnswerRe: Creating New Controls Pin
Stefan Troschuetz15-Sep-06 20:16
Stefan Troschuetz15-Sep-06 20:16 
QuestionVS2005 SDK Re-distributable packages Pin
Glen Harvy15-Sep-06 13:49
Glen Harvy15-Sep-06 13:49 
AnswerRe: VS2005 SDK Re-distributable packages Pin
Stefan Troschuetz15-Sep-06 20:21
Stefan Troschuetz15-Sep-06 20:21 
GeneralRe: VS2005 SDK Re-distributable packages Pin
Glen Harvy15-Sep-06 23:10
Glen Harvy15-Sep-06 23:10 
GeneralRe: VS2005 SDK Re-distributable packages Pin
Dave Kreskowiak16-Sep-06 2:20
mveDave Kreskowiak16-Sep-06 2:20 
QuestionSOAP Pin
TAREQ F ABUZUHRI15-Sep-06 12:41
TAREQ F ABUZUHRI15-Sep-06 12:41 
AnswerRe: SOAP Pin
Guffa15-Sep-06 15:38
Guffa15-Sep-06 15:38 
QuestionIterate through form controls C# Pin
Kasic Slobodan15-Sep-06 11:00
Kasic Slobodan15-Sep-06 11:00 
AnswerRe: Iterate through form controls C# Pin
ystl15-Sep-06 11:11
ystl15-Sep-06 11:11 
GeneralRe: Iterate through form controls C# [modified] Pin
Kasic Slobodan15-Sep-06 11:29
Kasic Slobodan15-Sep-06 11:29 
QuestionPort 80 Pin
AAndrews15-Sep-06 10:21
AAndrews15-Sep-06 10:21 
AnswerRe: Port 80 Pin
User 665815-Sep-06 11:21
User 665815-Sep-06 11:21 
AnswerRe: Port 80 [modified] Pin
AAndrews16-Sep-06 1:46
AAndrews16-Sep-06 1:46 
QuestionCalling Method Problem, using this in Methods-calls, HELP pls Pin
blackoasis@googlemail.com15-Sep-06 9:57
blackoasis@googlemail.com15-Sep-06 9:57 
AnswerRe: Calling Method Problem, using this in Methods-calls, HELP pls Pin
Stefan Troschuetz15-Sep-06 20:40
Stefan Troschuetz15-Sep-06 20:40 
app = (Appointment)session.Load(typeof(Appointment), appId);

This line assigns a new object to the app variable which doesn't reflect outside the method unless you use the ref keyword. You have differentiate between changes to the state of an object and assigning a completly new object. The first case would require no extra work as Appointment is a reference type, but the second case require use of ref keyword. Change the method signature and call as follows:
appData.GetAppointment(ref this);

public void GetAppointment(ref Appointment app)


That's how it generally works, but I'm not sure if it works if you pass in this. Maybe you have no other chance than making some refactoring which maybe isn't that bad cause in my opinion your code is a bit strange (creating an appointment that creates an appointmentdata which then loads an appointment).


"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

www.troschuetz.de

QuestionHow to Create a Custom Line Object Control Pin
ystl15-Sep-06 9:35
ystl15-Sep-06 9:35 
AnswerRe: How to Create a Custom Line Object Control Pin
mav.northwind15-Sep-06 21:56
mav.northwind15-Sep-06 21:56 
GeneralRe: How to Create a Custom Line Object Control Pin
ystl18-Sep-06 4:58
ystl18-Sep-06 4:58 

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.