I would like to dynamically create the DesktopWindow with csharp
but I encountered a problem I hope you can help me.Thanks
 <html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Desktop</title>  
<script runat="server">  
    
    protected void Page_Load (object sender, EventArgs e)
    {
        //create DesktopWindow
        
        DesktopWindow dtwindow = new DesktopWindow();
        dtwindow.ID = "myWindow1";
        dtwindow.Title = "This is Test";
        dtwindow.Icon = Icon.Accept;
        dtwindow.Width = 300;
        dtwindow.Height = 400;
        this.form1.Controls.Add(dtwindow);


        //How to create DesktopModule object
        
        //DesktopModule myDesktopModule1 = new DesktopModule();
        //myDesktopModule1.WindowID = "myWindow1";
        //myDesktopModule1.AutoRun = true;
        //MyDesktop.Modules.Add(myDesktopModule1);
    }
</script>
</head>
<body>
    <form id="form1" runat="server" >
        <ext:ScriptManager ID="ScriptManager1" runat="server" ScriptMode="Debug">
        </ext:ScriptManager>
        <ext:Desktop ID="MyDesktop" runat="server">
            <Modules>
            </Modules> 
        </ext:Desktop>
    </form>
</body>
</html>