Ejemplo n.º 1
0
 public SourceControl()
 {
     initializeControl();
     sourceGroupBox.Text           = "Source #" + sources;
     photoDateTextBox.TextChanged += sourcePhotoDateChanged;
     if (origin_time != null)
     {
         tryCountDiff(origin_time, FileProcessor.GetExifDateTime(photoDateTextBox.Text));
     }
 }
Ejemplo n.º 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;
        }
Ejemplo n.º 3
0
 void MainForm_workFinished()
 {
     working       = false;
     goButton.Text = GO_TEXT;
     fileProcessor = null;
 }
Ejemplo n.º 4
0
 void SourceControl_Changed(object sender, OriginDateChangedEventArgs e)
 {
     tryCountDiff(origin_time, FileProcessor.GetExifDateTime(photoDateTextBox.Text));
 }
Ejemplo n.º 5
0
 private void sourcePhotoDateChanged(object sender, EventArgs e)
 {
     tryCountDiff(origin_time, FileProcessor.GetExifDateTime(photoDateTextBox.Text));
 }