这就是我的代码。我试过将WindowState
作业移至Form1_Load
程序,但这并没有什么区别。WebBrowser控件截屏低于25%的屏幕
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TestApp1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
WindowState = FormWindowState.Maximized;
}
private void Form1_Load(object sender, EventArgs e)
{
webBrowser1.Url = new Uri("http://empire.goodgamestudios.com");
}
}
}
如何让WebBrowser控件显示整个页面。你想要一个只显示你屏幕前75%的网页浏览器吗?问题出在TITLE ... –
您提供的细节太具体了......尝试根据您的问题添加图片,以便我们能够绕开这个问题。 –