Ejemplo n.º 1
0
        protected override void Execute(CodeActivityContext context)
        {
            this.ImgReview = InputImage.Get(context);
            this.StrText   = InputText.Get(context);

            IsUnRead = false;
            IsModify = false;
            FormMain fm = new FormMain(this);

            fm.ShowDialog();

            IsModified.Set(context, this.IsModify);
            IsUnreadable.Set(context, this.IsUnRead);
            ReviewedText.Set(context, this.StrText);
        }
Ejemplo n.º 2
0
        protected override void Execute(CodeActivityContext context)
        {
            this.ImgReview        = InputImage.Get(context);
            this.StrText          = InputText.Get(context);
            this.ListStrCandidate = CandidateStringList.Get(context);

            this.IntFrameWidth           = FrameWidth.Get(context);
            this.IntImageFrameHeight     = ImageFrameHeight.Get(context);
            this.IntTextFrameHeight      = TextFrameHeight.Get(context);
            this.IntFontSize             = FontSize.Get(context);
            this.IsDisableEnterKeySubmit = DisableEnterKeySubmit.Get(context);

            this.IsUnRead = false;
            this.IsModify = false;

            FormMain fm = new FormMain(this);

            fm.ShowDialog();

            IsModified.Set(context, this.IsModify);
            IsUnreadable.Set(context, this.IsUnRead);
            ReviewedText.Set(context, this.StrText);
        }
 public void Should_return_is_modified()
 {
     IsModified.ShouldBeTrue();
 }
 public void Should_return_is_not_modified()
 {
     IsModified.ShouldBeFalse();
 }