Question : childWindow

In silverlight3

I want to add text and an image from the codebehind in the childwindow but where do I do this (no xaml)?

IN the New procedure of the childwindow? how do i add a textbox to the childwindow?

Public Sub New()
 'How do i add text and an image i childwindow ?


        ' This call is required by the Windows Form Designer.
        InitializeComponent()

        ' Add any initialization after the InitializeComponent() call.
        tbR.FontSize = 20
        Canvas.SetTop(tbr, 100)
        Canvas.SetLeft(tbR, 200)
        ' Me.Children.Add(tbr)
        'Canvas.SetZIndex(tbR, 40)

    End Sub

Answer : childWindow

Random Solutions  
 
programming4us programming4us