Example #1
0
 private void btnBonus_Click(object sender, EventArgs e)
 {
     using (Kadr.UI.Forms.KadrBonusForm bonFrm =
         new Kadr.UI.Forms.KadrBonusForm())
     {
         bonFrm.BonusObject = postBindingSource.Current as Kadr.Data.Post;
         bonFrm.ShowDialog();
     }
 }
Example #2
0
 private void btnFactStaffBonus_Click(object sender, EventArgs e)
 {
     using (Kadr.UI.Forms.KadrBonusForm bonFrm =
         new Kadr.UI.Forms.KadrBonusForm())
        {
        bonFrm.BonusObject = factStaffBindingSource.Current as Kadr.Data.FactStaff;
        ObjectStateController.Instance.GetFilterForObjectState(bonFrm.tsbBonusFilter, BonusFilterSetting);
        bonFrm.ShowDialog();
        }
 }