webBrowser1.DocumentText 不显示内容 10
Form2form2=newForm2();Pointpoint=newPoint(Screen.PrimaryScreen.WorkingArea.Width-form...
Form2 form2 = new Form2();
Point point = new Point(Screen.PrimaryScreen.WorkingArea.Width - form2.Size.Width, Screen.PrimaryScreen.WorkingArea.Height - form2.Size.Height);//
form2.StartPosition = FormStartPosition.Manual;//窗体其实位置类型,manual由location指定
form2.Location = point;
form2.webBrowser1.DocumentText = "百度";
DialogResult result = MessageBox.Show(form2.webBrowser1.DocumentText , "提示", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
我想给form2的webBrowser的内容赋值,但是内容赋值不过去,弹出对话框内容为空。请问是什么问题,这是一个鼠标点击事件! 展开
Point point = new Point(Screen.PrimaryScreen.WorkingArea.Width - form2.Size.Width, Screen.PrimaryScreen.WorkingArea.Height - form2.Size.Height);//
form2.StartPosition = FormStartPosition.Manual;//窗体其实位置类型,manual由location指定
form2.Location = point;
form2.webBrowser1.DocumentText = "百度";
DialogResult result = MessageBox.Show(form2.webBrowser1.DocumentText , "提示", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
我想给form2的webBrowser的内容赋值,但是内容赋值不过去,弹出对话框内容为空。请问是什么问题,这是一个鼠标点击事件! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询