private void lnkTemplate_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     FrmShiftTemplateMaster frm = new FrmShiftTemplateMaster();
     frm.StartPosition = FormStartPosition.CenterParent;
     frm.ForSelect = true;
     if (frm.ShowDialog() == DialogResult.OK)
     {
         ShiftTemplate template = frm.SelectedItem as ShiftTemplate;
         txtShiftTemplate.Text = template.Name;
         txtShiftTemplate.Tag = template;
     }
 }
        private void lnkTemplate_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            FrmShiftTemplateMaster frm = new FrmShiftTemplateMaster();

            frm.StartPosition = FormStartPosition.CenterParent;
            frm.ForSelect     = true;
            if (frm.ShowDialog() == DialogResult.OK)
            {
                ShiftTemplate template = frm.SelectedItem as ShiftTemplate;
                txtShiftTemplate.Text = template.Name;
                txtShiftTemplate.Tag  = template;
            }
        }