示例#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 AdminLogs_Load(object sender, EventArgs e)
 {
     AdminLogEvents.AdminLogs(dataGridActivity);
 }
示例#3
0
 private void btnViewAll_Click(object sender, EventArgs e)
 {
     AdminLogEvents.AdminLogs(dataGridActivity);
 }