Exemple #1
0
        private void btnShiftDetails_Click(object sender, EventArgs e)
        {
            frmShiftDetails pForm = new frmShiftDetails();

            pForm.ShiftCode = cmbShift.SelectedValue.ToString();
            pForm.ShowDialog();
        }
Exemple #2
0
 private void tbtnShiftDetails_Click(object sender, EventArgs e)
 {
     if (dgvTimeSheet.SelectedRows.Count > 0)
     {
         frmShiftDetails pForm = new frmShiftDetails();
         pForm.ShiftCode = dgvTimeSheet.SelectedRows[0].Cells[2].Value.ToString();
         pForm.Show();
     }
 }
Exemple #3
0
        private void btnViewSun_Click(object sender, EventArgs e)
        {
            frmShiftDetails sd = new frmShiftDetails(cmbShiftSun.SelectedValue.ToString());

            sd.ShowDialog();
        }
Exemple #4
0
        private void btnViewSat_Click(object sender, EventArgs e)
        {
            frmShiftDetails pForm = new frmShiftDetails(cmbShiftSat.SelectedValue.ToString());

            pForm.ShowDialog();
        }