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

资源简介


资源截图

代码片段和文件信息

using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Media;
using System.Windows.Shapes;

namespace DataBindingLab
{
    public partial class AddProductWindow : Window
    {

        public AddProductWindow()
        {
            InitializeComponent();
        }

        private void OnInit(object sender RoutedEventArgs e)
        {
            this.DataContext = new AuctionItem(“Type your description here“
                ProductCategory.DVDs 1 DateTime.Now ((DataBindingLabApp)Application.Current).CurrentUser
                SpecialFeatures.None);
        }

        private void SubmitProduct(object sender RoutedEventArgs e)
        {
            AuctionItem ite

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2010-04-08 10:13  DataBindingLab\cs\
     文件        6578  2010-04-08 10:13  DataBindingLab\cs\AddProductWindow.xaml
     文件         962  2010-04-08 10:13  DataBindingLab\cs\AddProductWindow.xaml.cs
     文件        4190  2010-04-08 10:13  DataBindingLab\cs\AuctionItem.cs
     文件         603  2010-04-08 10:13  DataBindingLab\cs\Bid.cs
     文件         636  2010-04-08 10:13  DataBindingLab\cs\CurrentPriceConverter.cs
     文件        3394  2010-04-08 10:13  DataBindingLab\cs\DataBindingLab.csproj
     文件        9936  2010-04-08 10:13  DataBindingLab\cs\DataBindingLabApp.xaml
     文件        4491  2010-04-08 10:13  DataBindingLab\cs\DataBindingLabApp.xaml.cs
     文件         952  2010-04-08 10:13  DataBindingLab\cs\DateConverter.cs
     文件         887  2010-04-08 10:13  DataBindingLab\cs\FutureDateRule.cs
     文件        3337  2010-04-08 10:13  DataBindingLab\cs\MainWindow.xaml
     文件        2951  2010-04-08 10:13  DataBindingLab\cs\MainWindow.xaml.cs
     文件        1238  2010-04-08 10:13  DataBindingLab\cs\SpecialFeaturesConverter.cs
     文件         856  2010-04-08 10:13  DataBindingLab\cs\User.cs
     目录           0  2010-04-08 10:13  DataBindingLab\vb\
     文件        6578  2010-04-08 10:13  DataBindingLab\vb\AddProductWindow.xaml
     文件         688  2010-04-08 10:13  DataBindingLab\vb\AddProductWindow.xaml.vb
     文件        1374  2010-04-08 10:13  DataBindingLab\vb\app.config
     文件        4650  2010-04-08 10:13  DataBindingLab\vb\AuctionItem.vb
     文件         750  2010-04-08 10:13  DataBindingLab\vb\Bid.vb
     文件        4242  2010-04-08 10:13  DataBindingLab\vb\DataBindingLab.vbproj
     文件        9936  2010-04-08 10:13  DataBindingLab\vb\DataBindingLabApp.xaml
     文件        4069  2010-04-08 10:13  DataBindingLab\vb\DataBindingLabApp.xaml.vb
     文件         936  2010-04-08 10:13  DataBindingLab\vb\DateConverter.vb
     文件         660  2010-04-08 10:13  DataBindingLab\vb\FutureDateRule.vb
     文件        3337  2010-04-08 10:13  DataBindingLab\vb\MainWindow.xaml
     文件        2365  2010-04-08 10:13  DataBindingLab\vb\MainWindow.xaml.vb
     文件        1278  2010-04-08 10:13  DataBindingLab\vb\SpecialFeaturesConverter.vb
     文件        1120  2010-04-08 10:13  DataBindingLab\vb\User.vb

评论

共有 条评论