• 大小: 204KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-11
  • 语言: 数据库
  • 标签: DataGrid  

资源简介

里面是底层封装好的 把底层的保存到数据库方法改下就行,用EF应该蛮容易的 兼容Access

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Input;

namespace AlarmCenter.Addin.ZSGC
{
    /// 
    /// MVVM固有模式 用于值更新
    /// 

    public class Notice : INotifyPropertyChanged ICommand
    {

        public event PropertyChangedEventHandler PropertyChanged;
        public void Notify(string str)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this new PropertyChangedEventArgs(str));
            }
        }


        public bool CanExecute(object parameter)
        {
            if (CanExecuteAction != null)
            {
                return CanExecuteAction(parameter);
            }
            return true;
        }

        public event EventHandler CanExecuteChanged;

        public void Execute(object parameter)
        {
            if (ExecuteAction != null)
            {
                ExecuteAction(parameter);
            }
        }

        public Funcject bool> CanExecuteAction { get; set; }
        public Actionject> ExecuteAction { get; set; }

    }
}

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

    ..A..H.    179712  2016-06-01 17:05  AlarmCenter.Addin.ZSGC\.vs\AlarmCenter.Addin.ZSGC\v14\.suo

     文件        666  2016-05-31 13:28  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC.addin

     文件       8087  2016-06-02 09:17  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC.csproj

     文件        353  2016-05-26 14:56  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC.csproj.user

     文件        849  2016-06-02 09:13  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\Converter\IntToBoolConverter.cs

     文件       8156  2016-05-27 08:46  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\Model\EquipModel.cs

     文件       6126  2016-06-02 08:55  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\Model\SetParmModel.cs

     文件      14604  2016-06-02 08:59  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\Model\YcpModel.cs

     文件      11375  2016-05-31 11:17  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\Model\YxpModel.cs

     文件       1287  2016-05-26 14:37  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\Notice.cs

     文件       6157  2016-06-02 08:59  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\AlarmCenter.Addin.ZSGC.csproj.FileListAbsolute.txt

     文件        954  2016-05-31 13:36  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\AlarmCenter.Addin.ZSGC.csproj.GenerateResource.Cache

     文件     227256  2016-05-31 16:12  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\AlarmCenter.Addin.ZSGC.csprojResolveAssemblyReference.cache

     文件      95232  2016-06-02 09:17  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\AlarmCenter.Addin.ZSGC.dll

     文件      34565  2016-06-02 09:17  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\AlarmCenter.Addin.ZSGC.g.resources

     文件     175616  2016-06-02 09:17  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\AlarmCenter.Addin.ZSGC.pdb

     文件        180  2016-06-02 09:17  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\AlarmCenter.Addin.ZSGC.Properties.Resources.resources

     文件        537  2016-06-02 09:17  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\AlarmCenter.Addin.ZSGC_MarkupCompile.cache

     文件        536  2016-06-02 09:19  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\AlarmCenter.Addin.ZSGC_MarkupCompile.i.cache

     文件        231  2016-06-02 09:17  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\AlarmCenter.Addin.ZSGC_MarkupCompile.lref

     文件     247335  2016-05-27 14:57  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7832  2016-06-02 09:19  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       3015  2016-06-02 09:17  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\GeneratedInternalTypeHelper.g.cs

     文件       3015  2016-06-02 09:19  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\GeneratedInternalTypeHelper.g.i.cs

     文件       5097  2016-05-26 16:13  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\Page\GWTestZSGC.g.i.cs

     文件      18386  2016-06-02 09:17  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\Page\GWTestZSGCPage.baml

     文件       5532  2016-06-02 09:17  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\Page\GWTestZSGCPage.g.cs

     文件       5532  2016-06-02 09:19  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\Page\GWTestZSGCPage.g.i.cs

     文件       3167  2016-05-31 13:36  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\ResourceFile\DatagridCss.baml

     文件          0  2016-05-26 14:32  AlarmCenter.Addin.ZSGC\AlarmCenter.Addin.ZSGC\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

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

评论

共有 条评论