private Window CreateNewWindow(SearchFor searchFor)
        {
            window        = null;
            window        = new Window();
            window.Height = 650;
            window.Width  = 750;

            _telaFavored   = new SearchFavored(SearchFor);
            window.Content = _telaFavored;

            _telaFavored.GetVM().RecebeWindow(window);

            return(window);
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GISearch = ((NL.GI.ComponentesWPF.Cliente.SearchFavored)(target));
                return;

            case 2:
                this.Texto = ((NL.GI.ComponentesWPF.Cliente.GIInputText)(target));
                return;

            case 3:
                this.DataG = ((NL.GI.ComponentesWPF.Cliente.GIGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }