Пример #1
0
        private void picCompanyLogo_Click(object sender, EventArgs e)
        {
            List <String> pLisImages = null;

            if (FileExtensionUtility.GetImageFileNameFromDialog(FileExtensionCollection.EXTENSION_COLLECTION_IMAGE_ALL,
                                                                "Browse For Company Logo...",
                                                                out pLisImages,
                                                                false))
            {
                Image pImgLogo = DrawingUtility.CreateThumbnail(pLisImages[0], 512, 512, 64, Color.White);
                picCompanyLogo.Image         = pImgLogo;
                cKPtProject.Info.CompanyLogo = pImgLogo;
            }
        }