//private SolrInfo Convert(PSObject data) //{ // var s = data.BaseObject as string[]; // string version = new RegexHelper("^@{solr-spec-version=(.*)}$").Extract(s[1]); // return new SolrInfo { Url = $"https://localhost:{s[0]}/solr", Version = version, Directory = s[2] }; //} private void cancel_Click(object sender, EventArgs e) { wrapper.Finish(); Toggle(true); }