示例#1
0
        internal SprWindow(SprApplication application, SprWindowType type)
        {
            Application = application;

            Type = type;

            // Get a new DrSnapShot object
            DrWindow = Activator.CreateInstance(SprImportedTypes.DrWindow);

            Refresh();
        }
示例#2
0
        internal SprWindow(SprApplication application, SprWindowType type)
        {
            Application = application;

            Type = type;

            // Get a new DrSnapShot object
            DrWindow = Activator.CreateInstance(SprImportedTypes.DrWindow);

            Refresh();
        }
示例#3
0
            private SprWindow GetWindow(SprWindowType type)
            {
                if (!_application.IsConnected)
                    throw SprExceptions.SprNotConnected;

                return type == SprWindowType.TextWindow
                                ? new SprTextWindow(_application)
                                : new SprWindow(_application, type);
            }