コード例 #1
0
 private void btnDeleteActivities_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("Are you sure you want to Delete ?", "Cash Desk", MessageBoxButtons.YesNo,
                         MessageBoxIcon.Information) == DialogResult.Yes)
     {
         AdminLogEvents.DeleleAdminLogs();
         AdminLogEvents.AdminLogs(dataGridActivity);
         MessageBox.Show("Records Deleted Successfully", "Cash Desk", MessageBoxButtons.OK,
                         MessageBoxIcon.Information);
         this.Close();
         var logout = new AdminLogOut();
         logout.ShowDialog();
     }
 }
コード例 #2
0
 private void btnViewAll_Click(object sender, EventArgs e)
 {
     AdminLogEvents.AdminLogs(dataGridActivity);
 }
コード例 #3
0
 private void AdminLogs_Load(object sender, EventArgs e)
 {
     AdminLogEvents.AdminLogs(dataGridActivity);
 }
コード例 #4
0
 private void btnTodayActivity_Click(object sender, EventArgs e)
 {
     AdminLogEvents.AdminlogsToday(dataGridActivity);
 }