Friday, March 11, 2011

Code to update the created / modified time of a file, without affecting contents

I came across this ridiculous issue: The "intelligent" source control that we are using, is not allowing me to check-in the file that I modified a while back since there is a "latest file", but actually the version of the file in the source control database was old. It just had latest datestamp on it. I have to open the file VS.NET and have to save it once again to make the "modified" timestamp to the latest. I had created a small program dedicated to the bug in our source control db, to take care of this issue. Say you want to just update the time stamp, but you don't want to open or change the file, this code will come in handy.

[The form designer's code is at the bottom of this post.]


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.IO;
using System.Windows.Forms;

namespace DateAndTimeStampChanger
{
    public partial class frmDialog1 : Form
    {
        protected String mStrFileName;
       

        public frmDialog1()
        {
            mStrFileName = "";
            InitializeComponent();
        }

        private void cmdUpdate_Click(object sender, EventArgs e)
        {
            bool bFileAttribFlag=false;
            try
            {
                if ((File.GetAttributes(this.strFileName) & FileAttributes.ReadOnly) == FileAttributes.ReadOnly)
                {
                    File.SetAttributes(this.strFileName, FileAttributes.Archive);
                    bFileAttribFlag = true;
                }
                else
                {
                    bFileAttribFlag = false;
                }

                File.SetCreationTime(this.strFileName, new DateTime(Convert.ToInt32(txtCreatedYYYY.Text), Convert.ToInt32(txtCreatedMM.Text), Convert.ToInt32(txtCreatedDD.Text), Convert.ToInt32(txtCreatedHH.Text), Convert.ToInt32(txtCreatedMin.Text), Convert.ToInt32(txtCreatedSS.Text)));
                File.SetLastWriteTime(this.strFileName, new DateTime(Convert.ToInt32(txtModifiedYYYY.Text), Convert.ToInt32(txtModifiedMM.Text), Convert.ToInt32(txtModifiedDD.Text), Convert.ToInt32(txtModifiedHH.Text), Convert.ToInt32(txtModifiedMin.Text), Convert.ToInt32(txtModifiedSS.Text)));
                File.SetLastAccessTime(this.strFileName, new DateTime(Convert.ToInt32(txtAccessedYYYY.Text), Convert.ToInt32(txtAccessedMM.Text), Convert.ToInt32(txtAccessedDD.Text), Convert.ToInt32(txtAccessedHH.Text), Convert.ToInt32(txtAccessedMin.Text), Convert.ToInt32(txtAccessedSS.Text)));

                if (bFileAttribFlag)
                {
                    File.SetAttributes(this.strFileName, FileAttributes.Archive & FileAttributes.ReadOnly);
                }
            }
            catch (Exception expExcetion11)
            {
                MessageBox.Show(expExcetion11.Message);
            }
        }

        public String strFileName
        {

            get
            {
                return mStrFileName;
            }
            set
            {
                mStrFileName = value;
            }

        }

        private void cmdBrowse_Click(object sender, EventArgs e)
        {
            try
            {

                dlgFileOpenDialog.ShowDialog();
                strFileName = dlgFileOpenDialog.FileName;
                txtFileName.Text = dlgFileOpenDialog.FileName;
                ReadDate();

            }
            catch (Exception ee1)
            {
                MessageBox.Show(ee1.Message);
            }
        }

        private void frmDialog1_Load(object sender, EventArgs e)
        {

        }

        private void ReadDate()
        {
            DateTime dtCreated,dtModified,dtAccessed;
            try
            {
                if (!txtFileName.Text.Trim().Equals(""))
                {
                    if (File.Exists(txtFileName.Text.Trim()))
                    {
                        //Display the file's attributes.

                        dtCreated = File.GetCreationTime(txtFileName.Text.Trim());
                        dtModified = File.GetLastWriteTime(txtFileName.Text.Trim());
                        dtAccessed = File.GetLastAccessTime(txtFileName.Text.Trim());

                        txtCreatedDD.Text = dtCreated.Day.ToString();
                        txtCreatedHH.Text = dtCreated.Hour.ToString();
                        txtCreatedMin.Text = dtCreated.Minute.ToString();
                        txtCreatedMM.Text = dtCreated.Month.ToString();
                        txtCreatedYYYY.Text = dtCreated.Year.ToString();
                        txtCreatedSS.Text = dtCreated.Second.ToString();


                        txtModifiedDD.Text = dtModified.Day.ToString();
                        txtModifiedHH.Text = dtModified.Hour.ToString();
                        txtModifiedMin.Text = dtModified.Minute.ToString();
                        txtModifiedMM.Text = dtModified.Month.ToString();
                        txtModifiedYYYY.Text = dtModified.Year.ToString();
                        txtModifiedSS.Text = dtModified.Second.ToString();

                        txtAccessedDD.Text = dtAccessed.Day.ToString();
                        txtAccessedHH.Text = dtAccessed.Hour.ToString();
                        txtAccessedMin.Text = dtAccessed.Minute.ToString();
                        txtAccessedMM.Text = dtAccessed.Month.ToString();
                        txtAccessedYYYY.Text = dtAccessed.Year.ToString();
                        txtAccessedSS.Text = dtAccessed.Second.ToString();



                        File.SetLastAccessTime(txtFileName.Text.Trim(), dtAccessed);
                    }
                }
            }
            catch (Exception expException)
            {
                System.Diagnostics.Debug.Print(expException.Message.Trim());
                System.Diagnostics.Debug.Print("\n");
                System.Diagnostics.Debug.Print(expException.ToString());
                System.Diagnostics.Debug.Print("\n");
                System.Diagnostics.Debug.Print(expException.StackTrace);
            }
        }

    }
}


Form designer's contents:
namespace DateAndTimeStampChanger
{
    partial class frmDialog1
    {
        ///
        /// Required designer variable.
        ///
        private System.ComponentModel.IContainer components = null;

        ///
        /// Clean up any resources being used.
        ///
        /// true if managed resources should be disposed; otherwise, false.
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        ///
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        ///
        private void InitializeComponent()
        {
            this.cmdUpdate = new System.Windows.Forms.Button();
            this.cmdBrowse = new System.Windows.Forms.Button();
            this.txtFileName = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.dlgFileOpenDialog = new System.Windows.Forms.OpenFileDialog();
            this.label2 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.txtCreatedMM = new System.Windows.Forms.TextBox();
            this.label5 = new System.Windows.Forms.Label();
            this.txtCreatedDD = new System.Windows.Forms.TextBox();
            this.label6 = new System.Windows.Forms.Label();
            this.txtCreatedYYYY = new System.Windows.Forms.TextBox();
            this.label7 = new System.Windows.Forms.Label();
            this.txtCreatedHH = new System.Windows.Forms.TextBox();
            this.txtCreatedMin = new System.Windows.Forms.TextBox();
            this.label8 = new System.Windows.Forms.Label();
            this.label9 = new System.Windows.Forms.Label();
            this.label10 = new System.Windows.Forms.Label();
            this.label11 = new System.Windows.Forms.Label();
            this.label12 = new System.Windows.Forms.Label();
            this.txtModifiedMM = new System.Windows.Forms.TextBox();
            this.txtModifiedHH = new System.Windows.Forms.TextBox();
            this.txtModifiedMin = new System.Windows.Forms.TextBox();
            this.txtModifiedDD = new System.Windows.Forms.TextBox();
            this.txtModifiedYYYY = new System.Windows.Forms.TextBox();
            this.label13 = new System.Windows.Forms.Label();
            this.label14 = new System.Windows.Forms.Label();
            this.label15 = new System.Windows.Forms.Label();
            this.label16 = new System.Windows.Forms.Label();
            this.txtAccessedMM = new System.Windows.Forms.TextBox();
            this.txtAccessedHH = new System.Windows.Forms.TextBox();
            this.txtAccessedMin = new System.Windows.Forms.TextBox();
            this.txtAccessedDD = new System.Windows.Forms.TextBox();
            this.txtAccessedYYYY = new System.Windows.Forms.TextBox();
            this.txtCreatedSS = new System.Windows.Forms.TextBox();
            this.label17 = new System.Windows.Forms.Label();
            this.label18 = new System.Windows.Forms.Label();
            this.txtModifiedSS = new System.Windows.Forms.TextBox();
            this.label19 = new System.Windows.Forms.Label();
            this.txtAccessedSS = new System.Windows.Forms.TextBox();
            this.SuspendLayout();
            //
            // cmdUpdate
            //
            this.cmdUpdate.Location = new System.Drawing.Point(218, 266);
            this.cmdUpdate.Name = "cmdUpdate";
            this.cmdUpdate.Size = new System.Drawing.Size(82, 37);
            this.cmdUpdate.TabIndex = 0;
            this.cmdUpdate.Text = "&Update";
            this.cmdUpdate.UseVisualStyleBackColor = true;
            this.cmdUpdate.Click += new System.EventHandler(this.cmdUpdate_Click);
            //
            // cmdBrowse
            //
            this.cmdBrowse.Location = new System.Drawing.Point(459, 26);
            this.cmdBrowse.Name = "cmdBrowse";
            this.cmdBrowse.Size = new System.Drawing.Size(80, 26);
            this.cmdBrowse.TabIndex = 1;
            this.cmdBrowse.Text = "&Browse";
            this.cmdBrowse.UseVisualStyleBackColor = true;
            this.cmdBrowse.Click += new System.EventHandler(this.cmdBrowse_Click);
            //
            // txtFileName
            //
            this.txtFileName.Location = new System.Drawing.Point(142, 31);
            this.txtFileName.Name = "txtFileName";
            this.txtFileName.ReadOnly = true;
            this.txtFileName.Size = new System.Drawing.Size(302, 20);
            this.txtFileName.TabIndex = 2;
            //
            // label1
            //
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(66, 34);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(54, 13);
            this.label1.TabIndex = 3;
            this.label1.Text = "File Name";
            //
            // dlgFileOpenDialog
            //
            this.dlgFileOpenDialog.Filter = "All Files|*.*";
            //
            // label2
            //
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(59, 108);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(72, 13);
            this.label2.TabIndex = 3;
            this.label2.Text = "Creation Time";
            //
            // label3
            //
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(35, 142);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(96, 13);
            this.label3.TabIndex = 3;
            this.label3.Text = "Last Modified Time";
            //
            // label4
            //
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(28, 178);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(103, 13);
            this.label4.TabIndex = 3;
            this.label4.Text = "Last Accessed Time";
            //
            // txtCreatedMM
            //
            this.txtCreatedMM.Location = new System.Drawing.Point(160, 108);
            this.txtCreatedMM.Name = "txtCreatedMM";
            this.txtCreatedMM.Size = new System.Drawing.Size(27, 20);
            this.txtCreatedMM.TabIndex = 4;
            //
            // label5
            //
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(193, 111);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(12, 13);
            this.label5.TabIndex = 3;
            this.label5.Text = "/";
            //
            // txtCreatedDD
            //
            this.txtCreatedDD.Location = new System.Drawing.Point(215, 108);
            this.txtCreatedDD.Name = "txtCreatedDD";
            this.txtCreatedDD.Size = new System.Drawing.Size(40, 20);
            this.txtCreatedDD.TabIndex = 4;
            //
            // label6
            //
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(261, 111);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(12, 13);
            this.label6.TabIndex = 3;
            this.label6.Text = "/";
            //
            // txtCreatedYYYY
            //
            this.txtCreatedYYYY.Location = new System.Drawing.Point(279, 108);
            this.txtCreatedYYYY.Name = "txtCreatedYYYY";
            this.txtCreatedYYYY.Size = new System.Drawing.Size(90, 20);
            this.txtCreatedYYYY.TabIndex = 4;
            //
            // label7
            //
            this.label7.AutoSize = true;
            this.label7.Location = new System.Drawing.Point(376, 111);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(10, 13);
            this.label7.TabIndex = 3;
            this.label7.Text = ",";
            //
            // txtCreatedHH
            //
            this.txtCreatedHH.Location = new System.Drawing.Point(392, 108);
            this.txtCreatedHH.Name = "txtCreatedHH";
            this.txtCreatedHH.Size = new System.Drawing.Size(27, 20);
            this.txtCreatedHH.TabIndex = 4;
            //
            // txtCreatedMin
            //
            this.txtCreatedMin.Location = new System.Drawing.Point(441, 108);
            this.txtCreatedMin.Name = "txtCreatedMin";
            this.txtCreatedMin.Size = new System.Drawing.Size(27, 20);
            this.txtCreatedMin.TabIndex = 4;
            //
            // label8
            //
            this.label8.AutoSize = true;
            this.label8.Location = new System.Drawing.Point(425, 111);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(10, 13);
            this.label8.TabIndex = 3;
            this.label8.Text = ":";
            //
            // label9
            //
            this.label9.AutoSize = true;
            this.label9.Location = new System.Drawing.Point(193, 145);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(12, 13);
            this.label9.TabIndex = 3;
            this.label9.Text = "/";
            //
            // label10
            //
            this.label10.AutoSize = true;
            this.label10.Location = new System.Drawing.Point(261, 145);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(12, 13);
            this.label10.TabIndex = 3;
            this.label10.Text = "/";
            //
            // label11
            //
            this.label11.AutoSize = true;
            this.label11.Location = new System.Drawing.Point(376, 145);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(10, 13);
            this.label11.TabIndex = 3;
            this.label11.Text = ",";
            //
            // label12
            //
            this.label12.AutoSize = true;
            this.label12.Location = new System.Drawing.Point(425, 145);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(10, 13);
            this.label12.TabIndex = 3;
            this.label12.Text = ":";
            //
            // txtModifiedMM
            //
            this.txtModifiedMM.Location = new System.Drawing.Point(160, 142);
            this.txtModifiedMM.Name = "txtModifiedMM";
            this.txtModifiedMM.Size = new System.Drawing.Size(27, 20);
            this.txtModifiedMM.TabIndex = 4;
            //
            // txtModifiedHH
            //
            this.txtModifiedHH.Location = new System.Drawing.Point(392, 142);
            this.txtModifiedHH.Name = "txtModifiedHH";
            this.txtModifiedHH.Size = new System.Drawing.Size(27, 20);
            this.txtModifiedHH.TabIndex = 4;
            //
            // txtModifiedMin
            //
            this.txtModifiedMin.Location = new System.Drawing.Point(441, 142);
            this.txtModifiedMin.Name = "txtModifiedMin";
            this.txtModifiedMin.Size = new System.Drawing.Size(27, 20);
            this.txtModifiedMin.TabIndex = 4;
            //
            // txtModifiedDD
            //
            this.txtModifiedDD.Location = new System.Drawing.Point(215, 142);
            this.txtModifiedDD.Name = "txtModifiedDD";
            this.txtModifiedDD.Size = new System.Drawing.Size(40, 20);
            this.txtModifiedDD.TabIndex = 4;
            //
            // txtModifiedYYYY
            //
            this.txtModifiedYYYY.Location = new System.Drawing.Point(279, 142);
            this.txtModifiedYYYY.Name = "txtModifiedYYYY";
            this.txtModifiedYYYY.Size = new System.Drawing.Size(90, 20);
            this.txtModifiedYYYY.TabIndex = 4;
            //
            // label13
            //
            this.label13.AutoSize = true;
            this.label13.Location = new System.Drawing.Point(193, 178);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(12, 13);
            this.label13.TabIndex = 3;
            this.label13.Text = "/";
            //
            // label14
            //
            this.label14.AutoSize = true;
            this.label14.Location = new System.Drawing.Point(261, 178);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(12, 13);
            this.label14.TabIndex = 3;
            this.label14.Text = "/";
            //
            // label15
            //
            this.label15.AutoSize = true;
            this.label15.Location = new System.Drawing.Point(376, 178);
            this.label15.Name = "label15";
            this.label15.Size = new System.Drawing.Size(10, 13);
            this.label15.TabIndex = 3;
            this.label15.Text = ",";
            //
            // label16
            //
            this.label16.AutoSize = true;
            this.label16.Location = new System.Drawing.Point(425, 178);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(10, 13);
            this.label16.TabIndex = 3;
            this.label16.Text = ":";
            //
            // txtAccessedMM
            //
            this.txtAccessedMM.Location = new System.Drawing.Point(160, 175);
            this.txtAccessedMM.Name = "txtAccessedMM";
            this.txtAccessedMM.Size = new System.Drawing.Size(27, 20);
            this.txtAccessedMM.TabIndex = 4;
            //
            // txtAccessedHH
            //
            this.txtAccessedHH.Location = new System.Drawing.Point(392, 175);
            this.txtAccessedHH.Name = "txtAccessedHH";
            this.txtAccessedHH.Size = new System.Drawing.Size(27, 20);
            this.txtAccessedHH.TabIndex = 4;
            //
            // txtAccessedMin
            //
            this.txtAccessedMin.Location = new System.Drawing.Point(441, 175);
            this.txtAccessedMin.Name = "txtAccessedMin";
            this.txtAccessedMin.Size = new System.Drawing.Size(27, 20);
            this.txtAccessedMin.TabIndex = 4;
            //
            // txtAccessedDD
            //
            this.txtAccessedDD.Location = new System.Drawing.Point(215, 175);
            this.txtAccessedDD.Name = "txtAccessedDD";
            this.txtAccessedDD.Size = new System.Drawing.Size(40, 20);
            this.txtAccessedDD.TabIndex = 4;
            //
            // txtAccessedYYYY
            //
            this.txtAccessedYYYY.Location = new System.Drawing.Point(279, 175);
            this.txtAccessedYYYY.Name = "txtAccessedYYYY";
            this.txtAccessedYYYY.Size = new System.Drawing.Size(90, 20);
            this.txtAccessedYYYY.TabIndex = 4;
            //
            // txtCreatedSS
            //
            this.txtCreatedSS.Location = new System.Drawing.Point(485, 108);
            this.txtCreatedSS.Name = "txtCreatedSS";
            this.txtCreatedSS.Size = new System.Drawing.Size(27, 20);
            this.txtCreatedSS.TabIndex = 5;
            //
            // label17
            //
            this.label17.AutoSize = true;
            this.label17.Location = new System.Drawing.Point(471, 112);
            this.label17.Name = "label17";
            this.label17.Size = new System.Drawing.Size(10, 13);
            this.label17.TabIndex = 6;
            this.label17.Text = ":";
            //
            // label18
            //
            this.label18.AutoSize = true;
            this.label18.Location = new System.Drawing.Point(471, 149);
            this.label18.Name = "label18";
            this.label18.Size = new System.Drawing.Size(10, 13);
            this.label18.TabIndex = 8;
            this.label18.Text = ":";
            //
            // txtModifiedSS
            //
            this.txtModifiedSS.Location = new System.Drawing.Point(485, 145);
            this.txtModifiedSS.Name = "txtModifiedSS";
            this.txtModifiedSS.Size = new System.Drawing.Size(27, 20);
            this.txtModifiedSS.TabIndex = 7;
            //
            // label19
            //
            this.label19.AutoSize = true;
            this.label19.Location = new System.Drawing.Point(471, 179);
            this.label19.Name = "label19";
            this.label19.Size = new System.Drawing.Size(10, 13);
            this.label19.TabIndex = 10;
            this.label19.Text = ":";
            //
            // txtAccessedSS
            //
            this.txtAccessedSS.Location = new System.Drawing.Point(485, 175);
            this.txtAccessedSS.Name = "txtAccessedSS";
            this.txtAccessedSS.Size = new System.Drawing.Size(27, 20);
            this.txtAccessedSS.TabIndex = 9;
            //
            // frmDialog1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(635, 352);
            this.Controls.Add(this.label19);
            this.Controls.Add(this.txtAccessedSS);
            this.Controls.Add(this.label18);
            this.Controls.Add(this.txtModifiedSS);
            this.Controls.Add(this.label17);
            this.Controls.Add(this.txtCreatedSS);
            this.Controls.Add(this.txtAccessedYYYY);
            this.Controls.Add(this.txtModifiedYYYY);
            this.Controls.Add(this.txtCreatedYYYY);
            this.Controls.Add(this.txtAccessedDD);
            this.Controls.Add(this.txtModifiedDD);
            this.Controls.Add(this.txtCreatedDD);
            this.Controls.Add(this.txtAccessedMin);
            this.Controls.Add(this.txtModifiedMin);
            this.Controls.Add(this.txtCreatedMin);
            this.Controls.Add(this.txtAccessedHH);
            this.Controls.Add(this.txtModifiedHH);
            this.Controls.Add(this.txtCreatedHH);
            this.Controls.Add(this.txtAccessedMM);
            this.Controls.Add(this.txtModifiedMM);
            this.Controls.Add(this.txtCreatedMM);
            this.Controls.Add(this.label16);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.label12);
            this.Controls.Add(this.label15);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.label11);
            this.Controls.Add(this.label14);
            this.Controls.Add(this.label8);
            this.Controls.Add(this.label10);
            this.Controls.Add(this.label13);
            this.Controls.Add(this.label7);
            this.Controls.Add(this.label9);
            this.Controls.Add(this.label6);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.txtFileName);
            this.Controls.Add(this.cmdBrowse);
            this.Controls.Add(this.cmdUpdate);
            this.Name = "frmDialog1";
            this.Text = "Change Date and Time Stamp";
            this.Load += new System.EventHandler(this.frmDialog1_Load);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Button cmdUpdate;
        private System.Windows.Forms.Button cmdBrowse;
        private System.Windows.Forms.TextBox txtFileName;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.OpenFileDialog dlgFileOpenDialog;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.TextBox txtCreatedMM;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.TextBox txtCreatedDD;
        private System.Windows.Forms.Label label6;
        private System.Windows.Forms.TextBox txtCreatedYYYY;
        private System.Windows.Forms.Label label7;
        private System.Windows.Forms.TextBox txtCreatedHH;
        private System.Windows.Forms.TextBox txtCreatedMin;
        private System.Windows.Forms.Label label8;
        private System.Windows.Forms.Label label9;
        private System.Windows.Forms.Label label10;
        private System.Windows.Forms.Label label11;
        private System.Windows.Forms.Label label12;
        private System.Windows.Forms.TextBox txtModifiedMM;
        private System.Windows.Forms.TextBox txtModifiedHH;
        private System.Windows.Forms.TextBox txtModifiedMin;
        private System.Windows.Forms.TextBox txtModifiedDD;
        private System.Windows.Forms.TextBox txtModifiedYYYY;
        private System.Windows.Forms.Label label13;
        private System.Windows.Forms.Label label14;
        private System.Windows.Forms.Label label15;
        private System.Windows.Forms.Label label16;
        private System.Windows.Forms.TextBox txtAccessedMM;
        private System.Windows.Forms.TextBox txtAccessedHH;
        private System.Windows.Forms.TextBox txtAccessedMin;
        private System.Windows.Forms.TextBox txtAccessedDD;
        private System.Windows.Forms.TextBox txtAccessedYYYY;
        private System.Windows.Forms.TextBox txtCreatedSS;
        private System.Windows.Forms.Label label17;
        private System.Windows.Forms.Label label18;
        private System.Windows.Forms.TextBox txtModifiedSS;
        private System.Windows.Forms.Label label19;
        private System.Windows.Forms.TextBox txtAccessedSS;
    }
}


2 comments:

Jayesh said...

Hey Dinesh,

I am not really sure whether it is really you :) BFS, onsite, NY and Chennai and .NET code seem to suggest that it is you :)

Jayesh said...

Hey Dinesh,

I am not really sure whether it is really you :) BFS, onsite, NY and Chennai and .NET code seem to suggest that it is you :)