private void InitializeData() { DatabaseHandle dbHandle = new DatabaseHandle(); string JSON = dbHandle.GetPopupDetail(PopupID); if (JSON != null) { } else { //TODO MessangeBox ERROR and Close this form } }