WinLogInfo.xaml.cs 2.09 KB
using HHECS.WinCommon.Win;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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.Shapes;

namespace HHECS.WinClient.View.SysLogInfo
{
    /// <summary>
    /// WinLog.xaml 的交互逻辑
    /// </summary>
    public partial class WinLogInfo : HideCloseWindow
    {
        public LogInfoVM LogInfoVM { get; set; } = new LogInfoVM();

        public WinLogInfo()
        {
            InitializeComponent();
            DataContext = LogInfoVM;
        }

        private void BtnQueryInterfaceLog_Click(object sender, RoutedEventArgs e)
        {
            LogInfoVM.QueryInterfaceLog();
        }

        private void BtnExportInterfaceLog_Click(object sender, RoutedEventArgs e)
        {
            LogInfoVM.ExportInterfaceLog();
        }

        private void PageInterfaceLog_PageUpdated(object sender, HandyControl.Data.FunctionEventArgs<int> e)
        {
            LogInfoVM.QueryInterfaceLog();
        }

        private void BtnQueryContentLog_Click(object sender, RoutedEventArgs e)
        {
            LogInfoVM.QueryContentLog();
        }

        private void BtnExportContentLog_Click(object sender, RoutedEventArgs e)
        {
            LogInfoVM.ExportContentLog();
        }

        private void PageContentLog_PageUpdated(object sender, HandyControl.Data.FunctionEventArgs<int> e)
        {
            LogInfoVM.QueryContentLog();
        }

        private void BtnQueryOperationLog_Click(object sender, RoutedEventArgs e)
        {
            LogInfoVM.QueryOperationLog();
        }

        private void BtnExportOperationLog_Click(object sender, RoutedEventArgs e)
        {
            LogInfoVM.ExportOperationLog();
        }

        private void PageOperationLog_PageUpdated(object sender, HandyControl.Data.FunctionEventArgs<int> e)
        {
            LogInfoVM.QueryOperationLog();
        }
    }
}