加载主页面时弹出的子窗口 [英] Childwindow that pops up when the main page is loaded

查看:87
本文介绍了加载主页面时弹出的子窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在加载Silverlight主页时同时(或接近)弹出一个Childwindow弹出框。我仍然在学习这个爱好,我不知道用什么事件或标记来完成这个练习。任何C或VB的例子都会受到赞赏。

亲切的问候

Will。

I would like a Childwindow popup box to popup at the same time (or near as) when my Silverlight main page is loaded. I am still learning this as a hobby and I don't know what event or markup to use to acomplish this exercise. any C or VB example would be appreciated.
Kind regards
Will.

推荐答案

谢谢,但我得到了来自Microsoft Silverlight论坛的解决方案



Thanks but I got the solution from the Microsoft Silverlight Forums

Public Sub New()
    InitializeComponent()
    AddHandler Me.Loaded, AddressOf MainPage_Loaded
End Sub










Private Sub MainPage_Loaded(sender As Object, e As RoutedEventArgs)
    Dim cw As New ChildWindow1
    cw.Show()
End Sub


这篇关于加载主页面时弹出的子窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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