Q:

Tracking user and Remote access in windows form application C# Sql Server

I have two questions in Windows Application.

I My application is using by two people and i want to track which user has saved this data and which user has edit it.I need to logged in user activity.

Do I need to pass login id to all forms and save there?Is there any other way?

I Installed my Application and Sqlserver database on one computer/machine. How the other user will use the same application from his computer in same office.

A:

If I understood your questions 
1/Do I need to pass login id to all forms and save there?Is there any other way?
You must implement the features of user registration and authentification , in login phase the program will check the existence of the user ( login, password) in your database (I assume your database is ready) . If the user exists, you will have many choices 

Put the user object as a static object 
serialize the user object

So you can check the identity of the user during the execution of the program
2/ I Installed my Application and Sqlserver database on one computer/machine. How the other user will use the same application from his computer in same office.
You must put your machine as a server machine and allow the office members to access to it and to your application by remote connection
Perhaps it helps you :)

