/// [설계자]
/// 클립소프트 연구소 홍지철 (jchong@clipsoft.co.kr)
/// [원본 작성자]
/// 클립소프트 기술부 이창훈 (chlee@clipsoft.co.kr)
/// [수정 작성자]
/// 클립소프트 기술부 이인희
/// ----------------------------------------------------------------------------------------
/// [HISTORY]
/// 2016-06-21 : 최초작성
/// ----------------------------------------------------------------------------------------
///
public partial class ConsentListCtrl : ConsentListCtrlBase {
private IConsentMain consentMain = null;
private ConsentCommandCtrl commandControl = null;
public ConsentListCtrl() {
InitializeComponent();
}
protected override void OnLoad(EventArgs e) {
base.OnLoad(e);
if (this.DesignMode || LicenseManager.UsageMode == LicenseUsageMode.Designtime) {
return;
}
consentMain = ConsentMainControl.GetConsentMainInterface(this);
commandControl = consentMain.ConsentCommandCtrl as ConsentCommandCtrl;
consentMain.OnLoadPartControls += ConsentMain_OnLoadPartControls;
// dbs227, 임시 탭 삭제
// knuh dependency
tabControlConsentSelect.TabPages.RemoveAt(1);
}
private void ConsentMain_OnLoadPartControls(object sender, EventArgs e) {
if (this.DesignMode || LicenseManager.UsageMode == LicenseUsageMode.Designtime) {
return;
}
if (consentMain == null) consentMain = ConsentMainControl.GetConsentMainInterface(this);
if (commandControl == null) commandControl = consentMain.ConsentCommandCtrl as ConsentCommandCtrl;
// Ku2.0 연동 시에는 이벤트 태우지 않음
if (consentMain.ConsentExecuteInfo["printYN"].Equals("Y")) {
return;
}
SetConsentListSplitPanelVisibility(consentMain);
// dbs227, 기본탭 변경
this.tabControlConsentSelect.SelectedTab = this.tabControlConsentSelect.TabPages["tabPageAll"];
//this.tabControlConsentSelect.SelectedTab = this.tabControlConsentSelect.TabPages["tabPageUnfinished"];
}
///