WinLogInfo.xaml.cs 1.77 KB
using HHECS.WinCommon.Win;
using System.Windows;

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();
        }
    }
}