示例#1
0
 public SourceControl()
 {
     initializeControl();
     sourceGroupBox.Text           = "Source #" + sources;
     photoDateTextBox.TextChanged += sourcePhotoDateChanged;
     if (origin_time != null)
     {
         tryCountDiff(origin_time, FileProcessor.GetExifDateTime(photoDateTextBox.Text));
     }
 }
示例#2
0
        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;
 }
示例#4
0
 void SourceControl_Changed(object sender, OriginDateChangedEventArgs e)
 {
     tryCountDiff(origin_time, FileProcessor.GetExifDateTime(photoDateTextBox.Text));
 }
示例#5
0
 private void sourcePhotoDateChanged(object sender, EventArgs e)
 {
     tryCountDiff(origin_time, FileProcessor.GetExifDateTime(photoDateTextBox.Text));
 }