Exemplo n.º 1
0
        private void gridRules_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormTimeCardRuleEdit FormT = new FormTimeCardRuleEdit((TimeCardRule)gridRules.ListGridRows[e.Row].Tag);

            FormT.ShowDialog();
            FillRules();
            changed = true;
        }
Exemplo n.º 2
0
        private void butAddRule_Click(object sender, EventArgs e)
        {
            FormTimeCardRuleEdit FormT = new FormTimeCardRuleEdit();

            FormT.ShowDialog();
            FillRules();
            changed = true;
        }
Exemplo n.º 3
0
 private void butAddRule_Click(object sender,EventArgs e)
 {
     TimeCardRule rule=new TimeCardRule();
     rule.IsNew=true;
     FormTimeCardRuleEdit FormT=new FormTimeCardRuleEdit();
     FormT.timeCardRule=rule;
     FormT.ShowDialog();
     FillRules();
     changed=true;
 }
Exemplo n.º 4
0
        private void butAddRule_Click(object sender, EventArgs e)
        {
            TimeCardRule rule = new TimeCardRule();

            rule.IsNew = true;
            FormTimeCardRuleEdit FormT = new FormTimeCardRuleEdit();

            FormT.timeCardRule = rule;
            FormT.ShowDialog();
            FillRules();
            changed = true;
        }
Exemplo n.º 5
0
 private void gridRules_CellDoubleClick(object sender,ODGridClickEventArgs e)
 {
     FormTimeCardRuleEdit FormT=new FormTimeCardRuleEdit();
     FormT.timeCardRule=TimeCardRules.Listt[e.Row];
     FormT.ShowDialog();
     FillRules();
     changed=true;
 }