public void SettingUclClear(bool bReload = false) { //유저 컨트롤 전체 초기화 ClearAllUcl(); //설정 컨트롤 초기화 if (_SettingUcl != null) { pnlSetting.Controls.Remove(_SettingUcl); _SettingUcl.Dispose(); _SettingUcl = null; } pnlSetting.Controls.Clear(); SetPanelIndex(2); //메인내 설정 패널을 채운다 this.pnlBrowser.Dock = DockStyle.Fill; this.pnlBrowser.BringToFront(); //브라우저 리로드 여부 if (bReload) { ReLoadBrowser(); } }
public void SettingUclShow() { if (_SettingUcl == null) { _SettingUcl = new SettingUcl(); } //유저 컨트롤 전체 초기화 ClearAllUcl(); pnlSetting.Controls.Clear(); pnlSetting.Controls.Add(_SettingUcl); _SettingUcl.Dock = DockStyle.Fill; SetPanelIndex(3); //메인내 설정 패널을 채운다 this.pnlSetting.Dock = DockStyle.Fill; this.pnlSetting.BringToFront(); _SettingUcl.Visible = true; _SettingUcl.BringToFront(); }