You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
541 B
23 lines
541 B
using HybirdFrameworkServices.System;
|
|
using log4net;
|
|
|
|
|
|
namespace WinFormStarter;
|
|
|
|
public partial class Form1 : Form
|
|
{
|
|
private ILog _log = LogManager.GetLogger(typeof(Form1));
|
|
private SysUserServices _sysUserServices;
|
|
|
|
public Form1(SysUserServices sysUserServices)
|
|
{
|
|
_sysUserServices = sysUserServices;
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void button1_Click(object sender, EventArgs e)
|
|
{
|
|
_log.Info("this is a test");
|
|
MessageBox.Show(_sysUserServices.Query().Count.ToString());
|
|
}
|
|
} |