예제 #1
0
        void ShowDetails(FileName fn)
        {
            if (fn != null)
            {
                dateCreated.Text  = fn.CreationDate();
                dateModified.Text = fn.LastWriteDate();
                fileSize.Text     = fn.ReadableFileSize();
                //fileSize.Text = fn.Original;

                panelDetails.Show();
            }
            else
            {
                panelDetails.Hide();
            }
        }