SIL.FieldWorks.Common.Framework.DetailControls.ImageSlice.ImageSlice C# (CSharp) Méthode

ImageSlice() private méthode

private ImageSlice ( string distFilesPath, string relativeImagePath ) : System
distFilesPath string
relativeImagePath string
Résultat System
		public ImageSlice(string distFilesPath, string relativeImagePath) : base(new PictureBox())
		{
			string sPathname = System.IO.Path.Combine(distFilesPath, relativeImagePath);
			((PictureBox)this.Control).Image = Image.FromFile(FileUtils.ActualFilePath(sPathname));
			((PictureBox)this.Control).Height = ((PictureBox)this.Control).Image.Height;
		}