Click here to Skip to main content
15,878,871 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I want to create a wpf timeline control so that it can be integrated in a winform application.

It should be something like this
Link to Image

I have a database which store the Analytics events having their 'camera ID', 'event ID', date of event in 'mm/dd/yyyy' format , Time of event in 'hh/mm/ss' format and its 'description'.

now i want place this events for present year in specific camera panel based on their camera Id and time and date. the user should be able to zoom in further from months view state to day state and further upto minutes state and the events should be placed accordingly. And the user should also be able to go back to previous state by clicking a back button.

events should appear as circles depending on the number i.e density of events that took place on a particular time or date. and if a user clicks on the event he should be able to go to the specific time in recorded video when the event took place.

Now my questions are

1) Is using WPF to create such control alright or should i use winforms. As i need this control to integrate in winform application.

2) How do i go in designing and programming such control. I mean can someone provide a class diagram or flow chart for this. How do i place the events in correct positions.

3) how do i get the data stored in the database in this control as it is being read and written from the winform application.

4) And if possible can someone tell me what contols and logic should i use for the particular parts of this control.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900