private void ShowCadastreData() { if (_frmCadastreData == null || _frmCadastreData.IsDisposed) { _frmCadastreData = new FrmDockSearch(EnumSearchMode.REGISTER_CADASTRE_DATA); _frmCadastreData.DockPanel = dockPanel; _frmCadastreData.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.Document; _frmCadastreData.DockAreas = WeifenLuo.WinFormsUI.Docking.DockAreas.Document; } _frmCadastreData.Show(); }
private void ShowInfoDissemination() { if (_frmSearch == null || _frmSearch.IsDisposed) { _frmSearch = new FrmDockSearch(EnumSearchMode.SEARCH); _frmSearch.DockPanel = dockPanel; //_frmSearch.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.DockRight; //_frmSearch.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Document; _frmSearch.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.Document; _frmSearch.DockAreas = WeifenLuo.WinFormsUI.Docking.DockAreas.Document; _frmSearch.Text = "Informasiyanın alınması"; } _frmSearch.Show(); }