Click here to Skip to main content
15,798,826 members
Home / Discussions / C#
   

C#

 
QuestionGrid View Column Pin
Mahdi_kishislan23-Jul-13 11:40
Mahdi_kishislan23-Jul-13 11:40 
AnswerRe: Grid View Column Pin
Dave Kreskowiak23-Jul-13 12:22
mveDave Kreskowiak23-Jul-13 12:22 
GeneralRe: Grid View Column Pin
Mahdi_kishislan23-Jul-13 19:49
Mahdi_kishislan23-Jul-13 19:49 
GeneralRe: Grid View Column Pin
Dave Kreskowiak24-Jul-13 4:49
mveDave Kreskowiak24-Jul-13 4:49 
AnswerRe: Grid View Column Pin
phani raavi25-Jul-13 4:25
phani raavi25-Jul-13 4:25 
QuestionFPS convertor Pin
_Q12_23-Jul-13 10:13
_Q12_23-Jul-13 10:13 
AnswerRe: FPS convertor Pin
walterhevedeich23-Jul-13 18:37
professionalwalterhevedeich23-Jul-13 18:37 
GeneralRe: FPS convertor Pin
_Q12_23-Jul-13 19:51
_Q12_23-Jul-13 19:51 
subtitle converter, yes.
So, the conversion idea is to Add or Extract seconds and/or milliseconds from existing time. Hmmm.

C#
DateTime.Parse(m.Groups["start"]).AddSeconds(offset);
//and offset can be: +1.1(add), -2.75(extract); example values.


But if I need to change from a predefined input FPS 23.978 to output FPS 23.976,
then the difference is -0.002 ?
or from 30 into 24, the difference is -06.000 ?

. I did not made something like this ever, its my first time, so I appreciate a straight answer, please. And I know it sound stupid, but I want to be sure before start anything, because can rapidly become a time consuming process. And also, it will be good for others too. Smile | :) Thanks walterhevedeich! Excellent example.
GeneralRe: FPS convertor Pin
walterhevedeich23-Jul-13 21:23
professionalwalterhevedeich23-Jul-13 21:23 
GeneralRe: FPS convertor Pin
harold aptroot24-Jul-13 1:13
harold aptroot24-Jul-13 1:13 
GeneralRe: FPS convertor Pin
_Q12_25-Jul-13 7:27
_Q12_25-Jul-13 7:27 
GeneralRe: FPS convertor Pin
harold aptroot25-Jul-13 8:04
harold aptroot25-Jul-13 8:04 
GeneralRe: FPS convertor Pin
_Q12_25-Jul-13 8:21
_Q12_25-Jul-13 8:21 
QuestionHow to authorize user by form authentication in mvc 4 Pin
nitin_ion23-Jul-13 3:35
nitin_ion23-Jul-13 3:35 
AnswerRe: How to authorize user by form authentication in mvc 4 Pin
Keith Barrow23-Jul-13 7:29
professionalKeith Barrow23-Jul-13 7:29 
QuestionGet string in a function using Socket server Pin
CodingHell22-Jul-13 22:02
CodingHell22-Jul-13 22:02 
AnswerRe: Get string in a function using Socket server Pin
Richard MacCutchan22-Jul-13 22:09
mveRichard MacCutchan22-Jul-13 22:09 
GeneralRe: Get string in a function using Socket server Pin
CodingHell22-Jul-13 22:18
CodingHell22-Jul-13 22:18 
AnswerRe: Get string in a function using Socket server Pin
Richard MacCutchan23-Jul-13 0:39
mveRichard MacCutchan23-Jul-13 0:39 
AnswerRe: Get string in a function using Socket server Pin
lukeer23-Jul-13 0:39
lukeer23-Jul-13 0:39 
QuestionApplication Settings Pin
Midnight Ahri22-Jul-13 19:31
Midnight Ahri22-Jul-13 19:31 
QuestionRe: Application Settings Pin
Kenneth Haugland22-Jul-13 23:48
professionalKenneth Haugland22-Jul-13 23:48 
AnswerRe: Application Settings Pin
Midnight Ahri23-Jul-13 0:40
Midnight Ahri23-Jul-13 0:40 
AnswerRe: Application Settings Pin
lukeer23-Jul-13 0:09
lukeer23-Jul-13 0:09 
AnswerRe: Application Settings Pin
Midnight Ahri23-Jul-13 0:47
Midnight Ahri23-Jul-13 0:47 

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.