Exemple #1
0
        private void itemView_Click(object sender, EventArgs e)
        {
            string fullpath = PictureUtility.getImgLocation(ImgList[selectIndex]);

            if (string.IsNullOrWhiteSpace(fullpath))
            {
                return;
            }
            System.Diagnostics.Process.Start(fullpath);
        }
Exemple #2
0
 private void btnViewDimension_Click(object sender, EventArgs e)
 {
     if (!string.IsNullOrWhiteSpace(txtDimension.FilePath))
     {
         string fullpath = PictureUtility.getImgLocation(txtDimension.FileName);
         if (string.IsNullOrWhiteSpace(fullpath))
         {
             return;
         }
         System.Diagnostics.Process.Start(fullpath);
     }
 }