Beispiel #1
0
        private void simpleButton2_Click(object sender, EventArgs e)
        {
            Uri  mapUri = new Uri(new Uri("http://www.bing.com/"), "maps/default.aspx?where1=" + latitudeTextBox.Text + ",%20" + longitudeTextBox.Text + "&v=2");
            Form map    = new TraceForms.WebBrowser(mapUri)
            {
                MdiParent = this.ParentForm
            };

            map.Show();
        }
Beispiel #2
0
        private void simpleButton1_Click(object sender, EventArgs e)
        {
            string city    = ImageComboBoxEditCity.EditValue.ToString();
            string country = ImageComboBoxEditCountry.EditValue.ToString();
            Uri    mapUri  = new Uri(new Uri("http://www.bing.com/"), "maps/default.aspx?where1=" + aDDR1TextEdit.Text + "%20" + aDDR2TextEdit.Text + "%20" + aDDR3TextEdit.Text + ",%20" + city + ",%20" + country + "&v=2");
            Form   map     = new TraceForms.WebBrowser(mapUri)
            {
                MdiParent = this.ParentForm
            };

            map.Show();
        }