如何在浏览器屏幕的中心显示silverlight子窗口 [英] How to show the silverlight child window at the center of the browser screen

查看:120
本文介绍了如何在浏览器屏幕的中心显示silverlight子窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何展示银色。 ight儿童窗口位于浏览器屏幕的中心。 Plse为我提供了一个示例解决方案

How to show the silverl. ight child window at the center of the browser screen. Plse provide me a sample solution

推荐答案

这不是CP通常的工作方式。这里最重要的目标是学习和帮助学习。

你应该自己尝试,当你遇到困难时来到这里,对你的代码,设计等有一个具体的问题。

请查看你有什么尝试? [ ^ ]至看看我的意思是一个很好的解释。

不要忘记这里的人不会得到报酬。此外,如果我们给你一个随时可用的解决方案,它不会帮助你,因为你不会从中学到任何东西。



As通用方法:

步骤1)做一点研究。谷歌是一个很好的起点

ie:

http://msdn.microsoft.com/en-us/library/system.windows.controls.childwindow.show(v = VS.95)的.aspx [ ^ ]

http://msdn.microsoft.com/en-us/library/system.windows.controls.childwindow(v = vs.95).aspx [ ^ ]

http ://msdn.microsoft.com/en-us/library/system.windows.uielement.arrange(v = vs.95).aspx [ ^ ]

步骤2)开始编码

步骤3)编译并使用调试解决小问题

步骤4)当你遇到问题时你不知道如何解决但至少你试了一下,然后回来问一些具体的代码片段给出问题



对不起,如果这不是你要找的答案。但你的问题有点太宽,无法在快速答案中得到解答。如果你针对具体问题提出10个具体问题,那么你会得到更好的帮助,而不是关于如何引导的大问题
This is not how CP usually works. Most important goal here is to learn and help learning.
You are supposed to try it on your own, and come here when you got stuck with something, with a concrete question about your code, design, etc.
Please have a look to What have you tried?[^] to see a good explanation about what I mean.
Don't forget people here don't get payed. And besides, if we give you a ready-to-go solution, it is not going to help you because you are not going to learn anything from it.

As a generic approach:
Step 1) Do a little research. Google is a good start point
ie:
http://msdn.microsoft.com/en-us/library/system.windows.controls.childwindow.show(v=vs.95).aspx[^]
http://msdn.microsoft.com/en-us/library/system.windows.controls.childwindow(v=vs.95).aspx[^]
http://msdn.microsoft.com/en-us/library/system.windows.uielement.arrange(v=vs.95).aspx[^]
Step 2) Start coding
Step 3) Compile and use the debug to solve little issues
Step 4) When you get a problem you don't know how to solve but at least you tried it, then come back and ask for something concrete with a snippet of the code giving problems

Sorry if this is not the answer you were looking for. But your question is a bit too wide to be answered at the "Quick" Answers. It is better and you get faster help if you make 10 concrete questions about concrete problems, than a big question about a "how-to guide"


这篇关于如何在浏览器屏幕的中心显示silverlight子窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆