我有一个 silverlight 应用,可以由用户安装为浏览器外应用。
每当我更改应用程序的高度和宽度时,我还必须:
如何在代码中更改浏览器外应用程序的定义高度和宽度?
答案 0 :(得分:1)
我用这个:
private void Application_Startup(object sender,StartupEventArgs e) { MyBlueForm = new MyBlueForm();
this.RootVisual = startupWindow;
this.MainWindow.Width = startupWindow.Width; this.MainWindow.Height = startupWindow.Height; }