コード例 #1
0
        public void Clone(ImageDisplayDef theSourceDef)
        {
            if (theSourceDef.TestSequence != mTestSequence)
            {
                throw new ArgumentException("3292289");
            }

            mImageDefinition = theSourceDef.ImageDefinition;

            roisToShow.Clear();
            roisToShow.AddRange(theSourceDef.roisToShow);

            decorationsToShow.Clear();
            decorationsToShow.AddRange(theSourceDef.decorationsToShow);

            mSizeMode = theSourceDef.SizeMode;

            if (ImageDisplayDefChange != null)
            {
                ImageDisplayDefChange();
            }
        }
コード例 #2
0
ファイル: ImageInstance.cs プロジェクト: Monkeybin11/UVision
 public ImageInstance(ImageDefinition theDefinition, TestExecution testExecution) : base(theDefinition, testExecution)
 {
     testExecution.ImageRegistry.RegisterObject(this);
 }