Beispiel #1
0
        public void openBrowser(string url = "")
        {
            Form BrowseWnd = new Browse(url);

            BrowseWnd.Owner     = (Form)this;
            BrowseWnd.MdiParent = this;
            BrowseWnd.Show();
        }
        private void goToURL()
        {
            if (fpTreeView.SelectedNode == null)
            {
                return;
            }
            if (fpTreeView.SelectedNode.Text == null)
            {
                return;
            }
            if (fpTreeView.SelectedNode.Tag == null)
            {
                return;
            }

            Form BrowseWnd = new Browse(fpTreeView.SelectedNode.Tag.ToString());

            BrowseWnd.Owner     = (Form)MdiParent;
            BrowseWnd.MdiParent = MdiParent;
            BrowseWnd.Show();
        }