void originPhotoDateChanged(object sender, EventArgs e) { OriginDateChangedEventArgs eventArgs = new OriginDateChangedEventArgs(photoDateTextBox.Text); origin_time = FileProcessor.GetExifDateTime(photoDateTextBox.Text); Changed(this, eventArgs); }
public SourceControl() { initializeControl(); sourceGroupBox.Text = "Source #" + sources; photoDateTextBox.TextChanged += sourcePhotoDateChanged; if (origin_time != null) { tryCountDiff(origin_time, FileProcessor.GetExifDateTime(photoDateTextBox.Text)); } }
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)); }