Exemplo n.º 1
0
            public override bool IsScreen()
            {
                PresentationSpace ps = base.PresentationSpace;

                PresentationSpaceField f1 =
                    ps.FindField(new DisplayLocation(1, 2));
                PresentationSpaceField f2 =
                    ps.FindField(new DisplayLocation(2, 2));
                PresentationSpaceField f3 =
                    ps.FindField(new DisplayLocation(1, 39));

                // qualified file name
                PresentationSpaceField f4 =
                    ps.FindField(new DisplayLocation(1, 79));

                // member name
                PresentationSpaceField f5 =
                    ps.FindField(new DisplayLocation(2, 79));

                if ((f1.TextContains("Columns") == true) &&
                    (f2.TextContains("SEU==>") == true) &&
                    (f3.TextContains("Edit") == true) &&
                    ((f4 != null) && (f4.Length >= 21)) &&
                    ((f5 != null) && (f5.Length == 10)))
                {
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
Exemplo n.º 2
0
            public override bool IsScreen()
            {
                PresentationSpace ps = base.PresentationSpace;

                PresentationSpaceField f1 =
                    ps.FindField(new DisplayLocation(1, 38));
                PresentationSpaceField f2 =
                    ps.FindField(new DisplayLocation(5, 4));

                if ((f1.TextContains("Exit") == true) &&
                    (f2.TextContains("Change/create member  . .") == true))
                {
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
Exemplo n.º 3
0
        public override bool IsScreen( )
        {
            PresentationSpace ps = base.PresentationSpace;

            PresentationSpaceField f1 =
                ps.FindField(new DisplayLocation(1, 28));
            PresentationSpaceField f2 =
                ps.FindField(new DisplayLocation(3, 2));
            PresentationSpaceField f3 =
                ps.FindField(new DisplayLocation(4, 4));

            if ((f1.TextContains("Work with Members Using PDM") == true) &&
                (f2.TextContains("File  . . . . . .") == true) &&
                (f3.TextContains("Library . . . .") == true))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Exemplo n.º 4
0
        public override bool IsScreen( )
        {
            PresentationSpace ps = base.PresentationSpace;

            PresentationSpaceField f1 =
                ps.FindField(new DisplayLocation(1, 37));
            PresentationSpaceField f2 =
                ps.FindField(new DisplayLocation(6, 17));
            PresentationSpaceField f3 =
                ps.FindField(new DisplayLocation(7, 17));

            if ((f1.TextContains("Sign On") == true) &&
                (f2.TextContains("User  . . .") == true) &&
                (f3.TextContains("Password  .") == true))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }