> For the complete documentation index, see [llms.txt](https://youngtae.gitbook.io/gst_platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://youngtae.gitbook.io/gst_platform/library/basepopup.md).

# BasePopup

공통 팝업의 상위 클래스 (BasePopupMenu → BasePopup → BaseForm)

## Property

* 팝업 데이터의 초기화 설정 여부
* \[DevManager - 비즈니스 컴포넌트] 에서 '데이터 초기화' 항목이 체크되어 있으면 true

```csharp
protected bool OpenWithData { get; }
```

### PopupDBAlias

* 팝업 데이터를 조회한 데이터베이스의 별칭 정보

```csharp
protected string PopupDBAlias { get; }
```

###

## Method

### PopupParamInit

* 공통 팝업 파라미터 초기화
* 'WhereList'에 지정된 컨트롤의 값을 세팅

```csharp
protected void PopupParamInit();
```

### PopupFormDesign

* 공통 팝업 설정 정보 초기화
* \[DevManager - 비즈니스 컴포넌트]에 설정한 팝업 정보(팝업 캡션, 폼 사이즈, 데이터 초기화 여부)를 세팅

```csharp
protected void PopupFormDesign();
```

### PopupGridDesign

* 공통 팝업에 설정한 컬럼 정보를 참조하여 GridColumn 초기화
* Parameters
  * `GridViewEx gridView` : 대상 GridView 타입 객체

```csharp
protected void PopupGridDesign(GridViewEx gridView);
```

### PopupTreeDesign

* 공통 팝업에 설정한 컬럼 정보를 참조하여 TreeListColumn 초기화
* 공통 팝업 설정 정보에서 \[조회 컬럼] 리스트의 첫번째 FieldName이 TreeList.KeyFieldName, 두번째 FieldName이 TreeList.ParentFieldName 로 자동 설정
* Parameters
  * `TreeListEx tree` : 대상 TreeList 타입 객체

```csharp
protected void PopupTreeDesign(TreeListEx tree);
```

### BindingPopupData

* 공통 팝업에 설정한 쿼리를 실행한 결과 바인딩 (데이터 조회)
* Parameters
  * `object control` : GridControl 또는 TreeList 타입 객체

```csharp
protected void BindingPopupData(object control);
```
