public SourceControl() { initializeControl(); sourceGroupBox.Text = "Source #" + sources; photoDateTextBox.TextChanged += sourcePhotoDateChanged; if (origin_time != null) { tryCountDiff(origin_time, FileProcessor.GetExifDateTime(photoDateTextBox.Text)); } }
private void anchorFileTextBox_TextChanged(object sender, EventArgs e) { DateTime time = FileProcessor.FastGetFileExifDate(anchorFileTextBox.Text); string result; if (time.Equals(DateTime.MinValue)) { result = "Date of photo is anavailable"; } else { result = time.ToString(); } photoDateTextBox.Text = result; }
void MainForm_workFinished() { working = false; goButton.Text = GO_TEXT; fileProcessor = null; }
void SourceControl_Changed(object sender, OriginDateChangedEventArgs e) { tryCountDiff(origin_time, FileProcessor.GetExifDateTime(photoDateTextBox.Text)); }
private void sourcePhotoDateChanged(object sender, EventArgs e) { tryCountDiff(origin_time, FileProcessor.GetExifDateTime(photoDateTextBox.Text)); }