internal SprWindow(SprApplication application, SprWindowType type) { Application = application; Type = type; // Get a new DrSnapShot object DrWindow = Activator.CreateInstance(SprImportedTypes.DrWindow); Refresh(); }
private SprWindow GetWindow(SprWindowType type) { if (!_application.IsConnected) throw SprExceptions.SprNotConnected; return type == SprWindowType.TextWindow ? new SprTextWindow(_application) : new SprWindow(_application, type); }