Ejemplo n.º 1
0
    public SearchModalProxy Find(Type?selectType = null)
    {
        string changes = GetChanges();
        var    popup   = FindButton.Find().CaptureOnClick();

        popup = ChooseTypeCapture(popup, selectType);

        return(new SearchModalProxy(popup)
        {
            Disposing = okPressed => { WaitNewChanges(changes, "create dialog closed"); }
        });
    }