Ejemplo n.º 1
0
        public void GetHouse(RichTextBox txtOut, DateTimePicker dtp, Dictionary<string, string> group , List<string> query)
        {
            string resultSet = "";
            foreach (KeyValuePair<string, string> pair in group)
            {
                foreach (string q in query)
                {
                    string url = SetUrl(pair.Value, q);

                    /* HAP Parse Html Page */
                    HapUtility hap = new HapUtility();
                    List<string> topics = hap.Parse(dtp, url);

                    foreach (string t in topics)
                    {
                        resultSet += pair.Key + ": " + q + "---" + t + Environment.NewLine + Environment.NewLine;
                    }
                }
            }
            txtOut.Text = resultSet;
        }
Ejemplo n.º 2
0
        public void GetHouse(RichTextBox txtOut, DateTimePicker dtp, Dictionary <string, string> group, List <string> query)
        {
            string resultSet = "";

            foreach (KeyValuePair <string, string> pair in group)
            {
                foreach (string q in query)
                {
                    string url = SetUrl(pair.Value, q);

                    /* HAP Parse Html Page */
                    HapUtility    hap    = new HapUtility();
                    List <string> topics = hap.Parse(dtp, url);

                    foreach (string t in topics)
                    {
                        resultSet += pair.Key + ": " + q + "---" + t + Environment.NewLine + Environment.NewLine;
                    }
                }
            }
            txtOut.Text = resultSet;
        }