Example #1
0
        private void picBackgroundImage_Click(object sender, EventArgs e)
        {
            List <String> pLisImages = null;

            if (FileExtensionUtility.GetImageFileNameFromDialog(FileExtensionCollection.EXTENSION_COLLECTION_IMAGE_ALL,
                                                                "Browse For Background Image...",
                                                                out pLisImages,
                                                                false))
            {
                Image pImgBackground = DrawingUtility.ResizeImage(pLisImages[0], 1358, 1920, true);
                picBackgroundImage.Image         = pImgBackground;
                cKPtProject.Info.BackgroundImage = pImgBackground;
            }
        }