コード例 #1
0
        public void QueryAuditLogTest()
        {
            //Assign/Act
            var query = AuditLogAccess.GetAll();

            //Assert
            Assert.AreNotEqual(query.Count, 0);
        }
コード例 #2
0
        private void MonitorEngineForm_Load(object sender, EventArgs e)
        {
            dataGridViewPerformance.DataSource = PerformanceAccess.GetAll();
            dataGridViewLogs.DataSource        = AuditLogAccess.GetAll();


            SetChart(chart1);
            SetChart(chart2);

            SetUpPerformanceDataGridView();
            SetUpLogsDataGridView();
        }
コード例 #3
0
        private void BtnClear_Click(object sender, EventArgs e)
        {
            AuditLogAccess.DeleteAll();

            dataGridViewLogs.DataSource = AuditLogAccess.GetAll();
        }