• 大小: 0.04M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: wpf  

资源简介

wpf 动态生成 窗体(不用xaml)示例源码

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace _1003_CodeOnlyWindow
{
    public class Program:Application
    {
        [STAThread()]
        static void Main()
        {
            Program app = new Program();
            app.MainWindow = new Window1();
            app.MainWindow.ShowDialog();
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       3848  2013-09-07 19:31  1003_CodeOnlyWindow\1003_CodeOnlyWindow\1003_CodeOnlyWindow.csproj

     文件       7680  2013-09-07 19:31  1003_CodeOnlyWindow\1003_CodeOnlyWindow\bin\Debug\1003_CodeOnlyWindow.exe

     文件      19968  2013-09-07 19:31  1003_CodeOnlyWindow\1003_CodeOnlyWindow\bin\Debug\1003_CodeOnlyWindow.pdb

     文件      22472  2013-09-07 19:43  1003_CodeOnlyWindow\1003_CodeOnlyWindow\bin\Debug\1003_CodeOnlyWindow.vshost.exe

     文件        582  2013-09-07 19:43  1003_CodeOnlyWindow\1003_CodeOnlyWindow\obj\Debug\1003_CodeOnlyWindow.csproj.FileListAbsolute.txt

     文件        917  2013-09-07 19:23  1003_CodeOnlyWindow\1003_CodeOnlyWindow\obj\Debug\1003_CodeOnlyWindow.csproj.GenerateResource.Cache

     文件       7680  2013-09-07 19:31  1003_CodeOnlyWindow\1003_CodeOnlyWindow\obj\Debug\1003_CodeOnlyWindow.exe

     文件      19968  2013-09-07 19:31  1003_CodeOnlyWindow\1003_CodeOnlyWindow\obj\Debug\1003_CodeOnlyWindow.pdb

     文件        265  2013-09-07 19:23  1003_CodeOnlyWindow\1003_CodeOnlyWindow\obj\Debug\1003_CodeOnlyWindow_MarkupCompile.i.cache

     文件       2340  2013-09-07 19:23  1003_CodeOnlyWindow\1003_CodeOnlyWindow\obj\Debug\App.g.i.cs

     文件       6946  2013-09-07 19:30  1003_CodeOnlyWindow\1003_CodeOnlyWindow\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       3033  2013-09-07 19:22  1003_CodeOnlyWindow\1003_CodeOnlyWindow\obj\Debug\MainWindow.g.i.cs

     文件        180  2013-09-07 19:31  1003_CodeOnlyWindow\1003_CodeOnlyWindow\obj\Debug\_1003_CodeOnlyWindow.Properties.Resources.resources

     文件        410  2013-09-07 19:31  1003_CodeOnlyWindow\1003_CodeOnlyWindow\Program.cs

     文件       2191  2013-09-07 19:22  1003_CodeOnlyWindow\1003_CodeOnlyWindow\Properties\AssemblyInfo.cs

     文件       2892  2013-09-07 19:22  1003_CodeOnlyWindow\1003_CodeOnlyWindow\Properties\Resources.Designer.cs

     文件       5612  2013-09-07 19:22  1003_CodeOnlyWindow\1003_CodeOnlyWindow\Properties\Resources.resx

     文件       1107  2013-09-07 19:22  1003_CodeOnlyWindow\1003_CodeOnlyWindow\Properties\Settings.Designer.cs

     文件        201  2013-09-07 19:22  1003_CodeOnlyWindow\1003_CodeOnlyWindow\Properties\Settings.settings

     文件       1329  2013-09-07 19:30  1003_CodeOnlyWindow\1003_CodeOnlyWindow\Window1.cs

     文件        947  2013-09-07 19:22  1003_CodeOnlyWindow\1003_CodeOnlyWindow.sln

    ..A..H.     18944  2013-09-07 19:24  1003_CodeOnlyWindow\1003_CodeOnlyWindow.v11.suo

     目录          0  2013-09-07 19:22  1003_CodeOnlyWindow\1003_CodeOnlyWindow\obj\Debug\TempPE

     目录          0  2013-09-07 19:23  1003_CodeOnlyWindow\1003_CodeOnlyWindow\bin\Debug

     目录          0  2013-09-07 19:22  1003_CodeOnlyWindow\1003_CodeOnlyWindow\bin\Release

     目录          0  2013-09-07 19:31  1003_CodeOnlyWindow\1003_CodeOnlyWindow\obj\Debug

     目录          0  2013-09-07 19:22  1003_CodeOnlyWindow\1003_CodeOnlyWindow\bin

     目录          0  2013-09-07 19:22  1003_CodeOnlyWindow\1003_CodeOnlyWindow\obj

     目录          0  2013-09-07 19:22  1003_CodeOnlyWindow\1003_CodeOnlyWindow\Properties

     目录          0  2013-09-07 19:30  1003_CodeOnlyWindow\1003_CodeOnlyWindow

............此处省略4个文件信息

评论

共有 条评论