private void Relationship_ClickedNew(object sender1, EventArgs e1, AdvanceSearchNode node, RelationshipDTO relationship)
        {
            SearchEntityArea advancedAndRaw = new EntityArea.SearchEntityArea();
            var searchViewInitializer       = new SearchEntityAreaInitializer();

            searchViewInitializer.EntityID           = relationship.EntityID2;
            searchViewInitializer.Title              = relationship.Alias;
            searchViewInitializer.SourceRelationship = relationship;
            advancedAndRaw.SearchDataDefined        += (sender, e) => AdvancedAndRaw_SearchDataDefinedNew(sender, e, relationship, node, advancedAndRaw.SearchView);
            advancedAndRaw.SetAreaInitializer(searchViewInitializer);
            AgentUICoreMediator.GetAgentUICoreMediator.UIManager.GetDialogWindow().ShowDialog(advancedAndRaw.SearchView, searchViewInitializer.Title, Enum_WindowSize.Big);
        }
        private void Relationship_ClickedEdit(object sender1, EventArgs e1, AdvanceSearchNode node, DP_SearchRepository dP_SearchRepository)
        {
            SearchEntityArea advancedAndRaw = new EntityArea.SearchEntityArea();
            var searchViewInitializer       = new SearchEntityAreaInitializer();

            searchViewInitializer.PreDefinedSearch   = dP_SearchRepository;
            searchViewInitializer.EntityID           = dP_SearchRepository.TargetEntityID;
            searchViewInitializer.Title              = dP_SearchRepository.Title;
            searchViewInitializer.SourceRelationship = dP_SearchRepository.SourceRelationship;
            advancedAndRaw.SearchDataDefined        += (sender, e) => AdvancedAndRaw_SearchDataDefinedEdit(sender, e, node, advancedAndRaw.SearchView);
            advancedAndRaw.SetAreaInitializer(searchViewInitializer);
            AgentUICoreMediator.GetAgentUICoreMediator.UIManager.GetDialogWindow().ShowDialog(advancedAndRaw.SearchView, searchViewInitializer.Title, Enum_WindowSize.Big);
        }