private void SaveBookMark_Promt(object sender, EventArgs e) { SaveBookmarkForm save = new SaveBookmarkForm(); save.lblBrowserURL.Text = Explorer.LocationURL; save.Show(); }
private void SaveBookMark_Promt(object sender, EventArgs e) { SaveBookmarkForm save = new SaveBookmarkForm(); string st = Explorer.LocationURL; if (!st.EndsWith("/")) { //st += "/"; } string titleText = GetActiveWindow(); save.WindowTitle = titleText; save.lblBrowserURL.Text = st; save.Show(); /*show again*/ //try //{ // string tagurl = Explorer.LocationURL; // if (!tagurl.EndsWith("/")) // tagurl += "/"; // string target_url = "http://sgcsoft.net/work/commoncause/admin/tag_counter.php"; // webRequest = ri.CreateRequestForTagCount(target_url, tagurl); // string response = ri.GetResponse(webRequest); // this.lblTags.Text = ""; // if (Int32.Parse(response) > 0) // { // this.lblTags.Text = "Add (" + response + ")"; // } // else // { // this.lblTags.Text = "Add (" + response + ")"; // } //} //catch (Exception ex) //{ // MessageBox.Show(ex.ToString()); //} }