• 大小: 5.79M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: wpf  C#  c  wp  

资源简介

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace WpfApplication1
{
    /// <summary>
    /// Window1.xaml 的互動邏輯
    /// </summary>
    public partial class Window1 : Window
    {
        public Window1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, RoutedEventArgs e)
        {
            MessageBox.Show("Hello");
            button1.Content = DateTime.Now.ToShortTimeString();
        }
    }
}

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;

namespace WpfApplication1
{
    /// 
    /// App.xaml 的互動邏輯
    /// 

    public partial class App : Application
    {
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2010-07-30 18:02  DEMO\
     目录           0  2010-07-30 18:02  DEMO\01\
     目录           0  2010-07-31 18:49  DEMO\01\WpfApplication1\
     文件         296  2008-01-09 09:37  DEMO\01\WpfApplication1\App.xaml
     文件         311  2008-01-09 09:37  DEMO\01\WpfApplication1\App.xaml.cs
     目录           0  2010-07-30 18:02  DEMO\01\WpfApplication1\bin\
     目录           0  2010-07-30 18:04  DEMO\01\WpfApplication1\bin\Debug\
     文件        8704  2010-07-31 18:49  DEMO\01\WpfApplication1\bin\Debug\WpfApplication1.exe
     文件       38400  2010-07-31 18:49  DEMO\01\WpfApplication1\bin\Debug\WpfApplication1.pdb
     文件       14328  2010-07-31 18:49  DEMO\01\WpfApplication1\bin\Debug\WpfApplication1.vshost.exe
     文件         490  2007-07-21 03:33  DEMO\01\WpfApplication1\bin\Debug\WpfApplication1.vshost.exe.manifest
     目录           0  2010-07-30 18:02  DEMO\01\WpfApplication1\obj\
     目录           0  2010-07-31 18:49  DEMO\01\WpfApplication1\obj\Debug\
     文件        2200  2010-07-31 18:49  DEMO\01\WpfApplication1\obj\Debug\App.g.cs
     目录           0  2010-07-30 18:02  DEMO\01\WpfApplication1\obj\Debug\TempPE\
     文件         809  2010-07-31 18:49  DEMO\01\WpfApplication1\obj\Debug\Window1.baml
     文件        3481  2010-07-31 18:49  DEMO\01\WpfApplication1\obj\Debug\Window1.g.cs
     文件        2946  2010-07-31 18:49  DEMO\01\WpfApplication1\obj\Debug\WpfApplication1.csproj.FileListAbsolute.txt
     文件         789  2010-07-30 18:04  DEMO\01\WpfApplication1\obj\Debug\WpfApplication1.csproj.GenerateResource.Cache
     文件        8704  2010-07-31 18:49  DEMO\01\WpfApplication1\obj\Debug\WpfApplication1.exe
     文件        1031  2010-07-31 18:49  DEMO\01\WpfApplication1\obj\Debug\WpfApplication1.g.resources
     文件       38400  2010-07-31 18:49  DEMO\01\WpfApplication1\obj\Debug\WpfApplication1.pdb
     文件         180  2010-07-30 18:04  DEMO\01\WpfApplication1\obj\Debug\WpfApplication1.Properties.Resources.resources
     文件         346  2010-07-31 18:49  DEMO\01\WpfApplication1\obj\Debug\WpfApplication1_MarkupCompile.cache
     目录           0  2010-07-30 18:02  DEMO\01\WpfApplication1\Properties\
     文件        2153  2008-01-09 09:37  DEMO\01\WpfApplication1\Properties\AssemblyInfo.cs
     文件        2914  2008-01-09 09:37  DEMO\01\WpfApplication1\Properties\Resources.Designer.cs
     文件        5612  2008-01-09 09:37  DEMO\01\WpfApplication1\Properties\Resources.resx
     文件        1100  2008-01-09 09:37  DEMO\01\WpfApplication1\Properties\Settings.Designer.cs
     文件         201  2008-01-09 09:37  DEMO\01\WpfApplication1\Properties\Settings.settings
     文件         425  2008-01-09 09:42  DEMO\01\WpfApplication1\Window1.xaml
............此处省略911个文件信息

评论

共有 条评论